跳到正文
cccskills
Microsoft 官方免费在 GitHub 公开

coordinator-source-of-truth

The complete file-by-file source-of-truth hierarchy for Squad: which files are authoritative, which are derived/append-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.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md7.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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/decisions.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.

State backend note

Files below marked as "Derived / 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.

File hierarchy

Waza support-review override (Squad only): Charter output/persistence restrictions take precedence over generic history, audit-trail or decision-inbox write permissions below. Rai and Fact Checker return findings in the current review response. Only an authorized coordinator or Scribe handles required persistence under the current state contract; no routine review logging is required. Preserve existing historical records. Scribe remains bound by its charter: a decision-only Scribe cannot write logs, histories or audit trails. The Coordinator arranges any required non-decision persistence through an authorized writer; a missing writer is a blocker, not permission for Scribe. These coordination rules do not apply to ordinary Copilot work.

FileStatusWho May WriteWho May Read
.github/agents/squad.agent.mdAuthoritative governance. All roles, handoffs, gates, and enforcement rules.Repo maintainer (human)Squad (Coordinator)
.squad/decisions.mdAuthoritative decision ledger. Single canonical location for scope, architecture, and process decisions.Coordinator or coordinator-delegated Scribe; already-accepted decisions only, append onlyAll agents
.squad/team.mdAuthoritative roster. Current team composition.Squad (Coordinator)All agents
.squad/routing.mdAuthoritative routing. Work assignment rules.Squad (Coordinator)Squad (Coordinator)
.squad/ceremonies.mdAuthoritative ceremony config. Definitions, triggers, and participants for team ceremonies.Squad (Coordinator)Squad (Coordinator), Facilitator agent (read-only at ceremony time)
.squad/casting/policy.jsonAuthoritative casting config. Universe allowlist and capacity.Squad (Coordinator)Squad (Coordinator)
.squad/casting/registry.jsonAuthoritative name registry; paired transaction. Persistent agent-to-name mappings.Squad (Coordinator), only via .squad/casting-transactions.md's locked SDK writerSquad (Coordinator), paired read
.squad/casting/history.jsonDerived / append-only contents; paired transaction. Universe usage history and assignment snapshots.Squad (Coordinator), only via the same paired writerSquad (Coordinator), paired read
.squad/casting/registry-history.commit.jsonSDK-owned transaction/hash manifest. Never hand-edit or discard to bypass validation.Locked SDK paired writer onlySDK paired reader
.squad/agents/{name}/charter.mdAuthoritative agent identity. Per-agent role and boundaries.Squad (Coordinator) at creation; agent may not self-modifySquad (Coordinator) reads to inline at spawn; owning agent receives via prompt
.squad/agents/{name}/history.mdDerived / append-only. Personal learnings. Never authoritative for enforcement.Owning agent only where charter permits; authorized Scribe for required contextOwning agent only
.squad/agents/{name}/history-archive.mdDerived / append-only. Archived history entries. Preserved for reference.ScribeOwning agent (read-only)
.squad/orchestration-log/Derived / append-only. Agent routing evidence. Never edited after write.ScribeAll agents (read-only)
.squad/log/Derived / append-only. Session logs. Diagnostic archive. Never edited after write.ScribeAll agents (read-only)
.squad/templates/Reference. Format guides for runtime files. Not authoritative for enforcement.Squad (Coordinator) at initSquad (Coordinator)
.squad/rai/policy.mdAuthoritative RAI policy. Check categories, terminology standards, and opt-out rules.Squad (Coordinator) at init or authorized policy changes; Rai read-onlyRai, All agents (read-only)
.squad/rai/audit-trail.mdDerived / append-only. Preserve existing redacted records; never raw secrets or harmful content; no routine reviewer logging.Authorized Coordinator/Scribe only when the current state contract requires persistenceRai, Squad (Coordinator)
.squad/fact-checker/policy.mdAuthoritative verification + Devil's Advocate policy. Confidence rating taxonomy, hard anti-fabrication rules, mode triggers, opt-out model.Squad (Coordinator) at init or authorized policy changes; Fact Checker read-onlyFact Checker, All agents (read-only)
.squad/fact-checker/audit-trail.mdDerived / append-only. Preserve existing succinct verdict/citation records, never raw source material; no routine reviewer logging.Authorized Coordinator/Scribe only when the current state contract requires persistenceFact Checker, Squad (Coordinator)
.squad/plugins/marketplaces.jsonAuthoritative plugin config. Registered marketplace sources.Squad CLI (squad plugin marketplace)Squad (Coordinator)

Rules

  1. If squad.agent.md and any other file conflict, squad.agent.md wins. It is the only file with hard governance authority.
  2. 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.
  3. 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.
  4. Non-coordinator agents may propose decisions in their responses. Coordinator alone accepts decisions; only the Coordinator or a coordinator-delegated Scribe may record already-accepted decisions in .squad/decisions.md.
  5. Waza casting repair: write authority does not permit raw registry/history edits. All casting mutations, including initialization and retirement, must commit the pair and manifest through .squad/casting-transactions.md; use an equivalent atomic backend operation or stop on non-local storage.
  6. Legacy is not a recovery fallback. SDK preparation validates existing state before callbacks. The known frozen v0.10 files require the guide's explicit approved archive-and-initialize maintenance procedure into an empty target; managed-pair corruption or a missing manifest must never trigger that path.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

agent-collaboration

Microsoft 官方免费

Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication

中文简介正在准备中。当前显示原文说明。

microsoft/waza14242026年10月22日 更新

azd-publish

Microsoft 官方免费

Prepare and publish a new version of the waza azd extension. USE FOR: "publish extension", "release new version", "bump version", "prepare release", "update changelog", "azd publish", "new release", "version bump", "cut a release". DO NOT USE FOR: running evals (use waza), writing skills (use skill-authoring), CI/CD pipeline changes (edit workflow files directly).

中文简介正在准备中。当前显示原文说明。

microsoft/waza14242026年10月22日 更新

code-explainer

Microsoft 官方免费

**UTILITY SKILL** - Explain code snippets, functions, and algorithms in plain language. USE FOR: explain code, what does this code do, break down this function, help me understand this, walk through this algorithm, clarify this logic, explain this snippet, describe what happens here. DO NOT USE FOR: writing new code (use code generation), fixing bugs (use debugging), refactoring (use refactoring skills), code review with action items. INVOKES: file reading tools to access code, language detection for tailored explanations. FOR SINGLE OPERATIONS: If the user just needs to see file contents, use file reading tools directly.

中文简介正在准备中。当前显示原文说明。

microsoft/waza14242026年10月22日 更新

code-explainer

Microsoft 官方免费

Explains code snippets in plain English, breaking down what the code does step by step. Perfect for learning, code reviews, or documentation.

中文简介正在准备中。当前显示原文说明。

microsoft/waza14242026年10月22日 更新

coordinator-init-mode

Microsoft 官方免费

The complete two-phase Init Mode protocol the Squad coordinator runs when no team exists yet in the current repo. Phase 1 = propose the team (no files created, wait for user confirm). Phase 2 = create .squad/ scaffolding, casting state, .gitattributes for merge drivers, and the always-on built-ins (Scribe, Ralph, Rai, Fact Checker). Loaded on demand when the coordinator detects no .squad/team.md exists.

中文简介正在准备中。当前显示原文说明。

microsoft/waza14242026年10月22日 更新

coordinator-response-mode

Microsoft 官方免费

Selecting WHO handles work is the Routing table; selecting HOW they handle it (Direct, Lightweight, Standard, Full) is Response Mode. This skill contains the complete decision table, exemplar prompts for each mode, the Lightweight spawn template, and the upgrade rules. Squad coordinator loads this on demand once routing has identified the agent — to pick the right ceremony level for the task.

中文简介正在准备中。当前显示原文说明。

microsoft/waza14242026年10月22日 更新

查看 microsoft 的全部技能

报告此技能的问题