Description
Part of #1311. Priority: next. One pull request for the inventory and the include mechanism, then one per restatement class.
Why
A rule lives in a GOVERNANCE.md section, is packaged in a Skill, summarized in agent-conduct, condensed in workflow-ci-contract's d-guarantees catalog, copied into a sibling skill's step list, and referenced by step number from three other skills. Every copy is a unit that can drift and does: 12 open restatement-drift issues, 9 inconsistency issues, and #1164's finding that agent-conduct lists 11 of the source's roughly 20 checks. AGENTS.md already forbids restating rules. Nothing enforces it, and skills need enough self-contained text to work in isolation, so they restate.
Scope
- Inventory. For each normative statement in
GOVERNANCE.mdandAGENTS.md, list every other place it appears (grep for its distinctive phrases across the canonical surfaces). Post the inventory to this issue before changing anything. - Decide per restatement: pointer or include. A pointer is a sentence naming the home section and nothing of its content. An include is a marked region in the skill source that
build_dist.pyfills from the home at build time, so the skill still reads whole in isolation and the copy cannot drift because it is generated..source-digestalready proves the build owns the mirrors. Extendbuild_dist.py --checkto fail when an include region's content differs from its source. - Remove the step-number references between skills ("drive-pr's Drive Loop step 2"). A skill names a sibling by name and by what it needs from it, never by where in the sibling it sits.
- Apply to the known classes:
agent-conduct's condensed check lists,drive-pr's copy of the five outcomes (drive-pr: outcome 2 is wider than its owner states, and three enumerations are incomplete #1288),backlog-burndown"Scope" and "The Two Seats" (backlog-burndown restates two cross-cutting rules AGENTS.md says to reference #1305), the d-guarantees catalog (The d-guarantees preamble describes section 4's clause convention over a catalog that uses neither label #1205, Six D4 items in the condensed catalog drop the clause that carries their meaning #1212, d-guarantees.md's D2.1 drops the step half of job/step, and fails the contract's own example #1250),workflow-ci-contract's D1.6 and D7.3 copies (workflow-ci-contract Skill Restates D1.6's uv.lock Guard and D7.3's Unscoped Boolean Rule #1240), and the three surfaces Sweep Three Surfaces Still Stating the Rules #1149 Corrected #1237 names.
Rules that bind this task
- The home of a cross-cutting rule is
GOVERNANCE.md. The home of a procedure is its Skill. Nothing else holds rule text except a generated include. - Generated content is never hand-edited. The build regenerates it and CI checks it.
- One restatement class per pull request after the mechanism lands, so each is reviewable on its own.
Acceptance
build_dist.py --checkfails when an include region is edited by hand or its source moves.- Grepping a distinctive phrase from any
GOVERNANCE.mdrule finds it in the home and in generated regions only.
Closes #1305, #1288, #1240, #1237, #1212, #1205, #1250, #1243.
Activity
Bound What the Merge Gate Owes an Out-of-Diff Prose Finding and Recor…
ptr727 commentedon Sep 5, 2026
Inventory, part 1 of 3: every place a
GOVERNANCE.mdorAGENTS.mdrule appears outside its homePosted before any edit, per the Scope. Read at
develop00832f3. Six read legs covered 48 files: the 33 hand-authored files under.agents/skills/, and.github/copilot-instructions.md,CODESTYLE.md,WORKFLOW.md,AUDIT.md,RESYNC.md,STANDUP.md,README.md,docs/fleet-map.md,docs/host-setup.md,host-setup/README.md,host-setup/agent-safety/README.md, and the two installer payloads underhost-setup/agent-safety/claude/. A sixth leg read the two home documents against each other. The generated mirrors were not read, since they are the source by construction.Shapes. Each row is one location, classed as one of:
copy(verbatim or near),condensation(shortened or paraphrased, carrying content),pointer+content(names the home section and repeats some of it),narrowing(restates the rule to say this surface's scope is narrower, the #1305 shape), orstep-ref(a position inside a sibling skill, "drive-pr step 4"). A sentence naming the home and nothing of its content is a pointer, which is the target state, so those are counted rather than listed: 164 across the 48 files. A skill that is the packaged home of a section ("Moved content" shape) is not a restatement of it and is rowed only where theGOVERNANCE.mdsummary and the skill disagree.Summary
Plus 24
step-refrows, listed below. 163 of the 469 rows currently drift from their home, meaning the copy says something the home does not, or drops a clause that carries the rule's meaning. The rows are in parts 2 and 3, one table per home, with the home phrase to grep for and the drift in one clause.What it shows
narrowingrows are the one shape with a reason to exist, since each explains why a surface's scope is smaller than the rule's, and a bare pointer does not carry that.WORKFLOW.mdsection 2 and theworkflow-ci-contractskill, which restate the same list twice.GOVERNANCE.mdsections, or in bothGOVERNANCE.mdandAGENTS.md, and 5 of those have no decided owner under the "Where the Rules Live" table. An include cannot fix these, since a home cannot generate from itself. Each is a deletion plus, where needed, one pointer.host-setup/agent-safety/claude/claude-md-safety.mdandclaude-md-fleet.mdare 19 rows of condensed "Repository Boundaries", "Representative Data", and "Fleet Bootstrap", installed into a machine's~/.claude/CLAUDE.md, and 14 of the 19 drift. They are the strongest case for a generated include, and the one where the section's full length has a cost, since that file is loaded into every session on the machine.GOVERNANCE.mdand never arrived, or a rule whose home is the skill, and the one-home rule needs the call made per item rather than left implicit.Classes, one pull request each after the mechanism lands
Each class names its files, which is the floor for that pull request's diff-pass
Paths:, and the disposition I propose. Recommendation first, so silence reads as the first option.scripts/build_dist.py, filled in the source tree so Codex and opencode read whole text, checked by--check, with theskill-lifecycleSkill andAGENTS.md's no-restatement sentence carrying the rule. No live region lands with it.agent-conduct's condensed lists, 19 rows over "Verification Discipline", "Durable Knowledge", "Communicating with the User", and "Repository Boundaries". Include over pointer, since surfacing those checks whole is the skill's whole purpose and Review-loop skills disagree with each other and stop short of decisions the loop needs #1164 measured the condensation at 11 of about 20. The cost is length: the skill becomes the sections it includes. Files:.agents/skills/agent-conduct/SKILL.md.drive-pr's copy of the five outcomes and every step-ref intopr-review-conductanddrive-pr(drive-pr: outcome 2 is wider than its owner states, and three enumerations are incomplete #1288, and the 24 step-refs below, 19 of them indrive-pr,local-strict-review, andbacklog-burndown). Include the outcomes frompr-review-conduct's own section, and replace each step-ref with the sibling's name and what is needed from it. Files:.agents/skills/drive-pr/SKILL.md,.agents/skills/local-strict-review/SKILL.md,.agents/skills/backlog-burndown/SKILL.md,.agents/skills/pr-review-conduct/SKILL.md.backlog-burndown"Scope" and "The Two Seats" (backlog-burndown restates two cross-cutting rules AGENTS.md says to reference #1305), plus its 14 other rows. Keep the two asnarrowingwith the restated clause cut to the narrowing itself, and pointer the rest. Files:.agents/skills/backlog-burndown/SKILL.md.WORKFLOW.mdsection 4 rows this inventory did not read because that file is not a home here. This is the class where pointer and include meet a third option, retiring the catalog for a pointer to section 4, and it needs the call in The d-guarantees preamble describes section 4's clause convention over a catalog that uses neither label #1205's "Scope note". Files:.agents/skills/workflow-ci-contract/SKILL.md,.agents/skills/workflow-ci-contract/references/d-guarantees.md,WORKFLOW.mdsection 2.WORKFLOW.mdsection 2 against "Workflow YAML Conventions", 12 rows, one list stated in two homes with "this section winning where the two overlap". A deletion inWORKFLOW.mdand one pointer, unless the maintainer wants section 2 as the include of theGOVERNANCE.mdsection, which the mechanism supports since a source can be any file under the root. Files:WORKFLOW.md,GOVERNANCE.md..agents/skills/comment-and-doc-style/references/line-endings.md,.agents/skills/agent-conduct/SKILL.md(folds into class 2),scripts/tests/test_repo_gate.py.GOVERNANCE.md,AGENTS.md.host-setup/agent-safety/claude/claude-md-safety.md,host-setup/agent-safety/claude/claude-md-fleet.md,host-setup/agent-safety/README.md(10 rows of its own).repo-worktree"The Mandate" being a four-bullet copy of "Repository Boundaries" and the natural include, the rest pointers. Files:.agents/skills/repo-worktree/SKILL.md,.agents/skills/git-commit-conventions/SKILL.md,.agents/skills/operational-vs-release-workflow/(3 files),.agents/skills/upstream-contribution-workflow/SKILL.md,.agents/skills/carried-instruction-file-guard/SKILL.md,.agents/skills/copilot-instructions-keeper/SKILL.md.resync-a-repo,standup-a-repo,audit-a-repo,fleet-conformance-check,skill-lifecycle,add-host-tool, mostly "Fleet Bootstrap" and "Repository Onboarding" condensations. Pointers, with "Fleet Bootstrap" included whole where a skill quotes more than one of its bullets.CODESTYLE.mdrestatements, which this inventory did not read since that file is not a home here. Pointers, and two contradictions to fix at the source (profiles.md:20-22on editor settings,add-host-toolandworkflow-ci-contracton the whole-gate rule).README.md(36 rows),docs/fleet-map.md(11),docs/host-setup.md(7),AUDIT.md(21),RESYNC.md(16),STANDUP.md(19),.github/copilot-instructions.md(16),CODESTYLE.md(5),host-setup/README.md(4). Pointers throughout.README.md's "Conventions" list is the largest single restating surface in the tree.GOVERNANCE.md, or declare the skill the home in the "Where the Rules Live" map.Classes 2 to 4 and 7 are the ones the issue names. The rest are what the inventory added.
Step-refs
drive-prstep 1 andrepo-worktree's task-start mandate already require"drive-prstep 4"drive-prstep 4's remote half too"drive-prsteps 5 through 8"drive-prstep 6 sends the seat ... back through its own steps 1 to 4"drive-pr, whose second step pushes and opens a pull request"pr-review-conduct... enumerates"styleone is declined under outcome 2"drive-pr's Drive Loop step 2"pr-review-conduct's Expected review loop step 1"pr-review-conduct's outcome 1"WORKFLOW.mdD1.6 for the coverage obligations"gh-write-guard.py's own rule 6 test"host-setup/agent-safety/README.md... already documents as its requirement 6"Rules found on a surface with no home in either document
git ls-remote --heads --exit-code --verify-then-delete mechanics, including the same empirical evidence, with no home.fleet-reviewcoverage marker, a rule with no home in either document.scripts/pr_review.py's default, a number with no home.--no-verifythe documented route out of a pickle for the pre-push hook.Reads that need a call before their class is worked
AGENTS.md's "Context and Delegation Discipline" and the closing paragraphs as its homes. Every leg also treated "Fleet Bootstrap" as one, since it is a level-two section carrying normative routing text, and 29 rows depend on that call. I read it as right.AGENTS.md"Commands" andGOVERNANCE.md"Running the Linters Locally", and for thecspellscope, whichGOVERNANCE.mdstates and then points toCODESTYLE.mdfor the reason.lineEndingsoverride in "Operational Repositories" is the only statement of it inGOVERNANCE.md.ptr727 commentedon Sep 5, 2026
Inventory, part 2 of 3: the rows,
AGENTS.mdhomes andGOVERNANCE.mdhomes through Operational RepositoriesOne table per home, sorted by file and line.
Home phraseis text to grep for in the home.Driftisnonewhere the copy agrees with the home today.AGENTS.md > (preamble)
3 locations, 1 currently drifting from the home.
AGENTS.md > Context and Delegation Discipline
20 locations, 11 currently drifting from the home.
HOMEor an agent's configuration directory to make a tool run"AGENTS.md > Fleet Bootstrap
29 locations, 6 currently drifting from the home.
AGENTS.md > Where the Rules Live
16 locations, 2 currently drifting from the home.
drive-prrather than replacing it, and it scopes to the repository the session is in"drive-prso the promotion merge and the release dispatch each keep their own explicit go-ahead"python3 scripts/skills_install.py --report... says whether this machine is current"<name>Skill" and "the section keeps the full rules"GOVERNANCE.md > Branching Model
23 locations, 6 currently drifting from the home.
develop, merge-commit-onlydevelop -> mainpromotions"develop... unless the task is explicitly aboutmain-only content"develop"develop, on either workflow model, unless the task is explicitly aboutmain-only content"develop"develop, merge-commit-onlydevelop -> mainpromotions"develop, on either workflow model, unless the task is explicitly aboutmain-only content"developis where work starts and where in-flight content lives"release-model repo where the home says either modelGOVERNANCE.md > Communicating with the User
7 locations, 2 currently drifting from the home.
GOVERNANCE.md > Documentation Style Conventions
24 locations, 15 currently drifting from the home.
.editorconfigand.gitattributesdefaults and pins".editorconfigand.gitattributesdefaults and pins".editorconfigand.gitattributesdefaults and pins"GOVERNANCE.md > Durable Knowledge and Self-Improvement
12 locations, 4 currently drifting from the home.
GOVERNANCE.md > Editor and Tasks
4 locations, 3 currently drifting from the home.
.vscode/*.json.code-workspacecan reload the VS Code window and drop the agent's session"GOVERNANCE.md > Foundational Principles
13 locations, 2 currently drifting from the home.
mainback intodevelop, which the rules forbid"developandmainin parallel, so neither branch drifts"workflow_dispatch"developandmainin parallel"GOVERNANCE.md > Git and Commit Rules
25 locations, 12 currently drifting from the home.
git branch -Dexceptiongit branch -Dexception the home summary admits none ofnoreplyidentity"GOVERNANCE.md > Hub-Hosted Tooling
30 locations, 5 currently drifting from the home.
main, the promoted and gated state, and fetch immediately before running"mainand omits the immediacy of the fetchmain, the promoted and gated state, and fetch immediately before running"main... and fetch immediately before running, because a clone is whatever it last fetched"main" but omits fetching immediately before runningmain, the promoted and gated state, and fetch immediately before running"scripts/is hub-hosted and reached rather than carried"GOVERNANCE.md > Operational Repositories
12 locations, 5 currently drifting from the home.
develop... a PR still exists for a change worth reviewing"[*]default follows the consuming app's native platform per the registrylineEndingsfield"develop, CI runs on the push as advisory feedback only"develop, CI runs on the push as advisory feedback only"ptr727 commentedon Sep 5, 2026
Inventory, part 3 of 3: the rows,
GOVERNANCE.mdhomes from PR Review Etiquette onSame columns as part 2.
GOVERNANCE.md > PR Review Etiquette
16 locations, 9 currently drifting from the home.
GOVERNANCE.md > Pull Request Title and Commit Message Conventions
1 locations, 1 currently drifting from the home.
GOVERNANCE.md > Release Model
10 locations, 2 currently drifting from the home.
major.minorfloor"GOVERNANCE.md > Repository Boundaries and Write Safety
48 locations, 21 currently drifting from the home.
git add -Asweeps another task's uncommitted work into the commit"gh-write-guardhook now backstops a mechanical subset of this rule directly"checkout/switchexemptions the home does not nameGH_WRITE_GUARD_ALLOW_PRIMARY_CHECKOUTgrant for that session"gh-write-guardhook now backstops a mechanical subset of this rule"gh-write-guardhook now backstops a mechanical subset of this rule"GOVERNANCE.md > Repository Layout
5 locations, 0 currently drifting from the home.
GOVERNANCE.md > Repository Onboarding and Conformance
23 locations, 4 currently drifting from the home.
RESYNC.md"GOVERNANCE.md > Representative Data in Agent-Authored Text
4 locations, 2 currently drifting from the home.
GOVERNANCE.md > Running the Linters Locally (Known-Working Invocations)
24 locations, 9 currently drifting from the home.
command -v <tool>miss means exactly that and not that the check is unavailable here"danger-full-accessplusapproval_policy = "never"pair.husky/pre-commitor.pre-commit-config.yaml".husky/pre-push, gating the local-review rule rather than lint"git config core.hooksPath .huskyor ...pre-commit install".shfile plus".husky/pre-push, gating the local-review rule rather than lint"GOVERNANCE.md > Verification Discipline
74 locations, 23 currently drifting from the home.
encoding: nonetrapPath.read_text(newline=)caveatPath.read_text(newline=)TypeErrorcaveat the home names--linter actionlintrun before pushing::warning::where the home requires an errorGOVERNANCE.md > Workflow YAML Conventions
46 locations, 18 currently drifting from the home.
.shscript alike, starts withset -Eeuo pipefail"run:blocks# vXmajor-only allowance and the repo-owned-leaf clauserun:, dropping committed.shscriptsRefuse the Include Regions build_dist.py Cannot Render Faithfully
Collapse Only the Blank an Include Marker Leaves, and Refuse What the…
Read a Heading at Any Indentation, the Way the Audit and the Ledger R…
Fill Skill Include Regions From a Rule's Home in build_dist.py (#1378)
ptr727 commentedon Sep 5, 2026
The mechanism is merged to
developas 6aecb8b (#1378)What landed. Include regions in
scripts/build_dist.py:<!-- include: <path> > <heading> -->...<!-- /include -->in a skill source is filled with the body under that heading, in.agents/skills/itself so Codex and opencode read whole text, and--checkexits 1 on a region that differs from its source and 2 on one it cannot render.AGENTS.mdnames the include as the one sanctioned full second statement of a rule, theskill-lifecycleSkill carries the mechanism and a third doc-packaging shape, and the Copilot runbook routes a defect inside a region to the heading its key names. No live region yet: the per-class pull requests land those, class 2 (agent-conduct) first per the inventory above.Measurement,
introducedover total per read. Four commits, three of them maintainer-granted rounds after the two-round budget, the last code-only.Copilot ran four rounds, full coverage each, and raised twelve findings, every one coinciding with a local read. Pre-existing findings went to new unit trackers #1373 to #1377, 22 lines. The thirteen introduced items still open at the end, six code and seven prose, are #1380, and the doubled include walk in
--checkis #1379.What it shows, beyond #1334.
Next: class 2,
agent-conduct, one pull request under the stop rule, with #1380 items 1 and 10 in scope since the first live region is where they are settled.Carry the Three Conduct Sections Into agent-conduct as the First Live…
7 remaining items
Cut WORKFLOW.md Section 2 to a Pointer at Workflow YAML Conventions (#…
ptr727 commentedon Sep 6, 2026
Class 6 is merged to
developas 7fcf612 (#1388)What landed.
WORKFLOW.mdsection 2 no longer restatesGOVERNANCE.md"Workflow YAML Conventions". It keeps its heading and number, so every "section 2" reference and its slug still resolve, and its eleven condensed bullets, the twelve inventory rows against that home, become one paragraph naming the home and nothing of its content. On the maintainer's call in this session the shape is a pointer rather than an include, sincebuild_dist.pywalks only.agents/skills/and an include intoWORKFLOW.mdwould need an engine change first. The five sentences that cited section 2 for a rule name the home instead: the preamble's opening, its audit verb, and its canonical-scope note, the D9 preamble inside section 4, the D8/D9 walkthrough in 5A, and the operational bullet in section 6.GOVERNANCE.md's section stops claiming two homes and keeps the overlap win, and the skill's "Style Rules" points at the home and at the line-ending policy's Skill.The line-endings bullet was retired, not moved. "Workflow YAML is LF (Actions and Dependabot rewrite it that way)" had its only home in section 2, since the line-endings policy's operational section requires a CRLF default in both files and never exempts workflow YAML. A grant moved it into that policy, and the whole-unit reads the move owed showed its reason false under the configuration that policy prescribes: with the paired
* text=auto eol=crlf, git stores LF and checks out CRLF, so a Dependabot commit of LF bytes leaves nothing mixed, and Actions never writes a workflow file. The rule is deleted rather than carried without its reason, and the policy file is back at itsdeveloptext. The fleet's one CRLF config repo carries such a pin by hand with the same reason in its comment, and that is left to the maintainer.Measurement,
introducedover total per read. Eleven units read whole, one reviewer per unit per round, at thefabletier through round 10 and at theopustier from round 11, when that tier stopped being reachable mid-drive. Two rounds were the budget per push, and six maintainer grants under the stop rule followed. The full table is on #1388.Copilot ran four rounds, one per head, with full coverage on each, and raised four threads and four suppressed findings. Pre-existing findings went to #1206 (six), #1336 (eight), #1367 (six), #1369, #1370 (fifteen), #1371, and #1389, the tracker this class opened for the line-endings reference. Fifty-four in all.
What it shows, beyond #1385.
GOVERNANCE.mdsection as the style home is one home where section 2 routes to two. Round 10 found that naming both says the line-endings section holds a rule it only routes to. Each is right, and no wording satisfies both while the line-ending rule lives behind a pointer, so the maintainer settled ondevelop's own one-section form and the residual omission is Six claims in WORKFLOW.md's preamble that the document itself falsifies #1206's to decide. Three grants were spent discovering that the sentence had no fixed point rather than that it had a defect.Next. #1317 class 7, #1237's three surfaces, per the inventory.
developis twelve ahead ofmain, no promotion open, and #1267 and #1314 join #1305, #1288, #1271, #1205, #1212, #1250, and #1240 on the promotion pull request's Closes lines.ptr727 commentedon Sep 6, 2026
Correction to the comment above, on its own last sentence. "#1267 and #1314 join ... on the promotion pull request's Closes lines" reads as though this class settled those two, and it did not. Class 6 settles nothing and #1388 carries no
Closesline, as that pull request's own body states. The queue is unchanged by this class and stands at the nine issues class 5 left it holding: #1305, #1288, #1267, #1314, #1271, #1205, #1212, #1250, and #1240. The set named in that sentence is right, the verb is not.ptr727 commentedon Sep 6, 2026
Correction to the class 6 landing's measurement table and its ledger claim
Two errors in that comment, both mine and both about reporting rather than about what landed. The full detail, including the per-round overlap table, is on #1388 (#1388) and is not repeated here.
The preamble row overstates discovery. Rounds 1 to 3 of
WORKFLOW.md > (preamble)were briefed "None filed for this unit", while #1206 already held about eleven claims about that exact unit. Nine of the thirteen findings those rounds produced re-derive claims #1206 or #1201 already carried. The row should be read as nine known plus four new, the four being the "operational" verdict word, the tie-break's silence on aGOVERNANCE.md-versus-section-4 conflict, and the two findings round 1's own fix introduced. Nothing was double-filed, since the overlap was mapped before filing and the #1206 comments say which findings restate its claims."The retirement left two ledger entries" is wrong; it left one. The ledger carries a single entry from the retired line-endings work, over "Scripts and extensionless executables", which
canonical_review.py reportshows asstalesince the file reverted to itsdeveloptext. The "Operational (config) repos" pass was read twice and recorded neither time, because the stop rule interrupted between the read and the record on both occasions, so the burn-down shows it asnever, which is accurate.What stands. The seven introduced findings, their fixes, the retirement of the workflow-YAML line-ending rule, and both of the results the landing draws from this class. An absent suppression list costs rounds and inflates a count; it cannot make a raised finding false, and every unit read covered its whole current text.
Promote Develop to Main: Seat the One-Home Include Mechanism and Fini…
State the decision Coexistence Rule Once Instead of Patching the Thir…
Scope the Triage Invariant to Issues That Record Work, Rather Than Ex…
Match a Tree Source Anchor on Its Leading Slash Rather Than by Name
Refuse a Tree Whose Source Is Missing or Not a String
Name Both Tree-Source Refusals in the Documented Exit-2 Set
Give the Include Mechanism a Declared Destination List, and Point Whe…
Refuse a Tree Source Reducing to the Repository Root, and Blame the S…
Promote develop to main: a declared destination list for includes, an…
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391, item 6: the #1311 structural items that have had no activity since September are closed so the backlog states what is planned. #1321 stays open as the one structural item still under consideration. The re-assessment that supersedes #1311's plan is the comparison on #3391.