Skip to content

Latest commit

 

History

History
419 lines (315 loc) · 42.2 KB

fleet-map.md

File metadata and controls

419 lines (315 loc) · 42.2 KB

Fleet Map and Gap Register (Hub-Only)

The map of how a human or an agent enters the fleet system. The register of the gaps and loose ends between its parts. The roadmap that closes them. This doc is hub-only and is not carried downstream, because it describes the hub's own seams rather than a fact about any one repo. It is a map and never the procedure. AGENTS.md, STANDUP.md, RESYNC.md, and AUDIT.md keep authority over their flows. Where this doc and a procedure doc disagree, the procedure doc wins and this map is what needs fixing.

Maintenance rule. A pull request that closes a register gap edits that gap's row and detail block in the same change, per GOVERNANCE.md "Durable Knowledge and Self-Improvement". A register describing a gap that is already closed is itself stale prose, so the register is only trustworthy while this rule holds. The same rule covers the map. A pull request that changes a mapped seam, or a flow this doc draws or points to, updates this doc in the same change.

Table of Contents

Scope and Non-Goals

This doc governs five things:

  • the entry-point routing map
  • the gap register with a defined handoff per gap
  • the resolved skills install model
  • the proposals for new skills
  • the phased roadmap

It does not author skills, which ship through the .agents/skills/ pipeline in changes of their own. It does not restate any procedure. It treats multi-agent coordination as a documented pattern only, with the rules in docs/peer-messaging.md. The version history that produced the current skill-based model is in HISTORY.md, so this doc states only what is.

System Map

flowchart TD
  agents["AGENTS.md router"] --> standup[STANDUP.md]
  agents --> resync[RESYNC.md]
  resync --> audit[AUDIT.md]
  standup --> audit
  law["GOVERNANCE.md / CODESTYLE.md / WORKFLOW.md"] --> agents
  spec["spec/ + registry/"] --> audit
  scripts["scripts/ hub-hosted tooling"] --> audit
  skills[".agents/skills/ source"] --> build[build_dist.py]
  build --> plugin[".claude-plugin/ generated"]
  build --> githubskills[".github/skills/ generated"]
  plugin --> install[skills_install.py]
  skills --> install
  install --> host["host: ~/.agents/skills + plugin + stamp"]
  hostsetup["host-setup/ cold start"] --> host
  ci["CI gates + prose-gate action"] --> law
Loading

The layers, one line each. The lifecycle docs route and procedure (AGENTS.md routes, STANDUP.md creates, RESYNC.md re-lines, AUDIT.md measures). The law docs hold the rules (GOVERNANCE.md cross-cutting, CODESTYLE.md per language, WORKFLOW.md the CI/CD contract). The machine ground truth is spec/ plus registry/repos.json. The hub-hosted tooling is scripts/, reached rather than carried. The skills source of truth is .agents/skills/, and scripts/build_dist.py generates the GitHub Copilot tree and Claude Code plugin from it. scripts/skills_install.py installs the host-scoped forms. host-setup/ provisions a host from a stock OS. CI enforces the deterministic subset of the rules on every pull request.

Entry Points

Five doors into the system. Each subsection names its flow, the docs that own it, and the closed register gaps that sit on its path. Where the owning procedure doc draws its own flow diagram, that diagram keeps authority. This map points to it rather than carrying a copy that can drift. The diagrams below draw only the flows no procedure doc draws.

Pre-Agent Cold Start

A fresh OS install, no git, no agent. The operator copy-pastes the loader lines from host-setup/README.md, and everything after that is scripted. No agent exists at this stage, so this path must work from prose and copy-paste alone.

flowchart TD
  os["stock OS install"] --> paste["copy-paste loader lines"]
  paste --> boot["bootstrap.sh / bootstrap.ps1"]
  boot --> fetch["hub tarball fetch, no git needed"]
  fetch --> upgrade["upgrade host packages"]
  upgrade --> tools["install-tools: the host toolchain, floors in spec/host-tools.json"]
  tools --> secrets["restore-secrets, only with --secrets: named buckets, so a restored SSH key is kept"]
  secrets --> github["setup-github: identity, SSH signing, gh auth"]
  tools -.-> github
  github --> agenttools["agent setup: upgrade the installed coding-agent CLIs"]
  agenttools --> skillsinstall["install-skills: fleet skills for the user"]
  skillsinstall --> safety["install-safety-kit: write guard + rendered CLAUDE.md"]
  safety --> rules["install-global-rules: host-wide rules for Codex and opencode"]
  rules --> verify["verify: host_gate + bootstrap --agent-status"]
  verify --> agent["install a coding agent, then re-run the agent setup"]
  agent --> session["first agent session"]
Loading

Owned by host-setup/ and docs/host-setup.md. The agent setup's steps act only on agents already installed. No agent exists yet on this path, so the Claude Code plugin registration, the safety kit, and the host-wide rules land nothing. They land when the setup runs again after an agent is installed. The tools step also polices its own PATH. A stray copy shadowing a managed uv, jq, or git-restore-mtime install is named in the report. An install or upgrade run removes the copy when removal is safe. No open gaps sit on this path. G1, the skills install with no home in the provisioning flow, is closed and its row records the resolution.

A New Repository

An agent is told to create or stand up a repo. The router of last resort is the byte-locked Fleet Bootstrap section of AGENTS.md. The CLAUDE.md block the agent-safety installer deploys mirrors it host-wide, so the routing reaches an agent even in a directory holding nothing.

The section-by-section flow is diagrammed at the top of STANDUP.md, and the routing into it in the Fleet Bootstrap section of AGENTS.md.

Owned by STANDUP.md, packaged as the standup-a-repo skill. No open gaps sit on this path: G2, the silent bare-run overlay skip, is closed and its row records the resolution.

A Stale Repository

The hub has moved and a downstream repo is behind. The agent runs RESYNC.md from a hub checkout, which runs AUDIT.md end to end and applies the findings in a load-bearing order.

The routing and the load-bearing apply order are diagrammed at the top of RESYNC.md. The deletion triage is in section 4 of that same doc. The audit pipeline with its verdicts is in AUDIT.md.

Owned by RESYNC.md and AUDIT.md, packaged as the resync-a-repo skill with the carried-instruction-file-guard and copilot-instructions-keeper skills firing inside it. No open gaps sit on this path. G3, the audit-to-install bridge, G4, the prose-deletion sweep, and G5, the intent-staleness advisory, are closed and their rows record the resolutions.

Daily Development in a Conformant Repository

The steady state. An agent writes Python, C#, shell, or config in a repo that already conforms, and the codestyle, commit, and review skills fire by trigger.

flowchart TD
  start["session start"] -->|"restated-rule symptom"| stale["skills_install --report, per the documented cadence"]
  start --> work["work: codestyle, commit, and doc skills fire by trigger"]
  work --> gates["pre-commit gates: prose lint, eol"]
  gates --> review1["local-strict-review, recorded via local_review.py"]
  review1 --> push["push, gated by pre-push in the hub"]
  push --> pr["pull request"]
  pr --> review["Copilot loop via pr_review.py"]
  review --> merge["merge per registry workflowModel"]
Loading

Owned by the per-language sections of CODESTYLE.md and the conduct skills. The gates node is the OPERATIONS.md "Run the gates locally, which is wider than CI" section. The local review node is the local-strict-review skill recorded through scripts/local_review.py. The review node runs through scripts/pr_review.py. The push node's gate is the hub's own .husky/pre-push. So on a downstream repo that edge is prose alone until a catalog snippet carries the hook. One open gap sits on this path. It is G13, the local review gate reaching the hub only. That is why the push node's own edge reads as prose on every other repository. G6, the unwired staleness check, and G7, the operational direct-commit allowance, are closed and their rows record the resolutions.

Hub-Side Operations

Work on the fleet itself, run from a hub checkout: sweeping the fleet for drift, changing a carried rule, and changing the skills.

flowchart LR
  subgraph sweep["fleet sweep"]
    reg["registry iterate"] --> peraudit["per-repo audit"] --> issues["convergence issues"]
  end
  subgraph lifecycle["skill lifecycle"]
    author["edit .agents/skills/"] --> gen["build_dist.py"] --> check["CI runs --check"] --> prq["PR"] --> merged["merge"] --> refresh["hosts re-run installer"]
  end
  subgraph rollout["carried-change rollout"]
    specedit["spec or law edit"] --> revendor["fleet re-vendor per RESYNC"]
  end
Loading

Owned by AUDIT.md section 10, GOVERNANCE.md "Hub-Hosted Tooling", and .agents/skills/README.md. The runnable form of this door is OPERATIONS.md. Its "Audit the fleet" and "Apply or verify repository configuration" runbooks drive spec/audit.py and the repo-config/ apply. Its "Run the gates locally, which is wider than CI" section runs scripts/repo_gate.py beside the prose gates. The gaps this path carried (G9, G10, G12) are closed. The four skills below cover the topics, the lifecycle, and the conduct rules. The register rows record the resolutions.

Skills Install Model

Resolved: the install is global per user, and the work is closing its gaps, not adding a second model. A per-repo pinned install was considered and rejected. It would let a repo's skills match its own state. But it forfeits coverage of ad-hoc sessions in no repo at all, which is where the incidents this fleet guards against actually happened. It also doubles the staleness surface. And it adds a version-resolution mechanism the fleet does not need while the whole fleet tracks one hub.

The lifecycle chain as built: a skill is hand-authored under .agents/skills/. scripts/build_dist.py generates .github/skills/ and the Claude Code plugin. scripts/skills_install.py installs both host-scoped forms per machine. The installer stamps the hub commit into ~/.agents/skills-install-stamp.json. skills_install.py --report is the read-only check. It judges the copy against the promoted main and reports what the checkout Claude Code loads in place is serving. It exits non-zero when the copy is not current.

Four wiring points close the model, and each is in place:

  1. Bootstrap (G1, closed): host-setup/bootstrap.sh and bootstrap.ps1 end their host mode with the agent setup. Its skills step is driven by the install-skills pair in the platform directories. The step degrades gracefully when the claude CLI is absent. In that case the overlay half still lands, and the stamp records the partial install. Each loader hands the commit it resolved to the installer, so a stamp written from the tarball tree stays checkable. The host mode ends with the agent setup, of which the skills step is the first installer. The setup also installs the Claude Code safety kit and writes the host-wide rules for Codex and opencode (docs/host-setup.md "Agent Setup").
  2. Host contract (G1, closed): docs/host-setup.md states the install and the verify command in its "Fleet Skills Install" section. The README.md "Using This Repo" section names the skills install among its four deployed things.
  3. Session entry (G6, closed): the tail of AGENTS.md says a rule that keeps needing restating signals a stale install. The check-this-repo skill runs the report and points to docs/host-setup.md for the cadence, so the symptom routes to the check without new tooling.
  4. Refresh cadence (G6, closed): docs/host-setup.md "Fleet Skills Install" states it. It says to re-run the installer from a freshly fetched main when --report exits non-zero. It also says to re-run it from a freshly fetched main after any promotion to main that touches .agents/skills/. The maintainer runs it by hand, and an automated refresh is deliberately out of scope until the fleet has evidence the manual cadence fails.

Gap Register

ID Gap Owner Phase
G1 Skills install is absent from the cold-start flow script + doc closed
G2 Host-tools repo overlay is silently skippable script + doc closed
G3 A failed tool floor names no install remedy spec + script closed
G4 Deletion sweeps miss prose describing the deleted path doc closed
G5 Intent-fidelity carried files have no drift detection spec + decision closed
G6 Session entry never checks skill staleness doc + skill closed
G7 Operational develop PR-only rule is prose-enforced decision closed
G8 Generated plugin can ship stale with no CI gate CI closed
G9 WORKFLOW.md and AUDIT.md have no skill coverage skill closed
G10 The skill lifecycle itself has no skill skill closed
G11 Peer messaging is live but undeclared doc closed
G12 General conduct rules have no skill skill closed
G13 The local review gate reaches the hub only script + doc open

Each gap's handoff below states who detects it, what closes it, and the test that proves it closed. The handoff sentence is the contract the closing pull request implements.

G1: Skills Install Is Absent From the Cold Start (Closed)

  • Gap - A host bootstrapped end to end via host-setup/ had every tool and no fleet skills, because no provisioning step ran scripts/skills_install.py.
  • Resolution - The bootstrap host mode ends with the agent setup. Its skills step is install-skills.sh or install-skills.ps1, driving the installer from the fetched tree. A --skills action runs that step on its own, and --agent-setup runs the whole setup. The bootstrap report reads the agent status, which carries the skills --report, beside the other status lines. Each loader hands the commit it resolved to the skills installer via SKILLS_SOURCE_COMMIT, and to the safety kit via AGENT_SAFETY_SOURCE_COMMIT. That makes the stamp written from a tarball tree stay checkable, and --report exit zero on a fresh host. That second result is this row's closing test. docs/host-setup.md carries the "Fleet Skills Install" section with the verify line, and README.md "Using This Repo" names four deployed things.
  • Decisions - The claude CLI stays out of spec/host-tools.json. A Codex-only machine is a complete machine, so the installer degrades where the CLI is absent. In that case the installer lands the overlay half and records the partial install in the stamp. The agent setup's Python-driven steps, the skills step among them, are the recorded exceptions to host-setup/'s no-Python and independent-fetchability rules. It runs inside the agent setup, the last step of a stand-up, so install-tools provides its interpreter first.
  • Cross-links - #671 and #673 touch the same host-setup/ scripts.

G2: Host-Tools Repo Overlay Is Silently Skippable (Closed)

  • Gap - scripts/host_gate.py run without --repo read only the declaration at its own working directory. So a run started in a subdirectory of a repo carrying a host-tools.json overlay skipped that overlay without a word.
  • Resolution - A bare run whose working directory sits inside such a repo prints a warning. The warning names the overlay's directory and the --repo re-run for it. The TestBareRunOverlayWarning cases in tests/test_host_gate.py assert that warning. An overlay the gate cannot parse is named the same way, the failed parse being what leaves open whether it declares anything. An explicit --repo and --no-local each stay silent, since both are a choice the caller made. So does an overlay declaring no tool, since every repository carries the file whether or not it adds anything. STANDUP.md section 0 states the residual case the warning cannot cover. That case is a run that is not inside the target at all. The section states it instead of the workaround sentence.

G3: A Failed Tool Floor Names No Install Remedy (Closed)

  • Gap - The tool catalog detected a stale tool, and the handoff back into host-setup/ did not exist. A failed floor left the operator or agent to rediscover which installer provides the tool.
  • Resolution - Each floored spec/host-tools.json entry carries a per-platform remedy beside its source, and a below-floor failure prints it as a REMEDY: line. Any host-setup/ path in the line is resolved against the checkout the gate runs from, so the command is runnable as printed. The catalog's own note states the field's semantics.
flowchart LR
  fail["host_gate: tool below floor"] --> lookup["read remedy for the tool and platform"]
  lookup --> remedy["output prints the install command"]
  remedy --> run["operator or agent runs it"]
  run --> recheck["re-run host_gate"] --> ok["proceed"]
Loading
  • Closing test - tests/test_bootstrap.py asserts the mapping stays total per platform, with the one recorded not-applicable exception. It also asserts that a remedy handing back into an installer names a tool that installer manages. spec/validate.py and the schema require a remedy on every hub floor. A repository overlay may still add a floor without one, in which case the failure degrades to the INSTALL FROM: source line.

G4: Deletion Sweeps Miss Prose (Closed)

  • Gap - A resync that deletes a carried file greps for the path. It finds code uses, not prose describing the file without naming its path. A measured incident left a layout section describing a deleted script.
  • Resolution - Split by what a pattern can reach. The named-path half is mechanized. The dead-path rule in scripts/prose_lint.py reports a Markdown mention of a path git once tracked and the tree no longer holds. A mention here is a backtick span, an inline link target, or a reference definition. Keying on deletion history is what scopes it. A proposed file a backlog names, another repository's layout, and a ref like origin/develop each have no history here and stay silent. A manifest-declared carried path is exempt since the hub's own instance retires to a catalog snippet while docs keep naming the carried file. A hub-hosted path is exempt for the mirror-image reason, measured downstream rather than predicted. A repository that deleted its copy per a retire disposition still names the hub's, which is the pointer GOVERNANCE.md "Hub-Hosted Tooling" requires of it. The manifest exemption cannot reach that case because no repository carries spec/files.json. That set is a literal in the gate, since the prose-gate action can fetch the one file and no ledger beside it. A test asserts that set against the ledger's retire dispositions so a new retirement cannot land on one side only. The rule runs in the default set and in CI. In CI the checkout fetches full history because the rule stands down loudly in a shallow clone rather than pass blind. The name-shaped half, the description that names no path, is accepted as manual. No pattern reaches it, the same judgment the home-path rule records. So the RESYNC.md section 4 read of the layout and operations sections stands and now names the lint beside it.
  • Closing test - TestDeadPathRule in tests/test_prose_lint.py, including the shallow stand-down and the tree-clean assertion. The rule's first tree-wide run caught a real instance, docs/host-setup.md describing bind-mounts in the deleted .devcontainer/ definitions, fixed by re-pointing at the catalog snippets.

G5: Intent-Fidelity Drift Is Invisible (Closed)

  • Gap - A carried file at intent fidelity was presence-checked only, so it could trail the hub by many revisions while the audit read clean. This class hid real drift before.
  • Resolution - The advisory ships in spec/audit.py. For each applicable intent unit the audit compares when the hub canonical and the repo copy each last changed. Its finding reports the copy as possibly trailing, at DRIFT and never failing, and spec/fidelity-model.md states which changes raise it. A copy content-identical to the canonical is skipped, being both current and the promotion candidate spec/fidelity_honesty.py exists to find. Measured on its first run: a fleet repo's carried WORKFLOW.md, CODESTYLE.md, and .editorconfig each reported as trailing hub changes made weeks earlier. No prior check produced those findings.
  • Decisions - The handoff imagined reporting the hub revision each unit was last reconciled against. No reconciliation record exists anywhere, so the last-modified comparison is the implementable proxy and ships instead of inventing a per-repo stamp. The advisory therefore says possibly, since a copy touched after the hub change without actually reconciling reads current. That blind spot is stated in RESYNC.md section 5, AUDIT.md, and spec/fidelity-model.md rather than papered over.

G6: Session Entry Never Checks Skill Staleness (Closed)

  • Gap - A machine with stale or missing skills behaves like a machine that never installed them, and nothing at session entry said so. The symptom is a rule that keeps needing to be restated.
  • Resolution - The cadence has one home, and the other place the row asked for points to it. docs/host-setup.md "Fleet Skills Install" directs a re-run of the installer from a freshly fetched main when --report exits non-zero and after any promotion to main touching .agents/skills/. The check-this-repo skill points there from its own "Refresh cadence" section and routes the restated-rule symptom to the report it already runs. Its own --snapshot-only refresh covers only the checkout it fetches. No new tooling, by design: the trigger is suspicion, and session entry stays uninstrumented until the fleet has evidence the manual cadence fails.

G7: Operational Develop PR-Only Is Prose-Enforced (Closed)

  • Gap - repo-config/operational/develop.json carries deletion, non-fast-forward, and signature rules only, so nothing blocks a direct commit that skips the feature-branch instruction during a standup.
  • Resolution - Closed accepted, mirroring the spec/divergences.json vocabulary. The disposition is recorded where the exposure is described: STANDUP.md section 0B states it beside its uneven-protection warning. The allowance is the operational model's foundation per WORKFLOW.md "Branch Model". A standup runs on a feature branch either way, so the exposed interval is the tail of a procedure the instruction already governs.
  • Decisions - The considered alternative, applying the release develop payload during standup and swapping to the operational payload after the closing audit, was declined. It adds a swap step that can be forgotten and a window where the live ruleset contradicts the registry's declared model. It buys mechanical enforcement only for an interval the instruction already covers. A forgotten swap would surface as a ruleset defect on the next audit, which is real. So would the contradiction it spends the interim in.

G8: Generated Plugin Can Ship Stale (Closed)

  • Gap - .github/skills/ and .claude-plugin/ are generated from .agents/skills/, and a merge that edits the source without re-running scripts/build_dist.py would ship stale distributions.
  • Resolution - .github/workflows/validate-task.yml runs build_dist.py --check as its own step in the lint job, on every pull request. The required aggregator check gates on that job. A PR desyncing a generated tree therefore fails the required check, which is this row's closing test.
  • Provenance - The step landed in #676, which predates this register's merge, so this row's original Checked claim was stale on arrival. Recording that here rather than silently deleting the row is the maintenance rule doing its job.

G9: WORKFLOW.md and AUDIT.md Have No Skill (Closed)

  • Gap - The CI/CD law doc (WORKFLOW.md, the D1-D9 contract) and the measurement procedure (AUDIT.md) had no skill surface. Every other procedure and language did. Thirteen GOVERNANCE.md sections were likewise doc-only.
  • Resolution - audit-a-repo packages AUDIT.md in the kept-authority shape, the doc keeping the full rules and the skill routing into it. workflow-ci-contract packages WORKFLOW.md sections 3, 4, and 5 as generated includes and the rest of that document in the same kept-authority shape. The AGENTS.md rule map carries a disposition per section. Workflow YAML Conventions and the three conduct sections are annotated with their surfacing skill. A paragraph after the table states why each remaining unannotated section is doc-only by decision. So absence reads as a choice rather than an oversight. Both closing tests hold: the skills ship, and the map carries the dispositions.
  • Provenance - All four phase-2 skills shipped in one pull request at the maintainer's direction. That superseded the one-pull-request-per-skill note this doc carried. skill-lifecycle was authored first inside that pull request so the others follow its procedure.

G10: The Skill Lifecycle Has No Skill (Closed)

  • Gap - Authoring, changing, and retiring a skill was governed by scripts and scattered prose. So the agent most likely to get it wrong (one editing a skill) had no skill watching it.
  • Resolution - The skill-lifecycle skill packages the pipeline (source-versus-generated split, build_dist.py regenerate and --check, installer and stamp semantics, the doc-packaging pattern, trigger-description conventions). .agents/skills/README.md defers to it for procedure, which is this row's closing test. It was authored first in phase 2 so the other three skills follow its procedure.

G11: Peer Messaging Is Live but Undeclared (Closed)

  • Gap - Agent-to-agent messaging works and has produced real findings. No committed doc stated its rules, so each session rediscovered the capability without its boundaries.
  • Resolution - docs/peer-messaging.md declares the method and its safety rules, hub-only, shipped beside this doc in the P0 pull request. The TODO.md "Peer Messaging Between Agents as a Declared Method" item resolves to it. The row's phase cell trailed its own closure until the P3 register pass, which is the maintenance rule doing its job.

G12: General Conduct Rules Have No Skill (Closed)

  • Gap - The conduct layer lived in carried AGENTS.md sections and doc-only GOVERNANCE sections. That layer is: ask when unsure, never assume, verification before claiming done, delegation and token discipline. No skill fired at the moments those rules are violated.
  • Resolution - The agent-conduct skill ships to the contract the "Proposed Skills" agent-conduct block states. The sections it packages are carried whole as generated includes now, rather than as the summaries the skill first shipped with. The packaged sections keep the full rules and the surfacing pointer while the carried AGENTS.md sections stay the always-on layer.

G13: The Local Review Gate Reaches the Hub Only (Open)

  • Gap - GOVERNANCE.md "Verification Discipline" requires a recorded local review pass before every push toward a pull request. Only the hub carries the .husky/pre-push hook that checks the receipt. Every other repository has the prose layer and no capture point. That is the layering working as designed, but it leaves the mechanical half unbuilt where most of the work happens.
  • Handoff - scripts/local_review.py is hub-hosted and takes no --repo, reading whichever repository the working directory sits in. So a downstream repo reaches it as a hub checkout's copy run from its own worktree. Closing this means a catalog/snippets/ pre-push companion to the existing pre-commit snippets, reaching the engine the way those reach the doc gates. The closing test is a downstream repo whose unreviewed push is refused and whose recorded push is not.
  • Known limits the snippet inherits - The hook refuses rather than guesses in several states it cannot speak for. Every one of those is deliberate rather than incidental, so a snippet reproduces them rather than re-deciding them. The local-strict-review Skill's refusal table is the enumeration, kept in one place on purpose. Two of them read as shortcomings a snippet should fix and are not, so they are named here with the reason. The refusal while the working tree holds tracked content differing from HEAD reads as an unrelated cleanliness check. A push delivers HEAD while the engine's key covers the index and the working tree. So without that refusal a fix staged over an unreviewed commit passes the gate while the push delivers the commit. The fixed develop target, with no environment override, reads as a gap to close for a repo whose working branch differs. Adding one reopens a measured bypass, since the variable is set inline on the very command being gated, by whoever is being gated. The bypass also rests on the fact that naming the pushed branch as its own target collapses the change set to nothing and exits 0. A snippet needing another branch hard-codes it rather than reading it from the environment.

Proposed Skills

Four skills close G9, G10, and G12. They shipped through the .agents/skills/ pipeline with skill-lifecycle authored first so the other three follow its procedure. They shipped in one pull request at the maintainer's direction, per the G9 provenance note. Scope and overlap were settled here before authoring, and each block below is the contract its skill implements.

audit-a-repo

  • Scope - Read-only measurement of a named repo ending in a committed report. The content: the AUDIT.md flow, the verdict taxonomy, what the deterministic runner covers and what stays hand-judged, and the rule that measuring never edits.
  • Trigger - Asked to audit, measure, or verify conformance of a named repo, or to judge a conformance claim.
  • Packages - AUDIT.md, which keeps authority.
  • Overlap - Completes the triangle: standup-a-repo creates, resync-a-repo applies, and this measures. check-this-repo stays the in-repo self-check with no named target. Each description disambiguates against the others, in the style the existing three already use.

workflow-ci-contract

  • Scope - The WORKFLOW.md behavioral contract: the D-guarantees, the seam contract, artifact lifecycle, NBGV versioning, and validate-at-entry. The architecture, the guarantee catalog, and the test methodology are carried as references.
  • Trigger - Writing or editing anything under .github/workflows/, a composite action under .github/actions/, or version.json, or adding or dropping a release target. Also auditing a repository's workflows, or tracing which job, input, or condition made a publish run or skip.
  • Packages - The YAML half of the pipeline. branching-and-release-model keeps the git half (branching, promotion, publish policy), and the two descriptions state the split.
  • Overlap - The source doc is large, so the skill is a summary with references/ splits, the shape comment-and-doc-style already uses. Sections 3, 4, and 5 are each carried whole as a generated include.

skill-lifecycle

  • Scope - Creating, changing, splitting, and retiring a skill:
    • the source-vs-generated split
    • the regen and --check semantics of scripts/build_dist.py and the include regions it fills from a rule's home
    • the install and stamp semantics of scripts/skills_install.py
    • the doc-packaging pattern in its three shapes:
      • a summary in the law doc with full rules in the skill
      • the reverse
      • a generated include of the doc's section
    • trigger-description conventions
  • Trigger - About to create or edit anything under .agents/skills/ or .claude-plugin/.
  • Packages - .agents/skills/README.md procedure content, which then defers to it.
  • Overlap - None, and the absence was gap G10. Adjacent to comment-and-doc-style for SKILL.md prose only.

agent-conduct

  • Scope - The conduct rules with no skill surface:
    • verification before claiming done
    • asking instead of assuming
    • recording a lesson when a failure surfaces one
    • accounting at handoff for the questions parked rather than asked
    • the delegation summary
  • Trigger - Narrow, at decision moments rather than always-on. Each moment is one where a conduct rule is about to be broken and nothing else fires. Which moments those are is the skill's own description frontmatter. The skill may add to it without this contract changing, so read the count and the wording there. Deliberately not always-on. The carried AGENTS.md sections are the always-on layer. An always-on conduct skill would duplicate them and spend the tokens the delegation rules exist to save.
  • Packages - Verification Discipline, Communicating with the User, and Durable Knowledge and Self-Improvement from GOVERNANCE.md, which keep authority.
  • Overlap - The commit, review, and doc skills each carry their own conduct rules already. This skill points rather than restates where one of those owns the moment.

Peer Messaging

Agent-to-agent messaging on one host is a working method with measured value, and its rules are declared in docs/peer-messaging.md. The location decision from the TODO.md item resolves to a hub-only doc first, for these reasons. The rules bind sessions on the maintainer's own hosts today. The transport cannot cross a machine boundary. A carried GOVERNANCE section costs a fleet re-vendor for rules whose cross-host half is unverified. Promotion to a carried section or a skill is re-evaluated when cross-host messaging is verified. It is also re-evaluated when a downstream session demonstrably needed the rules and lacked them.

Simplified Technical English Evaluation

Should agent-authored prose adopt ASD-STE100, a controlled language standard, or a lighter constrained house style? The criteria: does it improve agent instruction-following? Does it compose with the enforcement that exists (scripts/prose_lint.py and the character-set and semicolon rules)? What does it cost to author? Does its vocabulary fit a technical fleet?

Criterion Full ASD-STE100 Constrained house style
Instruction-following One-instruction-per-sentence and active voice measurably help The same two properties, adoptable directly
Enforcement fit The controlled dictionary is not lintable by the existing tooling Each rule lands as a prose_lint.py check like the current ones
Authoring cost Approved-word lookup on every sentence, for every author and agent Marginal on top of the rules already enforced
Vocabulary The approved general-word list excludes ordinary technical usage this fleet needs Unrestricted vocabulary, restricted structure

Recommendation: adopt the structural half (short sentences, one instruction per sentence, active voice, imperative procedure steps) as house style, codified incrementally as prose_lint.py checks. Do not adopt the controlled dictionary. The existing rules already lean this way, so this is a direction confirmed rather than a new regime.

Decision: adopted as recommended, the structural half as house style and no controlled dictionary. The first structural check is the sentence-length rule in scripts/prose_lint.py, capped at ASD-STE100's 25-word descriptive limit. It shipped opt-in like sentence-split, since at landing it counted 1686 over-cap sentences in the hub's own corpus. A default or CI gate would have failed whole files nobody was editing. Promotion into DEFAULT_RULES and CI waited for the corpus to converge. The hub's corpus now reads zero over-cap sentences, so the rule runs by default. That reaches the whole fleet, scoped in CI and the hooks to each sentence a change touches. The decision is recorded in GOVERNANCE.md "Documentation Style Conventions" under "Sentence Structure", with the full house-style rules in the comment-and-doc-style skill. The skill also states why the two unlintable halves stay authoring discipline.

Adoption and Operation Roadmap

Design-doc first: this doc merges. Then each unchecked item becomes an issue linking its register row. The closing pull request edits the row per the maintenance rule.

P0: This Pull Request

  • Fleet map and gap register committed (this doc)
  • Peer messaging declared (docs/peer-messaging.md, closes G11)
  • TODO.md peer-messaging item resolved by pointer

P1: Close the Install Model

  • G1 bootstrap skills step, host-setup section, README fourth deployed thing (cross-links the host-tooling issues #671 and #673, which touch the same scripts)
  • G2 host_gate.py bare-run warning
  • G3 failed-floor remedy output
  • G6 staleness cadence wording
  • G8 build_dist.py --check in CI, found already in place via #676 and recorded closed

P2: Close the Skill Coverage

  • G10 skill-lifecycle skill, authored first
  • G9 audit-a-repo skill
  • G9 workflow-ci-contract skill, with references/ splits for the guarantee catalog and the test methodology
  • G12 agent-conduct skill, narrow decision-moment triggers per the proposal
  • G9 disposition sweep over the doc-only GOVERNANCE sections in the AGENTS.md rule map

P3: Audit-Depth Decisions

  • G4 disposition: the dead-path lint ships for the named-path half, the manual read stands for the name-shaped half
  • G5 disposition: the last-modified advisory ships in spec/audit.py
  • G7 disposition: accepted, recorded in STANDUP.md section 0B

P4: Steady State

  • Local review gate carried to the fleet as a catalog/snippets/ pre-push companion, closing G13
  • Refresh cadence observed in practice, revisited if the manual cadence fails
  • Register rows retired as they close, per the maintenance rule
  • Peer-messaging promotion re-evaluated after cross-host verification
  • STE structural checks land in prose_lint.py incrementally: adopted, the first (sentence-length) runs by default, and the rest land on evidence per the decision above

Decision Ledger Cross-References

TODO.md stays the running backlog, and this register does not fork it. The peer-messaging item resolves to docs/peer-messaging.md and section G11. A future TODO entry about an adoption gap lands as a register row here instead, with TODO carrying only the pointer.