You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Split AGENTS.md Onto the Fleet Router Model and Carry the Instruction Set - #276
Part 2 of the ProjectTemplate resync, stacked on #275 (this PR retargets develop once that merges). Audit run 2026-09-26T02:16:51Z | hub 45669468.
Why This Is Not a Re-Vendor
AGENTS.md predated the hub's AGENTS.md/GOVERNANCE.md router split, so it held stale copies of fleet law beside rules written for this repo. Copying the hub canonical over it would have deleted the second kind silently. Every local rule was probed against the hub canonical and the carried Skills first, and each one that is not fleet law has a destination rather than a deletion.
What Moved Where
File
Change
AGENTS.md
An adapted preamble plus the three declared sections (Fleet Bootstrap, Context and Delegation Discipline, Where the Rules Live), byte-identical to the hub.
CLAUDE.md
New, byte-identical to the hub. Claude Code reads CLAUDE.md and never AGENTS.md, so without it that provider had no rules at all.
GOVERNANCE.md
New. The 18 verbatim sections match the hub, and Devcontainer and Repository Layout are written for this repo. The two hub-only sections are omitted.
OPERATIONS.md
New, with the six required headings and Local Verification first. It takes the Device Builder SubscriberPresence trap, the docker cp/tmpfs trap, what PR CI cannot exercise (arm64, a running dashboard), the build and compile runbooks, and the develop staleness check.
CODESTYLE.md
The hub copy, plus a local "Human-Authored Comments" subsection.
Carried from the hub. host-tools.json drops $schema, per the hub's own note.
.github/copilot-instructions.md
Re-vendored. The hub's own "Disproved Claims" entries are left out, since none of their subjects exist here. The old copy had no local entries.
cspell.json
Gains the hub's mermaid ignoreRegExpList.
Every repo-specific rule in the old file was traced to a home. The fleet-law ones, such as the strict-flag rationale, client-id App tokens, Closes #N placement, and the maintainer-only main merge, now live in the carried branching-and-release-model, pr-review-conduct, and comment-and-doc-style Skills.
Two local rules have no hub home yet: mirror-to-develop and leaving human-authored comments as written. They are recorded as recurrence evidence on ptr727/ProjectTemplate#1116.
One claim dropped deliberately: the old "Devcontainer" said devcontainer.json's extensions mirror the workspace file's recommendations. The two lists differ, so the claim was false, and reconciling them is an editor change outside this PR's scope.
Fixes Found Along the Way
.devcontainer/devcontainer.code-workspace kept a parallel cSpell.words list, against the single-source rule, and every word was already in cspell.json. The list is removed. This answers CodeRabbit's finding on Move the Repository to the Fleet LF Line-Ending Default #275. The same file pointed at python3.13/site-packages, while the image builds /opt/venv from python:3.14-slim. The path is corrected.
.github/dependabot.yml and WORKFLOW.md pointed at AGENTS.md sections that no longer exist there. They are re-pointed at GOVERNANCE.md.
Verification
carry.py check-sections reports every declared verbatim section current (stale: []) for both AGENTS.md and GOVERNANCE.md. carry.py check reports the Skills tree matching the hub digest.
editorconfig-checker, actionlint, markdownlint-cli2 (53 files), and cspell pass locally.
A local adversarial review ran over the full diff, and a second pass ran after its fixes. Both are recorded.
repo-config/ and the hub-hosted task workflows are retired in the next part.
Carry the hub's .editorconfig, .gitattributes, and .editorconfig-checker.json
whole, renormalize every tracked CRLF file to LF, and have the upstream-version
tracker and the upstream-dependency watcher write their JSON state as LF so a
bot PR does not reintroduce CRLF. AGENTS.md and WORKFLOW.md stated the old
CRLF model and are corrected in the same change.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… set
AGENTS.md predated the hub's AGENTS.md/GOVERNANCE.md split, so it held stale
copies of fleet law beside rules written for this repo. Each local rule was
probed against the hub canonical and its Skills before anything was replaced,
and every one that is not fleet law has a destination rather than a deletion.
- AGENTS.md carries only the three declared sections, byte-identical to the hub.
- CLAUDE.md, AUDIT.md, and the hub's CODESTYLE.md are carried; CODESTYLE.md keeps
the local human-authored-comments rule.
- GOVERNANCE.md is new: 18 verbatim sections plus this repo's Devcontainer and
Repository Layout.
- OPERATIONS.md is new and takes the local verification traps, the build and
compile runbooks, the develop staleness check, and the configuration layout.
- .github/copilot-instructions.md is re-vendored with no hub ledger entries.
- The .github/skills tree, host-tools.json, and .markdownlint-cli2.jsonc are
carried, and cspell.json gains the hub's mermaid ignore pattern.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🟢 Approval recommended
Changes appear internally consistent (docs repointed correctly, structural checks for carried Skills pass) with no functional regressions identified in the reviewed config/doc surfaces.
Review effort: Lite Findings: None
What changed in this PR
Updates this repository to the fleet “router + carried instruction set” model by introducing the split governance documents and vendoring the current fleet Skills distribution, while also refreshing local operational runbooks and tooling configs to match the new structure.
Changes:
Add/refresh the core instruction-set documents (AGENTS.md, GOVERNANCE.md, CODESTYLE.md, OPERATIONS.md, CLAUDE.md, AUDIT.md) and repoint references accordingly.
Carry the fleet’s .github/skills/ distribution into this repo and update markdownlint/cspell/devcontainer settings to match the expected contract.
Minor follow-ups to repo tooling docs/config (e.g., Dependabot comment pointer, devcontainer python site-packages path, cspell mermaid ignore).
File
Description
AGENTS.md
Adopts the fleet router structure and pointers for repo-wide rules.
AUDIT.md
Adds/updates the audit procedure document carried for conformance measurement.
CLAUDE.md
Adds Claude Code entry point importing AGENTS.md.
CODESTYLE.md
Updates the fleet-wide codestyle router content and adds a local comments note.
GOVERNANCE.md
Adds/updates governance sections, including Release/Branching model pointers.
OPERATIONS.md
Adds repo-specific operational runbooks and local verification guidance.
WORKFLOW.md
Updates documentation references to point at GOVERNANCE.md for process rules.
cspell.json
Ignores mermaid fenced blocks to reduce false positives in spellcheck.
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🔵 Needs a closer look
It makes broad, high-impact instruction-set and carried-skill updates that warrant a final human verification pass for fleet conformance and downstream tooling behavior.
The carried note read as if spec/host-tools.json and scripts/host_gate.py
existed in this repository. Both are hub-hosted, so the note says so, and it
states why this repository declares no tool of its own.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🔵 Needs a closer look
CODESTYLE.md and GOVERNANCE.md still point readers to hub-only .agents/skills/... paths even though this repo carries the usable copies under .github/skills/, making the docs less actionable and internally inconsistent.
This references the hub-only .agents/skills/... path, but this repository carries the generated skill copy under .github/skills/. Pointing at the local path keeps the doc actionable from this repo and avoids sending readers to a non-existent directory.
This issue also appears in the following locations of the same file:
line 46
line 54
line 58
Point docs to .github/skills path
GOVERNANCE.md:25
This points readers at the hub-only .agents/skills/... path, but this repository carries the generated skill copy under .github/skills/. Referencing the local copy keeps the pointer actionable from this repo and avoids sending readers to a path that doesn't exist here.
Answering the two "previously missed" low-severity findings from the review of 9d1d17d. Both are declined as carried fleet content, per this repo's .github/copilot-instructions.md "Reviewing Carried Fleet Content".
Use the repo-local skill path in docs - CODESTYLE.md:13 (also lines 46, 54, 58): "This references the hub-only .agents/skills/... path, but this repository carries the generated skill copy under .github/skills/."
Point docs to .github/skills path - GOVERNANCE.md:25: "This points readers at the hub-only .agents/skills/... path, but this repository carries the generated skill copy under .github/skills/."
Declined. GOVERNANCE.md:25 sits inside "Durable Knowledge and Self-Improvement", a section declared verbatim in the hub's spec/files.json, so a local edit would make it modified fixed content. CODESTYLE.md is carried whole. Both sentences already name the path as the hub's on purpose ("in the hub, not a repo-relative link since that path is hub-local and not carried into every fleet repo"). .agents/skills/ is the source, and .github/skills/ is a generated copy that is never hand-edited, so the pointer names where a fix belongs. If the wording should change, the fix goes in the hub canonical.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 2 of the ProjectTemplate resync, stacked on #275 (this PR retargets
developonce that merges). Audit run2026-09-26T02:16:51Z | hub 45669468.Why This Is Not a Re-Vendor
AGENTS.mdpredated the hub'sAGENTS.md/GOVERNANCE.mdrouter split, so it held stale copies of fleet law beside rules written for this repo. Copying the hub canonical over it would have deleted the second kind silently. Every local rule was probed against the hub canonical and the carried Skills first, and each one that is not fleet law has a destination rather than a deletion.What Moved Where
AGENTS.mdFleet Bootstrap,Context and Delegation Discipline,Where the Rules Live), byte-identical to the hub.CLAUDE.mdCLAUDE.mdand neverAGENTS.md, so without it that provider had no rules at all.GOVERNANCE.mdDevcontainerandRepository Layoutare written for this repo. The two hub-only sections are omitted.OPERATIONS.mdLocal Verificationfirst. It takes the Device BuilderSubscriberPresencetrap, thedocker cp/tmpfstrap, what PR CI cannot exercise (arm64, a running dashboard), the build and compile runbooks, and thedevelopstaleness check.CODESTYLE.mdAUDIT.md,.markdownlint-cli2.jsonc,host-tools.json,.github/skills/host-tools.jsondrops$schema, per the hub's own note..github/copilot-instructions.mdcspell.jsonignoreRegExpList.Every repo-specific rule in the old file was traced to a home. The fleet-law ones, such as the strict-flag rationale,
client-idApp tokens,Closes #Nplacement, and the maintainer-onlymainmerge, now live in the carriedbranching-and-release-model,pr-review-conduct, andcomment-and-doc-styleSkills.Two local rules have no hub home yet: mirror-to-
developand leaving human-authored comments as written. They are recorded as recurrence evidence on ptr727/ProjectTemplate#1116.One claim dropped deliberately: the old "Devcontainer" said
devcontainer.json's extensions mirror the workspace file's recommendations. The two lists differ, so the claim was false, and reconciling them is an editor change outside this PR's scope.Fixes Found Along the Way
.devcontainer/devcontainer.code-workspacekept a parallelcSpell.wordslist, against the single-source rule, and every word was already incspell.json. The list is removed. This answers CodeRabbit's finding on Move the Repository to the Fleet LF Line-Ending Default #275. The same file pointed atpython3.13/site-packages, while the image builds/opt/venvfrompython:3.14-slim. The path is corrected..github/dependabot.ymlandWORKFLOW.mdpointed atAGENTS.mdsections that no longer exist there. They are re-pointed atGOVERNANCE.md.Verification
carry.py check-sectionsreports every declared verbatim section current (stale: []) for bothAGENTS.mdandGOVERNANCE.md.carry.py checkreports the Skills tree matching the hub digest.editorconfig-checker,actionlint,markdownlint-cli2(53 files), andcspellpass locally.repo-config/and the hub-hosted task workflows are retired in the next part.🤖 Generated with Claude Code