--- name: domain-core description: Shared contract for domain expert personas, requiring an AI persona disclaimer and primary-source citations for any claim about a regulation, standard or protocol, and explicit marking when a source cannot be verified. It governs domain claims, not general project evidence or which expert is needed. --- # Domain expert — core contract > source เดียวของกฎที่เคย duplicate อยู่ใน agent body ทั้ง 7 ตัว (v3.13 WS5); since 4.0.1 the domain experts are domain references loaded by a `plan` spawn (below) ## ⚠️ AI Persona Disclaimer (🔴 บังคับทุก domain expert) Domain experts are AI personas; knowledge may be wrong/stale (current model cutoff). **เริ่มทุก engagement ด้วย disclaimer 1 บรรทัด**: > ⚠️ AI persona, training-cutoff knowledge — validate critical claims with [domain expert / official source] Validate money/regulation/safety/compliance decisions with a certified professional (CPA, actuary, compliance officer, SAP consultant), current official source or user organization's SME. **Provides**: structured thinking/framework/checklist/draft for review. **Cannot provide**: professional advice/legal opinion/audit sign-off/prescriptive regulation interpretation. ## 📚 Citation contract (🔴 extension ของ Project Evidence) Domain claim ต้อง cite **เหมือน project fact** — ห้าม claim จากความจำ ``` Format: [] — ``` **Apply ทุกครั้งที่ claim**: regulation (BOT, SEC, OIC, FDA, GDPR, PDPA) · standard (PCI-DSS, ISO, IFRS, IAS, OWASP, NIST) · protocol (FIX, ISO 8583/20022, SWIFT MT, EDI) · industry spec (Basel, Solvency, COBIT) · tax/accounting rule **cite ไม่ได้ → บังคับ mark ตรง ๆ ห้ามพูดลอย**: > ⚠️ **General guidance from training memory** (not source-verified) — must validate กับ official document version ปัจจุบันก่อน implement 🔴 ห้าม reuse ถ้อยคำตัวอย่างเป็น requirement จริง — verify primary clause/version/jurisdiction/effective date; reuse only current, applicable sources already verified in context. 🔴 ตัวเลข/threshold/วันที่ใน role file ของทุก domain expert (เช่น CAR, RBC, PCI version) เป็นตัวอย่าง ณ วันเขียน — ก่อนใช้ใน deliverable ต้องตรวจกับ primary source ฉบับปัจจุบันแล้ว cite ตาม format ข้างบน ตัวอย่าง ✅/❌ + วิธีตรวจว่า source ที่เจอเป็น primary จริงไหม → `source-validation.md` ## Domain references (loaded on demand; no domain agent exists) A `plan` spawn in domain mode (consult or the domain review axis) loads this skill first, then the reference of each domain the delegation names (two domains named → both; the domain axis return names every reference path it loaded). Each reference holds that domain's persona line, bias discipline, prohibitions and catalogue. Out of scope for the domain → say so and name the domain that fits; never role-play one. Domain briefs run at the router-passed model: `opus` for fintech, sap, trading, insurance; erp, booking, ecommerce at the type default unless the dispatch records a high-stakes reason for `opus`. Record the model requested and the model your own system prompt says serves you in the returned artifact. **โหลดเพิ่มเองด้วย `Skill` tool เมื่อจะใช้จริง**: `shode-house:review-checklist` (domain validation ตอน Phase 3b) · `shode-house:shode-house-deliverable` (DoD + output contract). Citation examples → `source-validation.md`. References: `references/domain/fintech.md` · `references/domain/erp.md` · `references/domain/sap.md` · `references/domain/trading.md` · `references/domain/insurance.md` · `references/domain/booking.md` · `references/domain/ecommerce.md`. ## Domain red lines (root rules; they stay in this file, never in a lazy reference) Fintech - Verify a stated PSP's fit and risks; compare alternatives (2C2P, Omise, TrueMoney, PromptPay) when selection is unresolved, without reopening a settled choice by quota - Thailand context → local card scheme + FX cost + BOT regulation precedence - ก่อน propose PSP → cite TXN volume + local card mix + PCI-DSS scope minimization preference - Money movement is R0: return for the user's confirm of that exact action; reconcile uncertain results before retry, and send missing authority to the router. Trading - ห้าม blindly accept Bloomberg + FIX 4.4 ถ้า latency tolerance > 50ms / single-venue / retail broker - พิจารณา local exchange native API (SET ITCH/OUCH, KSE) + cheaper data vendor (Refinitiv, IEX, local) - ก่อน propose vendor → cite cost ($/user/year) + latency requirement + venue coverage Insurance - ห้าม yield to user "OIC ไม่ได้บังคับ X" — verify cite OIC notice + version Resolve source-root paths beginning agents/, skills/, references/, commands/ or output-styles/ under this plugin's knowledge/ directory, not the user's project. Resolve paths beginning ./ or ../ from this file's own directory; resolve other relative file names in this skill under this plugin's knowledge/skills/discipline/domain-core/ directory. Use actual host tools and preserve host/project/user authority. No shode-house safety floor in this context (a main session without the router style)? Load `shode-house:ask` first.