Repository navigation
Description
Summary
AGENTS.md's "Where the Rules Live" table, a verbatim carried section, routes a task to GOVERNANCE.md's Running the Linters Locally (Known-Working Invocations) section. But spec/files.json does not declare that section among GOVERNANCE.md's carried sections, and spec/section-model.md's classification table does not list it either. A downstream repo therefore carries a routing row pointing at a section it is not supposed to have.
Found while running RESYNC.md against ptr727/Financial-Modeling, where carrying the section to satisfy the routing row produced two new audit findings, and not carrying it leaves the carried routing row dangling.
The disagreement
Three hub sources, two answers.
AGENTS.md "Where the Rules Live" (carried, verbatim per spec/files.json) has both of these rows. Note that only one carries a not-carried marker:
| Onboarding a repo or running a conformance sweep | `Repository Onboarding and Conformance` (hub only, not carried). ... |
| Running a lint or format check locally, or a lint tool missing from `command -v` | `Running the Linters Locally (Known-Working Invocations)` |
spec/files.json declares 20 GOVERNANCE.md sections. Running the Linters Locally is not one of them:
$ grep -c 'Running the Linters' spec/files.json
0spec/section-model.md classification table lists the same 20 and omits it, and its "Not carried (hub-only)" note names only Repository Onboarding and Conformance.
What happens downstream, either way
Carrying it, to satisfy the AGENTS.md row, produces two findings:
DRIFT section: 'running the linters locally (known-working invocations)' in GOVERNANCE.md is not a declared section - reconcile it ... (spec/section-model.md)
DRIFT carried: GOVERNANCE.md references the template repo by name or link outside its verbatim sections (the coordination flow is machinery this repo's readers should not see; state the behavior, not the destination)
The second one is the more interesting signal. The section's body carries hub-coordination machinery a downstream reader cannot act on, including a runnable command naming a path that does not exist downstream:
python3 /path/to/ProjectTemplate/scripts/docker_lint.py --root "$PWD"and the hub-fetch-run.py / ptr727/ProjectTemplate main-branch fetch mechanics for the doc gates. That is exactly what the carried: check exists to keep out of a downstream repo, which reads as the manifests being right and the AGENTS.md row being the outlier.
Not carrying it leaves the carried, byte-locked routing table pointing at a section that is absent, so the reader the row was written for finds nothing.
Expected
One of:
- Mark the row hub-only, the way the
Repository Onboarding and Conformancerow already is, if the section is genuinely hub machinery. This looks correct given what the section's body contains, and is the readingptr727/Financial-Modeling#204adopted. - Declare the section in
spec/files.jsonandspec/section-model.md, if it is meant to be fleet law every repo carries. That needs the body split first, since the hub-fetch anddocker_lint.pymechanics cannot carry as-is without tripping thecarried:check in every repo that adopts it.
Either way the three sources should agree, so a resync is not forced to choose between a dangling routing row and two audit findings.
Probable origin
86783b9 ("Route a Missing Lint Binary to Its Documented Docker Invocation", #1012) added the AGENTS.md routing row. At that time the content was a ### subsection inside the carried Workflow YAML Conventions section, so the row resolved. The later promotion to its own ## section moved it out of any declared unit without the row or the manifests following.
Context
- Hub:
f3b4cc9(2.0.526), read atmain. - Downstream:
ptr727/Financial-Modeling, audit run2026-08-30T15:11:47Z | hub f3b4cc9, branch overrideresync/release-chain-interface. - Downstream PR: ptr727/Financial-Modeling#204, whose second commit drops the section and records this reasoning.
- Related, from the same resync: scripts/carry.py's worktree-registration check can never match on Windows #1117, .markdownlint-cli2.jsonc is verbatim, but a repo with a committed data root needs its own globs/ignores #1118.
Activity
ptr727 commentedon Aug 30, 2026
Second independent carrier, same two findings. Corroborating rather than adding anything new, since this issue already names both symptoms and the
docker_lint.pycommand.Hit while resyncing
ptr727/PlexCleaneragainst hubf3b4cc9. I carried the section to satisfy theAGENTS.mdrouting row, promoting its heading from###to##to match the hub's own level, and got exactly the pair this issue predicts:Two things from this instance that may help scope the fix.
The second finding is caused entirely by the first, at least here. Both
ProjectTemplatementions in PlexCleaner'sGOVERNANCE.mdsit inside that one section, which spans lines 229 to 266:hub-fetch-run.pydoc-gate fetch mechanics namingptr727/ProjectTemplate'smainbranchpython3 /path/to/ProjectTemplate/scripts/docker_lint.py --root "$PWD"commandRemoving the section clears both findings; nothing else in the file names the hub. So on a repo whose
GOVERNANCE.mdis otherwise clean, the two are one root cause rather than two.LanguageTagsis the only other carrier today, per a fleet-widespec/audit.pyrun at that hub commit. It reports the identicalsection:finding, and itscarried:finding has a second cause besides this section. PlexCleaner will join the list once its resync promotes tomain; the run above measured it ondevelop.For what it is worth on the routing question, the heading level is not the deciding factor: the section reports as undeclared at
##and is simply invisible to the section check at###, so carrying it at###hides the finding without resolving the disagreement this issue describes.Fix Carried Text a Downstream Repository Cannot Fix in Its Own Copy (#…