Repository navigation
Propose amend-unreadable-read-sibling-scenarios: every unreadable read at the published tip names both facts (successor to #678) - #688
Conversation
…hich The clause amend-published-tip-unreadable-scenario retired — "the commonest cause being a checkout that has not fetched that commit" — was written TWICE. #678 replaced it in the manifest scenario; the sibling scenario "The changelog cannot be read at the published tip" carries it word for word over contracts/CHANGELOG.md at openspec/specs/doc-health/spec.md:2818. #678 found that after ratification, refused to widen its own ratified scope, and recorded the sibling as an OWED SUCCESSOR in tasks.md 4.2 with one reading owed first: the changelog read has no presence probe of its own, it inherits the manifest read's. This is that successor, and it answers the reading in both halves. THE PROBE IS INHERITED AND IT IS COMPLETE, so none is added. obtain_commit runs above, and the changelog guard is only ever reached with a manifest that READ at the same commit — blobs_at sends <commit>:<path> to cat-file --batch, which answers missing for EVERY spec of a commit the clone does not hold, so a manifest that read is proof the commit is held. At that read the unfetched fact is not the rarer one: it is EXCLUDED. THE WORDS ARE NOT INHERITED, and that is why this is a code surface. The manifest read answers its held-and-empty case in words that state the presence; the changelog read answers the identical state with "could not be read at the published tip", which a reader is entitled to read as a fetch defect — #612's cost, one document over. Writing the third bullet of #678's shape into canon while the checker says otherwise would invert #678: canon out-running the machinery instead of catching up to it. So the bullet is made true here, in ONE Skip reason and the comment above it, with one test added. No control flow, no severity, no threshold, no floor, no path and no arm moves; a below-floor repository with no changelog still returns []. The three substrings the suite already pins are all still carried, so the existing changelog test passes unchanged and the new assertions sit beside it — including a NEGATIVE one against the manifest arm's "a bounded fetch of exactly that commit was attempted" words, because two skips pinned only positively drift into each other's language. The delta restates doc-health's "Release-tag publication" in full — every body unit and all 30 promoted scenario titles, byte-faithful, INCLUDING #678's own amendment note and its `Removed from canon by` marker, which promoted into canon with the requirement and are carried rather than restated — and changes exactly one scenario: the WHEN bullet REPLACED to name both facts, plus two AND bullets, one saying the family has established which holds (here by inheritance, and completely) and one requiring the held-and-absent case to say so and state the presence. The promoted THEN and the closing "not fetched is not an answer" clause are carried byte-identical. ONE CANON UNIT IS DROPPED AND IT IS DECLARED, in a DOUBLE-backtick span because the unit itself contains a single-backtick one. Proven both ways: with the marker removed the family reports "does not carry 1 of the 222 body units and scenario bullets" naming exactly that WHEN, with a scenario title mutated it reports "omits 1 of the 30 scenarios"; restored, it names this change zero times. NOT RATIFIED AND NOT ADMITTED. .openspec.yaml carries drafting provenance with no approval pair, every document carries Status: draft, and design.md D2 is the veto point: whether the third bullet, and with it the code surface, is in scope at all — option A (two bullets, code_surface: none) and option B (three bullets, code owing) are written out with their costs. Refs #662 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-1
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
…t number python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#688' --moved-on 2026-09-05. One row: {state: active, class: co-modifier, declares: absent, prose: false}. class: co-modifier because the MODIFIED block writes doc-health's "Release-tag publication", a key add-release-tag-publication-check, declare-spent-bundle-state, add-release-tag-gate and amend-published-tip-unreadable-scenario already write. ALL FOUR ARE ARCHIVED and all four were co-modifiers before this change, so NO PARTNER FLIPS and NO MOVEMENT LOG entry is owed. 172 -> 173 rows; --ledger-diff now reads "per-change sweep ledger consistent with the corpus (173 rows)" and tests/sequenced_after is 162 passed, where the four test_sweep failures before seeding were exactly the missing row. Refs #662 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-1
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
🟢 Approval recommended
The code change is narrowly scoped to skip-message wording, is internally consistent with the control-flow invariants, and is backed by a targeted regression test.
Pull request overview
This pull request proposes the OpenSpec successor change amend-unreadable-read-sibling-scenarios, aligning the Release-tag publication “changelog unreadable at published tip” scenario with the already-amended “manifest unreadable” sibling by explicitly distinguishing the two underlying facts an empty blob read can represent.
Changes:
- Updates
release_tag_publication.check_repo’s changelog-missing skip reason to explicitly state the published tip is held and the changelog file is absent (not “unfetched”). - Adds a regression test pinning the new skip wording fragments and ensuring it cannot be confused with the manifest-arm “bounded fetch attempted” wording.
- Introduces the new OpenSpec change packet (proposal/design/spec/tasks + drafting provenance) and registers it in the README Active changes index and the sequenced-after corpus ledger.
File summaries
| File | Description |
|---|---|
| tests/sequenced_after/corpus-ledger.yaml | Seeds the corpus-sweep ledger row for the new active change (#688). |
| tests/doc-health/test_release_tag_publication.py | Adds constants + a new test asserting the changelog skip states “tip held/file absent” and is not the manifest unfetched wording. |
| scripts/doc_health/release_tag_publication.py | Refines the changelog-unreadable skip message to state the held-tip/absent-file fact for the reachable state. |
| README.md | Adds the new change to the “OpenSpec Records → Active changes” index with its status and rationale summary. |
| openspec/changes/amend-unreadable-read-sibling-scenarios/tasks.md | Records the task decomposition and verification evidence checklist for this packet (draft). |
| openspec/changes/amend-unreadable-read-sibling-scenarios/specs/doc-health/spec.md | Adds the MODIFIED requirement block updating only the changelog scenario bullets and carrying the required removal marker. |
| openspec/changes/amend-unreadable-read-sibling-scenarios/proposal.md | Defines the proposed change scope, sequencing rationale, and the “probe inherited/words not inherited” reading (draft). |
| openspec/changes/amend-unreadable-read-sibling-scenarios/design.md | Captures the decision points (notably D2/D3) driving the code-surface choice and “no extra probe” rationale (draft). |
| openspec/changes/amend-unreadable-read-sibling-scenarios/.openspec.yaml | Declares drafting provenance/origin metadata and related-change links for the packet. |
Review details
- Files reviewed: 9/9 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Lane: openxfactory-1 (openXfactory-1) Independent review — round 1 recorded, including an ABSENCECodex: REFUSED, and it is recorded rather than passed over. Sourcery: the private-repo upsell stub, as always. Not a review. Copilot, round 1 on head Checks — ALL GREEN on head
|
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
origin/main advanced to 76434aa (implement-omniworker-install-repo, #680) while this pull request's checks were running. Two files collide at the same insertion points, and both are resolved by KEEPING BOTH: - README.md "Active changes:" — both rows are inserted at the head of the list. Kept both, this branch's first, exactly as #678 resolved the same collision with #677. - tests/sequenced_after/corpus-ledger.yaml — auto-merged: the two rows are alphabetically apart (amend-unreadable-read-sibling-scenarios at 186, implement-omniworker-install-repo at 214). Nothing of this packet's row moved. Every measurement in the pull request body is re-derived on this merged tree before the freeze, because a pre-merge reading would charge this packet with another lane's findings. Refs #662 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-1
There was a problem hiding this comment.
🟡 Changes recommended
The new doc-health test asserts “tip is held” wording without setting the FakeGit object-store precondition (present_commits) needed to model that state realistically.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
| out = rtp.check_repo("alphaFactory", Path("r"), | ||
| _NoChangelog(remotes={"r": "tip"})) |
|
Lane: openxfactory-1 (openXfactory-1) FROZEN at
|
| gate | pre-merge | on 3bb41b63 |
|---|---|---|
openspec validate --all --strict |
92 passed / 2 failed (94) | 93 passed / 2 failed (95) |
pinned 1.12 entrypoint, --all --no-cache |
0 undispositioned | 0 undispositioned |
validate-sequenced-after.py . |
35 active, 2 declaring | 36 active, 2 declaring |
--ledger-diff |
173 rows, consistent | 174 rows, consistent |
pytest tests/doc-health tests/sequenced_after -q |
1735 + 4 pre-seed failures | 1739 passed |
The item and row counts move by exactly one each, and the one is #680's, not this packet's.
python3 scripts/doc-health.py --single-repo . — SAME-CLOCK CONTROL against the merged main 76434aac, two worktrees, minutes apart:
| critical | error | warning | info | |
|---|---|---|---|---|
main 76434aac |
8 | 7 | 30 | 13 |
branch 3bb41b63 |
8 | 7 | 30 | 13 |
A line-by-line diff of the two reports, with the checkout's own directory name normalized, is EMPTY — no line differs at all this time, not even the three identity lines the pre-merge comparison had to normalize away.
The modified-block-currency probe stands unchanged and is not re-run theatre: the delta is byte-identical across the merge and canon did not move, so the two firings already recorded (marker removed → "does not carry 1 of the 222 body units and scenario bullets" naming exactly the retired changelog WHEN; a scenario title mutated → "omits 1 of the 30 scenarios"; restored → silent) are measurements of this tree.
Checks — ALL GREEN on 3bb41b63
clearing-dispatch-gate, lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, pytest-suite (22m2s), release-tag-gate, signed-execution-chain-gate, wallet-validation — 9 pass, 0 fail, 0 pending. mergeStateStatus: BLOCKED is the required-review gate and nothing else; the tree is MERGEABLE.
main moved again to b6804991 (#689) after this head was pushed, and it does NOT conflict — checked with git merge-tree --write-tree, and #689 touches none of this branch's files (workflows, the CLI pin, the review-lane floor snapshot). No second merge is taken: taking one would invalidate the measurements above for nothing.
The state this is frozen in
NOT RATIFIED, NOT ADMITTED, NOT MERGED BY THIS LANE. No word admits or ratifies this packet; .openspec.yaml carries drafting provenance with no approval pair and every document carries Status: draft.
Codex never ran — refused on usage limits, recorded in the comment above. Copilot round 1: 🟢 Approval recommended, 0 inline comments, on the pre-merge head 04c2a97b, whose packet content is byte-identical to this one.
Two things want a human word, and neither is a check:
design.mdD2 — the veto point. Whether the third bullet (the skip MUST say the commit is held and MUST state the presence), and with itcode_surface: openxFactory, is in scope at all. Option A is two bullets andcode_surface: none, which archives on landing but leaves canon permitting the answer release-tag-publication: 9 domain repos read "not checked" every nightly — the published tip's contracts/manifest.yaml is not present in the aggregation checkout #612 was filed against; option B is three bullets with the code left owing, which inverts Canon catches up with the checker: name both facts behind an unreadable manifest read (amend-published-tip-unreadable-scenario) #678. C was taken.- The
code_surfacereading itself, because it is the one place this packet departs from what the predecessor expected of it. Canon catches up with the checker: name both facts behind an unreadable manifest read (amend-published-tip-unreadable-scenario) #678 called the successor "one line plus a marker". The probe reading came back exactly as it predicted — inherited, and complete — but the WORDS reading did not, and that is what makes this a code surface rather than a prose change.
🤖 Generated with Claude Code
…n declaration `origin/main` moved to `9b1888bb` while this packet was in review — #693 restored the archived origin declaration of `amend-published-tip-unreadable-scenario` to its ratified text, #694 routed `proposal-support` archiving through the pinned OpenSpec CLI rather than PATH, and #684/#696 landed beside them. Every hunk auto-merged: README kept main's side and this packet's Active row, and the corpus ledger kept both this row (`moved_by: "#688"`) and #685's archived row for the predecessor. No row moved, no partner flipped, so no MOVEMENT LOG entry is owed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-1
… name the owed successor Three findings from the pull request's adversarial review, folded BEFORE ratification because a ratified packet's own documents are what the record is taken against. **P3 — the skip asserted a fact it does not have, and now states the read.** `blobs_at`'s per-path None does not stand for two facts but for a class: the commit is not held, OR the commit is held and no readable blob comes back at that path — the tree carrying no such entry, or the BLOB OBJECT itself being absent from a partial or pruned store. The third state is not hypothetical: remove the loose object and `cat-file --batch` answers `<spec> missing` for a path `ls-tree` still lists (measured, `scripts/doc_health/corpus.py`'s batch protocol). So the skip no longer says the commit "IS present and carries no contracts/CHANGELOG.md" — a claim about the TREE — and says instead that "the commit is held in this store and no readable contracts/CHANGELOG.md blob is reachable at it", which is TRUE OF BOTH held states. Every substring the suite already pins is still carried; the over-claiming form is now pinned against NEGATIVELY in the same test, beside the existing negative pin on the manifest arm's words. The delta's amended `WHEN` and its added `AND` are narrowed to match — EDITING ONLY THE UNITS THIS BLOCK ADDS, so the marker still declares the one dropped canon unit and every carried unit stays byte-identical. **P2 — the held-and-absent skip still suppresses the grading, and the successor is named rather than quietly carried.** The `if changelog is None:` guard stands ABOVE the `in_scope` loop and RETURNS, so a held tip with an in-scope bundle and no changelog is answered with a skip INSTEAD OF the tag findings the loop would emit. Measured on a shim: tag absent + no changelog blob at a held tip → one `Skip`; the SAME shim with an EMPTY changelog → one `error` on the untagged bundle. NOT a regression — `origin/main` answers identically — and NOT fixed here: moving that return decides which findings an in-scope repository receives, which owes its own scenarios, severity reading and measurement. Recorded as a carve-out in `proposal.md` § What this proposal does NOT claim, as `design.md` **D6** with what the successor owes, and as an UNTICKED `tasks.md` § 6 — the same shape #678 used to name this packet. **P3 — one false positive the sweep's own grep raised was missing from the list.** `openspec/specs/ideation-cross-reference/spec.md:386` ("a clone that has not fetched it") is added as `tasks.md` § 2.6 with its reason: pin reachability, a different family, where the phrase is used correctly. **README — the stale ACTIVE row for the archived predecessor is removed.** `amend-published-tip-unreadable-scenario` was archived by #685 and its Active row went on pointing at `openspec/changes/amend-published-tip-unreadable-scenario/proposal.md`, a path that no longer exists. The archived row at the foot of the file is the live one and is untouched. Pre-existing on `main`; removed here because this pull request is already editing that block. **Copilot round 2 (🟡) — the held-tip precondition is now DECLARED rather than assumed.** The new test asserted held-tip words over a `FakeGit` whose object store is pessimistic by default (nothing present, nothing fetchable), so the double said the tip was absent while the assertion said it was held. The shim now sets `present_commits={"tip"}` and the test asserts `fetch_calls == []`, which pins the words over a store that actually holds the commit AND holds it without a round trip. Folded here because the P3 narrowing above makes the skip say MORE about the store, not less. Gates at this tree: `openspec validate <change> --strict` valid; `--all --strict` 95 passed / 0 failed (95 items) on the PATH CLI 1.2.0; the PINNED 1.12 entrypoint `validate-openspec-cli-pin.py --all --no-cache` 93 passed / 2 failed (95), both #677's standing dispositions and 0 UNDISPOSITIONED; `validate-sequenced-after.py .` passed (36 active, 2 declaring) and `--ledger-diff` consistent over 174 rows; `pytest tests/doc-health tests/sequenced_after -q` 1739 passed (release-tag-publication module 146); `doc-health.py --single-repo .` identical to a same-clock control at `origin/main` 9b1888b apart from the checkout's own directory name; and the modified-block-currency mutation probe fires BOTH ways (marker removed → 1 of 222 units, the retired changelog `WHEN`; scenario title mutated → 1 of 30 scenarios) and is silent restored. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-1
…f 2026-09-05 **RATIFIED 2026-09-05 by Brett Heap (openxFactory operator authority), in session, verbatim: "ratify 688, land it when green".** The citation is ONE line — `proposal.md`'s front-matter `Ratified:`, which is what `ratified-provenance` counts — and the record is `review/ratification-2026-09-05.md`, with the verification run beside it at `review/verification-2026-09-05.md`. **THE VETO POINT WAS PUT AND WAS NOT TAKEN.** `design.md` D2 — whether the third bullet, and with it `code_surface: openxFactory`, is in scope at all — was named as this packet's veto point in the pull request body, in `tasks.md` § 1.2 and in the README row, with options A (two bullets, `code_surface: none`) and B (three bullets, code owing) written out beside option C's cost. C is ratified as designed, AND THE COST IS RATIFIED WITH IT: under `release-realization` this packet archives on merged-plus-green realization evidence rather than on landing. **THE ADVERSARIAL REVIEW'S P2 IS RATIFIED AS AN OWED SUCCESSOR, NOT AS FIXED.** The held-and-absent skip still returns above the `in_scope` loop and so suppresses findings the family would otherwise emit (measured: no changelog → `Skip`, empty changelog → one `error`; identical on `origin/main`). It was folded into the text the word was given over — a named carve-out in `proposal.md`, `design.md` D6 with what the successor owes, and an UNTICKED `tasks.md` § 6. **`.openspec.yaml` GAINS THE APPROVAL PAIR AND NOTHING ELSE MOVES IN IT.** `proposal-origin`'s class 7 reports an ERROR for a proposal declaring `Status: ratified` while its origin asserts no approval, and it was MADE TO FIRE and then cleared rather than assumed away: with the status set and the origin untouched, `doc-health --family proposal-origin` named this change; adding `approved_by` + `approved_on` beside the retained `proposed_by`/`proposed_on` — `kind` and `id` unmoved, the addition-not-rewrite shape `add-drafted-proposal-origin` defined for this transition — clears it. **That file is not edited again after this commit.** Also in this commit: `design.md` and `tasks.md` take `Status: ratified` with one `Ratified by:` citation each; `tasks.md` § 1 is ticked (1.1 the act, 1.2 D2 ratified as designed); the README row takes RATIFIED wording and records both the carve-out and the stale-row repair. **The ledger is UNMOVED by ratification** and confirmed so: a row's derived keys read no lifecycle status, and `validate-sequenced-after.py . --ledger-diff` is consistent over 174 rows with this change's row exactly as `04c2a97b` seeded it. Gates re-derived on this tree, pre-capture: `openspec validate amend-unreadable-read-sibling-scenarios --strict` valid; `--all --strict` 95 passed / 0 failed (95 items) on the PATH CLI 1.2.0; the pinned 1.12 entrypoint `validate-openspec-cli-pin.py --all --no-cache` 93 passed / 2 failed (95), both #677's standing dispositions, 0 UNDISPOSITIONED and no third; `validate-sequenced-after.py .` passed (36 active, 2 declaring) and `--ledger-diff` consistent over 174 rows; `pytest tests/doc-health tests/sequenced_after -q` 1739 passed (release-tag-publication module 146); `doc-health.py --single-repo .` reads 8 critical / 7 error / 30 warning / 13 info against a SAME-CLOCK control at `origin/main` 9b1888b reading the same, with a line-by-line diff that is EMPTY once the checkout's own directory name is normalized. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-1
There was a problem hiding this comment.
🟡 Changes recommended
There are minor but concrete correctness issues in documentation/test scaffolding within the changed hunks (stored as PR comments) that should be addressed before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
tests/doc-health/test_release_tag_publication.py:2065
- The new skip wording asserts the published tip is held. The earlier
test_an_unreadable_changelog_at_the_published_tip_skipscurrently constructs_NoChangelogwithout declaringpresent_commits, which creates an impossible FakeGit state (manifest readable at an absent commit) that RealGit cannot produce and can mask regressions around the obtain/fetch gating.
assert "contract-v2.0" in out.reason
- Files reviewed: 11/11 changed files
- Comments generated: 1
- Review effort level: Lite
| openxFactory operator authority, in-session, *"ratify 688, land it when | ||
| green"*; records | ||
| `openspec/changes/amend-unreadable-read-sibling-scenarios/review/ratification-2026-09-05.md` | ||
| and `verification-2026-09-05.md`). `.openspec.yaml` keeps the drafting |
|
LANDING — lane openxfactory-1 (openXfactory-1), session 5e783e4d, 2026-09-05T21:53:08Z, PR #688 into opensoft/openxFactory main (protocol Rule 6: other lanes hold merges into main until LANDED or 30 min). |
|
Lane: openxfactory-1 (openXfactory-1; session 5e783e4d) Provenance for the admin merge of #688 (
🤖 Generated with Claude Code |
|
LANDED — lane openxfactory-1 (openXfactory-1), 2026-09-05T21:53:21Z, PR #688 → merge |
… task list claims Adversarial verdict on #703 (`b8066e41`), folded. **Nothing in `.openspec.yaml` or in either `Status: record` document is touched — verified byte-for-byte against the ratifying commit `d6fd07b1` after this edit, and the landed origin-retention gate re-run: ORIGIN RETAINED.** **P2-1 — § 6's ticks contradicted the immutable record in mechanical state, and the forcing cause was unstated.** `review/ratification-2026-09-05.md:146` describes § 6 as UNTICKED; commit `07b1956a` ticked both boxes AND deleted the ratified sentence *"This box stays UNTICKED: it is the next packet's, exactly as #678's § 4.2 held this one"*, saying only that the recording was what was ticked. The cause is real and was checkable all along — `scripts/proposal-support.py:1330-1331` refuses any `- [ ]` with *"change has incomplete tasks"* and has no bypass flag, so the archive act this packet's own `code_surface` requires cannot be taken with a box open — but it was nowhere in the packet. A dated disposition paragraph now opens § 6 and states exactly that: the record's instruction was unsatisfiable through the sanctioned archive path, the boxes are ticked ON THE RECORDING of the owed successor (precedent #678 § 4.2), **the defect itself is NOT fixed**, and the record's text stands as written and is not contradicted in substance. **The deleted sentence is quoted back into that paragraph verbatim so it is not lost.** **P2-2 — three ticks claimed evidence the packet did not carry.** § 5.6 said the mutation probe was *"Recorded in the pull request"* without saying which, and §§ 5.3/5.5 named runs whose numbers lived only in a pull request body that answered them with "see below". All three now cite **PR #703** by number (and #688 for the ratified tree), and #703's body carries the actual results. § 5.6 also records WHY the probe cannot be re-derived here: `modified-block-currency` reads ACTIVE changes, so once archived the family no longer reads this block — its successor evidence on this tree is the byte-identity comparison of the promoted requirement against the archived delta. **P3 — § 5.7's tick preceded the fact by one commit, and now says so.** The row was seeded `moved_by: "#688"` at `state: active` when the box was ticked; the archive moved it to `archived` / `#703` one commit later, because the real pull request number does not exist until the pull request does. Defensible and the documented order — and an order in which a tick briefly runs ahead of the fact, which is what Copilot caught on #678 § 3.6 and again on #703 round 1. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv Lane: openxfactory-1
… realized by #688 (a59d546), green on main (run 33995187827) (#703) Lane: openxfactory-1 (openXfactory-1) Archive of amend-unreadable-read-sibling-scenarios (ratified 2026-09-05; realized by #688 a59d546; green on main run 33995187827). First archive under the origin-retention gate (#695) and the pinned-CLI archive (#694): origin block and records byte-identical to the ratifying commit d6fd07b; MODIFIED promoted into doc-health canon byte-identical; one ledger row; owed successor (D6) carried. Brett's word: 'land it when green'. Landed under Rule 6. Admin merge: self-authored PR (standing pattern B2). Refs #662 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
…as not (#753 fix round) THE TWO SKIPS D3a KEEPS NAMED A CAUSE NEITHER OF THEM CHECKS. The damaged-store skip said the read was "an object store that cannot serve what it lists" — `ls_tree_paths` runs `ls-tree -r --name-only`, which filters by NO OBJECT TYPE, so an entry listing at that path may be a blob this store has lost OR a GITLINK whose target commit this clone does not hold. Measured on a constructed repository: a submodule at `contracts/CHANGELOG.md` lists exactly as a blob does while `cat-file --batch` answers `missing` for it. The skip now states the two facts it has — the tree LISTS AN ENTRY at that path, no readable blob came back for it — and the conclusion they support, a READ THAT FAILED. The listing was NOT made type-aware: it would widen the seam to buy a distinction neither arm acts on. AND BOTH SKIPS NOW STATE THE PRESENCE. Both stand BELOW the held-tip split and are unreachable above it, so both say the tip is one "WHICH THIS CLONE HOLDS" — the rule #688 ratified over the sibling read. Without it the fail-closed UNESTABLISHED skip read as the unfetched case's words and sent a reader after a fetch defect that cannot be. THE `in_scope` GATE ON THE TREE CONSULTATION WAS UNPINNED, AND NOW IS. Dropping `and in_scope` left ALL 151 tests green: the below-floor control ran through `_NoChangelog` alone, whose tree lists nothing, so it reached neither branch the gate holds back, and the `info` below carries a gate of its own. Unpinned, a below-floor repository with a damaged store would have gained a permanent "not checked" whose skip names an EMPTY set of bundles it declined to look for. `test_a_below_floor_repository_reaches_no_third_state_skip_either` runs the below-floor control through `_TreeListsChangelog` AND `_UnlistableTree`, held tip and unfetched, with a positive control one version up. The mutation now fails exactly that test and nothing else. TWO NOTES TAKEN. "NO SPENT DECLARATION EXISTS" is qualified to the path it read, and its negation is brought into the reworded arms' vocabulary; the comment claiming the tree is consulted "ONCE, AND ONLY HERE" is corrected to ONCE ON THIS ARM — `cut_bundles` already lists `contracts/releases/` on every run. Module 151 -> 152. Probes at this head: revert the held-tip split, 5 failed / 147 passed; disable the tree consultation, 3 / 149; drop `and in_scope`, 1 / 151; restored, 152. No severity, path or identity of any finding moves. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
Lane: openxfactory-1 (openXfactory-1)
Status: RATIFIED 2026-09-05 by Brett Heap (openxFactory operator authority), in session, verbatim "ratify 688, land it when green". ONE citation line, in
proposal.md's front matter; records atopenspec/changes/amend-unreadable-read-sibling-scenarios/review/ratification-2026-09-05.mdandverification-2026-09-05.md.Refs #662
The successor the archive names as owed
amend-published-tip-unreadable-scenario(#678, merge87c15baa; archived by #685) retired one clause fromdoc-health's promoted Release-tag publication:That clause was written twice. The sibling scenario The changelog cannot be read at the published tip carries it word for word over
contracts/CHANGELOG.md—openspec/specs/doc-health/spec.md:2818. #678 found it AFTER ratification, refused to widen its own ratified scope, and recorded the sibling as an owed successor intasks.md§ 4.2, with the one reading the successor owes first: "the changelog read has no presence probe of its own, it inherits the manifest read's."The reading #678 said this packet owed, answered in both halves
THE PROBE: INHERITED, AND COMPLETE — so none is added.
check_repocallsobtain_commit(tip)before any read, and bothmanifest is Nonearms return before the changelog is consulted. So the changelog guard is only ever reached with a manifest that READ at that same commit — andblobs_atsends<commit>:<path>tocat-file --batch, which answers missing for EVERY spec of a commit the clone does not hold. A manifest that read is proof the commit is held. At this read the unfetched fact is excluded, not merely rarer.design.mdD3 records that so nobody adds a second round trip later.THE WORDS: NOT INHERITED. The manifest read has two skips and the present-and-empty one states the presence. The changelog read has one, and it said only that the file "could not be read at the published tip" — the shape a reader is entitled to read as a fetch defect, which is #612's cost one document over.
code_surface: openxFactory— the veto point, PUT AND NOT VETOEDdesign.mdD2:code_surface: none, archives on landing. Rejected: leaves canon permitting the exact answer release-tag-publication: 9 domain repos read "not checked" every nightly — the published tip's contracts/manifest.yaml is not present in the aggregation checkout #612 was filed against.MUST, inverting Canon catches up with the checker: name both facts behind an unreadable manifest read (amend-published-tip-unreadable-scenario) #678 in the same requirement in the same week.Skipreason and the comment above it inscripts/doc_health/release_tag_publication.py, one test added. The cost is ratified with the decision: underrelease-realizationthis packet archives on merged-plus-green realization evidence, not on landing.No control flow moves. Same position, same
in_scopegate, same return type; a below-floor repository with no changelog still returns[].THE ADVERSARIAL REVIEW, FOLDED BEFORE RATIFICATION — item by item
The fold commit
901e923csits below the ratification commit, so the ratified baseline is the FOLDED text.P2 — the held-and-absent skip STILL SUPPRESSES the grading. RATIFIED AS AN OWED SUCCESSOR, NOT AS FIXED. The
if changelog is None:guard stands ABOVE thein_scopeloop and RETURNS, so a held tip carrying an in-scope bundle and nocontracts/CHANGELOG.mdis answered with a skip INSTEAD OF the tag findings the loop would emit. Measured: a shim with the tag absent and no changelog blob at a held tip → oneSkip; the SAME shim with an EMPTY changelog → oneerror("contract-v2.0 is declared and has no published annotated tag more than 5 first-parent landings after the commit that declared it"). NOT a regression — the identical shim answers identically atorigin/main9b1888bb, run in a second worktree — and NOT fixed here: moving that return decides which findings an in-scope repository receives, which owes its own scenarios, severity reading and measurement. Folded as a named carve-out inproposal.md§ What this proposal does NOT claim, asdesign.mdD6 (with what the successor owes), and as an UNTICKEDtasks.md§ 6. The carriedTHENtext and the skip's control flow are untouched.P3 — the "two facts" framing was not exhaustive, and the skip mis-stated the third. FIXED.
blobs_atalso answers per-path None when the commit AND its trees are held but the BLOB OBJECT is absent from the store. Reproduced on real git: delete the loose object andcat-file --batchanswers<spec> missingfor a pathls-treestill lists, withcat-file -ereporting commit and tree both HELD. So the skip no longer says the commit "IS present and carries no contracts/CHANGELOG.md" — a claim about the TREE — and says instead "the commit is held in this store and no readable contracts/CHANGELOG.md blob is reachable at it", true of BOTH held states. The delta's amendedWHENfolds the third state into its held arm; the addedANDrequires the skip to state the presence without asserting a file absence the held commit does not establish; and the over-claiming form is now pinned against NEGATIVELY in the test. Only the units this block ADDS were edited, so the marker still declares the one dropped canon unit and every carried canon unit stays byte-identical.P3 — one false positive the sweep's own grep raised was missing.
openspec/specs/ideation-cross-reference/spec.md:386("a clone that has not fetched it") is added astasks.md§ 2.6 with its reason: pin reachability, a different family, where the phrase is used CORRECTLY.Copilot round 2 (🟡) was right, and is fixed. The new test asserted held-tip wording without setting
FakeGit's object-store precondition. The shim now setspresent_commits={"tip"}and the test assertsfetch_calls == [].The three-angle sweep, and the false positives dropped
Angles over
openspec/specs/: the retired phrase (commonest cause), the fact it misnames (not fetched/unfetched/has not fetched), the shape it sits in (answers nothing/cannot be read).AMENDED — one scenario:
openspec/specs/doc-health/spec.md:2818, The changelog cannot be read at the published tip.DROPPED AS FALSE POSITIVES — four, each with its reason:
openspec/specs/doc-health/spec.md:2715— the QUOTED UNIT inside Canon catches up with the checker: name both facts behind an unreadable manifest read (amend-published-tip-unreadable-scenario) #678's own**Removed from canon by …:**marker, not a live bullet. Carried byte-identical.openspec/changes/archive/2026-09-05-amend-published-tip-unreadable-scenario/specs/doc-health/spec.md:484— archived by Archive amend-published-tip-unreadable-scenario: ratified 2026-09-05, landed #678 (87c15baa), no code surface #685; an archived delta is a record of what was ratified andpromotion-fidelitycompares it AGAINST canon.openspec/specs/doc-health/spec.md:1153— A live main cannot be read: different family, names no cause,THENfalls back rather than skipping.openspec/specs/ideation-cross-reference/spec.md:386— pin reachability; the phrase is used correctly.Also checked and not a sibling: the tag-peel read, already bound by the manifest scenario's closing
AND.The delta
ONE
## MODIFIED Requirementsblock over Release-tag publication, restated in full — every body unit and all 30 promoted scenario titles, byte-faithful, including #678's own amendment note and itsRemoved from canon bymarker. Exactly one scenario changes: theWHENREPLACED to name both facts, plus twoANDbullets. The promotedTHENand the closing "not fetched is not an answer, in either direction" clause are carried byte-identical.ONE canon unit is dropped and it is DECLARED —
**Removed from canon by amend-unreadable-read-sibling-scenarios (2026-09-05):**, naming the oldWHENverbatim in a double-backtick span.sequenced_afteris elective and not declared: all four other writers of this requirement are archived and no ACTIVE change writes it. The ledger classes the rowco-modifieron archived partners, so no partner flips and no MOVEMENT LOG entry is owed.Verification — EVERY NUMBER RE-DERIVED AT THIS HEAD
The counts this body first carried (92/2 of 94; 1735 passed / 4 failed pre-seed) were taken at an older tree, before two merges from
mainand before the fold. They are replaced, not amended.1.
openspec validate amend-unreadable-read-sibling-scenarios --strict→Change 'amend-unreadable-read-sibling-scenarios' is valid2.
openspec validate --all --strict→Totals: 95 passed, 0 failed (95 items)— this invocation is the PATH CLI, which in this session is@fission-ai/openspec1.2.0, and 1.2.0 has no scenario-currency check. The two failures belong to the pinned 1.12 entrypoint below, which is what CI runs. Both readings are recorded rather than the flattering one alone.3. THE PINNED 1.12 ENTRYPOINT, exactly as
openspec-cli-pin-gate.ymlruns it —python3 scripts/validate-openspec-cli-pin.py --all --no-cache:NEITHER IS THIS CHANGE'S and no third appears. 1.12's scenario-currency check refuses a
## MODIFIEDblock that OMITS a scenario the current spec still has. This block omits none and retitles none — it replaces aWHENBULLET inside one, which that check cannot see.4.
python3 -m pytest tests/doc-health tests/sequenced_after -q→1739 passed.tests/doc-health/test_release_tag_publication.pyalone: 146 passed (145 → 146). The four pre-seedtest_sweep.pyfailures the body first reported were the documented order and the row was seeded in04c2a97b.5.
validate-sequenced-after.py .→sequenced_after validation passed (36 active changes, 2 declaring the field).--ledger-diff→per-change sweep ledger consistent with the corpus (174 rows).ROWS MOVED: ONE — this change's own, seeded not moved. Ratification moves no row: a row's derived keys read no lifecycle status.6.
python3 scripts/doc-health.py --single-repo .— SAME-CLOCK CONTROL vsorigin/main9b1888bb, two worktrees, minutes apart:main9b1888bbA line-by-line diff of the two reports is EMPTY once the checkout's own directory name is normalized.
AND THE RATIFICATION IS INSIDE THAT READING.
proposal-origin's class 7 reports an ERROR for a proposal declaringStatus: ratifiedwhile its origin asserts no approval. It was made to fire and then cleared: with the status set and.openspec.yamluntouched,--family proposal-originnamed this change; addingapproved_by+approved_onbeside the retainedproposed_by/proposed_on—kindandidunmoved — clears it.7. THE
modified-block-currencyPROBE, BOTH WAYS, on the folded tree:WHEN;Independent review
Codex: REFUSED twice (17:55Z and 18:20Z), usage limits — no Codex round ran. Sourcery: the private-repo upsell stub. Copilot: two rounds — round 1 🟢 Approval recommended; round 2 🟡 Changes recommended on the object-store precondition, which was right and is fixed in the fold commit.
Also in this pull request: one repair, named
README.mdcarried an ACTIVE row foramend-published-tip-unreadable-scenariopointing at a path #685 deleted when it archived that packet. The row is REMOVED. Pre-existing onmain, not this packet's defect, repaired here because this pull request is already editing that block. The archived row at the foot of the file is untouched.What this does NOT claim
design.mdD6,tasks.md§ 6).verify_tag/ verify-tag conflates "not fetched locally" with "tag unreachable from main" #338 is untouched.…/archive/2026-09-05-amend-published-tip-unreadable-scenario/specs/doc-health/spec.md:484is not edited.🤖 Generated with Claude Code
https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv