Repository navigation
Description
Mixed SPEC source consistency in v0.9.4
There is already a committed-main reader for claim criteria, but item creation validates cited SPEC IDs against the participant's local worktree. A row can therefore be governing on main yet be reported as nonexistent during intake from an unchanged older seat.
Version inspected: v0.9.4, commit c78d288939ceb79161ddada440eaa3d957133dc2.
Observed symptom and conceptual reproduction
- Retain an ordinary participant checkout, then commit a newer selected SPEC/config on main containing a new row
G2; leave the participant checkout unchanged. - From that ordinary checkout, native
spec show G2 --jsonreturnsNO_ROW/no row G2 in SPEC.md; adding an item citingG2returnsUNKNOWN_SPEC/G2 is not in SPEC.md. G1, already present in the old checkout, remains readable and usable for intake. An independent literal selected-main read seesG2; that is a connector read, not a successful nativespec show.
These are retained observations from a credentialless disposable qualification fixture, not commands run on a live board for this report. The steps above are conceptual, not a complete runnable script. The claim-reader contrast below is source-supported; we have not reproduced an end-to-end claim-versus-add transaction.
Exact released source
add.js:93–96callsidProblems(loadSpec(ctx.info.root, ctx.config), ...)and raisesUNKNOWN_SPEC; the sealed-intake check does the same.spec.js:161–193likewise loads the SPEC fromctx.info.root.criterionFreezer:48–75usesmainCriterionFactsandliveCriterionSpecfor the board-backed criterion freeze.mainCriterionFacts:75–106reads the selected committed-main config/SPEC without advancing HEAD, index or working files. Its overlay/local-amendment logic explicitly prevents stale checkout omissions from removing governing-main rows.
Higher-order rule
Pick one source-consistency rule and apply it consistently: always committed main (our preference), or always the worktree. Mixing them is surprising. This is a consistency/usability report, not an evidenced security incident or data-loss claim.
The issue is not a request to decide operation-by-operation exceptions now. Detailed mechanism can follow separately. Preserve genuine person decisions/approvals, real local-amendment checks, existing frozen claim bars and participant identity/isolation; do not implicitly advance active worktrees or unpin existing claims to hide the mismatch. No patch or PR accompanies this report.
Activity
coreyolson commentedon Nov 22, 2026
Confirmed.
addvalidates SPEC ids against the local worktree while the criterion freezer reads committed main. Fixing for 0.9.5: intake validates against the same committed-main SPEC source, and rows missing from main are still refused. Thanks for the precise source references.coreyolson commentedon Nov 22, 2026
Fixed on main in
00ef0f0d86and shipping in 0.9.5. Item intake now checks cited SPEC rows against committed main, the same way the claim reader does, so a row that exists only in an uncommitted SPEC.md is refused when the item is filed. Thank you for the report, @McHersheys!fix(hooks): match the own computer name as a whole word [C7]