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
Require a corpus-wide validation claim to name the adjudicated entrypoint - #1141
RATIFIED — 2026-09-22T15:45:54Z by Brett Heap (openxFactory operator authority), interactive in the lane session, verbatim "ratify #1140 and #1141", recorded at #656 comment 5779511063. Record: review/ratification-2026-09-22.md. Ratification authorizes realization and does not perform it — nothing is promoted until the archive.
The word named head c36ff08c, and no commit moved this packet between the word and the record. The ratification front-matter, the record and the README status line are the first changes after it, and none of them is requirement text. (The sibling #1140 is NOT in that position and says so in its own record — its head moved one second before the word, normatively, and re-ratification is registered there as owed. The two packets are separate acts and this one inherits nothing from that.)
🔒 HELD — this PR must land SECOND
#1140 lands first (it encodes the earlier and more specific ruling, 5777949892). The two deltas do not collide on content — #1140 is ## MODIFIED on An external neutral product is pinned by commit and digest, never by tag, this one is ## ADDED of A claim of corpus-wide OpenSpec validation names the adjudicated entrypoint, never the raw tool; different requirements, different operations, separate change directories. They do collide on two SHARED files both PRs touch: the README OpenSpec Records block and tests/sequenced_after/corpus-ledger.yaml. So after #1140 lands this branch takes git merge origin/main (never a rebase), re-seeds its ledger row, re-validates and re-gates before its window is opened. ONE ## ADDED requirement, SEVEN scenarios. No existing requirement is modified, no code moves, and the disposition mechanism is NOT touched — it works, and the requirement leans on it.Status: ratified — see the block above; the word that settled the BOX and the word that ratified the PACKET are two separate acts, both Brett Heap's.
The measurement this encodes — reproduced at this PR's own head
Two commands over one tree return opposite verdicts.
command
version that answered
verdict
exit
python3 scripts/validate-openspec-cli-pin.py --all — the pin's consumer_entrypoint:
@fission-ai/[email protected], verified against its recorded content address
Totals: 110 passed, 1 failed (111 items), the 1 finding DISPOSITIONED and printed by name with its citation and granting authority
0
OPENSPEC_TELEMETRY=0 openspec validate --all --strict — the raw tool
1.13.1 on PATH — not the pinned version at all
Totals: 110 passed, 1 failed (111 items)
1
(Counts re-taken at the merged head 925d146b, not carried forward: 109 items became 111 because origin/main gained changes between the filing and the merge. The verdicts did not move, which is the claim — same tree, same single finding, exit 0 against exit 1.)
Same tree. Same finding. Opposite exit. The finding is add-chain-attestation / signed-execution-chain/spec.md, carrying ratified_by: 'Brett Heap, 2026-09-05, "take exit 2"' in contracts/openspec-cli-pin.yaml, whose retires_when: is recorded there as expected to be long-lived.
Why they differ, and why it is not a matter of strictness. The pinned CLI is a foreign judgment about a local corpus. This corpus has a PROMOTED scenario-rename grammar — the reserved **Merged into `<title>` by `<change>` (<date>):** marker, canon at openspec/specs/doc-health/spec.md:1770 — and 1.12.0 cannot read it. The readiness evidence says so plainly (prepare-openspec-1-12-readiness/evidence/openspec-1.12-readiness-2026-09-05.md § The two refusals): "1.12.0's scenario-currency check is marker-blind. It compares scenario title sets and cannot read the declaration this corpus requires."reconcile() applies the dispositions and computes verdict = 1 if undispositioned else 0. The raw tool has no access to the pin and cannot reach that verdict. Its red is not a stricter reading of the same question; it is a different reader answering a question the repository did not ask it.
5778397686 — RULED 2026-09-22T14:33:02Z by Brett Heap, by multi-choice: § 8.9 clause (2) READS LITERALLY; the tick becomes [~].
That ruling disposed of ONE box. The defect is a CLASS.split-opendox-two-layer-product § 8.9 clause (2) named the raw command, so read literally it could never be ticked while the ratified disposition stood — while the adjudicated gate was green on every pull request throughout (openspec-cli-pin-gate SUCCESS at df7b0ca7, c273cb39, 8fa12dbc). The box took the reserved [~] marker; the same box written tomorrow would cost the same again. Nothing in the corpus yet forbids it. This packet writes that rule down.
What the requirement says
A gate step, task box, checklist item, runbook step, review record, agent instruction or other evidence record asserting corpus-wide OpenSpec validation SHALL name the repository's consumer_entrypoint: invocation in its DEFAULT, PINNED-ARTIFACT form, and SHALL NOT name the raw command — nor any mode of that entrypoint which resolves the tool from PATH or reads a foreign pin. The flags are part of the name. Five boundaries, all in the normative text:
The obligation is on the ASSERTION, not only on the run. A repository whose CI calls the entrypoint correctly while its task boxes name the raw command has a correct gate and an undischargeable record of it. § 8.9's defect needed nobody to run anything.
A narrowed claim is not reached. A record naming the validation of ONE change says something about that change; only a whole-corpus claim asserts the adjudicated verdict. A narrowed run still applies the dispositions it matches — canon says so at openspec/specs/neutral-product-pin/spec.md:602-604 — and what it cannot do is decide staleness.
Ratified and archived text is not edited by this requirement. The remedy for an existing box is the one its own packet provides — the reserved [~] marker naming the live disposition — and this requirement governs what is written next.
The staleness property is why naming the entrypoint is safe, carried as a scenario that defers by name rather than re-legislating: a finding no in-scope disposition covers FAILS the run, and a disposition matched by no finding in a whole-corpus scan REFUSES it as pin-disposition-stale. The adjudicated verdict is strictly more informative than the raw one, and more permissive in exactly one respect and no other — the findings this corpus has itself named, cited and ratified against, which is the purpose of the mechanism and not a leak in it.
Which capability owns this — decided by reading
neutral-product-pin, as ## ADDED. Every noun in the rule — the pinned CLI, the consumer_entrypoint:, the dispositions:, the adjudicated verdict — is this capability's own, and its ## Purpose already claims the neighbouring ground: "The capability makes which reader ran an auditable digest." This extends that from which reader ran to which verdict is the repository's.
Not doc-health — it owns the Merged into marker whose unreadability causes the finding, but neither the pin, nor the entrypoint, nor the dispositions. The remedy would sit in a different capability from the mechanism it depends on.
Not a new capability — it would split run through the entrypoint from name the entrypoint. That is the same defect Brett Heap refused on this very day in the sibling ruling 5777949892: "It leaves ONE rule in the corpus rather than a rule and an exception."
And it is not already written. The nearest requirement, A consuming repository runs OpenSpec validation only through the pinned entrypoint, so a PATH binary cannot affect the gate, governs which binary answers, for PATH-determinism. A reader can satisfy it completely while believing the two commands return the same verdict by different routes. They do not — exit 0 against exit 1 on one tree — and that difference, not the binary's provenance, is what this requirement is about. design.md D1 writes the contrary reading out and tests it.
The upstream fix — REGISTERED, never proposed
The marker-blindness class would be retired by an upstream CLI that reads the declared rename. The CLI is CONSUMED, never vendored or patched (package: "@fission-ai/openspec", source_repository: Fission-AI/OpenSpec); the pin stands at 1.12.0 (contracts/openspec-cli-pin.yaml:318) and 1.13.1 is published upstream. This packet does not propose the bump: moving the pin is a ratified human-only act that must carry target-version evidence and re-derive every disposition in the same change, and whether 1.13.1 reads the marker is unmeasured here. And retiring that class would not retire this requirement — a second disposition class (canon moved under an un-re-derived delta) is live in the pin file today, and any future disposition re-creates the divergence.
Measurements and scope
code_surface: none, MEASURED — the one enforced corpus-wide gate already names the entrypoint: .github/workflows/openspec-cli-pin-gate.yml:101 is python3 scripts/validate-openspec-cli-pin.py --all --no-cache, the workflow's sole step. scripts/validate-openspec-cli-pin.py, its reconcile(), and contracts/openspec-cli-pin.yaml are not edited.
No checker is proposed, and that is a declared decision (design.md D4, residue at tasks.md § 5.1): a mechanical reader would first have to tell an ASSERTION of a green corpus from a CITATION of this defect — this packet's own files contain the raw command as quoted text, and so would every future record about it. A checker that could not tell those apart would red the packet that defines it.
Existing occurrences are not swept (tasks.md § 5.2). Archived records are frozen and ratified text is amended only by its own instrument.
Note for the lander — the predicted conflict happened, and is resolved
This PR and #1140 (the sibling encoding of 5777949892) both touched the README OpenSpec Records block and tests/sequenced_after/corpus-ledger.yaml. #1140 landed first as e90997bc (squash, 2026-09-22T18:15:38Z), and this branch then took git merge origin/main — a merge, never a rebase, because the branch is pushed.
One conflict, README.md, and it was an ADD/ADD at the same insertion point in the Records Active changes list: #1140's entry against this packet's. BOTH ARE KEPT, #1140's first because it is already main's content — which makes this branch's diff against main a pure addition of the second entry. Neither line was dropped, shortened or reworded.
tests/sequenced_after/corpus-ledger.yamlauto-merged cleanly and carries BOTH rows — amend-neutral-product-pin-source-tree-digestmoved_by: "#1140" and require-adjudicated-validation-entrypointmoved_by: "#1141". Verified by reading the merged file, not inferred from the absence of a conflict marker. No re-seed was owed: the seeder had already written this packet's row, and the merge did not disturb it.
Submodules were restored with git submodule update --init rather than staged, so openDox and openXdox stand at the gitlinks main pins.
Re-validated after the merge, at 925d146b:openspec validate require-adjudicated-validation-entrypoint --strict → exit 0, "Change … is valid"; the adjudicated entrypoint → exit 0; the raw tool → exit 1. The single red is the inherited add-chain-attestation disposition, which is this packet's own worked example and not a defect introduced here.
Copilot round 1 — three fixes plus the task-marker mechanism, at c36ff08c
Every finding was measured against the ratified text before it was taken.
finding
disposition
r4073184083 the narrowed-run sentence contradicted canon
FIXED — the most important catch on this packet. The delta said only a whole-corpus run could be reconciled against dispositions "at all"; openspec/specs/neutral-product-pin/spec.md:602-604 says a narrowed run SHALL still APPLY the ones it matches and only may not decide staleness. Scoped to staleness. A packet whose whole subject is deferring to the disposition mechanism could not afford to misstate it.
r4073391844 the subject did not carry what the packet claimed
FIXED by widening the SUBJECT rather than narrowing the claim — the wider set is what the packet means. The boundary was wider in the prose than in the rule.
r4073391907 "never more permissive" was false on its face
FIXED. It contradicted this packet's own central measurement (exit 0 vs exit 1). Now exact: more permissive in exactly one respect — what the corpus has named, cited and ratified against — while an uncovered finding still fails and a stale exception still refuses.
r4073184032 § 5 residue must carry [~]
FIXED, and applied to the sibling #1140 too.proposal-support.py:4633 refuses an archive on any literal - [ ], so work this packet will never do could only ever be ticked falsely. §§ 1 and 4 keep - [ ] deliberately — those will be ticked, by the ratifying and archiving acts.
r4073183972
True when written, false at the head it was raised against: the .openspec.yaml origin landed at 50ac2fc5.
All threads answered and resolved. Re-validated after the fixes: pinned entrypoint 1 passed, 0 failed; code_surface / target_release / sequenced_after green; doc-health names this packet in zero findings.
Copilot rounds 2 and 3 — two real holes in the rule, and a count that lagged twice
finding
disposition
r4073721220the flags are part of the name
FIXED — the sharpest finding on this packet. The subject required only the script path plus --all, so --path-mode or an alternate --pin satisfied the letter of the rule while resolving the tool from PATH or reading a foreign pin — precisely the invocation the capability already forbids a required check to use. The subject now requires the DEFAULT, PINNED-ARTIFACT form and excludes both modes by name, with its own paragraph and scenario.
r4073721379, then r4073925702 / r4073925824
FIXED TWICE, and the second correction sharpened the rule. Round 2 scoped the unsatisfiability claim to a disposition still matching a finding — once stale, the verdicts can invert and the box becomes satisfiable and wrong, which is worse. Round 3 added the condition that was still missing: an unrelated ERROR keeps the raw run non-zero and no inversion arises. That forced the text to say what the requirement is actually about — WHICH READER a record names, never which exit code happens to result.
r4073925779, r4073925865, r4073925957
FIXED. Adding two scenarios updated no count, so the README row, tasks.md § 2.1 and the Impact line all said five where the delta has seven. Re-derived from grep -c "^#### Scenario:" rather than carried forward — the discipline is now written into the task line.
r4073925921
FIXED. A scenario bullet ended "…the default, pinned-artifact invocation is" — grammatical as ellipsis, useless as an acceptance condition. It now states what the invocation must be.
r4073721291, r4073721340
FIXED. Two proposal summaries lagged the delta — the record-kind enumeration and "never more permissive".
r4073798745, r4073798821
FIXED, and applied to the sibling #1140 in the same pass. Two lifecycle claims ratification made false: design.md D6 said "It ratifies nothing" four lines below its own Ratified by: header, and the tasks preamble said "§ 1 is OPEN" with § 1.1 and § 1.2 ticked.
All threads answered and resolved. Re-validated at the current head: pinned entrypoint 1 passed, 0 failed; code_surface / target_release / sequenced_after green; doc-health names this packet in zero findings.
Copilot round 4
finding
disposition
r4073991484 the Impact line said five scenarios
True when raised and already false at the head — corrected at 691a7dfc, before the review naming it was posted.
(proactive) the ratification record's tally
FIXED, same structural fix as the sibling. The record said "one round, five findings"; four rounds and eighteen findings have happened. It is now bound to a named head, with this pull request carrying the running one, and § 4 names the three findings that changed the requirement's meaning rather than one — the PATH-mode hole and the stale-disposition inversion taken twice.
Running tally, as of 8006bcab: four rounds, EIGHTEEN findings — 16 FIXED, 2 true when written and already false at the head they were raised against. All threads resolved.
Copilot rounds 5 and 6 — what a merge silently invalidates
#1140 landed first, this branch took the merge-from-main it required, and both rounds since are the same lesson twice: anything pinned to a POSITION goes stale under a merge, and nothing warns you.
Round 5 — three findings at 925d146b, one fact. The merge grew the corpus, so --all reads 110 passed / 1 failed (111 items) where the ratified packet recorded 108 / 1 / 109. I had updated this description and left the packet behind, so the two disagreed at the same head — with the README entry, the user-facing status record, asserting a measurement this head does not produce. The item count tracks the size of main's corpus; the VERDICTS are the claim and they did not move. So every current-evidence copy (README Records entry, proposal.md table, tasks.md § 3.1, .openspec.yaml origin reason:) now names the head it is from, with c36ff08c's figures beside it — while review/ratification-2026-09-22.md is LABELLED, NOT REWRITTEN, because a ratification record's job is to freeze what the ratifying word was given.
Round 6 — five previously-missed findings at 44ca473f, also one class. The merge moved the canon files and six citations still pointed at the old lines. Measured at this head: doc-health/spec.md:1770 is the Removed from canon bullet and the Merged into form is at :1772; neutral-product-pin/spec.md:602-604 is Scenario: The target version fails on conditions that predate the bump and the narrowed-run rule is at :663-668. Both stale pointers landed on REAL BUT WRONG TEXT — the dangerous kind, because neither looks like a broken link. Six sites corrected, and the two load-bearing citations now QUOTE the sentence or NAME the form they point at, so the next drift is visible rather than silent. The ratification record is corrected here — a citation is a pointer to unchanged canon, not a record of the evidence behind the word, and the two are treated differently on purpose.
README.md:1958 and :2025 are stale the same way and are NOT touched — they belong to disposition-codexfactory-declared-renames and prepare-openspec-1-12-readiness (git blame: 9adcb05d, 552a3a76). Another change's record is not this packet's to edit; they are reported instead.
Running tally, as of the landing head ba7d427b: six rounds. All findings FIXED, all threads resolved. Re-validated at this head: openspec validate … --strict → exit 0; the adjudicated entrypoint → exit 0, 110 passed, 1 failed (111 items); doc-health --family proposal-origin → exit 0, naming this packet in nothing; code_surface, target_release, validate-sequenced-after → exit 0. Each corrected pointer was re-read at its new line.
Summary by Sourcery
Require corpus-wide OpenSpec validation assertions to identify the repository's adjudicated, pinned entrypoint so written evidence reflects the authoritative verdict.
New Features:
Add a neutral-product-pin requirement requiring corpus-wide OpenSpec validation claims to name the default pinned consumer entrypoint rather than the raw CLI or unpinned modes.
Enhancements:
Document the distinction between the repository's adjudicated validation verdict and raw tool results, including scope and stale-disposition boundaries.
Record the ratification decision, validation measurements, design rationale, and deferred follow-up work for the new requirement.
Documentation:
Add the ratified change proposal and README OpenSpec Records entry describing the validation-claim requirement.
Tests:
Add the change to the sequenced-after corpus ledger.
…oint
Encodes the measurement Brett Heap accepted at opensoft/openxFactory issue #656
comment 5778300335 and ruled on at 5778397686 (2026-09-22T14:33:02Z, by
multi-choice: "§ 8.9 clause (2) READS LITERALLY; the tick becomes [~]"). That
ruling disposed of ONE box. The defect is a CLASS, and nothing in the corpus yet
forbids the next box being written the same way.
TWO COMMANDS OVER ONE TREE RETURN OPPOSITE VERDICTS, measured at this head:
scripts/validate-openspec-cli-pin.py --all -> 108 passed, 1 failed, the one
finding DISPOSITIONED and named with its citation and authority -> exit 0
OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> same totals, same
finding -> exit 1 (and at 1.13.1 on PATH against a pin of 1.12.0)
The raw tool has no access to the pin, does not know the disposition exists, and
cannot reach that verdict. Its red is a different reader answering a question the
repository did not ask it.
ONE ## ADDED requirement, five scenarios. No existing requirement is modified,
no code moves, and the disposition mechanism is NOT touched - it works, and the
requirement leans on it. Boundaries are normative text: the obligation reaches
the written ASSERTION and not only the run; a narrowed claim about one change is
not reached; ratified and archived text is not edited, its remedy being the
reserved [~] marker its own packet provides. The staleness property is carried as
a scenario that defers by name to the requirement already owning it.
Owned by neutral-product-pin - the pin, the entrypoint and the dispositions are
all its own - rather than doc-health (which owns the unreadable marker but none
of the mechanism) or a new capability (which would split "run through the
entrypoint" from "name the entrypoint").
The upstream CLI fix is REGISTERED as the condition that would retire the finding
class, never proposed: consumed and never vendored, a bump is a human-only act
owing target-version evidence and a re-derivation of every disposition, and a
second disposition class is live today.
code_surface: none - the enforced gate already names the entrypoint at
.github/workflows/openspec-cli-pin-gate.yml:101.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This documentation-only PR adds a draft neutral-product-pin requirement that makes the pinned, disposition-aware consumer entrypoint the required name for corpus-wide validation claims, supported by five scenarios and an explicit opposite-verdict measurement; it does not alter code, contracts, existing requirements, archived text, or the disposition mechanism.
Sequence diagram for adjudicated corpus validation
sequenceDiagram
participant Record as ValidationRecord
participant Entry as consumer_entrypoint
participant CLI as PinnedOpenSpecCLI
participant Pin as openspec-cli-pin.yaml
participant Raw as RawOpenSpecCLI
Record->>Entry: Assert corpus-wide validation
Entry->>CLI: validate-openspec-cli-pin.py --all --no-cache
CLI->>Pin: Load dispositions
Pin-->>CLI: Finding disposition and citation
CLI-->>Entry: Exit 0 adjudicated verdict
Record->>Raw: openspec validate --all --strict
Raw-->>Record: Exit 1 undispositioned finding
Loading
File-Level Changes
Change
Details
Files
Adds a new neutral-product-pin requirement requiring corpus-wide validation assertions to identify the adjudicated consumer entrypoint rather than the raw OpenSpec command.
Defines the requirement as an ADDED block with five scenarios covering assertions versus runs, narrowed claims, legacy text, staleness safeguards, and incorrect task records.
Clarifies that the pinned entrypoint reconciles findings with ratified dispositions, while raw validation can produce a different verdict.
Documents ownership, scope boundaries, non-goals, and the decision not to add an automated checker or modify the disposition mechanism.
Trigger a new review: Comment @sourcery-ai review on the pull request.
Continue discussions: Reply directly to Sourcery's review comments.
Generate a GitHub issue from a review comment: Ask Sourcery to create an
issue from a review comment by replying to it. You can also reply to a
review comment with @sourcery-ai issue to create an issue from it.
Generate a pull request title: Write @sourcery-ai anywhere in the pull
request title to generate a title at any time. You can also comment @sourcery-ai title on the pull request to (re-)generate the title at any time.
Generate a pull request summary: Write @sourcery-ai summary anywhere in
the pull request body to generate a PR summary at any time exactly where you
want it. You can also comment @sourcery-ai summary on the pull request to
(re-)generate the summary at any time.
Generate reviewer's guide: Comment @sourcery-ai guide on the pull
request to (re-)generate the reviewer's guide at any time.
Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
pull request to resolve all Sourcery comments. Useful if you've already
addressed all the comments and don't want to see them anymore.
Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
request to dismiss all existing Sourcery reviews. Especially useful if you
want to start fresh with a new review - don't forget to comment @sourcery-ai review to trigger a new review!
Written by the sanctioned `scripts/validate-sequenced-after.py . --seed-ledger
--moved-by '#1141'` and by no hand. ONE row moved: this change's own, read
`sole` because the `## ADDED` requirement title is written by no other change in
the corpus, and `depth: 0` on the positive root claim `sequenced_after: []`.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`scripts/doc-health.py --single-repo .` reports a packet with no `origin:` under
the `proposal-origin` family, class auto-fixable, so the declaration is written
rather than left for the nightly to carry. `kind: ad_hoc`, in the DRAFTING
provenance state the checker admits for an unapproved packet (`proposed_by` +
`proposed_on`, no approval asserted), which is what `Status: draft` claims.
`ad_hoc` is CHECKED, not assumed: `ideation/staging/` was enumerated and grepped
for `consumer_entrypoint` and `validate-openspec-cli-pin` - no topic folder and
no INDEX row proposes a rule about what a validation claim must name.
doc-health now names this packet in ZERO findings, and the sweep ledger is
consistent with the corpus at 224 rows.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ong claim
Three FACT findings taken as fixes, each measured against the ratified text
rather than accepted on the reviewer's word.
r4073184083 - THE NARROWED-RUN SENTENCE CONTRADICTED CANON. The delta said only
a whole-corpus run "can be reconciled against the dispositions at all". The
ratified requirement says the opposite in as many words at
openspec/specs/neutral-product-pin/spec.md:602-604: "A narrowed run SHALL still
APPLY the dispositions it matches, and SHALL state that it checked none for
staleness." What a narrowed run cannot do is decide STALENESS, and the
restriction is now scoped to exactly that. A packet whose whole subject is
deferring to the disposition mechanism could not afford to misstate it.
r4073391844 - THE SUBJECT DID NOT CARRY WHAT THE PACKET CLAIMED. The normative
SHALL enumerated four record kinds while the body and a scenario also governed
runbook steps, review records and agent instructions. The enumeration now carries
every form the packet claims, rather than the boundary being wider in the prose
than in the rule.
r4073391907 - "NEVER MORE PERMISSIVE" WAS FALSE ON ITS FACE, and against this
packet's own central measurement: the entrypoint returns exit 0 where the raw
tool returns exit 1. The claim is now exact - more permissive in EXACTLY ONE
respect and no other, the findings this corpus has itself named, cited and
ratified against, which is the purpose of the mechanism and not a leak in it -
while an uncovered finding still fails and a stale exception still refuses.
r4073184032 - SECTION 5 RESIDUE NOW CARRIES THE RESERVED [~] MARKER with the
mechanism named: archive_change() refuses on any literal "- [ ]" anywhere in
tasks.md (proposal-support.py:4633), so a box this packet will never tick could
only ever be ticked falsely. It is the same contingency RULED 5778397686 put
section 8.9 into. Sections 1 and 4 keep "- [ ]" deliberately - those will be
ticked, by the ratifying and archiving acts.
r4073183972 was true when written and is false at this head: the .openspec.yaml
origin landed at 50ac2fc.
Re-validated: pinned entrypoint 1 passed / 0 failed; code_surface,
target_release and sequenced_after green; doc-health names this packet in ZERO
findings.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This repeats the inaccurate claim that line 101 is the workflow's sole step; checkout and both runtime setup actions run before it. Please call it the workflow's sole validation step so this origin evidence remains factually accurate.
RATIFIED - 2026-09-22T15:45:54Z by Brett Heap (openxFactory operator authority),
interactive in the lane session, verbatim "ratify #1140 and #1141", recorded at
opensoft/openxFactory issue #656 comment 5779511063.
Status: ratified in proposal.md, design.md and tasks.md; approval provenance in
.openspec.yaml; record at review/ratification-2026-09-22.md; README OpenSpec
Records row moved with it. Ratification authorizes realization and does not
perform it - nothing is promoted until the archive, which is a separate act on a
separate word.
THE RATIFIED BASELINE IS ca47e2c AND THE CURRENT HEAD IS NOT. This is disclosed
in every place the ratification is recorded rather than smoothed over. 9f82cae
was committed at 15:45:53Z - ONE SECOND before the word - and pushed around it,
so it was in flight at ratification and cannot have been read. It is not
cosmetic: it REVERSES the runtime exclusion ca47e2c carried, on Copilot
r4073495698's measurement that the exclusion would have made
contracts/opendox-pin.yaml non-conformant (it carries a migration: block at :190
AND a whole-tree digest with no per-file list) - the opposite of what RULED
5768144952 settled.
The correction runs in the ratified direction, but it is REQUIREMENT TEXT MOVED
AFTER A RATIFY WORD, and the estate admits only non-normative folding after the
word. So it is RAISED, not absorbed: tasks.md 1.3 carries RULING NEEDED with
(a) re-ratify at 9f82cae, REC, (b) revert to the exclusion and accept that
contracts/opendox-pin.yaml reads non-conformant, (c) something else. On the word
a Re-ratified: line joins the Ratified: one in all three files, the instrument
add-chain-attestation already carries.
No council sitting was held and none was owed - no convening packet, no ballot,
no seat returns, no council review - and the record says so plainly rather than
inflating a direct word into a proceeding.
Validated after the change: pinned entrypoint 1 passed / 0 failed; code_surface,
target_release and sequenced_after green; doc-health names this packet in ZERO
findings (the proposal-origin error the ratified status first raised is answered
by the approval pair, not suppressed).
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
RATIFIED - 2026-09-22T15:45:54Z by Brett Heap (openxFactory operator authority),
interactive in the lane session, verbatim "ratify #1140 and #1141", recorded at
opensoft/openxFactory issue #656 comment 5779511063.
Status: ratified in proposal.md, design.md and tasks.md; approval provenance in
.openspec.yaml; record at review/ratification-2026-09-22.md; README OpenSpec
Records row moved with it. Ratification authorizes realization and does not
perform it - nothing is promoted until the archive, a separate act on a separate
word.
WHAT THE WORD RATIFIES HERE IS THE GENERAL RULE STATED FROM A PARTICULAR RULING,
which is the only thing this packet adds and the reason it needed a word of its
own. 5778300335 is the accepted read-only measurement; 5778397686 ruled the
particular box. That ruling disposed of ONE box, and nothing in the corpus forbade
the next box being written the same way.
THE HEAD DID NOT MOVE between the word and this record: c36ff08 is both the head
the word names and the head the packet stood at when it was given, and the
ratification front-matter, the record and the README line are the first changes
after it - none of them requirement text. The sibling #1140 is NOT in that
position and says so in its own record; the two are separate acts and this one
inherits nothing from that.
No council sitting was held and none was owed - no convening packet, no ballot,
no seat returns, no council review - and the record says so plainly rather than
inflating a direct word into a proceeding.
Validated: pinned entrypoint 1 passed / 0 failed; code_surface, target_release
and sequenced_after green; doc-health names this packet in ZERO findings.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Both were true when written and became false the moment the packet was ratified,
which is the shape of every staleness finding on this pull request.
tasks.md preamble said "§ 1 is OPEN: the word that commissioned this amendment is
not the word that ratifies the packet". Ratification has since been given, § 1.1
and § 1.2 are ticked, and the file carries a `Ratified by:` header. It now says
§ 1 is COMPLETE, names § 1.3 as an ASK rather than an omission - the ratified
baseline ca47e2c is not the current head - and keeps § 4 open, because
ratification authorizes realization and does not perform it.
design.md D6 said "It ratifies nothing. tasks.md § 1 is open", four lines below
its own `Ratified by:` header. It now states the boundary that is actually true:
this packet does not ARCHIVE, and archiving is the act that would promote it.
Raised by Copilot r4073798745 and r4073798821 against the sibling #1141 and
applied here for the same reason rather than waiting to be told twice.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ion inverts the claim
Six findings, all taken.
r4073721220 - NAMING THE WRAPPER WAS NOT THE GUARANTEE, and the hole is real: the
subject required only the script path plus --all, so
`validate-openspec-cli-pin.py --all --path-mode` - or an alternate --pin -
satisfied the letter of the rule while resolving the tool from PATH or reading a
foreign pin. PATH mode verifies no artifact provenance and the existing
requirement already forbids a required check to use it, so the rule as written
could be met by exactly the invocation the capability refuses. The subject now
requires the DEFAULT, PINNED-ARTIFACT form and excludes both modes by name, with
its own paragraph and its own scenario. THE FLAGS ARE PART OF THE NAME.
r4073721379 - THE UNSATISFIABILITY ABSOLUTE WAS FALSE ONCE A DISPOSITION GOES
STALE, and the correction is the sharper statement. The text said a box naming
the raw command is unsatisfiable "for as long as ANY ratified disposition
stands". Once the finding stops occurring the two verdicts INVERT: the raw
command exits 0 having seen nothing, while the entrypoint REFUSES
pin-disposition-stale until the spent exception is removed. So the box becomes
satisfiable and WRONG rather than unsatisfiable - worse, and the same defect
reported the other way up. Scoped to a disposition that still matches a finding,
with a scenario for the inversion.
r4073721291 and r4073721340 - TWO PROPOSAL SUMMARIES LAGGED THE DELTA: the
record-kind enumeration still listed four forms where the SHALL now carries
seven, and "never more permissive" still stood where the delta had already been
corrected. Both are the same failure mode - a round that corrects the normative
text and leaves its own summary standing three sections away.
r4073798745 and r4073798821 - TWO LIFECYCLE CLAIMS THAT RATIFICATION MADE FALSE.
The tasks preamble said "§ 1 is OPEN" while § 1.1 and § 1.2 are ticked and the
file carries a Ratified by: header; design.md D6 said "It ratifies nothing" four
lines below its own. Both now state the boundary that is actually true: this
packet does not ARCHIVE, and § 4 stays open because ratification authorizes
realization and does not perform it. Applied to the sibling #1140 in the same
pass rather than waiting to be told twice.
Re-validated: pinned entrypoint 1 passed / 0 failed; sequenced_after green;
doc-health names this packet in ZERO findings.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The checked task documents ... --seed-ledger without the required --moved-by argument. validate-sequenced-after.py rejects that combination at argument parsing, while the committed row carries moved_by: "#1141", so the command as written cannot produce the claimed seeded row. Include the PR reference in the command.
Copilot's "previously missed" finding at 8006bca. Task 2.5 documented the
seeding command as `validate-sequenced-after.py . --seed-ledger` with no
`--moved-by`, while the committed row carries `moved_by: "#1141"`. The validator
REFUSES that combination at argument parsing - "--seed-ledger requires
--moved-by '#<PR>'" - so the command as written could not have produced the row
the box claims it produced.
Corrected to the command actually run, with the row's own reading beside it:
ONE row moved, `sole` because the ADDED requirement title is written by no other
change in the corpus, `depth: 0` on the positive root claim
`sequenced_after: []`.
The sibling #1140 carries the argument already - it was corrected there in an
earlier round for a different reason - which is why only this one was left
stating a command that cannot run.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…alent discharge (#1140)
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
> **RATIFIED — 2026-09-22T15:45:54Z by Brett Heap** (openxFactory operator authority), interactive in the lane session, verbatim **"ratify #1140 and #1141"**, recorded at [`#656` comment `5779511063`](#656 (comment)). Record: `review/ratification-2026-09-22.md`. **Ratification authorizes realization and does not perform it** — nothing is promoted until the archive, a separate act on a separate word.
>
> ### ⚠️ THE RATIFIED BASELINE IS `ca47e2cb` AND THE HEAD IS NOT — RULING NEEDED
>
> `9f82caeb` was committed at **15:45:53Z, ONE SECOND before the word**, and pushed around it, so it was in flight at ratification and **Brett Heap cannot have read it**. It is not cosmetic: it **reverses the runtime exclusion `ca47e2cb` carried**, on Copilot `r4073495698`'s measurement that the exclusion would have made `contracts/opendox-pin.yaml` — which carries a `migration:` block at :190 **and** a whole-tree digest with no per-file list — **non-conformant**, the opposite of what RULED `5768144952` settled.
>
> The correction runs in the ratified direction, **but it is requirement text moved after a ratify word**, and the estate admits only NON-NORMATIVE folding after the word. So it is raised, not absorbed — `tasks.md` § 1.3: **(a)** re-ratify at the current head (**REC** — the text is more correct than the ratified baseline and its defect is measured); **(b)** revert to the exclusion and accept that `contracts/opendox-pin.yaml` reads non-conformant against it; **(c)** something else. On the word a `Re-ratified:` line joins the `Ratified:` one in all three files, the instrument `add-chain-attestation` already carries.
>
> **No line anywhere claims the word covered text it could not have.** Every `Ratified:` line names `ca47e2cb` explicitly.
**ONE `## MODIFIED` requirement. One added paragraph, five added scenarios, and not one character of any unit the requirement already carries.** **`Status: ratified`** — the word that COMMISSIONED the amendment (`5777949892`) and the word that RATIFIES the packet (`5779511063`) are two separate acts, and both are Brett Heap's. See the baseline caveat above.
## The ruling this encodes
**RULED — 2026-09-22T14:04:00Z by Brett Heap**, interactive in the lane session, by multi-choice, verbatim **"(b) — AMEND THE CLAUSE"** — `#656` comment [`5777949892`](#656 (comment)). The ruling names this packet's form in so many words: *"it becomes its own small OpenSpec change against `neutral-product-pin`, citing 5768144952, this ruling, and Copilot `r4067623184`."*
## Why
The requirement *An external neutral product is pinned by commit and digest, never by tag* opens by obliging a consuming pin to carry a per-file `sha256` for every artifact the product digests per file, plus `pinned_by_commit_only:` for the rest. Three paragraphs later, for a product distributed as a published artifact, the same requirement reasons the obligation away in its **stronger** form: the lists exist only because "a commit is not a digest a consumer can compare a single file against, so the surface must be ENUMERATED for completeness to be checkable at all", whereas **"ONE digest addresses EVERY byte inside it, so no member can be undeclared and none can be added or altered without changing the referent"** — "DISCHARGED MORE STRONGLY here rather than waived".
**That reasoning does not depend on the medium, and the estate's pins had already applied it to a source tree.** `contracts/openxdox-pin.yaml` and `contracts/opendox-pin.yaml` each pin an assembly root by commit plus a whole-tree `sorted-ls-tree-r-v1` digest, carry neither list, and quote that paragraph as their reason. On 2026-09-21 the deferral's own trigger fired — openDox `dc7aa08f` carried a non-empty `entries:` for the first time — and Brett Heap ruled **"(b) for the pin shape, keep going"** ([`5768144952`](#656 (comment))).
**That settled the PIN FILES, not the NORMATIVE TEXT.** Copilot `r4067623184` found the residue on the `#1139` archive pre-stage and the lane's bookkeeper verified it: a rule, and an unwritten exception. This packet closes that.
## What the block says
| | |
| --- | --- |
| **The equivalence** | A source-tree pin declaring a whole-tree digest definition and recording a digest over the ENTIRE tree of the commit it names discharges the per-file obligation, and **such a pin carries NEITHER list**. |
| **The forms are alternatives** | Not a menu to combine. `scripts/doc_health/pin_shapes.py`:763-775 **already refuses** a record carrying both a whole-tree `digests.tree_sha256` and a `files:` list, naming both shapes tried — so text admitting the mixture would disagree with a guard that is already running. |
| **Its ground, stated not asserted** | A whole-tree digest covers every file in the tree and therefore **SUBSUMES** any list of them — the published-artifact paragraph's own reasoning, reaching a source tree unchanged. |
| **Boundary 1** | An enumeration stays **lawful** and stays **owed** where no whole-tree digest is recorded. This admits a second form and retires neither the first nor any pin carrying it — `contracts/openxwallet-pin.yaml`'s eight `files:` digests stay conformant, unedited. |
| **Boundary 2** | The equivalence is about **WHICH FORM** the digest obligation takes and never about **WHETHER** digests are owed. It authorizes skipping no digest anywhere. |
| **Boundary 3** | **The runtime-deployment clause is untouched, and untouched means its obligations stand in full.** A runtime product's pin still declares the migration range, the reversibility and the runbook, and its prohibition on reading a deployment declaration as permission to skip the digests is preserved exactly — while **the equivalence DOES reach a source-tree pin whether or not its product is a runtime**, because that clause governs what a bump must DECLARE and this one governs which FORM the completeness obligation takes. *(Round 1 excluded runtime pins; round 2 overturned that — see below. The clause itself is carried verbatim, unedited.)* |
| **Boundary 4** | A pin recording **NEITHER** form has discharged nothing. |
Five scenarios: the conformant whole-tree pin; the pin carrying **both** forms, refused; the pin recording **neither**, refused; the **runtime** product's pin, which the equivalence does not reach; and the misreading that cites the equivalence as permission to skip a digest, refused.
## The block is written over `split-opendox-two-layer-product`'s outcome
That packet holds an active `## MODIFIED` block on this same requirement (ratified 2026-09-05) contributing the runtime-deployment clause and two scenarios. A block written over canon-as-promoted would carry five scenarios and would **omit two the moment the basis archived** — the exact finding class `contracts/openspec-cli-pin.yaml` records as *"canon moved under an un-re-derived delta"*. Writing over the outcome makes the block correct in both orders.
**The form is the basis's own, one link up this chain**: `split-opendox` wrote its block over `add-openspec-cli-pin`'s outcome in a dated per-requirement paragraph, explicitly *not* the reserved pairing marker. This packet follows it exactly and adds `sequenced_after: [split-opendox-two-layer-product]`.
**Seven scenarios carried, five added — twelve in the block.**
## Measurements
**`code_surface: none` is MEASURED, not assumed** (at `ac50d70d`, the commit this was authored on):
1. `grep -n "pinned_by_commit_only" scripts/verify-opendox-pin.py scripts/verify-openxdox-pin.py` → **two lines, both module-docstring prose** about the openXwallet pin (`verify-openxdox-pin.py:19`, `:75`). Neither verifier READS the key; `files` is read by neither.
2. Both verifiers key the whole surface on `digest_definition: sorted-ls-tree-r-v1` + `digests.tree_sha256`, with **closed refusal vocabularies containing no code for a missing per-file list** — `verify-opendox-pin.py:137-143` (six codes), `verify-openxdox-pin.py:158-163` (five).
3. The two verifiers that DO read the key read it **absent-is-empty** — `pin.get("pinned_by_commit_only") or []` at `verify-openxwallet-pin.py:443-452` and `validate-openreposhape-pin.py:487-495`, transcribed by `scripts/doc_health/pin_shapes.py:187-201`.
4. `python3 -m pytest tests/opendox_pin tests/openxdox_pin -q` → **105 passed**, over fixtures built from `digest_definition` + `digests.tree_sha256` with no per-file key at all.
**So the amendment is doctrine-only: a pin conformant before this lands is conformant after it.**
**Validation ran through the PINNED CONSUMER ENTRYPOINT**, `python3 scripts/validate-openspec-cli-pin.py`, at `@fission-ai/[email protected]` verified against its content address — **not** the `openspec` on `PATH`, which at this workstation is **1.13.1**. Counts in a comment below at the final head.
## What this packet does NOT do
- **It edits no pin file, in any repository.** What the pins carry was settled and executed by `5768144952`. The openXdox-side header amendment that ruling registered is a different repository's act, named as residue in `tasks.md` § 5.1.
- **It answers one of three pre-stage findings and says so.** `#1139` review `5273796676` registered three; `5777949892` answers the `neutral-product-pin` per-file one. `corpus-adapter-seam` and `domain-mapping-declaration` stay as ratified, registered for a successor.
- **It ratifies nothing.** `tasks.md` § 1 is open.
## Copilot round 1 — three fixes, one registered, at `ca47e2cb`
Every finding was measured against running code before it was taken.
| finding | disposition |
| --- | --- |
| `r4073364832` the two forms are exclusive | **FIXED.** `MAY then be absent` left a both-forms pin apparently conformant while `pin_shapes.py`:763-775 already refuses it as MIXED. Text now says NEITHER list, plus a scenario refusing the mixture. **Side effect:** that guard records the ratified text is *"SILENT on the whole-tree shape"* and falls back to fail-closed for want of text — this amendment is the first promoted text to name the form the guard has been judging. |
| `r4073177274` the equivalence reached runtime pins | **FIXED, and the reviewer was right about why.** The first draft granted it to ANY source-tree pin and then asserted the runtime clause was "untouched" — those **contradict rather than compose**. Scope now excludes runtime-clause-governed pins outright, with its own scenario. `design.md` D3 records the correction. |
| `r4073364921` the ledger claim said two rows | **FIXED.** § 2.5 predicted a partner flip from the rule instead of reading the diff; the basis row was already `co-modifier`, so nothing flipped. Corrected with the seeder's own output quoted. |
| `r4073110728` the required-check scenario is keyed to an enumerated pin | **REGISTERED, not fixed** (`tasks.md` § 5.3). The fact is right, but **the gap predates this packet** — both pins have carried the whole-tree form since filing — and amending a SECOND requirement exceeds a commission that names one clause. |
| `r4073110643`, `r4073110783` | True when written, **false at the head they were raised against**: the `.openspec.yaml` origin landed at `4f786903` and the ledger row at `b2ec9e87`. |
**All threads answered and resolved.** Re-validated after the fixes: pinned entrypoint `1 passed, 0 failed`; `code_surface` / `target_release` / `sequenced_after` green; `doc-health` names this packet in **zero** findings, and its `## MODIFIED` block raises **no** `modified-block-currency` finding while nine other active changes do.
## Note for the lander
This PR and **#1141** (the sibling encoding of `5778397686`) both touch the README **OpenSpec Records** block and `tests/sequenced_after/corpus-ledger.yaml`, so they will conflict with one another. Expected: land one, then the second takes a merge-from-main and re-seeds its ledger row.
## Copilot round 2 — the runtime exclusion was wrong, and a live pin proves it
| finding | disposition |
| --- | --- |
| `r4073495698` runtime pins are excluded by round 1's repair | **FIXED, and it overturns round 1.** `contracts/opendox-pin.yaml`:190 carries a real `migration:` block (`range: "0001..0002"`, `reversible: false`, a named runbook) **and** a whole-tree digest with no per-file list. So the runtime clause GOVERNS that pin, and the exclusion would have made **the very pin this amendment was ruled for** non-conformant. **The resolution is the reading available all along:** the two clauses govern DIFFERENT obligations — the runtime clause governs what a bump must DECLARE, this equivalence governs which FORM the completeness obligation takes — so the equivalence reaches a source-tree pin whether or not its product is a runtime, and every obligation that clause imposes stays owed in full. `design.md` D3 records BOTH rounds. |
| `r4073495753` the mixture guard covers one half | **REGISTERED with a measurement** (`tasks.md` § 5.4). `pin_shapes.py`:772-775 detects the mixture only when `files` is present. **Every `contracts/*-pin.yaml` was read** — `opendox`/`openxdox` carry a tree digest and NEITHER list; `openreposhape`/`openxwallet` carry both lists and NO tree digest; `openspec-cli`/`review-lane` carry none — so **no pin in the estate is in the uncaught state**, no code is owed, and `code_surface: none` stands. |
| `r4073495808`, `r4073495848` two stale scenario counts | **FIXED.** `README.md`:540 and `tasks.md` § 2.1 still said "three added" where the same files already said five and twelve. Counts re-derived from `grep -n "^#### Scenario:"` — **twelve headings, seven carried** — rather than from the previous sentence. |
**What "do not touch the runtime clause" actually meant**, now written into `design.md` D3 so the next reader does not repeat round 1: *do not weaken the deployment obligation.* It did **not** mean carve runtime products out of the equivalence — and conflating those two is what produced a repair that broke a live pin.
**All threads on this PR are answered and resolved.** Re-validated at the ratified head: pinned entrypoint `1 passed, 0 failed`; `code_surface` / `target_release` / `sequenced_after` green; `doc-health` names this packet in **zero** findings.
## Copilot round 3 — a cross-reference whose target never landed
| finding | disposition |
| --- | --- |
| `r4073610119` § 5.4 is referenced and does not exist | **FIXED, and the cause is recorded in the item.** The round-2 edit that wrote § 5.4 **aborted on an unrelated failed assertion before reaching the append**, so `proposal.md` shipped a cross-reference to a task that was not there. **A cross-reference is not evidence that its target landed — the target is.** |
| `r4073704501` a stale gloss survived round 2 | **FIXED.** The proposal's scenario list still called the runtime pin one "which the equivalence does not reach" — the reading round 2 overturned. The normative text, the scenarios, `design.md` D3 and the ratification record all carried the corrected reading; this one summary did not. |
| `r4073704461` the description contradicted the index | **FIXED in the description** — it still carried `Status: draft` and the round-1 Boundary 3. |
| `r4073704409` the current head is not covered by the recorded approval | **NOT A DEFECT TO FIX — it is this packet's own disclosure**, and the reviewer is reading it back. `tasks.md` § 1.3, the ratification record § 3, `.openspec.yaml`, the README row and this description all say exactly that, and it is registered as **RULING NEEDED for Brett Heap** rather than resolved by this lane. |
## Copilot round 4 — and the tally that was itself wrong
| finding | disposition |
| --- | --- |
| `r4073991713` the first summary outlived its own correction | **FIXED.** The round that introduced the exclusivity rule corrected the delta and the summary bullet *below* it, leaving the bullet *above* it permitting the mixed pin both forbid. Swept rather than spot-fixed: `grep -rn "MAY then be absent"` over the packet now returns exactly one hit — the ratification record's **citation** of the old wording while explaining what changed. |
| `r4073991767` the ratification record's review tally was wrong | **FIXED STRUCTURALLY.** It under-counted the REGISTERED findings and called four stale where two were. But correcting the arithmetic alone would have left the real defect: **a tally frozen into a ratification record goes stale the moment review continues — and review DID continue after the ratifying word, which is the whole reason this record exists.** The record now states its tally **as of a named head** and says this pull request carries the running one, in a table naming every finding by id. |
*(Round-4 tally as of `52f8067d`: four rounds, sixteen findings. Superseded by the round-5 tally below, which is stated as of the landing head.)*
## Copilot round 5 — a PREVIOUSLY-MISSED finding, in text nothing had changed
| finding | disposition |
| --- | --- |
| *Align boundary summary with final runtime pin scope* — raised at `52f8067d` in the review's **Previously missed** block, `proposal.md`:115 | **FIXED at `4a6458f6`**, and it is the LAST survivor of the round-2 reversal. Item 3 of the proposal still said the equivalence *"does not reach a pin the runtime-deployment clause governs"* and that the whole-tree question there was *"left unopened"* — the round-1 reading `r4073495698` overturned. The normative block, the scenarios, `design.md` D3, the ratification record and the README all carried the corrected reading; this one bullet did not, and **a proposal implemented from it would have taken the discarded scope.** |
**Two causes, both recorded in the commit because both will recur.** First, the round-2 edit that should have fixed this bullet was in the **same script that aborted on an unrelated failed assertion** — the script that also lost `tasks.md` § 5.4 (`r4073610119`). One aborted script silently dropped two edits and a later reader found each separately: *an edit is not applied because a script containing it ran.* Second, and worse: **an earlier grep for this exact phrase returned a FALSE NEGATIVE** — the text wraps as `a pin the` / `runtime-deployment clause governs`, so a line-oriented search matched nothing and the packet was recorded clean. The sweep is now whitespace-normalized before matching (`re.sub(r"\s+", " ", text)`) across every packet file and the README, and reports clean on all three discarded-reading phrases.
**Running tally, as of the landing head `4a6458f6`: five rounds, SEVENTEEN findings** — **12 FIXED**, **2 REGISTERED** (`tasks.md` §§ 5.3, 5.4), **2 true when written and already false at the head they were raised against**, and **1 that is not a defect at all** but this packet's own baseline disclosure read back to it (`r4073704409`). **All 16 threads resolved.** The reviews at `52f8067d` and at the head `4a6458f6` both report **Findings: None**, and the head's review carries **no Previously-missed block**.
Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…are kept
ONE CONFLICT, README.md, and it was an ADD/ADD at the same insertion point in the
OpenSpec Records "Active changes" list: #1140's
amend-neutral-product-pin-source-tree-digest entry (now canon on main) against
this packet's require-adjudicated-validation-entrypoint entry. BOTH ARE KEPT -
#1140's first, because it is already main's content and keeping it in place makes
this branch's diff against main a pure addition of the second entry. Neither
line was dropped, shortened or reworded.
tests/sequenced_after/corpus-ledger.yaml auto-merged cleanly and carries BOTH
rows: amend-neutral-product-pin-source-tree-digest moved_by "#1140" and
require-adjudicated-validation-entrypoint moved_by "#1141". Verified by reading
the merged file, not inferred from the absence of a conflict marker.
Submodules were restored with `git submodule update --init` rather than staged,
so openDox and openXdox stand at the gitlinks main pins.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…t is from
Three Copilot findings at 925d146, and they are ONE FACT: the merge-from-main
that #1140's landing required grew the corpus, so `--all` now reads 110 passed /
1 failed (111 items) where the ratified packet recorded 108 / 1 / 109. I updated
the PULL REQUEST body and left the PACKET behind - which made the two disagree at
the same head, with the README entry (the user-facing status record) asserting a
measurement this head does not produce.
WHAT ACTUALLY MOVED, AND WHAT DID NOT. The item count tracks the size of main's
corpus. THE VERDICTS ARE THE CLAIM and they did not move: same tree, same single
finding (add-chain-attestation), exit 0 through the adjudicated entrypoint
against exit 1 raw. So the repair is not to restate a number - it is to make
every copy say WHICH HEAD IT IS FROM, so the next merge cannot silently
invalidate it again.
CURRENT-EVIDENCE COPIES take the current head, with the baseline named beside
them: README.md's Records entry, proposal.md's table and its lead-in, tasks.md
section 3.1, and .openspec.yaml's origin reason.
THE RATIFICATION RECORD IS LABELLED, NOT REWRITTEN. Its table now says the
figures are as they read AT THE RATIFIED HEAD c36ff08, and a paragraph records
that the later re-take does not amend it. A ratification record's job is to
freeze what the ratifying word was given; updating its numbers would quietly
restate the evidence behind a word already spoken. The running measurement lives
in the pull request and in tasks.md section 3.1 instead - the same division #1140
adopted after a frozen tally went stale there, which is the precedent this
follows rather than a new rule.
NON-NORMATIVE, deliberately and by inspection: not one requirement, scenario or
boundary is touched. These are evidence counts in prose and front-matter. The
ratified normative text in specs/neutral-product-pin/spec.md is unchanged, so
this is the addendum class the estate admits after a ratify word and not a
re-ratification trigger.
RE-VALIDATED at this head: `openspec validate
require-adjudicated-validation-entrypoint --strict` exit 0 ("Change ... is
valid"); the adjudicated entrypoint exit 0 at Totals: 110 passed, 1 failed (111
items); doc-health --family proposal-origin exit 0 naming this packet in nothing;
code_surface exit 0; target_release exit 0; validate-sequenced-after exit 0 (45
active changes, 18 declaring the field).
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The active-record summary points at canon line 1770, which is the Removed from canon marker; the Merged into scenario-rename form begins at line 1772 at this head. The summary should cite the actual convention it describes.
Central origin record cites the wrong marker location
The cited canon line is not the scenario-rename marker at this head: line 1770 contains the Removed from canon form, and the Merged into form begins at line 1772. This central origin record should point to the actual marker location.
Marker-blindness evidence cites the wrong canon location
This citation is off at the current head: canon line 1770 is the Removed from canon marker, while the Merged into scenario-rename form starts at line 1772. Because this reference is the evidence for the marker-blindness claim, update it and the mirrored references to the actual location.
This issue also appears on line 166 of the same file.
Canon citation does not support the narrowed-run rule
The canon reference is stale at this head: lines 602–604 describe the target-version failure scenario, while the narrowed-run rule saying dispositions are still applied is at lines 662–667. Update this citation; it is the authority for the boundary claimed here.
Frozen review evidence cites the wrong canon lines
This review record points to lines 602–604, but at the current head the narrowed-run rule is at lines 662–667; 602–604 is the target-version failure scenario. The frozen review evidence should cite the actual canon text it relies on.
Five Copilot "previously missed" findings at 44ca473, all ONE CLASS and all
MEASURED before they were taken: the merge-from-main that #1140's landing
required moved the canon files, and six citations in this packet kept pointing at
the lines those texts used to occupy.
MEASURED AT THIS HEAD, not accepted on assertion:
openspec/specs/doc-health/spec.md:1770 = the `Removed from canon` bullet
openspec/specs/doc-health/spec.md:1772 = the `Merged into` bullet <- meant
openspec/specs/neutral-product-pin/spec.md:602-604 = "Scenario: The target
version fails on conditions that predate the bump"
openspec/specs/neutral-product-pin/spec.md:663-668 = "A narrowed run SHALL
still APPLY the dispositions it matches, and SHALL state that it checked
none for staleness" <- meant
Both stale pointers landed on REAL BUT WRONG TEXT, which is the dangerous kind: a
reader following :1770 finds a marker form and would not notice it is the other
one, and a reader following :602-604 finds a plausible scenario about the pinned
tool. Neither would look like a broken link.
SIX SITES CORRECTED, all mine: README.md's Records entry, proposal.md in three
places, .openspec.yaml's origin reason, and review/ratification-2026-09-22.md.
AND THE CITATIONS NOW CARRY THEIR OWN TEXT, which is the actual repair. This is
the second time on this branch that something pinned to a position went stale
under a merge - the item counts were the first - so the two load-bearing
citations now quote the sentence or name the form they point at. A number that
drifts alone is silent; a number beside its text is checkable by the next reader
without opening the file.
THE RATIFICATION RECORD IS CORRECTED, NOT FROZEN, AND THE DISTINCTION IS
DELIBERATE. Two commits ago I labelled its MEASUREMENT table as of the ratified
head and refused to update the numbers, because a record's job is to freeze what
the ratifying word was given. A CITATION is not that. It is a pointer to canon
that still exists unchanged; correcting it makes it reach the same sentence it
always named, where leaving it would make the record cite text it never relied
on. The record says so in place, quotes the sentence, and names the merge as the
cause.
TWO FURTHER SITES ARE NOT MINE AND ARE LEFT ALONE: README.md:1958 belongs to
disposition-codexfactory-declared-renames and README.md:2025 to
prepare-openspec-1-12-readiness. Both cite :1770 for the same marker and are
stale in the same way (confirmed by git blame: 9adcb05 and 552a3a7, neither
this branch). Another change's record is not this packet's to edit; it is
reported to the coordinator instead.
RE-VALIDATED at this head: openspec validate require-adjudicated-validation-entrypoint
--strict exit 0 ("Change ... is valid"); the adjudicated entrypoint exit 0 at
Totals: 110 passed, 1 failed (111 items); .openspec.yaml parses; doc-health
--family proposal-origin exit 0 naming this packet in nothing. Each corrected
pointer was re-read at its new line to confirm it lands on the quoted text.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Round 6 — the five previously-missed findings at 44ca473f, all FIXED at ba7d427b
They arrived in the review body rather than as threads, and they are one class: the merge-from-main that #1140's landing required moved the canon files, and six citations in this packet kept pointing at the lines those texts used to occupy.
Measured at this head before anything was taken:
pointer
what is actually there
what was meant
doc-health/spec.md:1770
the Removed from canon bullet
—
doc-health/spec.md:1772
**Merged into `<destination scenario title>` by <change-id> (<YYYY-MM-DD>):**
✅ this
neutral-product-pin/spec.md:602-604
Scenario: The target version fails on conditions that predate the bump
—
neutral-product-pin/spec.md:663-668
"A narrowed run SHALL still APPLY the dispositions it matches, and SHALL state that it checked none for staleness"
✅ this
Both stale pointers landed on REAL BUT WRONG TEXT, which is the dangerous kind. A reader following :1770 finds a marker form and would not notice it is the other one; a reader following :602-604 finds a plausible scenario about the pinned tool. Neither would look like a broken link.
Six sites corrected, all mine: README.md's Records entry, proposal.md ×3, .openspec.yaml's origin reason:, and review/ratification-2026-09-22.md.
And the citations now carry their own text — that is the actual repair. This is the second time on this branch that something pinned to a position went stale under a merge (the item counts were the first), so the two load-bearing citations now quote the sentence or name the form they point at. A number that drifts alone is silent; a number beside its text is checkable by the next reader without opening the file.
The ratification record is CORRECTED here, not frozen — and the distinction is deliberate. Two commits ago I labelled its measurement table as of the ratified head and refused to update the numbers, because a record's job is to freeze what the ratifying word was given. A citation is not that. It is a pointer to canon that still exists unchanged; correcting it makes it reach the same sentence it always named, where leaving it would make the record cite text it never relied on. The record says so in place, quotes the sentence, and names the merge as the cause.
Two further sites are NOT mine and are deliberately left alone
README.md:1958 belongs to disposition-codexfactory-declared-renames and README.md:2025 to prepare-openspec-1-12-readiness. Both cite :1770 for the same marker and are stale in exactly the same way — confirmed by git blame: 9adcb05d and 552a3a76, neither this branch. Another change's record is not this packet's to edit, so they are reported to the coordinator rather than swept in here. Flagging them is the useful act; editing them would be a cross-packet touch nobody asked for.
Re-validated at ba7d427b:openspec validate require-adjudicated-validation-entrypoint --strict → exit 0; the adjudicated entrypoint → exit 0, Totals: 110 passed, 1 failed (111 items); .openspec.yaml parses; doc-health --family proposal-origin → exit 0, naming this packet in nothing. Each corrected pointer was re-read at its new line to confirm it lands on the quoted text.
…ass, preflight, ideation_readiness (#1128) (#1142)
Lane: openxfactory-2 (openXfactory-2)
**On Brett Heap's words.** *"do 1 and 2, claim 5"* (#745 comment 5767008640) and *"merge both when green, then fix 5 and merge when green"* (#745 comment 5767058861, recorded on #1128 as comment 5767206176). Both #745 PRs have landed, so finding 5 — #1128 — is next.
**What this binds.** The three call sites #1128 measured inside `scripts/doc_health/`: the last unbounded git subprocesses there after #1098 / PR #1102 bound `corpus.RealGit`'s pair. Each now binds a timeout and catches `subprocess.TimeoutExpired` beside `OSError`, mapped to the failure its caller **already** produces — never a new exception type for a caller to learn, never a silent success, never a hang. No contract, schema or policy text moves (#1128 declares `code_surface: openxFactory`, code-only), so no OpenSpec packet is owed.
## Per site: before → after
### 1. `scripts/doc_health/pin_class.py` — `_git` (`:1685`)
| | |
|---|---|
| **Before** | `subprocess.run(["git", "-C", str(repo), *args], capture_output=True, check=check, text=True, encoding="utf-8", errors="replace")` — no `timeout=`, and **no `try`/`except` at all**, not even a bare `OSError`. Nine call sites route through it, including `verify()`'s first act (`:2451`). |
| **What it caught** | Nothing. A missing `git` raised `FileNotFoundError` out of whatever reachability read was in progress; a hung `git` never returned at all. |
| **The caller's own handling** | Every one of the nine reads `.returncode` / `.stdout` / `.stderr`; not one checks for `None`. `verify()` raises `GitUnavailable` (a `RuntimeError` subclass whose docstring is *"Never silently a pass"*) when `_git(...).returncode != 0`. |
| **After** | `timeout=_GIT_TIMEOUT_SECONDS` (**30 s**, the sibling bound) and `except (OSError, subprocess.TimeoutExpired)` answering `CompletedProcess(args=argv, returncode=1, stdout="", stderr=<reason>)` — the only "failed" shape this module has, so all nine callers are untouched. On the hot path that is the designed failure: `verify()`'s `rev-parse` raises `GitUnavailable`, exactly as it does for a git that said no. `check=True` is **re-raised** rather than translated, because that caller never reads the returncode and handing it a non-zero `CompletedProcess` would be the silent success this bound exists to prevent (no caller passes `check=` today — measured across `scripts/` and `tests/`). |
### 2. `scripts/doc_health/preflight.py` — `run_preflight` (`:57`)
| | |
|---|---|
| **Before** | `subprocess.run(cmd, cwd=repo_path, capture_output=True, text=True, env={...})` — no `timeout=`; the whole 72-line file contained zero `try` and zero `except`. |
| **What it caught** | Nothing. And `cmd` is not fixed to `git`: `_entrypoints()` builds `python3 <validator>`, `bash scripts/validate-docs.sh` or `make validate` per discovered repository. |
| **The caller's own handling** | A non-zero exit becomes `Finding(ERROR, "preflight", repo, <path>, ...)`. But `run_preflight` is the **first** act of `run_suite` (`runner.py:227`) whenever no `--family` is passed — which is how the nightly invokes it — so a hang blocked every family before one ran, and never reached the `Finding`-producing branch at all. |
| **After** | `timeout=_ENTRYPOINT_TIMEOUT_SECONDS` and `except (OSError, subprocess.TimeoutExpired)` producing the **same** `Finding(ERROR, "preflight", ...)`, same family and same path so regression matching between two reports is unchanged, with the reason (`timed out after 120s` / `could not be run: …`) standing in for the output tail there is none of. |
**The 120 s here is a decision, not a slip, and the constant says so in the file.** It is deliberately **not** the 30 s the two git sites bind. Those are single git plumbing calls; a preflight entrypoint is a *whole repository's validator suite* (`make validate`, `bash scripts/validate-docs.sh`, or a python validator that spawns git subprocesses of its own — `validate-domain-openxfactory-pins.py` does). A bound tight enough to cut an honest slow validator would convert a green nightly into an ERROR finding, i.e. a defect this PR would have *introduced*. The number is measured: the slowest entrypoint this repository can run is `scripts/validate-memory-gateway.py` at **3.26 s** (the four openxFactory no-arg validators measured 0.12 / 0.49 / 0.77 / 3.26 s on 2026-09-21), so 120 s carries ~37x headroom over the slowest thing actually observed — while still being small enough that the whole preflight fits inside its own job: `.github/workflows/doc-health-reusable.yml` bounds that job at `timeout-minutes: 45`, and even if all ~13 entrypoints an aggregation run discovers timed out, 13 x 120 s = 26 min, so the timeouts surface as Findings rather than as a killed job with no report at all.
### 3. `scripts/doc_health/ideation_readiness.py` — `index_reproduces_at` (`:884`)
| | |
|---|---|
| **Before** | `subprocess.run(["git", "-C", str(root), "archive", pin, "ideation"], capture_output=True)` — no `timeout=`, no `try`/`except`. The third in-package site, which #1098's own 2026-09-17 sweep did not name. |
| **What it caught** | Nothing. |
| **The caller's own handling** | A non-zero return already answers `(None, "the corpus at <pin> could not be reconstructed, so reproduction was NOT ASKED rather than answered: …")` — the function's documented third outcome. |
| **After** | `timeout=_GIT_TIMEOUT_SECONDS` (**30 s**) and `except (OSError, subprocess.TimeoutExpired)` returning that **same** `(None, "NOT ASKED rather than answered")`. Never `False`: `False` would blame the committed body for a question nobody could put, which is the distinction `test_reproduction_that_cannot_be_asked_is_neither_pass_nor_fail` exists to keep. |
## Regression tests, failing → passing
Nine new tests: five appended to `tests/doc-health/test_pin_reachability.py` and a new `tests/doc-health/test_preflight.py` (#1128 measured that **nothing** tested that file). They assert the bound the call actually carries (`kwargs["timeout"] == 30` / `== 120`, and that it is the module's declared constant) and raise `TimeoutExpired`, rather than timing a sleeping shim — a shim that sleeps proves only that the shim exited. Each then compares the timed-out result against the one a **real** unrunnable git or unspawnable entrypoint already produces (an emptied `PATH`), which is #1098's second, separate gap.
With the three source files swapped for `origin/main`'s and the new tests present: **6 failed, 3 passed**.
```
FAILED test_preflight.py::test_an_entrypoint_that_never_returns_times_out_into_that_same_finding
FAILED test_preflight.py::test_an_unrunnable_entrypoint_is_a_finding_rather_than_a_raised_OSError
FAILED test_pin_reachability.py::test_git_binds_the_timeout_and_answers_the_failed_read_shape
FAILED test_pin_reachability.py::test_a_timed_out_git_is_the_same_failure_an_unrunnable_git_already_gave
FAILED test_pin_reachability.py::test_the_lower_readers_degrade_rather_than_raise_through_a_timeout
FAILED test_pin_reachability.py::test_the_reproduction_archive_is_NOT_ASKED_rather_than_a_hang
```
Restored: **9 passed**. The three that pass on `main` too are contract pins rather than defect pins, and are there so the bind cannot move the surrounding contract: the two preflight baselines (an ordinary validator failure is still the Finding it always was; a clean validator still reports none) and the `check=True` guard, which `main` satisfies by catching nothing at all.
## Validation
All foreground, private `--basetemp`, in a fresh clone.
| Check | Result |
|---|---|
| `pytest -q -p no:cacheprovider tests/doc-health` (whole) | **7 failed, 1909 passed, 1 skipped** (440.69 s) |
| …the same, on a **pristine `origin/main` clone** (@ `0f23341f`) | **7 failed, 1900 passed, 1 skipped** (452.08 s) — the **same seven names**, all container-local (`validate_index` / pinned-validator / real-lines cases). +9 passed on this branch = the nine new tests. |
| touched test files (`test_pin_reachability.py`, `test_preflight.py`, `test_ideation_readiness.py`) | 3 failed, 122 passed (151.02 s) — the three container-local `test_ideation_readiness.py` ones, which fail identically on the pristine clone (3 failed, 42 passed for that file alone) |
| `python3 scripts/doc-health.py --single-repo . --as-of 2026-09-22` (no `--family`, so `run_preflight` runs), before vs after | **byte-identical** — the whole 376-line report; `diff` empty; **113** `- severity=` finding lines unchanged |
| `verify_pin_reachability(".", allow_remote=False)` before vs after | **byte-identical**, 130 lines. (`families.py` names neither `pin_class` nor `ideation_readiness`, so these two sites feed no doc-health family — the pin-reachability probe is their surface, and it is compared directly instead.) |
| `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` | **106 passed, 1 failed** (`add-chain-attestation`) — identical totals on the pristine main clone; that item carries a recorded disposition in `contracts/openspec-cli-pin.yaml` |
| `python3 scripts/proposal-support.py . verify` | `proposal support verification ok` |
Both before/after comparisons swap **only** the three source files inside this one clone (`git show origin/main:<path> > <path>`, run, restore), so the corpus and the checkout kind are identical and the only variable is the code.
## Out of scope
The **61** unbounded `subprocess.run` call sites #1128 mechanically scanned **outside** `scripts/doc_health/` — across 29 files, `scripts/proposal-support.py` alone holding 14, `scripts/sequenced_after.py` 6, `scripts/attest-openspec-cli-pin-lockfile.py` 4 — are **out of scope for this PR and untouched**. That scan is textual only (it cannot resolve kwargs-indirection such as `validate-openspec-cli-pin.py`'s `_run(argv, **kwargs)`), and #1128 names it as a separate finding if it is taken at all.
Lands under Rule 6 on the word when the eight required checks are green and Copilot is clean.
refs #1128
refs #1098
---
## Review round by lane `openxfactory-4` (openXfactory-4-openDox_extraction)
**Driven to the gate by a second lane on the holder's assignment, with Brett Heap's landing word of 2026-09-22 — verbatim *"land #1142 too when green"*, recorded at `#656` comment `5779648105`.** The original authorship above is lane `openxfactory-2`'s and is left as written. **This PR is NOT ratified and needs no ratification**: code-only, no `openspec/changes/` path, no README OpenSpec Records edit — it lands on a **plain gate**, not in a Rule 6 window, and takes no place in the `#1140 → #1141` order.
Two Copilot findings at `d78efc7c`, **both correctness, both taken as fixes** at `9a6dd963`.
### `r4073457110` — the bound turned an unaskable question into a confident answer
`merge-base --is-ancestor` reports *"not an ancestor"* by **exiting non-zero**, which is the same shape the timeout translation produces. So a bound that fired became a confident `False`, and `verify()` published it as **ORPHAN or HISTORICAL** — a pin declared unreached by `main` on a question nobody got to ask. `is_truncated` was worse in kind: it fell through to *"`--is-shallow-repository` is false for `<repo>` and it declares no promisor remote"*, **asserting two observations that were never made**, under a docstring whose first line promises *"OBSERVED not conjectured"*.
**The module's own doctrine had already decided this**, which is what makes the finding decisive rather than arguable:
- `remote_retention_refs` refuses an empty dict for an unaskable namespace, because it *"would be indistinguishable from the namespace is empty, and would silently convert an unaskable question into an answer"*;
- `retention_holder`'s unconsultable remote is reported *"as INCONCLUSIVE rather than as an orphan"*;
- `verify()` already renders `could not be performed` as INCONCLUSIVE for the retention read.
**The fix.** `_git` returns an `_Unavailable` subclass of `CompletedProcess` — still non-zero, so the seven callers that only ever needed *"this did not succeed"* are unchanged, exactly as the translation intends. **A subclass rather than a sentinel returncode**: an exit code would collide the day a real `git` chose the same number, and `isinstance` cannot be spoofed. `reachable_from_main` and `is_truncated` answer `None` for *"could not be asked"*, and `verify()` renders both INCONCLUSIVE at three call sites.
**This reverses a scoping decision this branch had PINNED IN A TEST** — that a third state *"would change a caller contract this fix is not allowed to move"*. The cost the review measured is not payable: **the bound introduced the path, so the bound owns it.** The test is rewritten to pin the corrected behaviour and carries the reversal with its reason.
**The new regression test is proved, not asserted.** `test_an_unaskable_ancestry_is_INCONCLUSIVE_and_never_orphan_or_historical` lets the opening `rev-parse` succeed with **real git** and makes only `merge-base --is-ancestor` unaskable — the scenario the review named, and the only way to reach it, since `verify()` raises `GitUnavailable` on the first probe under a blanket timeout. **Run against the pre-fix reader it FAILS with `assert 'orphan' != 'orphan'`; with the fix it passes.** Both runs were performed.
`ideation_readiness` is **not** in this class and was checked: it handles its timeouts with named errors rather than translating them into a returncode.
### `r4073457175` — the fallback must not raise the race it is the fallback for
Every caller of `_terminate_group` sits inside `_run_entrypoint`'s `except subprocess.TimeoutExpired` handler, **whose whole job is to re-raise that timeout so `run_preflight` can turn it into a finding**. If the child exits between `communicate()` timing out and cleanup, `os.getpgid()` raises `ProcessLookupError` — which is why the fallback exists — and a bare `proc.kill()` can then raise the **same** `ProcessLookupError` from inside the `except` handling it. That second exception **replaces** the `TimeoutExpired`, escapes the handler, and takes the run down at the moment a preflight finding was owed.
`_kill_direct(proc)` swallows `OSError` **and nothing else**; every other exception still propagates and the original timeout is re-raised unchanged. Both call sites use it, including the non-POSIX branch, which carried the same exposure.
### Measurement
`python3 -m pytest tests/doc-health -q` → **1905 passed, 8 failed**. Those 8 are the **same 8 that fail on clean `main` `ac50d70d` in this clone** (`test_ideation_readiness` ×3, `test_readiness_dispatch` ×1, `test_sentinel_vocabulary` ×3, `test_status_reader_real_lines` ×1) — proven by running them on `main` in the same checkout. **Zero new failures.**
**Both threads answered and resolved.**
### Round 2 — the same defect in two more readers, found by the review of the fix
The first round corrected `reachable_from_main` and `is_truncated` and **left two more readers in the same state**. The review caught both; they are taken rather than argued, because the defect is identical and the argument was already made.
| finding | what it was |
| --- | --- |
| `r4073820387` `committed_text` | `git show` reports *"no such path in that revision"* by exiting NON-ZERO — the same shape the bound produces — so a fired bound **silently dropped pin sites from the sweep** and made `index_reproduces_at` report a committed index as uncommitted. **False negatives that look exactly like a clean answer.** Now raises `GitUnavailable`, whose docstring is the doctrine verbatim: *"The repository could not be asked. Never silently a pass."* `list_committed` already raises it for the identical condition **one call earlier in the same walk**, so the two readers now agree. |
| `r4073820387` `retention_holder` | `rev-parse --verify --quiet` reports absence by exiting non-zero, so an unavailable LOCAL read fell through, consulted the remote, and — where the namespace legitimately does not advertise the pin — **published ORPHAN on the strength of a local read that never happened**. Now returns the unavailability, with the detail carrying the exact phrase `verify()` matches to render it INCONCLUSIVE. |
| `r4073820457` `PinClassReport.truncated` | Annotated `bool` while `verify()` assigned the `None` the previous commit made possible — **an API that lied about itself**, introduced by that same commit. Now `bool | None`, with a test pinning the annotation beside the behaviour. |
**Three more regression tests, each failing against the pre-fix reader** — and the `committed_text` one also asserts that a genuinely uncommitted path still answers `None`, so the fix cannot over-reach.
**Measured:** `pytest tests/doc-health` → **1908 passed, 8 failed** — the same 8 that fail on clean `main` `ac50d70d` in this clone, and three more passing than before because of the tests added here. **Zero new failures.**
### Round 3 — the finding a zero-thread count would never have caught
The review at `bf90d87c` reported **"Findings: None"** with **zero unresolved threads**, and carried a **"previously missed"** item in its body — in code this branch had not touched — that was a real defect **this branch had introduced**:
> `is_truncated()` answers THREE states since this branch, and `None` is **FALSEY**. Two real-repository helpers tested `if truncated:`, so an unobservable truncation fell through to `verify()` and asserted `report.clean` — which **deliberately excludes `inconclusive`**. The required reachability proof could therefore pass over unanswered results whenever the remaining pins happened to be reachable.
Fixed at `18dd8158`: both helpers now test `is not False` / `is None` explicitly, and the second says **which** of the two conditions it hit, because *"could not observe"* and *"observed, and it is truncated"* send a reader to different remedies.
**The pattern is worth naming, because it appeared three times on one branch:** introducing a third state into a two-state reader leaves **every truth test on that reader silently wrong**, since the new state is falsey and reads as the old negative. The two production callers were corrected when the state was introduced; two test helpers were not.
**This is also why the review BODY gets read and not just the thread count** — a 0-unresolved count was true and told me nothing.
### Round 4 — the new failure mode had a caller nobody had walked to
`r4074075244`, **HIGH**, at `d78efc7c`: rounds 2–3 made `committed_text` **raise** `GitUnavailable` where it had returned `None`, and **did not walk its callers**. `ideation_readiness.index_reproduces_at` and `_committed_status` both call it, neither caught the new exception, so an unavailable git **took the readiness probe down** instead of answering the NOT-ASKED outcome each of them already has.
Fixed at `3c3deef2`. `index_reproduces_at` returns `(None, "…could not be read at…")` — its own unanswered shape, distinct in wording from *"is not committed"*, because an unreadable file and an absent one send a reader to different remedies. `_committed_status` returns `None`; its docstring now states **why the conflation is acceptable in that one place and nowhere else** — its single caller uses it only to choose a repair route to *print* for a pin already judged a defect.
**Named, because this branch has now produced it twice:** *changing a reader's failure shape is not finished until its callers are walked.* Round 2 caught it for the two production readers; this caught it for the two readiness probes.
### Round 5 — an unreadable ref is not an absent one, and `not None` is not a proof
Two findings at `3c3deef2`, **both correctness, both taken as fixes** at `c3fa4da6`. Both are the **same class this branch exists to remove**: an unaskable question silently converted into an answer.
| finding | disposition |
| --- | --- |
| `r4074256405` `resolve_main()` still treats an unavailable probe as an ordinary missing ref | **FIXED.** `MAIN_REF_ORDER` tries `refs/remotes/origin/main` first because it is the authoritative spelling; `refs/heads/main` is its stand-in **only in a clone that HAS no remote-tracking ref** — the one condition the fallback was written for. `--verify --quiet` spells *"not there"* with the same non-zero exit `_Unavailable` carries, so a probe that TIMED OUT on the authoritative ref promoted the local branch to the authority **for the whole run**, and `verify()` published every reachability verdict in the report against it. A pin that IS an ancestor of `origin/main` but not yet of a stale local `main` comes back **ORPHAN or HISTORICAL** from that. The loop now **stops** at an unavailable ref; `verify()` already answers a `None` `main` with INCONCLUSIVE at every site, so no new verdict was needed downstream. |
| `r4074256452` `not pc.reachable_from_main(...)` passes on the new `None` | **FIXED at both sites.** The reader returns `True`, `False` or `None` and nothing else, so `not X` and `X is False` differ on **exactly one value — `None`**, which is the value this branch introduced. `not None` is true, so **an ancestry read that never happened would have satisfied the very assertion written to prove one did.** Both now demand `is False`; the truthy sibling at the digest-collision fixture is spelled `is True` for the same reason, where it had been failing correctly only by accident. |
**The signature moves to `(value, detail)`** — this module's own shape, already carried by `is_truncated`, `remote_retention_refs` and `retention_holder` — because the two `None`s are **different facts and the report has to say which one it met**. A bare `None` would have left `verify()` printing `no \`main\` in this clone (looked for ...)` over a clone whose `main` may be sitting right there unread: one unmade observation traded for another. Nine call sites moved; measured, there are no others.
**Proved both ways.** `test_an_unreadable_origin_main_does_not_promote_the_local_branch` makes the WRONG answer **available** — `refs/heads/main` is real and readable, only the origin spelling times out — which is the only way to prove the right one is chosen. The module-wide timeout test cannot catch this, because it stops *every* probe: the case the old loop happened to get right. Against the pre-fix fall-through it fails with the defect in its own message:
```
AssertionError: the authoritative ref could not be READ, so the branch half of the
ref set is unknown — not ('refs/heads/main', '5e23da84...'), which is the stale
local branch answering a question that was put to origin
```
A second test pins that the fallback the ORDER exists for **still works**, so the narrowing did not swap one defect for another.
**Where round 5's second fix runs.** Those two assertions sit in `test_every_declared_repo_local_pin_in_this_repository_resolves`, which **skips in the authoring checkout** — a partial clone (`remote.origin.promisor true`), reported as such by the test's own skip reason — so **CI** is what exercises them. That is also why the change is safe there rather than merely intended: the return domain is three-valued, so `is False` can only fail where `not` passed on a `None`.
### Measurement at the head `c3fa4da6`
`pytest tests/doc-health/test_pin_reachability.py` → **77 passed, 8 skipped** (partial-clone skips, self-reported). `pytest tests/doc-health` → **1911 passed, 8 failed** — and those 8 were proved this round rather than recalled: the run was repeated **with these two files stashed**, and the two `FAILED` lists are **byte-identical** (`diff` clean, 8 vs 8). They are this environment's, not this commit's.
*(Round-5 tally as of `c3fa4da6`: five rounds, nine findings. Superseded by the round-6 tally below, stated as of the landing head.)*
### Round 6 — the same class again, and this time it predated the branch
One finding at `c3fa4da6`, **taken as a fix** at `77bc7ef9`. `verify_pin_reachability` called `pin_class.verify()` **with no handler for `GitUnavailable`**, which `verify()` raises from its opening `rev-parse` *and from every later inventory read*. A bound firing on the twentieth `git show` of a sweep therefore escaped as an **uncaught crash** and took down whatever surface called in — a pytest run, a preflight pass, a nightly — **at the moment a SKIP was owed and available**. The function's own contract already had the answer: a three-valued verdict whose third value is `PIN_PROBE_SKIP`, already returned for `report.inconclusive` one branch below.
**WIDENED, NOT CREATED — measured on `origin/main` rather than assumed.** `main` raises `GitUnavailable` in exactly two places: `committed_paths` (`main`:1834) and `verify()`'s opening `rev-parse` (`main`:2453). **`committed_paths` runs AFTER the opening probe**, so the later-read crash was **already reachable on `main`**. What this branch added was a second later raise site, `committed_text`. The regression test proves it **through the OLD site** — the pre-fix failure is raised at `pin_class.py:1976`, inside `committed_paths`, which is `main`'s line:
```
E doc_health.pin_class.GitUnavailable: cannot list committed paths at bc92d20f...
could not be performed: Command '[... ls-tree ...]' timed out after 30 seconds
scripts/doc_health/pin_class.py:1976: GitUnavailable
```
**SKIP and not FAIL, deliberately.** Every FAIL this function returns names a defect **in an artifact** and offers the repair route that artifact's class allows; there is no artifact defect here and no route to offer, only a question that could not be put. **The report is `None` because there is no report** — the inventory never completed, and a fabricated empty one would render as a clean sweep of zero sites, the silent pass this branch exists to prevent.
**The test arms the timeout for `ls-tree` ALONE** and asserts that `rev-parse` ran and succeeded first, because a test that stopped every probe would exercise the opening raise — the path that was never in doubt. A second test pins that the same surface still returns a real verdict and a real report when nothing is interfered with.
### Measurement at the head `77bc7ef9`
`pytest tests/doc-health` → **1913 passed, 8 failed**. The 8 `FAILED` lines are **byte-identical** to the list this clone produces with the branch's changes **stashed** (`diff` clean, 8 vs 8) — compared this round rather than recalled. Zero new failures.
*(Round-6 tally as of `77bc7ef9`: six rounds, ten findings. Superseded by the round-7 tally below, stated as of the landing head.)*
**Five of the six rounds found a defect introduced by the round before it**, and the sixth found one that predated the branch entirely. The pattern is worth stating once, since it is this branch's whole lesson: **changing a reader's failure shape is not finished until its callers are walked — and "the caller" includes the caller's caller.** Round 2 walked the two production readers, round 4 the two readiness probes, round 6 the surface above both.
### Round 7 — the group id was a lookup of a number the code already had
One **previously-missed** finding at `77bc7ef9`, `preflight.py:84`, **taken as a fix** at `91ffa6e6` — in code this branch had already touched once, which is the second time a previously-missed item has caught something a zero-thread count would not have.
`_run_entrypoint` spawns with `start_new_session=True` on exactly this path, so the child calls `setsid()` and **IS** the session and process-group leader: **the group id equals the child pid by construction.** `os.getpgid(proc.pid)` was therefore asking the kernel for a number the function already had — **and asking can FAIL where the answer stays valid.** If the leader has exited and been reaped while a descendant still holds the group and the inherited stdout/stderr pipe — which is *what made `communicate()` block into the bound in the first place* — the lookup raises `ProcessLookupError`, cleanup falls through to `_kill_direct`, and `proc.kill()` on an already-gone leader is a **no-op**. **The descendant then survives while the timeout finding is recorded**: precisely the accumulation `_terminate_group` exists to prevent, arriving by the one route the lookup opened. Signalling the group directly cannot meet that failure, because **a process group outlives its leader as long as any member remains**.
**PID reuse is not a risk, and the ordering is what makes that true rather than luck:** `_terminate_group` runs **before** the reaping `communicate()` in every caller, so the direct child is at worst a **zombie still holding its pid**, and an unreaped pid cannot be recycled. That is stated in the docstring, because a future kill-after-reap would *not* be safe and the next reader should not have to rediscover why.
**`_kill_direct`'s own docstring is corrected in the same commit** — it explained the fallback in terms of *"`os.getpgid()` raises `ProcessLookupError`"*, a call that no longer exists. A comment describing a line that is gone is a comment that will mislead.
**Proved both ways.** The test **builds the shape rather than approximating it**: the wrapper backgrounds a long sleep and **exits** rather than waiting, so the leader is gone within milliseconds while the descendant keeps the pipes open. `os.getpgid` is stubbed to raise the `ProcessLookupError` the premise names, since the reap it depends on is a race that cannot be scheduled. Against the pre-fix lookup:
```
E AssertionError: the descendant (4045338) outlived the timeout: the leader had
already exited, so a pgid LOOKUP failed and the direct kill hit a process that
was gone — while the work this bound exists to stop kept running under a group
nobody signalled
```
**Two assertions, because the behaviour and the design are different claims:** the descendant is dead (the outcome), and the lookup was never consulted (the reason it stays dead in *every* ordering, not only this one).
### Measurement at the landing head `91ffa6e6`
`pytest tests/doc-health/test_preflight.py` → **7 passed**. `pytest tests/doc-health` → **1913 passed, 8 failed**, and the 8 `FAILED` lines are **byte-identical** to the list this clone produces with the branch's changes stashed (`diff` clean, 8 vs 8) — compared again this round rather than carried forward. **Zero new failures.**
**Running tally, as of the landing head `91ffa6e6`: seven rounds, ELEVEN findings, all FIXED, all threads resolved.** The review at `91ffa6e6` reports **Findings: None** with **no Previously-missed block** and **no Suppressed block**, and all 12 checks pass.
**Six of the seven rounds found a defect introduced by the round before it**, and the seventh found one that predated the branch. Stated once, because it is this branch's whole lesson: **changing a reader's failure shape is not finished until its callers are walked — and "the caller" includes the caller's caller.** Round 2 walked the two production readers, round 4 the two readiness probes, round 6 the surface above both, and round 7 the one place that asked the kernel for something it already knew.
## Summary by Sourcery
Bound doc-health subprocesses and preserve honest inconclusive outcomes when git or validator operations cannot be completed.
New Features:
- Add timeout protection and failure handling for the remaining unbounded git and document-validation subprocesses in doc-health checks.
Bug Fixes:
- Prevent hung or unavailable subprocesses from blocking doc-health runs or producing misleading reachability, retention, reproduction, and readiness results.
- Preserve inconclusive or skipped outcomes when repository data cannot be consulted instead of reporting false passes, orphaned pins, or historical pins.
- Ensure timed-out validator process groups and descendants are terminated without masking the original timeout failure.
Enhancements:
- Propagate explicit unavailable states and diagnostic details through pin reachability and readiness checks while preserving existing caller contracts where appropriate.
- Treat authoritative main-ref and ancestry reads as unanswered when unavailable, and require explicit three-state handling in production and regression checks.
Tests:
- Add regression coverage for git and validator timeouts, spawn failures, unavailable repository reads, three-state reachability, readiness mapping, and descendant process cleanup.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
…e-operability
main landed #1141 and #1143 while this PR was under review, and both add an
Active-changes bullet at the same place in README.md's OpenSpec Records block
this packet adds its own. The PR had gone CONFLICTING, so no required check ran
on its head; only SonarCloud, merge-master-approval and Copilot reported.
Resolved by keeping BOTH bullets, verbatim, in the block's alphabetical order:
add-neutral-product-standalone-operability, then
amend-home-adapter-scope-and-mapping-axis-count. Nothing else conflicted. The
machine-seeded tests/sequenced_after/corpus-ledger.yaml merged cleanly, and
`--ledger-diff` is consistent at 227 rows. On the merged tree
`openspec validate --all --strict` gives 112 passed / 1 failed of 113, against
111 / 1 of 112 on main alone: +1 item, +1 passed, zero new failures. The pinned
adjudicated gate exits 0.
Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…sentence becomes history, and 1.8 names both sanctioned citations
Two Low findings on 3f21c94, both taken. Neither touches requirement or
scenario text, and .openspec.yaml's origin block is unchanged, so origin
retention still reads the ratifying commit 3f21c94.
- r4094670415: proposal.md's target_release gloss still said "Until then it is
Status: draft and approves nothing". It now says the packet was draft before
its ratification and was RATIFIED on 2026-09-24 (#656 comment 5815412869).
- r4094670493: tasks.md 1.8's heading said Ratified by: on all three documents,
but this record carries Ratified: on proposal.md. The heading now names one
sanctioned citation per document and the split. A marked parenthesis keeps
the as-filed wording and says why the two differ: document-lifecycle
sanctions both spellings, and the lane's #1140 and #1141 carried this split.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
#656 5815412869) (#1151)
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
**THE RATIFICATION RECORD for `add-neutral-product-standalone-operability`** (landed as a draft by #1144 → `94b6f7f1`). No requirement or scenario text moves. It lands through the holder's lander in a Rule 6 window; this actor merges nothing.
## The word
RULED by Brett Heap, 2026-09-24T13:51:09Z, interactive in the lane session, verbatim *"ratify #1144, land the follow-ons, (a) on C1–C5"*, recorded at #656 comment [`5815412869`](#656 (comment)).
**Only item 1 of that ruling is this PR's subject.** The ruling's other items are other acts:
- item 2, the archive follow-ons;
- item 3, the banked helper items C1–C5;
- item 4, C6, which stays open.
## What is ratified, and what the word authorizes
- **Ratified:** the packet's text at PR #1144's final head `19237b91`. That head landed as squash commit `94b6f7f1` with an identical tree, and the packet did not move between that landing and the word. The next commit on main, #1149 → `dd2466ad`, touched no byte of it.
- **Seventeen requirements and seventy-five scenarios.** The word strikes nothing, so requirement 3 stands. That answers the one question the packet reserved for the ratification read: whether RULED ASK-2 forecloses requirement 3 (`design.md` § D5, `tasks.md` 3.0).
- **Authorized:** per the ruling record, the realization of **release 1** (phases 1-3). None of it happens by the word itself. The ruling record names release 1 alone.
- **Nothing archives or promotes.** The change archives only on merged, green realization evidence for BOTH releases (RULED `5800995035`).
## What this PR changes
The spec delta is untouched, and none of the changes below is requirement or scenario text.
**`proposal.md`**
- `Status: ratified`, with a `Ratified:` citation.
- A qualifier above the filing's "FILING IS NOT RATIFYING" paragraph. That paragraph is kept verbatim as the filing's record.
- A `## Ratification record` section.
- A read-at-ratification note on the ASK-2 paragraph.
**`design.md` and `tasks.md`**
- `Status: ratified`, with a `Ratified by:` citation. This is the citation split the lane's #1140 and #1141 carried.
- The same read-at-ratification note in `design.md` § D5 and in its "What is still open" paragraph.
- `tasks.md` 1.8 (this act) and 3.0 (the ratification read) are ticked. Boxes go from 9 / 106 / 9 to **11 `[x]` / 104 `[ ]` / 9 `[~]`**.
**`.openspec.yaml`**
- `approved_by` / `approved_on` are ADDED after `proposed_on`.
- `kind`, `id`, `reason`, `proposed_by` and `proposed_on` do not move.
- The origin-retention walk resolves the ratifying commit to `3f21c945`: *"ORIGIN RETAINED … declaration unchanged since the ratifying commit"*.
**Also changed**
- **New record:** `review/ratification-2026-09-24.md` (`Status: ratified`, one citation).
- **README.md:** the *Active changes* entry's status, now linking the record.
The sequenced-after ledger row does not move.
## Copilot
- **Round 1 at `3f21c945`: two Low findings, both taken in `00602e31`.**
- `r4094670415`: the `target_release:` gloss still said *"Until then it is `Status: draft` and approves nothing"*. It now says the packet was draft before its ratification.
- `r4094670493`: 1.8's heading named `Ratified by:` on all three documents. It now names one sanctioned citation per document and the split, and a marked parenthesis keeps the as-filed wording.
- `.openspec.yaml` is untouched since the ratifying commit, so origin retention still reads `3f21c945`.
- **Copilot at `00602e31`: "Approval recommended"**, with Findings: None and 0 of 2 threads unresolved.
## Gate state at `00602e31`
The tree is main `dd2466ad` plus this PR's two commits.
```
openspec validate add-neutral-product-standalone-operability --strict → valid
openspec validate --all --strict → 110 passed, 1 failed (111 items); main alone: the same
(the 1 = add-chain-attestation's ratified disposition)
validate-openspec-cli-pin.py --all --no-cache → exit 0, 0 UNDISPOSITIONED failures
validate-code-surface.py . → passed
validate-target-release.py . → passed
validate-sequenced-after.py . / --ledger-diff → pass; ledger consistent (228 rows), this row unmoved
proposal-support.py . verify <change> → ok; origin retention: ORIGIN RETAINED
doc-health.py --single-repo . → report byte-identical to main alone; 0 findings name this packet
(negative control: dropping the Ratified: line fires ratified-provenance)
pytest (doc-health citation/subject, sequenced_after, former_id_arrival,
code_surface, estate_inventory, proposal-support) → 797 passed
```
**CI at `00602e31`: all 14 check runs are green.** `pytest-suite` reports 8440 passed, 6 skipped and 0 failed (junit: selected 8857, failures 0, errors 0). Main is still `dd2466ad`.
**Rule 6:** this PR touches `openspec/changes/` and the README OpenSpec Records block, so it lands in a declared window, and not by this actor.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
The measurement this encodes — reproduced at this PR's own head
Two commands over one tree return opposite verdicts.
python3 scripts/validate-openspec-cli-pin.py --all— the pin'sconsumer_entrypoint:@fission-ai/[email protected], verified against its recorded content addressTotals: 110 passed, 1 failed (111 items), the 1 finding DISPOSITIONED and printed by name with its citation and granting authorityOPENSPEC_TELEMETRY=0 openspec validate --all --strict— the raw toolPATH— not the pinned version at allTotals: 110 passed, 1 failed (111 items)(Counts re-taken at the merged head
925d146b, not carried forward:109items became111becauseorigin/maingained changes between the filing and the merge. The verdicts did not move, which is the claim — same tree, same single finding, exit 0 against exit 1.)Same tree. Same finding. Opposite exit. The finding is
add-chain-attestation/signed-execution-chain/spec.md, carryingratified_by: 'Brett Heap, 2026-09-05, "take exit 2"'incontracts/openspec-cli-pin.yaml, whoseretires_when:is recorded there as expected to be long-lived.Why they differ, and why it is not a matter of strictness. The pinned CLI is a foreign judgment about a local corpus. This corpus has a PROMOTED scenario-rename grammar — the reserved
**Merged into `<title>` by `<change>` (<date>):**marker, canon atopenspec/specs/doc-health/spec.md:1770 — and 1.12.0 cannot read it. The readiness evidence says so plainly (prepare-openspec-1-12-readiness/evidence/openspec-1.12-readiness-2026-09-05.md§ The two refusals): "1.12.0's scenario-currency check is marker-blind. It compares scenario title sets and cannot read the declaration this corpus requires."reconcile()applies the dispositions and computesverdict = 1 if undispositioned else 0. The raw tool has no access to the pin and cannot reach that verdict. Its red is not a stricter reading of the same question; it is a different reader answering a question the repository did not ask it.The rulings
5778300335— the read-only measurement, accepted.5778397686— RULED 2026-09-22T14:33:02Z by Brett Heap, by multi-choice: § 8.9 clause (2) READS LITERALLY; the tick becomes[~].That ruling disposed of ONE box. The defect is a CLASS.
split-opendox-two-layer-product§ 8.9 clause (2) named the raw command, so read literally it could never be ticked while the ratified disposition stood — while the adjudicated gate was green on every pull request throughout (openspec-cli-pin-gateSUCCESS atdf7b0ca7,c273cb39,8fa12dbc). The box took the reserved[~]marker; the same box written tomorrow would cost the same again. Nothing in the corpus yet forbids it. This packet writes that rule down.What the requirement says
A gate step, task box, checklist item, runbook step, review record, agent instruction or other evidence record asserting corpus-wide OpenSpec validation SHALL name the repository's
consumer_entrypoint:invocation in its DEFAULT, PINNED-ARTIFACT form, and SHALL NOT name the raw command — nor any mode of that entrypoint which resolves the tool fromPATHor reads a foreign pin. The flags are part of the name. Five boundaries, all in the normative text:openspec/specs/neutral-product-pin/spec.md:602-604 — and what it cannot do is decide staleness.[~]marker naming the live disposition — and this requirement governs what is written next.pin-disposition-stale. The adjudicated verdict is strictly more informative than the raw one, and more permissive in exactly one respect and no other — the findings this corpus has itself named, cited and ratified against, which is the purpose of the mechanism and not a leak in it.Which capability owns this — decided by reading
neutral-product-pin, as## ADDED. Every noun in the rule — the pinned CLI, theconsumer_entrypoint:, thedispositions:, the adjudicated verdict — is this capability's own, and its## Purposealready claims the neighbouring ground: "The capability makes which reader ran an auditable digest." This extends that from which reader ran to which verdict is the repository's.doc-health— it owns theMerged intomarker whose unreadability causes the finding, but neither the pin, nor the entrypoint, nor the dispositions. The remedy would sit in a different capability from the mechanism it depends on.5777949892: "It leaves ONE rule in the corpus rather than a rule and an exception."design.mdD1 writes the contrary reading out and tests it.The upstream fix — REGISTERED, never proposed
The marker-blindness class would be retired by an upstream CLI that reads the declared rename. The CLI is CONSUMED, never vendored or patched (
package: "@fission-ai/openspec",source_repository: Fission-AI/OpenSpec); the pin stands at1.12.0(contracts/openspec-cli-pin.yaml:318) and1.13.1is published upstream. This packet does not propose the bump: moving the pin is a ratified human-only act that must carry target-version evidence and re-derive every disposition in the same change, and whether1.13.1reads the marker is unmeasured here. And retiring that class would not retire this requirement — a second disposition class (canon moved under an un-re-derived delta) is live in the pin file today, and any future disposition re-creates the divergence.Measurements and scope
code_surface: none, MEASURED — the one enforced corpus-wide gate already names the entrypoint:.github/workflows/openspec-cli-pin-gate.yml:101 ispython3 scripts/validate-openspec-cli-pin.py --all --no-cache, the workflow's sole step.scripts/validate-openspec-cli-pin.py, itsreconcile(), andcontracts/openspec-cli-pin.yamlare not edited.design.mdD4, residue attasks.md§ 5.1): a mechanical reader would first have to tell an ASSERTION of a green corpus from a CITATION of this defect — this packet's own files contain the raw command as quoted text, and so would every future record about it. A checker that could not tell those apart would red the packet that defines it.tasks.md§ 5.2). Archived records are frozen and ratified text is amended only by its own instrument.Note for the lander — the predicted conflict happened, and is resolved
This PR and #1140 (the sibling encoding of
5777949892) both touched the README OpenSpec Records block andtests/sequenced_after/corpus-ledger.yaml. #1140 landed first ase90997bc(squash, 2026-09-22T18:15:38Z), and this branch then tookgit merge origin/main— a merge, never a rebase, because the branch is pushed.One conflict,
README.md, and it was an ADD/ADD at the same insertion point in the Records Active changes list: #1140's entry against this packet's. BOTH ARE KEPT, #1140's first because it is already main's content — which makes this branch's diff against main a pure addition of the second entry. Neither line was dropped, shortened or reworded.tests/sequenced_after/corpus-ledger.yamlauto-merged cleanly and carries BOTH rows —amend-neutral-product-pin-source-tree-digestmoved_by: "#1140"andrequire-adjudicated-validation-entrypointmoved_by: "#1141". Verified by reading the merged file, not inferred from the absence of a conflict marker. No re-seed was owed: the seeder had already written this packet's row, and the merge did not disturb it.Submodules were restored with
git submodule update --initrather than staged, soopenDoxandopenXdoxstand at the gitlinks main pins.Re-validated after the merge, at
925d146b:openspec validate require-adjudicated-validation-entrypoint --strict→ exit 0, "Change … is valid"; the adjudicated entrypoint → exit 0; the raw tool → exit 1. The single red is the inheritedadd-chain-attestationdisposition, which is this packet's own worked example and not a defect introduced here.Copilot round 1 — three fixes plus the task-marker mechanism, at
c36ff08cEvery finding was measured against the ratified text before it was taken.
r4073184083the narrowed-run sentence contradicted canonopenspec/specs/neutral-product-pin/spec.md:602-604 says a narrowed run SHALL still APPLY the ones it matches and only may not decide staleness. Scoped to staleness. A packet whose whole subject is deferring to the disposition mechanism could not afford to misstate it.r4073391844the subject did not carry what the packet claimedr4073391907"never more permissive" was false on its facer4073184032§ 5 residue must carry[~]#1140too.proposal-support.py:4633 refuses an archive on any literal- [ ], so work this packet will never do could only ever be ticked falsely. §§ 1 and 4 keep- [ ]deliberately — those will be ticked, by the ratifying and archiving acts.r4073183972.openspec.yamlorigin landed at50ac2fc5.All threads answered and resolved. Re-validated after the fixes: pinned entrypoint
1 passed, 0 failed;code_surface/target_release/sequenced_aftergreen;doc-healthnames this packet in zero findings.Copilot rounds 2 and 3 — two real holes in the rule, and a count that lagged twice
r4073721220the flags are part of the name--all, so--path-modeor an alternate--pinsatisfied the letter of the rule while resolving the tool fromPATHor reading a foreign pin — precisely the invocation the capability already forbids a required check to use. The subject now requires the DEFAULT, PINNED-ARTIFACT form and excludes both modes by name, with its own paragraph and scenario.r4073721379, thenr4073925702/r4073925824r4073925779,r4073925865,r4073925957tasks.md§ 2.1 and the Impact line all said five where the delta has seven. Re-derived fromgrep -c "^#### Scenario:"rather than carried forward — the discipline is now written into the task line.r4073925921r4073721291,r4073721340r4073798745,r4073798821design.mdD6 said "It ratifies nothing" four lines below its ownRatified by:header, and the tasks preamble said "§ 1 is OPEN" with § 1.1 and § 1.2 ticked.All threads answered and resolved. Re-validated at the current head: pinned entrypoint
1 passed, 0 failed;code_surface/target_release/sequenced_aftergreen;doc-healthnames this packet in zero findings.Copilot round 4
r4073991484the Impact line said five scenarios691a7dfc, before the review naming it was posted.Running tally, as of
8006bcab: four rounds, EIGHTEEN findings — 16 FIXED, 2 true when written and already false at the head they were raised against. All threads resolved.Copilot rounds 5 and 6 — what a merge silently invalidates
#1140landed first, this branch took the merge-from-main it required, and both rounds since are the same lesson twice: anything pinned to a POSITION goes stale under a merge, and nothing warns you.Round 5 — three findings at
925d146b, one fact. The merge grew the corpus, so--allreads110 passed / 1 failed (111 items)where the ratified packet recorded108 / 1 / 109. I had updated this description and left the packet behind, so the two disagreed at the same head — with the README entry, the user-facing status record, asserting a measurement this head does not produce. The item count tracks the size ofmain's corpus; the VERDICTS are the claim and they did not move. So every current-evidence copy (README Records entry,proposal.mdtable,tasks.md§ 3.1,.openspec.yamloriginreason:) now names the head it is from, withc36ff08c's figures beside it — whilereview/ratification-2026-09-22.mdis LABELLED, NOT REWRITTEN, because a ratification record's job is to freeze what the ratifying word was given.Round 6 — five previously-missed findings at
44ca473f, also one class. The merge moved the canon files and six citations still pointed at the old lines. Measured at this head:doc-health/spec.md:1770 is theRemoved from canonbullet and theMerged intoform is at :1772;neutral-product-pin/spec.md:602-604 is Scenario: The target version fails on conditions that predate the bump and the narrowed-run rule is at :663-668. Both stale pointers landed on REAL BUT WRONG TEXT — the dangerous kind, because neither looks like a broken link. Six sites corrected, and the two load-bearing citations now QUOTE the sentence or NAME the form they point at, so the next drift is visible rather than silent. The ratification record is corrected here — a citation is a pointer to unchanged canon, not a record of the evidence behind the word, and the two are treated differently on purpose.README.md:1958 and:2025are stale the same way and are NOT touched — they belong todisposition-codexfactory-declared-renamesandprepare-openspec-1-12-readiness(git blame:9adcb05d,552a3a76). Another change's record is not this packet's to edit; they are reported instead.Running tally, as of the landing head
ba7d427b: six rounds. All findings FIXED, all threads resolved. Re-validated at this head:openspec validate … --strict→ exit 0; the adjudicated entrypoint → exit 0,110 passed, 1 failed (111 items);doc-health --family proposal-origin→ exit 0, naming this packet in nothing;code_surface,target_release,validate-sequenced-after→ exit 0. Each corrected pointer was re-read at its new line.Summary by Sourcery
Require corpus-wide OpenSpec validation assertions to identify the repository's adjudicated, pinned entrypoint so written evidence reflects the authoritative verdict.
New Features:
Enhancements:
Documentation:
Tests:
🤖 Generated with Claude Code