Skip to content

SPEC source inconsistency: claim criteria read committed main, but add validates the stale worktree #37

Closed

Description

@McHersheys

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

  1. Retain an ordinary participant checkout, then commit a newer selected SPEC/config on main containing a new row G2; leave the participant checkout unchanged.
  2. From that ordinary checkout, native spec show G2 --json returns NO_ROW / no row G2 in SPEC.md; adding an item citing G2 returns UNKNOWN_SPEC / G2 is not in SPEC.md.
  3. G1, already present in the old checkout, remains readable and usable for intake. An independent literal selected-main read sees G2; that is a connector read, not a successful native spec 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

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

  1. coreyolson commented on Nov 22, 2026

    @coreyolson
    Collaborator

    Confirmed. add validates 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.

  2. added
    bug
    on Nov 22, 2026
  3. coreyolson commented on Nov 22, 2026

    @coreyolson
    Collaborator

    Fixed on main in 00ef0f0d86 and 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions