Repository navigation
Description
Two committed surfaces disagree about what a registry groundTruthBranch may hold, and #1517 makes the disagreement reachable from one more place.
The disagreement
AUDIT.md section 1 states the value outright:
A registry
groundTruthBranchnamingdeveloptherefore contradicts this section, for either model.
RESYNC.md restates it and names the owner:
[
AUDIT.md][audit] section 1 owns what that value may be:mainis the released and gated state for both workflow models, so a field namingdevelopcontradicts the procedure rather than configuring it.
Read together, those say the only value the field may hold is main.
spec/validate.py's GROUND_TRUTH_BRANCH_PATTERN, added in #1503, says something else. It admits any name that is both RFC 3986 unreserved and legal as a git ref, and scripts/tests/test_spec_validate.py pins release/2.0 as a value that passes. The comment above it explains at length why the grammar has to admit an arbitrary branch name safely, which is work that means nothing if main is the only legal value.
Why it matters more after #1517
Before that change, defaults.groundTruthBranch was inert: every reader fell back to a literal "main" and consulted no defaults, so the key could hold anything and be read by nothing. #1517 wires it, which is what #1508 asked for. The declaration is now honest, and a one-line edit to it repoints the audit, the fidelity honesty pass, and the workflow reuse pass for every repository that does not declare its own value.
That is the wiring working as intended rather than a defect in it. What the wiring exposes is that no gate refuses a value the procedure says is illegal, at either the per-repo key or the defaults key.
The two ways out, and why neither is obviously right
Refuse anything but main. Matches AUDIT.md as written. It also makes #1503's grammar dead: a pattern admitting _wip, wip- and release/2.0 would refuse all three, and the reasoning in its comment about traversal and ?ref= injection would describe a check that only ever sees one string.
Keep the grammar and soften the prose. Matches the code as built, and AUDIT.md's reasoning for preferring main is sound: develop is mid-flight by design under both workflow models, so auditing it measures work in progress. --branch already exists as the supported way to read something else for a single run.
A third possibility is that the rule is really about develop specifically rather than about every non-main value, in which case the grammar and the prose are compatible and only the wording needs narrowing.
Evidence, so a later session need not re-derive it
- Every cataloged repository declares
mainor omits the field. Four omit it:KiCadLibrary,EspDinIoT,PhotoCleaner,HolidayLights. defaults.groundTruthBranchismain, so wiring it changed no behavior today.HomeAssistant-Config's owndriftNotesrecords a deliberate decision not to flip its value todevelop, which reads as the field being a real choice rather than a constant.RESYNC.mdsays "Every cataloged repository declaresmainor omits the field and takes it as the default". That sentence describes the defaults key being consulted, which was not true of any reader until Hold Every Registry Field to the Shape Its Consumer Requires, and Settle the Declarations No Consumer Reads #1517.
Whichever way it settles, the fix belongs in one change that touches the prose and the grammar together, since the defect is that they disagree rather than that either is wrong on its own.
Activity
Hold Every Registry Field to the Shape Its Consumer Requires, and Set…
Hold Every Registry Field to the Shape Its Consumer Requires, and Set…
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.