[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X18CAG7R9P1RY0HE1RE7MH":3,"skill-same:01M6X18CAG7R9P1RY0HE1RE7MH":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6X18CAG7R9P1RY0HE1RE7MH","coordinator-source-of-truth",null,"The complete file-by-file source-of-truth hierarchy for Squad: which files are authoritative, which are derived\u002Fappend-only, who may write each one, who may read each one, and the precedence rules when they conflict. Squad coordinator loads this on demand when it needs to resolve a write conflict, decide where a piece of state belongs, or answer a 'who owns this file' question.","github\u002Fsquad","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6X0MZ6B0WYMMDPK3Q61KER6",3391,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fpackages\u002Fsquad-cli\u002Ftemplates\u002Fskills\u002Fcoordinator-source-of-truth\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"source","coordinator","coordinator source of truth","as","when","for","which","answer","satellite","loads","complete","conflict","files","only","question","decide","Rules","decision","file","state","2026-11-10 10:12:30",false,"---\nname: \"coordinator-source-of-truth\"\ndescription: \"The complete file-by-file source-of-truth hierarchy for Squad: which files are authoritative, which are derived\u002Fappend-only, who may write each one, who may read each one, and the precedence rules when they conflict. Squad coordinator loads this on demand when it needs to resolve a write conflict, decide where a piece of state belongs, or answer a 'who owns this file' question.\"\nallowedTools: []\nconfidence: high\ndomain: squad-internals\nsource: \"Extracted from squad.agent.md as part of the slimming effort (bradygaster\u002Fsquad#1308). Behaviour unchanged — coordinator loads this satellite skill when a routing decision needs the full hierarchy.\"\n---\n\n> **Load this skill when:** the coordinator (or any agent) needs to resolve a \"where does this state belong?\" or \"who is allowed to write this file?\" question — e.g., when about to write `.squad\u002Fdecisions.md`, when reviewing whether an agent broke the append-only rule, when answering a user question about Squad's file layout, or when adjudicating a conflict between two files. The short summary in `squad.agent.md` is for routing; this skill is the full reference.\n\n## State backend note\n\nFiles below marked as **\"Derived \u002F append-only\"** are **mutable state** — agents access them with runtime state tools (`squad_state_read`, `squad_state_write`, `squad_state_append`, `squad_state_create_if_absent`, `squad_state_delete`, `squad_state_list`). The runtime decides whether the configured backend stores them on disk, git-native state, or an external provider. Files marked as **\"Authoritative\"** are **static config** and always live on disk regardless of backend.\n\n## File hierarchy\n\n| File | Status | Who May Write | Who May Read |\n|------|--------|---------------|--------------|\n| `.github\u002Fagents\u002Fsquad.agent.md` | **Authoritative governance.** All roles, handoffs, gates, and enforcement rules. | Repo maintainer (human) | Squad (Coordinator) |\n| `.squad\u002Fdecisions.md` | **Authoritative decision ledger.** Single canonical location for scope, architecture, and process decisions. | Squad (Coordinator) — append only | All agents |\n| `.squad\u002Fteam.md` | **Authoritative roster.** Current team composition. | Squad (Coordinator) | All agents |\n| `.squad\u002Frouting.md` | **Authoritative routing.** Work assignment rules. | Squad (Coordinator) | Squad (Coordinator) |\n| `.squad\u002Fceremonies.md` | **Authoritative ceremony config.** Definitions, triggers, and participants for team ceremonies. | Squad (Coordinator) | Squad (Coordinator), Facilitator agent (read-only at ceremony time) |\n| `.squad\u002Fcasting\u002Fpolicy.json` | **Authoritative casting config.** Universe allowlist and capacity. | Squad (Coordinator) | Squad (Coordinator) |\n| `.squad\u002Fcasting\u002Fregistry.json` | **Authoritative name registry.** Persistent agent-to-name mappings. | Squad (Coordinator) | Squad (Coordinator) |\n| `.squad\u002Fcasting\u002Fhistory.json` | **Derived \u002F append-only.** Universe usage history and assignment snapshots. | Squad (Coordinator) — append only | Squad (Coordinator) |\n| `.squad\u002Fagents\u002F{name}\u002Fcharter.md` | **Authoritative agent identity.** Per-agent role and boundaries. | Squad (Coordinator) at creation; agent may not self-modify | Squad (Coordinator) reads to inline at spawn; owning agent receives via prompt |\n| `.squad\u002Fagents\u002F{name}\u002Fhistory.md` | **Derived \u002F append-only.** Personal learnings. Never authoritative for enforcement. | Owning agent (append only), Scribe (cross-agent updates, summarization) | Owning agent only |\n| `.squad\u002Fagents\u002F{name}\u002Fhistory-archive.md` | **Derived \u002F append-only.** Archived history entries. Preserved for reference. | Scribe | Owning agent (read-only) |\n| `.squad\u002Forchestration-log\u002F` | **Derived \u002F append-only.** Agent routing evidence. Never edited after write. | Scribe | All agents (read-only) |\n| `.squad\u002Flog\u002F` | **Derived \u002F append-only.** Session logs. Diagnostic archive. Never edited after write. | Scribe | All agents (read-only) |\n| `.squad\u002Ftemplates\u002F` | **Reference.** Format guides for runtime files. Not authoritative for enforcement. | Squad (Coordinator) at init | Squad (Coordinator) |\n| `.squad\u002Frai\u002Fpolicy.md` | **Authoritative RAI policy.** Check categories, terminology standards, and opt-out rules. | Squad (Coordinator) at init; Rai may propose updates via decisions inbox | Rai, All agents (read-only) |\n| `.squad\u002Frai\u002Faudit-trail.md` | **Derived \u002F append-only.** RAI review evidence log. Redacted — never contains raw secrets or harmful content. | Rai (append only) | Rai, Squad (Coordinator) |\n| `.squad\u002Ffact-checker\u002Fpolicy.md` | **Authoritative verification + Devil's Advocate policy.** Confidence rating taxonomy, hard anti-fabrication rules, mode triggers, opt-out model. | Squad (Coordinator) at init; Fact Checker may propose updates via decisions inbox | Fact Checker, All agents (read-only) |\n| `.squad\u002Ffact-checker\u002Faudit-trail.md` | **Derived \u002F append-only.** Verification verdicts + DA brief evidence log. Succinct — verdict + citation, never raw source material. | Fact Checker (append only) | Fact Checker, Squad (Coordinator) |\n| `.squad\u002Fplugins\u002Fmarketplaces.json` | **Authoritative plugin config.** Registered marketplace sources. | Squad CLI (`squad plugin marketplace`) | Squad (Coordinator) |\n\n## Rules\n\n1. **If `squad.agent.md` and any other file conflict, `squad.agent.md` wins.** It is the only file with hard governance authority.\n2. **Append-only files must never be retroactively edited** to change meaning. They are diagnostic and audit-trail material. Corrections go in a new entry that references the prior one.\n3. **Agents may only write to files listed in their \"Who May Write\" column above.** Violations are a contract bug; runtime state-backends will refuse the write on non-local backends.\n4. **Non-coordinator agents may propose decisions** in their responses, but only Squad (Coordinator) records accepted decisions in `.squad\u002Fdecisions.md`.\n","> **Load this skill when:** the coordinator (or any agent) needs to resolve a \"where does this state belong?\" or \"who is allowed to write this file?\" question — e.g., when about to write `.squad\u002Fdecisions.md`, when reviewing whether an agent broke the append-only rule, when answering a user question about Squad's file layout, or when adjudicating a conflict between two files. The short summary in `squad.agent.md` is for routing; this skill is the full reference.\n\n## State backend note\n\nFiles below marked as **\"Derived \u002F append-only\"** are **mutable state** — agents access them with runtime state tools (`squad_state_read`, `squad_state_write`, `squad_state_append`, `squad_state_create_if_absent`, `squad_state_delete`, `squad_state_list`). The runtime decides whether the configured backend stores them on disk, git-native state, or an external provider. Files marked as **\"Authoritative\"** are **static config** and always live on disk regardless of backend.\n\n## File hierarchy\n\n| File | Status | Who May Write | Who May Read |\n|------|--------|---------------|--------------|\n| `.github\u002Fagents\u002Fsquad.agent.md` | **Authoritative governance.** All roles, handoffs, gates, and enforcement rules. | Repo maintainer (human) | Squad (Coordinator) |\n| `.squad\u002Fdecisions.md` | **Authoritative decision ledger.** Single canonical location for scope, architecture, and process decisions. | Squad (Coordinator) — append only | All agents |\n| `.squad\u002Fteam.md` | **Authoritative roster.** Current team composition. | Squad (Coordinator) | All agents |\n| `.squad\u002Frouting.md` | **Authoritative routing.** Work assignment rules. | Squad (Coordinator) | Squad (Coordinator) |\n| `.squad\u002Fceremonies.md` | **Authoritative ceremony config.** Definitions, triggers, and participants for team ceremonies. | Squad (Coordinator) | Squad (Coordinator), Facilitator agent (read-only at ceremony time) |\n| `.squad\u002Fcasting\u002Fpolicy.json` | **Authoritative casting config.** Universe allowlist and capacity. | Squad (Coordinator) | Squad (Coordinator) |\n| `.squad\u002Fcasting\u002Fregistry.json` | **Authoritative name registry.** Persistent agent-to-name mappings. | Squad (Coordinator) | Squad (Coordinator) |\n| `.squad\u002Fcasting\u002Fhistory.json` | **Derived \u002F append-only.** Universe usage history and assignment snapshots. | Squad (Coordinator) — append only | Squad (Coordinator) |\n| `.squad\u002Fagents\u002F{name}\u002Fcharter.md` | **Authoritative agent identity.** Per-agent role and boundaries. | Squad (Coordinator) at creation; agent may not self-modify | Squad (Coordinator) reads to inline at spawn; owning agent receives via prompt |\n| `.squad\u002Fagents\u002F{name}\u002Fhistory.md` | **Derived \u002F append-only.** Personal learnings. Never authoritative for enforcement. | Owning agent (append only), Scribe (cross-agent updates, summarization) | Owning agent only |\n| `.squad\u002Fagents\u002F{name}\u002Fhistory-archive.md` | **Derived \u002F append-only.** Archived history entries. Preserved for reference. | Scribe | Owning agent (read-only) |\n| `.squad\u002Forchestration-log\u002F` | **Derived \u002F append-only.** Agent routing evidence. Never edited after write. | Scribe | All agents (read-only) |\n| `.squad\u002Flog\u002F` | **Derived \u002F append-only.** Session logs. Diagnostic archive. Never edited after write. | Scribe | All agents (read-only) |\n| `.squad\u002Ftemplates\u002F` | **Reference.** Format guides for runtime files. Not authoritative for enforcement. | Squad (Coordinator) at init | Squad (Coordinator) |\n| `.squad\u002Frai\u002Fpolicy.md` | **Authoritative RAI policy.** Check categories, terminology standards, and opt-out rules. | Squad (Coordinator) at init; Rai may propose updates via decisions inbox | Rai, All agents (read-only) |\n| `.squad\u002Frai\u002Faudit-trail.md` | **Derived \u002F append-only.** RAI review evidence log. Redacted — never contains raw secrets or harmful content. | Rai (append only) | Rai, Squad (Coordinator) |\n| `.squad\u002Ffact-checker\u002Fpolicy.md` | **Authoritative verification + Devil's Advocate policy.** Confidence rating taxonomy, hard anti-fabrication rules, mode triggers, opt-out model. | Squad (Coordinator) at init; Fact Checker may propose updates via decisions inbox | Fact Checker, All agents (read-only) |\n| `.squad\u002Ffact-checker\u002Faudit-trail.md` | **Derived \u002F append-only.** Verification verdicts + DA brief evidence log. Succinct — verdict + citation, never raw source material. | Fact Checker (append only) | Fact Checker, Squad (Coordinator) |\n| `.squad\u002Fplugins\u002Fmarketplaces.json` | **Authoritative plugin config.** Registered marketplace sources. | Squad CLI (`squad plugin marketplace`) | Squad (Coordinator) |\n\n## Rules\n\n1. **If `squad.agent.md` and any other file conflict, `squad.agent.md` wins.** It is the only file with hard governance authority.\n2. **Append-only files must never be retroactively edited** to change meaning. They are diagnostic and audit-trail material. Corrections go in a new entry that references the prior one.\n3. **Agents may only write to files listed in their \"Who May Write\" column above.** Violations are a contract bug; runtime state-backends will refuse the write on non-local backends.\n4. **Non-coordinator agents may propose decisions** in their responses, but only Squad (Coordinator) records accepted decisions in `.squad\u002Fdecisions.md`.\n",{"name":5,"domain":49,"source":50,"confidence":51,"description":7,"allowedTools":52},"squad-internals","Extracted from squad.agent.md as part of the slimming effort (bradygaster\u002Fsquad#1308). Behaviour unchanged — coordinator loads this satellite skill when a routing decision needs the full hierarchy.","high",[],"dev","7b731ec97f35346bdc4fa87c3edaf16b808fc0ae","packages\u002Fsquad-cli\u002Ftemplates\u002Fskills\u002Fcoordinator-source-of-truth",520,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad","https:\u002F\u002Fgithub.github.io\u002Fsquad\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 02:13:59",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add github\u002Fsquad --skill coordinator-source-of-truth",{"tool":69,"command":70},"bunx","bunx skills add github\u002Fsquad --skill coordinator-source-of-truth",{"tool":72,"command":73},"pnpm","pnpm dlx skills add github\u002Fsquad --skill coordinator-source-of-truth","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fpackages\u002Fsquad-cli\u002Ftemplates\u002Fskills\u002Fcoordinator-source-of-truth\u002FSKILL.md",true,[],[78,86,93,100,107,114],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M76752CVNE7K6NWD59CRAYNJ","windows-compatibility","Cross-platform path handling and command patterns","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fwindows-compatibility\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":85},"01M767508W8A4G83NX1FKEW5VN","versioning-policy","SemVer rules for Squad's stable, preview, insider, and local package versions","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fversioning-policy\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":85},"01M7674X5JJKNJ74B3SS8PGXG2","tiered-memory","Three-tier agent memory model (hot\u002Fcold\u002Fwiki) for context reduction per spawn","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Ftiered-memory\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":85},"01M7674V3S9H03A76H75M1KSAF","test-discipline","Design assertions that prove the actual contract and fail on realistic regressions","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Ftest-discipline\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":85},"01M7674QB8CA61RNDX2Z0NAK71","squad","Squad's command catalog and interactive menu. Invoke via \u002Fsquad (slash command) or natural language (\"squad commands\", \"what can squad do\", \"show me squad options\"). Presents categorized operations (Install & Upgrade, Team Management, Issues & PRs, Plugins & Skills, Model & Cost, Sessions & State) as an interactive picker. Routes to the right squad CLI command or the Squad coordinator agent.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fsquad\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":85},"01M7674KTQ632N30HQB1TP7TXH","squad-version-check","Internals of how @bradygaster\u002Fsquad-cli stamps its version, how `squad upgrade` works (what it preserves vs overwrites), and how to probe the npm registry for the latest version from a coordinator prompt.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fsquad-version-check\u002FSKILL.md",[],[]]