Repository navigation
Propose add-release-tag-publication-check: the policy says a bundle is not published until its tag exists, and nothing checks it - #544
Conversation
…s not published until its tag exists, and nothing checks it Issue #528. `docs/contract-versioning-policy.md` holds that the manifest version, the changelog heading and the annotated tag MUST match, that the tag SHALL point to the realized commit, and that "a bundle is not published until its tag exists" — a rule it says "WAS NEVER ADVISORY, INCLUDING WHILE IT WAS BEING BROKEN". Four places could enforce it and none does: no workflow calls the release validator; `verify_tag` runs only over synthetic repositories in unit tests; `release-surface-integrity` deliberately does not anchor on tags, so its own drift obligation stays evaluable in the window before one exists; and `tag-hygiene` is `document-lifecycle`'s prose-tag grammar over document text, which is the trap in its name. The gap reached `contract-v1.33`/`v1.35`/`v1.39` in August and was discharged only on a ruling; it recurred on `contract-v2.3` and `contract-v2.4` this week. A human found it both times. The observation that makes it structural rather than careless: the #526 cut wrote a careful disposition subsection for its PREDECESSOR's missing tag and said nothing about its own, which is what a process with no place to notice looks like. Proposes a twenty-third deterministic family, distance-graded in first-parent landings so the legitimate declare-then-tag window stays green, splitting an ABSENT tag from a MISPLACED one because the second is worse than the first and must not be reported in its words, refusing a lightweight ref, silent below the `contract-v1.7` enforcement line, and skipping — never passing — where the question cannot be asked. CARRIES THE `## MODIFIED` BLOCK A NEW FAMILY OWES. "Deterministic check families" names every family and counts them three times in prose, and `family-enumeration` measures those numerals against the code registry because that restatement was left incomplete three times in three days with all three catches human. The block is restated whole from canon, all eight scenarios carried unchanged, with only the enumeration moving. Five design decisions are flagged for veto, none covered by the commissioning: D1 a new requirement rather than a MODIFIED of `Release-inventory drift`, whose non-`contested` class rests on its findings being resolved by a release cut — a tag finding is not; D2 a new family rather than a finding class inside it; D3 the window, whose threshold is a governance number the authoring session declined to pick; D4 what the check asserts about the target, with the expensive conjunct disclosed as out of scope rather than hidden; D5 not building on `verify_tag` while #338 stands, which fails identically on `contract-v2.2`, a tag that is definitively correct. Predicts ZERO findings from the family on the day it lands, and says why a nonzero answer there would be a finding about the estate rather than about the check. Separately measures what the PACKET adds while it sits unratified — +3 `warning` from `family-enumeration` reading a delta that declares twenty-three against a registry still holding twenty-two, +1 `info` from `modified-block-currency` naming the two body units this packet deliberately rewrites — and explains why each is the correct answer to the question its arm asks, and how each clears at realization. openspec validate --all --strict: 82 passed, 0 failed. Co-Authored-By: Claude Opus 5 <[email protected]>
|
@codex review |
There was a problem hiding this comment.
Hi @openxfactory[bot]! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
…D4 carried because it was not named Brett Heap, in session, verbatim: "accept D1, D2, D5; threshold N=5". D1 (a new requirement rather than a MODIFIED of Release-inventory drift), D2 (a new family rather than a finding class inside it) and D5 (not built on `verify_tag` while #338 stands) are ACCEPTED. D3 is RULED at N = 5, and the delta now states five as the ruled default rather than a placeholder, with the calibration it answers to: `contract-v2.3` sat untagged across six first-parent landings before a human noticed, so any threshold above five would have stayed silent through the recurrence this family exists to catch. **D4 WAS NOT NAMED AND IS NOT RECORDED AS RULED.** It decides what the family PROVES about a tag's target — the packet asserts that the tag peels to a commit DECLARING the bundle, and discloses that it does not prove the target is the EARLIEST such declaring commit, so a tag on a later one passes and stays a defect under the policy. Reading silence as acceptance would narrow a ruling by omission, which is the failure this estate records against itself most often, so D4 is carried as owed and task 1.4 holds it. Status stays `draft` and task 1.1 stays open: the ruling disposed the flagged decisions and did not cite a ratification, and whether it also authorizes realization is a separate act. openspec validate --strict: valid. Co-Authored-By: Claude Opus 5 <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 513638f6ba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ### Requirement: Release-tag publication | ||
| The release-tag-publication family SHALL report, for every repository in scope that declares a contract bundle at or above the version where mandatory tag publication begins, whether that bundle has a published ANNOTATED tag, and whether that tag peels to a commit that declares the bundle. |
There was a problem hiding this comment.
Inspect every enforced bundle, not only the current declaration
Restricting the family to the bundle currently declared by the manifest permanently misses the exact recurrence motivating this change: a new release can replace the declaration before the previous bundle's warning window opens. For example, contract-v2.3 is silent while its declaring commit is the tip; when contract-v2.4 advances the manifest, the proposed family starts checking v2.4 and never revisits the still-untagged v2.3. The family needs to enumerate all bundles at or above the enforcement line, or otherwise retain outstanding declarations across manifest advances.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Accepted, and this was the find of the round — the ratified design would have read ZERO through the exact incident that produced the issue it closes. Fixed in 0520c34d, ratified as a post-ratification amendment by the repository owner rather than folded in, because it changes the delta he ratified.
Proven before it was fixed. test_a_superseded_bundle_that_was_never_tagged_is_still_reported was written RED first against your scenario verbatim — v2.3 declared and untagged, v2.4 declared on top with its own tag — and it failed on the old reader exactly as you said it would.
The fix. Every bundle with a release inventory at or above the enforcement line is inspected, the inventory being the machine-readable fact that a cut happened. The distance grading still applies ONLY to the current declaration, which is the one still inside a legitimate window; a SUPERSEDED untagged bundle is an error with no grading, because the window it would be graded against closed when the next cut replaced it. Its action names retro-publication at the commit the policy's rule identifies — retro-published, not re-dated, as the 2026-08-25 discharge did.
Your finding surfaced a second defect, and the worse of the two in kind. Running the corrected family against this repository, it reported "no contract bundle declared" against a repository declaring contract-v2.5. blobs_at answers None PER PATH for a blob it cannot read, and the published tip was not in the local object store. That is the #338 conflation — "not fetched" read as a substantive answer — reproduced inside the family whose D5 exists to avoid precisely it. Both reads are now guarded, at the manifest and at the commit a tag peels to, and the case is pinned by test_an_unfetched_published_tip_skips_rather_than_reading_no_bundle.
The delta gained two scenarios for these. The threshold, the severities, the two failure classes and the enforcement floor are unchanged from the ruling.
| class), and every site stating the count: `docs/doc-health.md:28` | ||
| ("twenty-two families"), `scripts/doc_health/modified_block_currency.py:1634`, | ||
| `scripts/doc_health/report.py:300`, `tests/doc-health/test_suite.py:767`, | ||
| `tests/doc-health/test_modified_block_currency_reporting.py:777`, | ||
| `tests/doc-health/test_modified_block_currency_self_gate.py:26` and `:93`. |
There was a problem hiding this comment.
Include all hard-coded family-count tests in the ripple
Following this supposedly complete count-ripple list while registering the twenty-third family leaves the existing doc-health suite red: tests/doc-health/test_modified_block_currency.py:1428 hard-codes len(FAMILIES) == 22, while tests/doc-health/test_family_enumeration.py:67-92 and the family-enumeration-* fixture specs also encode 22 as the registry size. Add these files to task 2.3 so the prescribed same-commit registration can actually satisfy task 2.8.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Taken, and it was only PARTLY discharged the first time — worth saying, because a ripple list corrected for incompleteness and still incomplete is exactly the shape this finding is about.
The first correction named the four live count sites (and recorded that three of the seven originally listed are marked history or describe canon, which does not move until the block promotes). It did not name the rest. b148ac04 completes it:
tests/doc-health/test_modified_block_currency.py:1428—len(FAMILIES) == 22, exactly as you named it.tests/doc-health/test_family_enumeration.py— the four assertion pins, now named individually: the omitted-name count, the stale-numeral total, the subset sentence, and the thin-delta count.- The seven
family-enumeration-*fixture specs. One of them is worth calling out:family-enumeration-missing-namehad to GAIN the new family, so that it keeps omitting exactly ONE and the test keeps measuring what it was written to measure. tests/doc-health/test_lifecycle_scan_set.py— theNON_READERSset and itslen(FAMILIES) - 4 == 18pin, now nineteen. This one was not on your list either and reds the suite the same way.
All of them moved in the realization commit, so the suite is green (pytest tests/doc-health: 1366 passed, 0 failed) — but the TASK was the artifact you were reading, and it was wrong. It now names the whole set and says why they belong in the registration commit rather than a follow-up.
…anded with its delta because a family addition is one landing
Ratified 2026-08-31 in two acts ("accept D1, D2, D5; threshold N=5", then
"accept D4, and yes that's the ratification"), and then re-sequenced on
evidence: the proposal-only shape RED A GREEN GATE.
`family-enumeration`'s self-gate asserts the real corpus reads ZERO on both
halves. A delta declaring twenty-three families against a registry holding
twenty-two cannot satisfy it, so the +3 warnings the proposal disclosed as
an acceptable cost were not a report movement to tolerate — they were a
broken gate. The precedent settles the shape: `add-family-enumeration-check`,
which WROTE that gate, landed its delta, its module and its tests in ONE
commit (bc779dc), because a family addition is one landing. Put to Brett
with three options, he ruled: land realization together on this branch.
What lands:
- `scripts/doc_health/release_tag_publication.py` — the family. Distance-
graded in first-parent landings at the ruled N=5, ABSENT split from
MISPLACED in different words at different severities, a lightweight ref
refused, silent below the contract-v1.7 line, and skipping rather than
passing where the question cannot be asked.
- `corpus.py` — two git primitives: `tag_ref`, which reads PUBLISHED refs via
`ls-remote` and distinguishes annotated from lightweight by the peeled
`^{}` entry, and `first_parent_shas`.
- Registration as the twenty-third family, and the count ripple in the same
commit. FOUR live count sites moved, not the seven the tasks predicted:
three of those are marked history or describe canon, which does not move
until this block promotes, and sweeping them would have falsified a record
and a true statement.
- `tests/doc-health/test_release_tag_publication.py` — 17 tests, every
fixture a REAL git repository with real annotated tags, a real lightweight
ref, a real misplaced tag and a real origin, because published-versus-local
and annotated-versus-lightweight exist in git and nowhere else. The
self-gate carries its positive control: the probe must FIRE on a
constructed untagged tree, or reading zero proves nothing.
- The registry-coupled pins that move with a new family: seven
`family-enumeration` fixtures, four assertions there, the non-reader
classification and its count, the FAMILY_IDS length pin, and the currency
self-gate's ledger subject and active-writer count — the last re-aimed
exactly as its own docstring predicted the twenty-third family would.
TWO DEFECTS THE TESTS CAUGHT IN MY OWN CODE, recorded because both were
silent: `blobs_at` answers raw bytes and the parser was handed a str pattern;
and the distance window was `threshold + 1`, which SATURATES — a landing does
not touch the manifest, so every commit above the cut still declares the
bundle, and the walk looks for where the declaration STOPS. At +1 the error
band was unreachable. Fixed to `threshold + 2` with the reason in the
docstring.
Gates: pytest tests/doc-health 1364 passed / 0 failed; openspec validate
--all --strict 82 passed / 0 failed; doc-health against merge-base 8f986c3
moves +1 `info` and nothing else — the modified-block-currency arm naming the
two body units this packet's MODIFIED block deliberately rewrites, which
clears at archive. The family itself reports ZERO over this tree, run
directly: a genuine answer, not a skip.
Co-Authored-By: Claude Opus 5 <[email protected]>
…d have read zero through the incident it was built for Codex's P1 on #544, accepted by Brett 2026-09-01 ("accept the amendment") as an amendment to the ratified baseline rather than folded into the realization. THE DEFECT. The family checked only the bundle the manifest CURRENTLY declares. A bundle is legitimately silent while its declaring commit is the published tip — but when the next cut advances the manifest, the family begins checking the new bundle and NEVER REVISITS the old one. Run against the incident that produced issue #528 it would have reported nothing at all: contract-v2.3 untagged, contract-v2.4 declared on top, silence. Proven RED-first by test_a_superseded_bundle_that_was_never_tagged_is_still_reported before a line of the fix was written. THE FIX. Every bundle with a release inventory at or above the enforcement line is inspected. The distance grading still applies ONLY to the current declaration, which is the one still inside a legitimate window; a SUPERSEDED untagged bundle is an `error` without grading, because its window closed when the next cut replaced it, and its remedy is retro-publication at the commit the policy's rule names. A SECOND DEFECT, FOUND BY RUNNING THE FIX AGAINST THIS REPOSITORY, and the worse of the two in kind: the family reported "no contract bundle declared" against a repository declaring contract-v2.5. `blobs_at` answers None PER PATH for a blob it cannot read, and the published tip was not in the local object store. THAT IS THE #338 CONFLATION — "not fetched" read as a substantive answer — reproduced inside the family whose D5 exists to avoid exactly it. Both reads are guarded now, at the manifest and at the commit a tag peels to, and the case is pinned. The delta gains two scenarios and one amended paragraph. The threshold, the severities, the two failure classes and the enforcement floor are unchanged from the ruling of 2026-08-31. Codex's P2 is also taken: task 2.3's "complete" ripple list was not, and its correction now names what actually moved. Gates: pytest tests/doc-health 1366 passed / 0 failed (the two new tests are the RED-first proof and the conflation pin); openspec validate --strict valid. The self-gate over the real tree no longer asserts a bare zero — a SKIP is not a defect, and this family reads PUBLISHED refs, so its answer depends on whether the checkout has fetched the tip, which is an environment fact and not a corpus one. What it asserts is that no `error` and no `warning` is invented, and the positive control still must fire. Co-Authored-By: Claude Opus 5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
The correction named the four live count sites and the family-enumeration fixtures, and stopped there. It did not name tests/doc-health/test_modified_block_currency.py:1428, the four assertion pins in test_family_enumeration.py individually, or tests/doc-health/test_lifecycle_scan_set.py's NON_READERS set and its len(FAMILIES) - 4 pin — all of which moved in the realization and every one of which reds the suite if left behind. A ripple list that is still incomplete after being corrected for incompleteness is worth more than a tick, so the entry now names the whole set and says why they belong in the registration commit. Co-Authored-By: Claude Opus 5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
The PR was CONFLICTED and that is why its required checks stopped running: GitHub could not compute a merge ref, so `pull_request` workflows needing one never fired and only merge-master-approval reported. main was 13 ahead. One conflict, in the README's active-changes list — both sides added entries, and both are kept. My entry is also CORRECTED rather than merged as written: it still said 'no module exists and no family is registered yet' and predicted '+3 warning, +1 info', both true of the proposal-only shape and false since the realization landed with the delta. It now records the realization, the ruled N=5, and the 2026-09-01 amendment. Merged, never rebased or force-pushed, per the standing rule for refreshing a change branch.
main advanced while the first merge was being resolved (5af63d9), and the commit that names add-chain-attestation's ledger subject was in the newer range — which is why the currency self-gate went red on the branch and GREEN on main. Their registration, not a defect of mine and not one to fix in this PR. Same conflict, same resolution: the README's active-changes list is additive on both sides and both are kept.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Merged by organization-admin bypass on the repository owner's explicit word, with FOUR BOT-UNREAD HEADS DISCLOSED HEAD BY HEAD. What was bypassed: the one-approval rule, and an incomplete bot round. What was not: every required check passed on the merged head The round could not complete, and that is a provider refusal rather than silence
Review coverage, per commit
The most important unread commit is What covered it instead
Also recordedThe PR's required checks stopped firing entirely between If a later Codex round reads these heads and finds something real, it is a follow-up on this content, not a defect in the merge decision. |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
…aches canon, and two named subjects retire exactly on schedule (#563) * Archive add-release-tag-publication-check: the twenty-third family reaches canon, and two named subjects retire exactly on schedule The archive gate the packet set for itself is satisfied: PR #544 squash-merged as `31fc2b6e` with all four required checks green on the merged head, and the surface cuts no contract bundle — so no release tag is owed BY the change that checks release tags. Archived via `proposal-support.py archive`, never bare `openspec`. Canon gains ONE requirement and ONE modification: `Requirement: Release-tag publication`, and "Deterministic check families" now states `twenty-three check families`, `Four of the twenty-three` and `the other nineteen families`. TWO NAMED SUBJECTS RETIRED, BOTH PREDICTED IN WRITING BEFORE THEY MOVED, which is the point of naming them: - The carriage-ledger subject `('add-release-tag-publication-check', 'doc-health', 'Deterministic check families')`. Its own note said "retires when the packet archives and its block is promoted". It did. - The ACTIVE-WRITER count on that requirement, back to ZERO. It went 0 -> 1 on 2026-08-31 when the packet restated the enumeration to add itself — a move the estate's own docstring had predicted for "the twenty-third family's packet" long before this packet existed — and 1 -> 0 here, as the note I added then said it would. Two re-aims in two days, each written down before it happened, and `_moved()` followed both times rather than the number being edited to match. GROUP 4 IS TICKED AND NOTHING IN IT IS FIXED, which the group now says on its face: a tick there means the RECORDING is done. #338 still stands and this family still routes around it; this family still does not prove a tag's target is the EARLIEST declaring commit; and the policy's "every bundle from contract-v1.7 is now tagged" is still a standing claim no check defends. All three go into canon with the family rather than being discharged by archiving. The README's active-changes entry is removed, the change no longer being one. Gates: openspec validate --all --strict 82 passed / 0 failed (up from 80, the promoted spec now being canon); pytest tests/doc-health green. Co-Authored-By: Claude Opus 5 <[email protected]> * Take Codex's two P2s on the archive: the link the archive broke, and the preamble the build superseded Both real, both caused by this packet's own archive act. 1. `docs/doc-health.md` linked the family's proposal at `openspec/changes/add-release-tag-publication-check/proposal.md` — a path the archive removed in the same commit that introduced the link's subject. Retargeted to the archived packet, spelled with its archive date as the doc spells its other archived references. 2. `tasks.md`'s preamble still said 'Nothing below group 3 has been done… every box in it is open' while groups 2 and 5 were ticked below it. KEPT AND CORRECTED RATHER THAN REWRITTEN: the sentence is quoted as first written, then dated and superseded, because a reader of an archived packet is owed what it claimed at each stage — the same discipline the versioning policy applies to `archive-record-discrepancies.md`. openspec validate --all --strict: 82 passed, 0 failed. Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]>
…d state, and contract-v2.6 is that state (DO NOT MERGE) (#578) * Propose declare-spent-bundle-state: the release-tag family has no third state, and contract-v2.6 is that state Issue #575, filed by the contract-v3.0 cut (#573, `ff9ed815`) at the moment it met the defect rather than afterwards. `release-tag-publication` has exactly two answers for a bundle — published, or owes a tag — and `contract-v2.6` is neither. It was declared at `bbbbeda9` (#565); `verify-commit` there returns five HGR-RELEASE-DIGEST-MISMATCH findings (measurement of record: PR #565 comment 5502452624), so the targeting rule has no legal target; and it declares change class ADDITIVE over a tree that refuses three shapes contract-v2.5 accepted, which no completion commit and no rebuilt inventory can cure. Brett Heap ruled the supersession 2026-09-02 — "Supersede: v3.0 is the completion" — and commissioned this packet: "Merge now, fix #575 next". Since `ff9ed815` the family reports that bundle at ERROR without grading and `test_this_repository_reads_zero_and_the_probe_can_fire` is RED on main. The action it prescribes is unperformable by anyone, and a finding whose only action cannot be taken teaches its readers to stop reading the report. ONE `## MODIFIED Requirements` BLOCK over the promoted `Release-tag publication` requirement, adding a SPENT state entered ONLY by an explicit reserved declaration and refused by every absence. SILENCE STILL ERRORS. The only way to quiet a spent bundle is to publish its SUCCESSOR's tag — the very act this family exists to compel — so the escape hatch cannot be taken by writing anything, which is the answer to #575's guard-against-the-obvious-abuse. THE RECORD IS `contracts/CHANGELOG.md`, NOT `health/dispositions.yaml`, and that is measured rather than preferred: dispositions key on (family, repo, path), every finding of this family lands on `contracts/manifest.yaml`, so one row would suppress the whole family for the repository forever — and the loader's own docstring records that the file is unreachable in the `--single-repo` scope the red self-gate runs in. The changelog is a release-inventory member a consumer already pins, is one of the three EDITORIAL members writable between cuts, and is already where this estate records supersessions twice over. SCENARIO-COMPLETE AND VERIFIED MECHANICALLY, not by eye: 11 of 11 canon scenarios present, 10 byte-identical, the eleventh differing by exactly one added AND bullet with nothing removed, all 67 canon body lines surviving. The block was BUILT FROM CANON at named anchors rather than retyped. Ten scenarios added; twenty-one in total. PROPOSAL ONLY (OD-8). #544's one-landing shape was ruled for a mechanical reason — a family ADDITION reddens family-enumeration's self-gate in the interval — and this change adds no family and moves no count. The cut's own entry says this vocabulary "owes its own change and its own review", the family's own precedent recorded an amendment "awaiting Brett rather than absorbed into the realization", and what is being amended is a fail-closed check. main stays red one more PR, on a red that is declared, named, inherited. OD-6 is the constraint #575 did not anticipate: the obligation-side paragraph belongs in `docs/contract-versioning-policy.md`, a NON-EDITORIAL member of `contracts/releases/contract-v3.0.digests.yaml`, so it rides the next cut rather than trading this error for a release-inventory-drift one. OPENSPEC_TELEMETRY=0 openspec validate --all --strict: 84 passed, 0 failed. proposal-support verify: ok. OD-1 … OD-8 and OQ-1 … OQ-3 flagged for veto. Co-Authored-By: Claude Fable 5 <[email protected]> * Record the measurement instead of predicting it: the packet moves NOTHING `--single-repo` doc-health with and without this packet, same clock — base a detached worktree at `ff9ed815`, head this packet COMMITTED, because an UNTRACKED packet is invisible to the readers and the first measurement was taken before the commit and had to be retaken. 6 critical / 5 error / 29 warning / 12 info on BOTH, and the two reports are BYTE-IDENTICAL once the repo-identity string is normalized — not merely equal in the four counts. The proposal predicted one `modified-block-currency` info; the measurement says zero, and the prediction is replaced by the number rather than left standing beside it. Three zeroes checked rather than assumed: `family-enumeration` reports nothing (no family, no count moves — OD-8's mechanical argument); `modified-block- currency` reports `scenario-title completeness: 0`, its gate-bearing arm, agreeing with the scenario-by-scenario verification; and the census is unmoved because `proposal.md` is in the LIFECYCLE SCAN SET rather than the governed corpus, which `Deterministic check families` states in terms. The one error that does not move is the point: `release-tag-publication` still reports contract-v2.6 at error in both runs, in the same words. Co-Authored-By: Claude Fable 5 <[email protected]> * Move the sequenced-after live pin, which CI found and the measurement missed The first `pytest-suite` run reported TWO failures, not one. The first is the inherited red this packet is about. The second is NOT inherited — `tests/sequenced_after/test_sweep.py::test_the_live_sweep_reproduces_the_AUTHORING_measurement` passes at `ff9ed815` in a detached worktree and fails with the packet, because AUTHORING an active change that carries a `## MODIFIED Requirements` block raises `co_modified` 104 -> 105, `active_co_modified` 18 -> 19 and `change_ids` 153 -> 154. That is the pin doing exactly its job, and its own docstring prescribes the response: "WHEN THE CORPUS MOVES, THIS PIN MOVES WITH IT — and the move is RECORDED below rather than silently re-typed", in the SAME COMMIT, with a dated MOVEMENT LOG entry naming which subject moved and why. So the log gains an entry and each moved assertion gains a message that distinguishes the TWO expected causes of its own failure — an ARCHIVE lowers `active_co_modified` while leaving `co_modified` untouched; an AUTHORING raises both — because a pin whose failure message names one cause invites the wrong repair for the other. THE THREE COUNTS THAT DID NOT MOVE ARE THE INTERESTING HALF, and they are now asserted with their reasons rather than left to coincidence: `sole_modifiers` holds at 49 (`change_ids - co_modified`, both sides up one), `active_sole` holds at 12 (the new change is a CO-modifier, not a sole one), and `declaring` holds at 1 — this packet declares no `sequenced_after:` field, the field being carried by an ACTIVE, UNPROMOTED change, and adopting an unratified surface is not what its "declaring must never be worth less than omitting" doctrine asks of a packet written before it lands. A change that added itself to both populations at once would be a defect in the sweep, and that is now checked rather than assumed. THIS FILE IS CORPUS BOOKKEEPING, NOT THE REALIZATION OD-8 DEFERS, and the proposal's `code_surface` says so rather than leaving a reader to infer it from a diff. Recorded in tasks 4.7 as a MISS: the doc-health measurement in 4.6 was complete for doc-health and was read as though it were complete for the repository. `python3 scripts/validate-sequenced-after.py .` passes (31 active, 1 declaring); `pytest tests/sequenced_after` 118 passed; `openspec validate --all --strict` 84 passed, 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]> * Put the amendment note where its own claim is true As first spliced, the `**AMENDED BY declare-spent-bundle-state**` note sat directly after the paragraph it qualifies — and then claimed that "everything from here to the scenarios is this change's addition", with eight PROMOTED paragraphs sitting below it. The note mis-described canon as this change's work, which is the opposite of what a restatement note is for. The note now sits after the LAST promoted body paragraph and before the first scenario, so both halves of its claim are true as written. AND THE QUALIFICATION IT OWED IS NOW STATED. `A SUPERSEDED BUNDLE IS NOT GRADED BY DISTANCE` still reads "reported at `error` without grading", byte-unchanged, and that is still exactly what such a bundle reads as WHEREVER NO DECLARATION NAMES IT — every bundle in the estate's history but one, and the default forever. The sentence is kept byte-faithful rather than rewritten so a reader arriving at it meets the promoted rule and then its one exception, instead of a rewritten rule with no trace of what it replaced. Re-verified: 11 of 11 canon scenarios present, 10 byte-identical, the eleventh differing by one added AND bullet, 67 of 67 canon body lines surviving. `openspec validate --all --strict` 84 passed; `pytest tests/doc-health` 1384 passed. Co-Authored-By: Claude Fable 5 <[email protected]> * Ratify declare-spent-bundle-state, and take both Codex P1s into the requirement first RATIFIED 2026-09-02 by Brett Heap (repository owner), in session, in TWO ACTS over the two decisions this proposal declined to take by silence: - OD-3 ACCEPTED AS PROPOSED — a correctly declared spent bundle emits an `info` with its own finding key, not silence: "the reader who finds contracts/releases/contract-v2.6.digests.yaml with no matching tag is owed the answer where they are looking, and the key is what makes the one permanent finding auditable". - OD-4 ACCEPTED AS PROPOSED — "quiet only once the superseding bundle's tag is published, warning while it is cut but untagged, error where the named successor was never cut. The only way to make a bundle quiet is to publish its successor's tag." Record: review/ratification-2026-09-02.md, on the add-signed-execution-chain precedent. It carries the chain of authority as SEPARATE acts (#575 filed by the v3.0 cut -> the supersession ruling -> the commissioning -> these two rulings -> this ratification), what was flagged and how each was disposed, the bot rounds, the inherited red measured three ways, and a seven-item list of what ratification does NOT authorize. AND THE RATIFIED TIP IS NOT THE BASELINE, WHICH IS SAID FIRST RATHER THAN LEFT TO A DIFF. Two Codex P1s on `2b66096c` — the tip the ruling was given over — moved normative text before this commit. Both are NARROWINGS of what was ruled rather than departures from it, and both are holes in the guard the ruling had just accepted rather than extensions of it, which is why they are repaired here instead of filed as successors: - THE GUARD WAS SATISFIABLE BACKWARDS (new OD-9). As ruled it required the named successor to be CUT and PUBLISHED, never LATER. A declaration for contract-v2.6 written into contract-v2.5's entry and naming contract-v2.5 — cut, published, valid annotated tag on a declaring commit — passed every check, so an untagged bundle would have gone quiet with NO replacement published at all. The successor must now be STRICTLY LATER, with its own error and its own scenario. A decision whose purpose is "the only way to make a bundle quiet is to publish its successor's tag" is not met by a tag that already existed. - TWO SPENT BUNDLES WOULD HAVE SHARED ONE FINDING IDENTITY (OD-5 amended). `match_key()` is (family, repo, path) and ignores the rule, so the contracts/CHANGELOG.md path repeated the very defect OD-5 was written to avoid one step over: removing one declaration while the other stood would raise nothing. The findings now land on contracts/releases/<bundle>.digests.yaml, unique per bundle BY CONSTRUCTION — it is the artifact that made the bundle enumerable at all. The one finding with no inventory to land on (a declaration whose SUBJECT was never cut) stays on the changelog at `warning`. Three scenarios joined the delta for those two findings; twenty-one -> TWENTY-FOUR. Re-verified against canon: 11 of 11 promoted scenarios present, 10 byte-identical, the eleventh differing by one added AND bullet, 67 of 67 canon body lines surviving. COPILOT: the marker-form delimiter finding TAKEN (the reserved form is now a code block, and the requirement says why). The "unquoted #575 breaks YAML metadata" finding REFUSED WITH A MEASUREMENT: nothing parses proposal front matter as YAML — `yaml.safe_load` FAILS on add-release-tag-publication-check, add-requirement-ref-resolution-integrity and add-clearing-dispatch-boundary alike, on "mapping values are not allowed here" — the reader that exists is line-wise (`corpus.STATUS_RE`), and sixteen proposals already carry an unquoted `#<issue>` on their Origin line, this packet's own basis among them. The YAML surface that IS parsed, `.openspec.yaml`, already uses folded `>-` blocks for exactly that reason. AND A PARALLEL LANE MADE OD-6'S PREDICTION TRUE WHILE SPENDING ITS ARITHMETIC. PR #577 (`2898b104`) recorded the supersession in docs/contract-versioning-policy.md — the between-cuts edit to a NON-EDITORIAL inventory member OD-6 declined — and release-inventory-drift now reports it at ERROR on main. The analysis is vindicated and its conclusion overtaken in one stroke: the incremental cost of the SPENT-state paragraph is now ZERO. The decision is not rewritten retroactively; tasks 3.1 records the new arithmetic, notes that #577 discharges the consumer-facing half and MUST NOT be re-authored, and leaves the routing to the realization. Ratification authorizes realization and performs none of it: no checker line, no test, and no SPENT declaration lands in this commit. OQ-1 … OQ-3 remain OPEN. `openspec validate declare-spent-bundle-state --strict` VALID; `--all --strict` 85 passed / 0 failed; proposal-support verify ok; `status-validity` and `ratified-provenance` report nothing against this packet. Co-Authored-By: Claude Fable 5 <[email protected]> * Take round three: the ruled `warning` band was unreachable in the words that encoded it Four findings on the ratifying commit `7e9267a4`, all four TAKEN. The first is a defect in the ENCODING of what Brett ruled rather than in the design, which is why it is repaired here rather than filed. CODEX P1 — THE PROVISIONAL BAND WAS UNREACHABLE. OD-4 as ruled makes a cut-but-unpublished successor a `warning`. The delta wrote that case as a NON-ACCEPTANCE, and its fallback clause kept the superseded-and-never-published `error` for every declaration that was not accepted — so a conforming family would have reported BOTH a warning and an error through the legitimate publication window, contradicting the ruling the clause exists to encode. The requirement now names THREE outcomes rather than two — ACCEPTED, REFUSED, PROVISIONAL — and a PROVISIONAL declaration SUPPRESSES the superseded error and reports ONE finding. The suppression loses nothing and the requirement now says why: the successor is the bundle the manifest declares, so the distance arm grades it on its own account, warning inside its window and error past the threshold. The obligation has MOVED ONTO THE SUCCESSOR rather than been discharged, which is exactly what the successor guard is for, and the band is bounded by that grading rather than by this state's patience. The promoted scenario's added AND bullet and the warning scenario both now distinguish REFUSED from PROVISIONAL explicitly. CODEX P2 — THE PROPOSAL'S OWN SUMMARY CONTRADICTED ITS AMENDED DECISION. OD-5 moved the findings to `contracts/releases/<bundle>.digests.yaml`; § What changes still said `contracts/CHANGELOG.md`. A Spec Kit implementation following the summary would have rebuilt the exact shared-identity defect the requirement now avoids. Repaired rather than noted — a proposal whose operative paragraph contradicts its own decision is a defect in the proposal. COPILOT — `recognise` -> `recognize`. Canon spells it with a `z` five times and with an `s` never. A delta that introduces the other spelling into text it is RESTATING is introducing the drift the restatement exists to prevent. COPILOT — A PIN MESSAGE POINTING AT THE WRONG SUBJECT. The `co_modified` assertion said the population is "unchanged by THIS change" — true of the test's OWNING change, add-sequenced-after-substrate, whose requirement titles are ADDED and novel — while the reading it guards had just been raised BY this packet. It now names which change raised it and which one does not move it, because a pin whose failure message points at the wrong subject invites the wrong repair. Re-verified against canon after the repairs, which moved requirement prose and one existing scenario's bullets and added no scenario: 11 of 11 promoted scenarios present, 10 byte-identical, the eleventh differing by one added AND bullet, 67 of 67 canon body lines surviving. Twenty-four scenarios. `openspec validate --all --strict` 85 passed / 0 failed; `pytest tests/sequenced_after` 118 passed. Co-Authored-By: Claude Fable 5 <[email protected]> * Say "before this amendment" where the argument means it Self-caught on a read-through, not by a bot, and worth fixing because the sentence had just been made false by this change's own repair. The dispositions-file argument said "every finding this family raises against a repository lands on contracts/manifest.yaml". That was true when written and stopped being true two commits ago, when OD-5's amendment moved the spent-state findings onto per-bundle inventories — so a requirement arguing from a fact its own later paragraph contradicts. The claim is now tensed and scoped: every finding raised BEFORE this amendment lands on the manifest, so ONE entry on that path would suppress every absent-tag, misplaced-tag and lightweight-ref finding for the repository forever. And the argument is sharpened rather than merely repaired: the findings THIS amendment adds land on per-bundle inventories for exactly the same reason, which is the distinction `health/dispositions.yaml` has no way to draw. The coarseness belongs to the mechanism, not to the state. Re-verified: 11 of 11 canon scenarios, 10 byte-identical, one added AND bullet, 67 of 67 body lines. `openspec validate --all --strict` 85 passed / 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]> * Move the three counts the review's own repairs made stale Self-caught on a consistency sweep. The two Codex P1s added three scenarios, and three sites still reported the pre-review shape: - proposal.md § What changes said "Ten scenarios are added, bringing the requirement to twenty-one" — now THIRTEEN and TWENTY-FOUR, and it names where the extra three came from rather than leaving the arithmetic to a reader. - README's records row said the same thing, and now says the same corrected thing. - .openspec.yaml's `approved_by` said the authoring session's decisions are "listed as OD-1 … OD-8" without pointing at OD-9, which the very next sentences record as added under review. It now points forward. A packet whose narrative sites disagree with its own delta is the shape `modified-block-currency` and `family-enumeration` both exist to catch, and this estate's record is that the catch was human every time until a check existed. It was human again here; the sweep is cheap and the drift is not. `openspec validate --all --strict` 85 passed / 0 failed; proposal-support verify ok. Co-Authored-By: Claude Fable 5 <[email protected]> * Take Copilot round 4: the pin numbers the merge with #555 made stale Copilot found the last of the review's own wake: proposal.md's `code_surface` still claimed authoring this change moves `change_ids - 1` from 152 to 153, while the pin it describes now asserts 154 and attributes 152 -> 153 to #555's landing on 2026-09-01. RE-DERIVED FROM THE LIVE SWEEP rather than reasoned about: `change ids (32 active + 123 archived): 155`, `co-modified 105`, `sole modifiers 50`, `ACTIVE co-modified / sole: 19 / 13`. So the absolute population moves 154 -> 155 and the `- 1` reading — which subtracts the pin's OWN owning change — moves 153 -> 154. Three sites now say exactly that in the same words: `code_surface`, tasks 4.7, and the README records row. AND THE FIRST MEASUREMENT IS KEPT RATHER THAN OVERWRITTEN, because it was true when taken: before #555 was merged in, the same act moved `change_ids` 153 -> 154 absolute. #555 moved the absolute population and the SOLE-modifier readings and left the co-modified ones untouched; this packet does the opposite. That pair is the same rule read from both ends, and the movement log already says a change moving BOTH families of reading would be a defect in the sweep rather than a corpus event. `validate-sequenced-after.py --sweep` re-derived; `pytest tests/sequenced_after` 118 passed; `openspec validate --all --strict` 85 passed / 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]> * Record round four in the two places that keep the review's own account The ratification record and the proposal's convergence section now carry the fourth round: nine findings over four rounds, eight taken, one refused with a measurement. And the pattern is named rather than left as four separate corrections: THREE of the nine findings are the same shape — a narrative site left behind by a repair or by a merge, not a defect in the design. Two were mine to catch and were not caught until a reviewer pointed at them (the operative summary after OD-5 moved, the pin numbers after #555 merged in), one I caught on a read-through (the dispositions argument's tense). That is why the packet now carries a consistency sweep of its own counts instead of trusting them, and why the convergence section says so where a later reader will look. Co-Authored-By: Claude Fable 5 <[email protected]> * Two scenario titles differed by one word and meant opposite things `A SPENT declaration names a superseding bundle this repository never cut` and `A SPENT declaration names a bundle this repository never cut` sat five lines apart, and one is about the SUCCESSOR (an `error`, the declaration points at nothing) while the other is about the SUBJECT (a `warning`, the declaration disposes nothing and the real bundle is still reported). A reader skimming the titles would read them as a duplicate, and a test author picking one by title could write the wrong assertion. The second is now `A SPENT declaration's SUBJECT is a bundle this repository never cut`. Scenario titles are how this capability's own arms and its readers address scenarios, so an ambiguous pair is a defect in the delta rather than a matter of taste. Re-verified: 11 of 11 canon scenarios, 10 byte-identical, one added AND bullet, 67 of 67 body lines, 24 scenarios. `openspec validate --all --strict` 85 passed. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
…1198) * add-worker-input-budget: tick Group 4 with landed-evidence (4.1-4.3) Measured, not assumed. 4.1: both PRs (openxFactory#1137, xFactory#481) merged 2026-09-22 fifteen seconds apart, on Brett Heap's word "land the input-size guard when green" (xFactory#479). 4.2: the aggregation's openxFactory gitlink has carried the packer continuously since xFactory#483 (2026-09-22T03:58:45Z); every pin-sync since, including today's xFactory#543 and #544, is a measured descendant. 4.3: the first fully green nightly (xFactory run 35947804907, 2026-09-24) is confirmed directly from the downloaded semantic-sweep-bundle and document-catalog-bundle meta.json, the child job logs' input-size-guard line, and the committed health/reports/2026-09-24.md sweep section, quoted byte for byte. Also records a residual, non-blocking observation: nights 09-25 through 09-28 have both children failing again, but on OQ-3's HTTP 403 org-entitlement refusal recurring, not on the input-size guard (which measurably passed each of those nights before the model call failed). 0.4 (ratify-or-amend the two spec deltas) is untouched -- that is Brett Heap's word to give, not this packet's to tick. Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]> * add-worker-input-budget: name the Group-4-vs-0.4 sequencing tension Codex and Copilot both flagged the same real point on the first head: Group 4 is headed "after ratification" and Group 0 "gates landing," yet 4.1 measurably landed on 2026-09-22 while 0.4 (ratifying the two spec deltas) is still open. That already happened before this PR; ticking 4.1-4.3 without saying so would have looked like a properly gated sequence rather than a fix landed under a separate operational word during an active nightly outage. Adds a note naming the tension and the actual authority the landing ran under, and puts the sequencing question itself to Brett Heap as a RULING rather than deciding it here. Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]> * add-worker-input-budget: narrow 4.3's claim to the two children it needs Copilot's re-review at the merged head was right: run 35947804907 was not "fully green" -- the same run's finalize job recorded a separate snapshot-lane failure (CarveReachUnavailable) and readiness/derive dashboard-rendering skips ("the pinned openxdox_spec leg is not materialized"), per .github/workflows/doc-health-reusable.yml:1628-1635, for the then-uninitialized openDox/openXdox carved legs (unrelated, since fixed). Reworded 4.3 to claim exactly what this task needs and what was measured: the analysis and cataloger children succeeded and produced the budget record, full stop -- naming the other lane's failure/skips rather than implying the whole night was clean. Verified the readiness-worker and derive-possibles-worker children (a different pair from the skipped dashboard-rendering lanes) themselves succeeded that night (runs 35949701420, 35950836940), so that distinction is named too rather than left to be misread the other way. Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]> * add-worker-input-budget: separate 'children succeeded' from 'record existed' Codex caught a new imprecision my own previous reword introduced: calling 2026-09-24 "the first night either produced the budget record" conflicts with proposal.md's own OQ-1 citation, which shows 09-23's semantic-sweep- bundle (run 35810840997) already carried a full budget record (1,899,789 bytes, 92 sent, 226 deferred) -- prepare packs and records the budget before either child is dispatched, independent of that night's model-call outcome. 09-24 remains correct as the first night BOTH the analysis and cataloger children succeeded end to end with real model output; that is now stated as exactly that, with the 09-23 record named separately so the two claims can't be conflated again. Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]>
Closes the gap behind #528. Proposal only —
Status: draft, awaiting your ruling. No code, no family registered yet.The finding
docs/contract-versioning-policy.mdholds that the manifest version, the changelog heading and the annotated tag MUST match, that "the tag SHALL point to that realized commit", and that "a bundle is not published until its tag exists" — a rule it insists "WAS NEVER ADVISORY, INCLUDING WHILE IT WAS BEING BROKEN."Four places could enforce it. None does. No workflow calls the release validator;
verify_tagruns only over synthetic repositories in unit tests;release-surface-integritydeliberately does not anchor on tags, correctly, so its own drift obligation stays evaluable in the window before one exists; andtag-hygieneisdocument-lifecycle's prose-tag grammar over document text — the trap is in the name.It reached
contract-v1.33/v1.35/v1.39in August and needed a ruling to discharge. It recurred oncontract-v2.3andcontract-v2.4this week. A human found it both times. The detail that makes it structural: the #526 cut wrote a careful disposition subsection for its predecessor's missing tag and said nothing about its own — what a process with no place to notice looks like, rather than an inattentive one.What is proposed
A twenty-third deterministic family: distance-graded in first-parent landings so the legitimate declare-then-tag window stays green; ABSENT and MISPLACED tags split into different words at different severities, because a tag on the wrong commit satisfies every check that asks only whether one exists and is what consumers pin; a lightweight ref refused; silent below the
contract-v1.7enforcement line; and a skip — never a pass — where the question cannot be asked.It carries the
## MODIFIEDblock a new family owes. "Deterministic check families" names every family and counts them three times in prose, andfamily-enumerationmeasures those numerals against the code registry precisely because that restatement was left incomplete three times in three days with all three catches human. Restated whole from canon, eight scenarios unchanged, only the enumeration moving.Five decisions flagged for veto
None is covered by the commissioning.
Release-inventory drift, whose non-contestedclass rests on the stated fact that its findings are resolved by a release cut. A tag finding is not — it is resolved by a publication, a different act by a different actor.verify_tagwhile verify-tag conflates "not fetched locally" with "tag unreachable from main" #338 stands. Observed live:verify-tagfails identically oncontract-v2.2, whose tag is definitively correct.Predicted report movement, measured both ways
From the family, on the day it lands: ZERO. 46 published tags against 53 changelog entries, the seven absences all in the
contract-v1.0–v1.6legacy sequence, andcontract-v2.5— the current declared bundle — tagged. A nonzero answer there would be a finding about the estate, not about the check.From this packet, while it sits unratified: +3
warning, +1info, nothing else. Measured with a--single-reporun with and without, same clock. The three arefamily-enumerationreading a delta that declares twenty-three against a registry still holding twenty-two — the correct answer to the question it asks, and unavoidable for any propose-then-realize family. The one info ismodified-block-currencynaming the two body units this packet deliberately rewrites; three other active packets carry the same shape today. Each clears at realization. If your run disagrees with that paragraph, the disagreement is the finding.OPENSPEC_TELEMETRY=0 openspec validate --all --strict: 82 passed, 0 failed.