Repository navigation
Description
Evidence
CODESTYLE.md (carried intent, whole file) links to a GOVERNANCE.md anchor three times,
all via the same reference definition:
[governance-running-the-linters-locally]: ./GOVERNANCE.md#running-the-linters-locally-known-working-invocations
## General>### Clean-Compile Verification, first bullet ("Each linter's known-working
invocation is in...")- Same subsection, third bullet ("What that gate must cover... is...")
## Shell, closing sentence ("Run the clean-compile check itself per...")
Commit 86783b9 ("Route a Missing Lint Binary to Its Documented Docker Invocation", #1012,
2026-08-25) promoted Running the Linters Locally from a ### subsection of GOVERNANCE.md's
## Workflow YAML Conventions (a section spec/files.json declares verbatim) to its own
top-level ## heading. Neither spec/files.json nor spec/section-model.md was updated in
that commit (or since) to declare the new top-level section as carried:
$ git log --oneline -S"Running the Linters Locally" -- spec/files.json spec/section-model.md
(no output)
$ git show 86783b9 -- spec/files.json spec/section-model.md
(no output)
So the section silently stopped being part of anything downstream carries. It is not verbatim
(absent from files.json's GOVERNANCE.md sections list), and it is not documented as
hub-only either (spec/section-model.md's "Not carried (hub-only)" paragraph names only
Repository Onboarding and Conformance).
Reproduced live during PhotoCleaner's resync against hub b823bc4: re-vendoring
GOVERNANCE.md's declared-verbatim Workflow YAML Conventions section from the current hub
canonical correctly drops Running the Linters Locally from the downstream copy (it matches
Workflow YAML Conventions's current ## -to-## extent, which no longer includes it), which
leaves CODESTYLE.md's three links above resolving to an anchor the downstream GOVERNANCE.md
does not have.
Why this isn't caught automatically
CODESTYLE.md carries at intent fidelity, checked for presence and a staleness advisory only,
never for content (spec/fidelity-model.md). No mechanical check reads whether an anchor a
carried intent file names still resolves in the carrying repo's own tree, so this can drift
silently in every repo that completes a resync after #1012, with nothing short of a human
re-reading the carried text (as this session did) to surface it.
Expected
Either:
- Add
Running the Linters Locallyback tospec/files.json'sGOVERNANCE.mdsectionslist
(it wasverbatimbefore Route a Missing Lint Binary to Its Documented Docker Invocation #1012 by virtue of being nested inside averbatimsection, and
nothing about Route a Missing Lint Binary to Its Documented Docker Invocation #1012's actual change, routing a missing-lint-binary agent to a Docker
invocation, argues for un-carrying it), restoring the carry and making the existing
CODESTYLE.mdlinks resolve again everywhere; or - Deliberately mark it hub-only in
spec/section-model.md's "Not carried" paragraph, and fix
CODESTYLE.md's three references to stop pointing at a repo-relative anchor no downstream
repo carries (an absolutegithub.com/ptr727/ProjectTemplateURL, matching the convention
AGENTS.md's skill-dependency paragraph and others already use for hub-local paths, or a
pointer to wherever the destination this content now describes actually lives per-repo, e.g.
each repo's ownOPERATIONS.md"Local Verification").
Repo, ref, and run stamp
- Hub:
ptr727/ProjectTemplateatmain@b823bc4(as of this filing) - Surfaced during:
ptr727/PhotoCleanerresync, audit run2026-08-29T01:09:26Z | hub b823bc4 - Worked around locally in that repo (not a hub fix) by repointing the three links at its own
OPERATIONS.md#local-verification, since that section's content is what was migrated there
during the same resync.
Activity
ptr727 commentedon Aug 29, 2026
Second occurrence of the same root cause, found by Copilot review on
ptr727/PhotoCleaner#86:AGENTS.md's## Where the Rules Livetable (also declaredverbatiminspec/files.json)carries the row
which points at the same now-uncarried
GOVERNANCE.mdsection as theCODESTYLE.mdlinksabove. Same fix applies: either restore the carry (option 1 in the issue body) or repoint this
row too if going with option 2.
ptr727 commentedon Aug 29, 2026
Third occurrence:
.github/skills/shell-codestyle/SKILL.md("CI enforces both, perGOVERNANCE.md"Running the Linters Locally"") — found while triaging Copilot/Qodo review onptr727/PhotoCleaner#87(the wholesale skills-tree carry).ptr727 commentedon Aug 29, 2026
Fourth occurrence, and a new downstream symptom:
ptr727/ESPHome-Config#115(a hub resyncagainst
3258284).AGENTS.md's routing row andCODESTYLE.md's links (both already namedabove) plus
.github/skills/shell-codestyle/SKILL.md's "CI enforces both, per..." all pointed atthe uncarried anchor after re-vendoring
Workflow YAML Conventionsfrom the current hubcanonical, same as the prior three. A CodeRabbit review on the PR caught it as a broken-anchor
finding independently.
Restored per option 1 (nested
###"Running the Linters Locally" back under## Workflow YAML Conventions), matching whatptr727/HomeAutomation-Config's currentGOVERNANCE.mdalreadycarries.
New symptom this produces:
spec/audit.py --branch <branch> ESPHome-Confignow reportsDRIFT verbatim: GOVERNANCE.md section 'Workflow YAML Conventions' differs from the canonical and matches no past hub revision - the repo modified fixed content, review it, because the section'sdeclared
##-to-##extent in the hub's ownGOVERNANCE.mdgenuinely excludes the nestedcontent every downstream repo needs to carry for the anchor to resolve. Until
files.jsondeclares
Running the Linters Locallyagain (option 1) or the anchors move (option 2), everyrepo that correctly restores the nesting reads as "modified fixed content" on every future audit
run, a false positive with no way to silence it short of leaving the anchors broken instead.
ptr727 commentedon Aug 30, 2026
Confirmed again on a second repo, and there is a half of this that a downstream repo cannot work around at all.
Reproduced during ptr727/Utilities' resync against hub
a378121(2.0.525), in ptr727/Utilities#451. CarryingGOVERNANCE.mdfromspec/files.json's declared section list produces the 20 sections and correctly omitsRunning the Linters Locally (Known-Working Invocations), so all threeCODESTYLE.mdreferences land at the top of a file that has no such anchor, exactly as this issue describes.The half this issue does not yet cover
AGENTS.md"Where the Rules Live" carries the same dangling pointer, as a table row:The row sits under that section's own preamble, "Every rule below is a level-two section of
GOVERNANCE.md", so it asserts the section exists. The neighbouringRepository Onboarding and Conformancerow is annotated "(hub only, not carried)"; this one is not.That row is worse than the
CODESTYLE.mdreferences, becauseAGENTS.mdisverbatim.CODESTYLE.mdisintent, so a downstream repo can repoint its references at somewhere real, which is what Utilities did (they now point at its ownOPERATIONS.md"Local Verification"). Averbatimsection cannot be edited downstream without failing the byte-match check, so every conformant repo must carry a row pointing at a section it does not have, and the agent that follows it is the one who just hit a missing lint binary, which is the case the row exists for.Suggested shape
Whichever way #1075 is settled, the two need settling together, since they have one cause:
spec/files.json'sGOVERNANCE.mdsectionsand tospec/section-model.md's table, and both pointers resolve with no text change.spec/section-model.md's "Not carried (hub-only)" paragraph besideRepository Onboarding and Conformance, annotate theAGENTS.mdrow the way that one is annotated, and drop or repoint the threeCODESTYLE.mdreferences.Fix Carried Text a Downstream Repository Cannot Fix in Its Own Copy (#…
Promote develop to main: carried-text fixes a downstream repository c…
Resync carried fleet content with hub 2.0.625 (#145)