[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AVCDETPJPFSXPX1HJC2Y5M":3,"skill-same:01M7AVCDETPJPFSXPX1HJC2Y5M":50},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7AVCDETPJPFSXPX1HJC2Y5M","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.","alonf\u002FKeyContextAI","alonf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F554150?v=4","01M7ATEPSCNKG13BVTKA74VG59","Alon Fliess","01M7ATEPSZ4YMBM9W25SKM3GES",0,"MIT","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fcoordinator-source-of-truth\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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_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_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":24,"source":25,"confidence":26,"description":7,"allowedTools":27},"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",[],"main","176da577bfd98859f793bdd1312690c6c3940c67",".squad\u002Ftemplates\u002Fskills\u002Fcoordinator-source-of-truth","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI","https:\u002F\u002Fgithub.com\u002Falonf","http:\u002F\u002Falonfliess.me","CTO & Founder of Zionet.\r\nMicrosoft Regional Director and Foundry MVP.\r\n","2026-08-28 05:21:35",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add alonf\u002FKeyContextAI --skill coordinator-source-of-truth",{"tool":42,"command":43},"bunx","bunx skills add alonf\u002FKeyContextAI --skill coordinator-source-of-truth",{"tool":45,"command":46},"pnpm","pnpm dlx skills add alonf\u002FKeyContextAI --skill coordinator-source-of-truth","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fcoordinator-source-of-truth\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7AVHRWWXA0BQ5PXNA8FG30W","windows-compatibility","Cross-platform path handling and command patterns","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fwindows-compatibility\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7AVHABPRYXYM3GWJY1RW92A","versioning-policy","Semver versioning rules for Squad SDK and CLI — prevents prerelease version incidents","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fversioning-policy\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7AVH4KNP3TCVQDRVS70VP19","tiered-memory","Three-tier agent memory model (hot\u002Fcold\u002Fwiki) for context reduction per spawn","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Ftiered-memory\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7AVH18JDSA55Z7KK2GH6X49","test-discipline","Update tests when changing APIs — no exceptions","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Ftest-discipline\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7AVGVGWYD7NBNXAV4PAZJ92","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\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fsquad\u002FSKILL.md",[],[],{"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":19},"01M7AVGPSFT1WHW3PK35DHS5XK","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\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fsquad-version-check\u002FSKILL.md",[],[]]