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
Governance: no propagation path for CODESTYLE/AGENTS to the fleet (root of downstream divergence) #305
CODESTYLE.md (and to a lesser extent AGENTS.md) has no propagation mechanism from this template to the fleet. Structural and rule changes made here never reach downstream repos, so divergence accumulates silently. Per the fleet philosophy, a repo's style doc should track its repo type and generally not diverge — divergence today exists mostly because updates were never propagated, not by intent.
Evidence (surfaced 2026-07-15)
6 repos had clear gaps: 5 shipped no CODESTYLE at all (Financial-Modeling, EspDinIoT, DevKitCIoT, AudioCleaner, HolidayLights) and PhotoCleaner's predated the General/.NET/Python restructure. Now tracked per-repo:
A verbatim copy does NOT work: the template CODESTYLE describes the template's own specifics (pyright-strict, .NET task labels, specific analyzer settings, .vscode/tasks.json, example APIs). Dropping it verbatim into a repo produced 4-10 false claims each (broken links, wrong toolchain, wrong task casing). Propagation must be structure + rules, adapted per repo, not a file copy.
Define what is canonical/shared vs per-repo-adapted in CODESTYLE (and AGENTS), so a change can be propagated without clobbering legitimate per-repo specifics.
A propagation/audit path (the fleet already does this for workflow rules) that flags downstream drift as issues for local agents to resolve with repo context — the model used for the 6 issues above.
This issue tracks the systemic gap; the per-repo issues track the immediate adoptions.
Addressed by the carry machinery built since this was filed, verified in the tree at aa7bf78. Both bullets under "Toward a fix" now have an implementation:
"Define what is canonical/shared vs per-repo-adapted."spec/files.json declares each carried unit with a fidelity, and spec/fidelity-model.md defines the four tiers. The two files this issue names are declared exactly as it argued they should be:
CODESTYLE.md is intent, whole, appliesTo: "*", with its one placeholder declared. That is "structure + rules, adapted per repo", and it is why a verbatim copy is not what propagates.
AGENTS.md is intent overall with three named sections pinned verbatim (Fleet Bootstrap, Context and Delegation Discipline, Where the Rules Live), so a genuinely shared rule is byte-locked fleet-wide while the repo-specific prose around it stays the repo's. spec/section-model.md assigns which content belongs in which document, and spec/scope-model.md decides which repos a unit reaches.
"A propagation/audit path that flags downstream drift as issues."AUDIT.md is the measurement, spec/audit.py mechanizes the deterministic subset (file presence, per-section presence, verbatim hashes with stale-versus-modified classification, intent staleness), spec/audit.py --issue <repo> emits a convergence issue generated from live findings rather than composed by hand, and RESYNC.md sequences the remedies for a repo that has fallen behind. spec/divergences.json plus reports/divergences.md carry the fleet burn-down, and reports/<repo>/audit.md is the committed evidence per repo.
The specific evidence this issue cited is also gone: CODESTYLE.md is now carried by every cataloged repo rather than missing from five, and the false-claim problem that made a verbatim copy fail is why the entry is intent rather than verbatim.
Closing as the hub-side ask. The six per-repo tracking issues listed in the evidence are downstream and are not affected by this. If you read this issue as covering those too, reopen it.
Activity
Adopt 'set -Eeuo pipefail' on every bash surface (#338) (#350)
Carried files must not reference the template repo; mechanize the che…
Add per-section verbatim fidelity for markdown files (#397)
Track verbatim sections in the fleet burn-down report (#398)
Bucket the backlog and refresh the divergence ledger (#535)
Give the fleet a bootstrap entry point that routes by repo state (#536)
ptr727 commentedon Aug 15, 2026
Addressed by the carry machinery built since this was filed, verified in the tree at
aa7bf78. Both bullets under "Toward a fix" now have an implementation:"Define what is canonical/shared vs per-repo-adapted."
spec/files.jsondeclares each carried unit with a fidelity, andspec/fidelity-model.mddefines the four tiers. The two files this issue names are declared exactly as it argued they should be:CODESTYLE.mdisintent,whole,appliesTo: "*", with its one placeholder declared. That is "structure + rules, adapted per repo", and it is why a verbatim copy is not what propagates.AGENTS.mdisintentoverall with three named sections pinnedverbatim(Fleet Bootstrap,Context and Delegation Discipline,Where the Rules Live), so a genuinely shared rule is byte-locked fleet-wide while the repo-specific prose around it stays the repo's.spec/section-model.mdassigns which content belongs in which document, andspec/scope-model.mddecides which repos a unit reaches."A propagation/audit path that flags downstream drift as issues."
AUDIT.mdis the measurement,spec/audit.pymechanizes the deterministic subset (file presence, per-section presence, verbatim hashes with stale-versus-modified classification, intent staleness),spec/audit.py --issue <repo>emits a convergence issue generated from live findings rather than composed by hand, andRESYNC.mdsequences the remedies for a repo that has fallen behind.spec/divergences.jsonplusreports/divergences.mdcarry the fleet burn-down, andreports/<repo>/audit.mdis the committed evidence per repo.The specific evidence this issue cited is also gone:
CODESTYLE.mdis now carried by every cataloged repo rather than missing from five, and the false-claim problem that made a verbatim copy fail is why the entry isintentrather thanverbatim.Closing as the hub-side ask. The six per-repo tracking issues listed in the evidence are downstream and are not affected by this. If you read this issue as covering those too, reopen it.