Repository navigation
Move the sequenced-after live pin: active_co_modified 19→18 since #563 archived add-release-tag-publication-check - #568
Conversation
…563 `test_the_live_sweep_reproduces_the_AUTHORING_measurement` pinned `sweep.active_co_modified == 19`; the live corpus reads 18, and has since `ded8b9f1`, when PR #563 archived `add-release-tag-publication-check`. That change was ACTIVE and carried a `## MODIFIED Requirements` block, so it was co-modified; archiving moved it out of the active corpus (active 30 -> 29, archived 122 -> 123) and `active_co_modified` fell 19 -> 18 while the corpus-wide `co_modified` held at 104 — it is still a co-modifier, just no longer an active one. PR #567 (`43cf5933`) then landed this test carrying an authoring measurement taken three minutes BEFORE that archive. Every push since main's last green (`518c670b`) had its pytest cancelled by the concurrency group, so `6856f502` was the first completed run and the first red one. Re-derived EVERY live assertion against the tip with a fixed counting method, per commit since the last green: 518c670 ids 152 (30a/122r) co 104 sole 48 active 19/11 decl 0 chain 0 ded8b9f ids 152 (29a/123r) co 104 sole 48 active 18/11 decl 0 chain 0 43cf593 ids 153 (30a/123r) co 104 sole 49 active 18/12 decl 1 chain 1 a951be7 ids 153 (30a/123r) co 104 sole 49 active 18/12 decl 1 chain 1 6856f50 ids 153 (30a/123r) co 104 sole 49 active 18/12 decl 1 chain 1 ONE assertion moved. `co_modified` (104), `change_ids - 1` (152), `sole_modifiers - 1` (48), `active_sole - 1` (11), the three archived prose headers, the single declaration and the zero root claims are all untouched. `active_sole - 1 == 11` survives ON ITS MERITS, not by a cancelling pair of errors: #563's archive removed a CO-modified active, never a sole one, so `active_sole` read 11 both before and after it and moved to 12 only when this change added itself. Recorded in a comment rather than left as a silent coincidence, since the archive landing mid-authoring makes it worth ruling out. The move is recorded in a dated MOVEMENT LOG in the test's own docstring, following the sibling carriage ledger's practice in `tests/doc-health/test_modified_block_currency_self_gate.py`. The authoring measurement recorded in `proposal.md`, `design.md` and the README OpenSpec Records block is DELIBERATELY untouched: it is a historical record of what was measured then, and those three report one coherent pre-adoption snapshot (152/104/48/19-11/0 occurrences) that moving a single number would falsify into a corpus that never existed. The LIVE pin is the test. Verified: `pytest tests/sequenced_after -q` 118 passed; `pytest tests/doc-health -q` 1384 passed; `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` 83 passed, 0 failed. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
There was a problem hiding this comment.
🟢 Approval recommended
The change is a narrowly-scoped test pin update with consistent in-file documentation, and no correctness or maintainability issues were found in the modified hunk.
Pull request overview
Updates the live corpus sweep pin in tests/sequenced_after to match the post-archive corpus state, restoring main’s pytest stability while preserving the originally-recorded authoring measurement as historical data.
Changes:
- Adjusts the live assertion for
sweep.active_co_modifiedfrom 19 to 18 to reflect the current active corpus. - Expands the test docstring and assertion message with a dated movement log and a re-derivation command to make future drift updates explicit and auditable.
File summaries
| File | Description |
|---|---|
| tests/sequenced_after/test_sweep.py | Updates the live sweep pin (active_co_modified) and records the movement rationale inline to prevent silent drift. |
Review details
- Files reviewed: 1/1 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.
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Merging on Brett Heap's explicit word, 2026-09-01 in-session ("merge the pin fix when green, then #565"), admin squash per the provenance pattern. All four required checks GREEN at head 094600d — pytest-suite fully green here, as it must be for the PR that fixes main's red. Codex reviewed and found no issues (the first Codex verdict of the day); zero open review threads. This moves the sequenced_after live pin active_co_modified 19→18 with the #563 attribution, restoring main's pytest-suite for every lane (incl. the clearing-contract lane's ratified #555 and the adopted #565). |
…and §8 open with the reason Realizes add-requirement-ref-resolution-integrity's evidence convention: a box closes on a FACT that survives the session — a path, a count, a command and its output — never on an intention, and a box that did NOT close stays OPEN WITH THE MEASUREMENT rather than ticked with an excuse. TICKED: §3.1-§3.7 (the arm, the two codes, the frozen resolver verified function by function, the lift's two duties, the silent direction, five mutants with both halves recorded), §4.1-§4.4 (three probes, the by-name inventory and the derived count string in one commit: 6 -> 7 positive, 10 -> 12 warning, 8 -> 10 codes probed), §5.1-§5.3 (the policy entry, the reconciled completeness claims across three live sites with two deliberately left and the reason for each, the manifest row with its unchanged digest stated, and §5.3's checked-none-found sweep recorded site by site), and ALL OF §7. THE GATES ARE RE-RUN AFTER A CATCH-UP MERGE OF origin/main bbbbeda, against the tree that would actually merge rather than the one they were first taken on. §7.2 is `8621 passed, 21 skipped, 338 deselected` — zero failures, and SKIPPED is EXACTLY the pinned EXPECT_SKIPPED: "21", with the 7070/7090 floors cleared and neither moved. §7.2 WAS OPEN AN HOUR AGO AND THE RECORD KEEPS BOTH READINGS. Before the merge the run was `1 failed, 8620 passed`: `test_the_live_sweep_reproduces_the_AUTHORING_measurement` failed `assert 18 == 19` on `active_co_modified`. It was ISOLATED ON BOTH TREES BEFORE IT WAS ATTRIBUTED — that file alone gave `1 failed, 13 passed` on this branch AND on the untouched baseline clone, with a byte-identical `Sweep(...)` tuple — and it was another lane's pull request, openxFactory #568, which has since landed as d308c01. The diagnosis is kept rather than deleted, because it is the evidence the failure was never this change's. §7.5 TICKS WITH ONE NEW FINDING NAMED, NOT WITH ZERO. Same-clock doc-health against the NEW origin/main baseline: the findings line moves 13 -> 14 info and nothing else, and set difference over the family's rows isolates exactly one new row — `severity=info family=release-inventory-drift path=contracts/README.md`, labelled "editorial member — expected between cuts". §5.1 swept that file because it repeated a completeness claim this act falsifies; the drift is the consequence of editing a file the just-landed v2.6 inventory pins, and its OWN action line says to discharge it by cutting a release and NEVER by hand-editing an inventory or contract_bundle_version. This slice does neither. The other five drift rows — including the `error` row on docs/contract-versioning-policy.md, which this change also edits — are present in the BASELINE report before any edit of ours, measured by `comm` rather than by eye. NOT TICKED, EACH WITH THE MEASUREMENT WRITTEN IN: §6.1-§6.4 — THE CUT IS NOT THIS SLICE, AND THE ROW IS REWRITTEN RATHER THAN LEFT TO READ AS IT DID BEFORE. When §3 was started, manifest line 3 read contract-v2.5 and PR #565 was an OPEN contract-v2.6 cut on the same file, which is why no number was allocated. #565 HAS SINCE LANDED (bbbbeda) and the merge is clean — it moved line 3, this change moves a consumption_rule a hundred and ninety lines below it. These two codes are NOT in contract-v2.6, which is a fact about order rather than a judgement: #565 was cut from a tree that did not contain them. REGISTRATION RIDES THE NEXT CUT. §6.4 additionally names the one release-inventory-drift row this slice leaves for that cut, rather than letting it be discovered. §8.1-§8.4 — NOT MERGED. §8.3's `grep` is re-verified at this tip (no `## MODIFIED Requirements` block anywhere in the packet, so no archive-order hold) but that row asks for the check AT ARCHIVE TIME, and this is not that moment. §2.2 and §2.3 are untouched by this commit and stay exactly as the ratification left them. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2
…-requirement-ref-resolution-integrity (#570) * A reference is resolved on its own binding: two codes of a second family, and three probes Realizes add-requirement-ref-resolution-integrity §3.2-§3.3 and §4, ratified 2026-09-01 by direct ruling and amended the same day by the same ratifier (scope: PER-DOCUMENT). The reference resolution was performed in exactly ONE place — the six-condition lift, reached only for a PAIR of bindings sharing a `secret_ref` — so a binding declaring a well-formed, grammatical reference to a requirement that does not exist, and whose secret reference was its own, was resolved by nobody and reported by nothing. It is reported per-binding now, whatever the binding shares. THE SHARED SECRET WAS A PROXY FOR THE RULE AND NOT THE RULE, and this capability had already ruled on that proxy once: the authority collapse is raised on the holder/fetch-identity pair independently of `secret_ref`, on exactly this reasoning. Reporting a dangling reference only where an EXEMPTION was being asked for reported the defect precisely where a reader was already being refused, and stayed silent everywhere it merely sat. TWO CODES, OF A SECOND FAMILY, NAMED APART. `requirement-ref-unresolved` and `requirement-ref-ambiguous` join `DEPRECATION_CODES` (8 -> 10). They are not a ninth `consumer-*` code because those eight are enumerated against refusals of SHAPE — missing, incomplete, closed-and-violated, ungrammatical, token declared false — and a reference that resolves to nothing is none of those: it is well-formed, inside the declared member set, grammatical in both members, and WRONG ABOUT THE WORLD. Filing it under a grammar code would make that code untrue in the other direction. The enumeration rule is satisfied by DECLARING THE ACT AT THE MAJOR rather than by exempting these two from it. And they are named apart from each other because their remedies live in different files: a reference resolving to NOTHING is repaired AT THE REFERENCE, one resolving to SEVERAL in THE REQUIREMENTS DOCUMENT IT NAMES — and the second is the more dangerous, the matches being free to differ in `access_mode`. `resolve_requirement` IS CALLED AND NOT WIDENED — byte-identical, verified function by function, along with `requirements_index`, `_lift_refusal_detail`, `_lift_refusal`, `_binding_findings`, `_consumer_block_warnings` and `_semantic_findings`. The arm adds no read, no path and no input; it reports a resolution the validator already performed and discarded. So the ambiguity it names is PER-DOCUMENT, which is the ambiguity that resolver can see, and the CROSS-DOCUMENT arm is deliberately out of scope and filed as openxFactory issue #553 — cited in the finding itself, where the reader who hits the boundary is standing. ONE FAULT KEEPS ONE FINDING. `malformed` and `ungrammatical` are the two statuses the grammar arms already report, and an ungrammatical `requirement_id` is reported by the same arm, so all three are skipped here rather than named twice. `index` defaults to None and skips the pass alone: an empty index would report `not-found` for every declared reference in a repository the caller never scanned, which is a finding about the caller. THREE PROBES, AND ONE OF THEM PROVES THE SILENCE. Both warning fixtures share their secret with NOBODY, because a probe that shared one would pass against the shipped validator too and evidence nothing; the ambiguity probe re-uses the shipped `support/ambiguous-requirement-ids.requirements.yaml`, whose header now names BOTH probes depending on its duplication so a later edit cannot silently defang two at once. The positive is its own file so a regression in the silent direction names itself — a corpus holding only the failing direction cannot tell a working check from one that fires on everything. All three join the by-name inventory in the SAME COMMIT, which is the condition under which deriving the count string is safe rather than fail-open: 6 -> 7 positive, 10 -> 12 warning, 16 negative unmoved, 8 -> 10 codes probed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2 * The reproduction becomes a test, and five mutants say the arm is load-bearing Realizes add-requirement-ref-resolution-integrity §3.5-§3.7. Forty-one tests in `tests/credential_contracts/test_requirement_ref_resolution.py`. THE PACKET'S OWN REPRODUCTION IS THE FIRST TEST IN THE FILE. The defect was measured as a tree that PASSED with zero warnings and zero errors while carrying two defective references, and where making the two `secret_ref`s equal — ONE BYTE, and no other edit to any file — was enough to make the same tree speak. A reproduction that lives only in a proposal is a reproduction nobody re-runs, so both files are carried verbatim and driven through the real validator as a subprocess. `test_the_control_is_ONE_BYTE_and_the_templates_are_the_SAME_LENGTH` asserts the spacing itself: same length, and exactly one differing offset (980). That assertion exists because the packet's §6 files name BOTH secret spellings in their comment header, so a global substitution produces a TWO-byte control and a reader rerunning it would measure something the text does not describe — the same class of drift the packet already repaired once when `-one`/`-two` was called a one-byte edit. THE SHARING PAIR KEEPS BOTH DUTIES, asserted on ONE record: exactly one semantic finding and it is `shared-secret-identity` naming the condition that stood, AND exactly one deprecation code and it is `requirement-ref-unresolved`. Neither replaced the other, and they are not one fault named twice — they answer different questions, and a reader repairing the reference discharges only the first. Its control is built with it, because a refusal test that never had a lift to lose proves nothing: a conforming pair still lifts, and moving ONE `requirement_id` moves both verdicts at once. THE SILENT DIRECTION IS FOUR NAMED TESTS, not an afterthought — a resolving reference, a binding declaring none, a stub, and the same defective binding driven alone and beside a conformant one to prove the report depends on no other binding in the document. Five grammar-fault shapes assert one fault keeps one finding. THE PER-DOCUMENT BOUNDARY IS PINNED BY A TEST rather than left implicit: `test_the_same_id_in_ANOTHER_document_draws_nothing_at_this_minor` declares one id in TWO schema-valid documents and asserts the arm stays SILENT, so the successor that broadens the lookup (openxFactory issue #553) can see exactly which assertion it is changing. FIVE MUTANTS, EACH WITH BOTH HALVES RECORDED. §3.7's four — drop the per-binding call, merge the two codes, report on an undeclared member, scope the arm back to `by_secret` — plus `report-the-wrong-status`, which was AD-1's item 9 and is carried though that branch was declined: it costs nothing and it proves the two codes are ROUTED differently rather than merely spelled differently. Each records the ANCHOR as well as the death, on the sibling module's rule that a named test failing for want of a fixture is ANCHOR-MISSING and not a kill. The merge mutant is driven on a document carrying ONE OF EACH fault, because with a single defective binding a merged code is indistinguishable from a correctly split one and the mutant would have died for the wrong reason. No test in the file skips. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2 * A ninth act lands at contract-v3.0, and every live entry that claims to name every one is reconciled Realizes add-requirement-ref-resolution-integrity §5. The deprecation is declared where a consumer upgrading across it will read it, and the entries beside it that assert completeness are made true rather than left to contradict it. THE NEW ENTRY, in `docs/contract-versioning-policy.md` § Deprecations Currently In Force: the act, its two codes in a table written from the REFUSAL LIST, a migration path PER CODE — repair the REFERENCE for `requirement-ref-unresolved`, repair THE REQUIREMENTS DOCUMENT THE REFERENCE NAMES for `requirement-ref-ambiguous` — the per-binding scope, the sharing pair's two duties, the PER-DOCUMENT boundary with openxFactory issue #553 named, the measurement that nothing narrows at this minor, and the removal target contract-v3.0. The same major the consumer block's seven acts land at, so a consumer serves ONE deprecation window rather than two. THE SIBLING ENTRY IS RECONCILED, NOT DUPLICATED. Its paragraph claiming to name EVERY act landing at that major now carries a RECONCILED, NOT RESTATED paragraph naming the ninth act and pointing at the entry that declares it — the delta's own condition, which an entry satisfies by carrying the new act OR naming the entry that does. An entry asserting a completeness it does not have is worse than one asserting nothing, because a reader at the major uses it to demonstrate the deprecation precondition was met and cannot tell an act that served its window from one that never had an entry. THE SWEEP IS RECORDED IN BOTH DIRECTIONS, on the rule that an edit changing what a packet asserts about itself owes a sweep of every site asserting the same thing. `grep -rniE 'EIGHT warning|eight .consumer-|seven acts'` finds FIVE live sites. RECONCILED: the policy entry; `contracts/manifest.yaml`'s `credential-contracts` row, which repeated the same sentence; and `contracts/README.md`'s schema-registry table, which repeated it a third time and points readers AT the policy section — a live registry doc, not digest-pinned, so it is swept here and its change list gains this change. DELIBERATELY LEFT, EACH WITH ITS REASON: the schema's own `description` (`contracts/schemas/xfactory-credential-contracts.schema.yaml:205`), because editing it moves the SCHEMA BYTES and therefore the manifest digest this change pins as unmoved, and because the schema is declared out of this packet's surface — the sentence is scoped by its own paragraph to the seven block narrowings and claims nothing about codes a later minor adds; and `contracts/CHANGELOG.md`'s contract-v2.4 entry, which is a RECORD of what that release shipped and was TRUE at it, where a retroactive edit would falsify the record and where tasks §6.3 gives the CHANGELOG to the cut, which adds its OWN entry rather than rewriting an old one. THE `Warned since` VERSION IS DELIBERATELY UNWRITTEN, and the entry says so rather than leaving the omission to look like an oversight. The bundle number is allocated by MERGE ORDER at the cut; `contracts/manifest.yaml:3` reads contract-v2.5 at this tip and PR #565 is an open contract-v2.6 cut on the same file, so a number written here is a number another packet is already spending. An entry naming a warning release that was never cut would be the same defect as an entry claiming a completeness it does not have. THIS COMMIT PERFORMS NO CUT: `contract_bundle_version` is unmoved and `contracts/CHANGELOG.md` is untouched. AND THE UNCHANGED DIGEST IS STATED RATHER THAN INFERRED: the manifest row's `sha256` is the SCHEMA FILE's and does not move, because resolution is not a shape JSON Schema can check — it is a lookup INTO ANOTHER DOCUMENT — and the schema is not edited. Verified: `python3 scripts/validate-manifest-digests.py` reports 163 per-file digests verifying. §5.3 is CHECKED, NONE FOUND: `docs/credential-access-model.md` carries three sites that could have described the reference as resolved-only-in-a-pair — `:180` and `:231`, both about the SECRET rather than the requirement reference, and `:246-250`, the only paragraph mentioning `requirement_ref`, which describes the sharing case without claiming resolution happens only there. Those are every occurrence of `resolv` and of `requirement_ref` in the file. No edit made, and none invented: that row authorizes a repair if a wrong sentence exists, which is a different act from adding a right one. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2 * Tick §3, §4, §5 and five of §7 with the measurements inline; leave §6, §7.2 and §8 open with the reason Realizes add-requirement-ref-resolution-integrity's evidence convention: a box closes on a FACT that survives the session — a path, a count, a command and its output — never on an intention, and a box that did NOT close stays OPEN WITH THE MEASUREMENT rather than ticked with an excuse. TICKED: §3.1-§3.7 (the arm, the two codes, the frozen resolver verified function by function, the lift's two duties, the silent direction, five mutants with both halves recorded), §4.1-§4.4 (three probes, the by-name inventory and the derived count string in one commit: 6 -> 7 positive, 10 -> 12 warning, 8 -> 10 codes probed), §5.1-§5.3 (the policy entry, the reconciled completeness claims, the manifest row with its unchanged digest stated, and §5.3's checked-none-found sweep recorded site by site), and §7.1 / §7.3 / §7.4 / §7.5 / §7.6. NOT TICKED, EACH WITH THE MEASUREMENT WRITTEN IN: §6.1-§6.4 — THE CUT IS NOT THIS SLICE. `contracts/manifest.yaml:3` still reads contract-v2.5, unmoved from origin/main, and `contracts/CHANGELOG.md` is untouched. Another lane's contract-v2.6 cut is in flight (PR #565) on the same file, and allocating a second number against it here is exactly the collision §6.1 was written to prevent. Registration rides whichever cut comes next. §7.2 — ONE FAILURE, AND IT IS NOT THIS CHANGE'S. The box asks for zero failures and gets one, so it does not tick. The run was `1 failed, 8620 passed, 21 skipped, 338 deselected` — SKIPPED is EXACTLY the pinned `EXPECT_SKIPPED: "21"`, and PASSED/SELECTED clear the 7070/7090 floors with margin; neither pin is moved. The failure is `test_the_live_sweep_reproduces_the_AUTHORING_measurement` in `tests/sequenced_after/test_sweep.py`, `assert 18 == 19` on `active_co_modified`. ISOLATED ON BOTH TREES, which is what makes this a diagnosis rather than a hope: that file alone gives `1 failed, 13 passed` on this branch AND on the untouched origin/main baseline clone, and the printed `Sweep(...)` tuple is byte-identical between them. This realization adds no OpenSpec change directory and moves no requirement title, so it cannot move those counts. The repair is already filed by its own lane — openxFactory PR #568, the same number, the same test, the same cause. §8.1-§8.4 — NOT MERGED. §8.3's `grep` is re-verified at this tip (no `## MODIFIED Requirements` block anywhere in the packet, so no archive-order hold) but that row asks for the check AT ARCHIVE TIME, and this is not that moment; the measurement is recorded so the archiver re-runs it against a shorter list of possibilities, not so they skip it. §7.5 records the doc-health comparison in full rather than as a verdict: the findings line is IDENTICAL on both trees across two same-clock runs (6 critical, 7 error, 39 warning, 14 info), and the only two report deltas are the canon-share metric moving with the new prose and a `release-tag-publication` SKIP that FOUR controls place in the environment — two different reasons across two runs, `git cat-file` reading the object one of them names, the family alone returning `No findings` on the final tree, and the baseline reproducing nothing with its origin repointed at the same SSH URL. §2.2 and §2.3 are untouched by this commit and stay exactly as the ratification left them. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2 * Tick §3, §4, §5 and all of §7 with the measurements inline; leave §6 and §8 open with the reason Realizes add-requirement-ref-resolution-integrity's evidence convention: a box closes on a FACT that survives the session — a path, a count, a command and its output — never on an intention, and a box that did NOT close stays OPEN WITH THE MEASUREMENT rather than ticked with an excuse. TICKED: §3.1-§3.7 (the arm, the two codes, the frozen resolver verified function by function, the lift's two duties, the silent direction, five mutants with both halves recorded), §4.1-§4.4 (three probes, the by-name inventory and the derived count string in one commit: 6 -> 7 positive, 10 -> 12 warning, 8 -> 10 codes probed), §5.1-§5.3 (the policy entry, the reconciled completeness claims across three live sites with two deliberately left and the reason for each, the manifest row with its unchanged digest stated, and §5.3's checked-none-found sweep recorded site by site), and ALL OF §7. THE GATES ARE RE-RUN AFTER A CATCH-UP MERGE OF origin/main bbbbeda, against the tree that would actually merge rather than the one they were first taken on. §7.2 is `8621 passed, 21 skipped, 338 deselected` — zero failures, and SKIPPED is EXACTLY the pinned EXPECT_SKIPPED: "21", with the 7070/7090 floors cleared and neither moved. §7.2 WAS OPEN AN HOUR AGO AND THE RECORD KEEPS BOTH READINGS. Before the merge the run was `1 failed, 8620 passed`: `test_the_live_sweep_reproduces_the_AUTHORING_measurement` failed `assert 18 == 19` on `active_co_modified`. It was ISOLATED ON BOTH TREES BEFORE IT WAS ATTRIBUTED — that file alone gave `1 failed, 13 passed` on this branch AND on the untouched baseline clone, with a byte-identical `Sweep(...)` tuple — and it was another lane's pull request, openxFactory #568, which has since landed as d308c01. The diagnosis is kept rather than deleted, because it is the evidence the failure was never this change's. §7.5 TICKS WITH ONE NEW FINDING NAMED, NOT WITH ZERO. Same-clock doc-health against the NEW origin/main baseline: the findings line moves 13 -> 14 info and nothing else, and set difference over the family's rows isolates exactly one new row — `severity=info family=release-inventory-drift path=contracts/README.md`, labelled "editorial member — expected between cuts". §5.1 swept that file because it repeated a completeness claim this act falsifies; the drift is the consequence of editing a file the just-landed v2.6 inventory pins, and its OWN action line says to discharge it by cutting a release and NEVER by hand-editing an inventory or contract_bundle_version. This slice does neither. The other five drift rows — including the `error` row on docs/contract-versioning-policy.md, which this change also edits — are present in the BASELINE report before any edit of ours, measured by `comm` rather than by eye. NOT TICKED, EACH WITH THE MEASUREMENT WRITTEN IN: §6.1-§6.4 — THE CUT IS NOT THIS SLICE, AND THE ROW IS REWRITTEN RATHER THAN LEFT TO READ AS IT DID BEFORE. When §3 was started, manifest line 3 read contract-v2.5 and PR #565 was an OPEN contract-v2.6 cut on the same file, which is why no number was allocated. #565 HAS SINCE LANDED (bbbbeda) and the merge is clean — it moved line 3, this change moves a consumption_rule a hundred and ninety lines below it. These two codes are NOT in contract-v2.6, which is a fact about order rather than a judgement: #565 was cut from a tree that did not contain them. REGISTRATION RIDES THE NEXT CUT. §6.4 additionally names the one release-inventory-drift row this slice leaves for that cut, rather than letting it be discovered. §8.1-§8.4 — NOT MERGED. §8.3's `grep` is re-verified at this tip (no `## MODIFIED Requirements` block anywhere in the packet, so no archive-order hold) but that row asks for the check AT ARCHIVE TIME, and this is not that moment. §2.2 and §2.3 are untouched by this commit and stay exactly as the ratification left them. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012WEcJUPMqpciTRSbJZzkh2 --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
… stale (§9.2 style) (#592) * add-clearing-dispatch-boundary: file forward what #555's landing made stale (§9.2 style) #555 (this packet) merged as squash ab0bb2d on 2026-09-02, and PR #191 (xFactory realization), PR #557 and PR #568 (the two inherited-red fixes) have all landed since the packet's own text was last written. File forward dated CORRECTION entries beside each now-stale statement, per this repo's convention (no deletion or rewording of retained text): - proposal.md Ratification section: "#555's own merge stays gated on..." corrected — #555 has merged. - tasks.md §9.2: the "CONSEQUENCE FOR THIS PULL REQUEST... MERGE WAITS..." clause corrected — the wait ended; #555 merged. Also notes the later, unrelated release-tag-publication red (#575) and its fix (PR #587) so a reader does not conflate it with this packet's own already-resolved reds. - tasks.md §3 heading: "authored IN PARALLEL... is being authored beside this one" corrected — it landed as xFactory#191, verified against the provider API. - design.md OQ3 heading: "PENDING RATIFICATION" corrected — ratification landed 2026-09-01 and confirmed OQ3 (tasks.md §2.1). Ticks §9.1 and §9.2 with evidence produced in this same commit: OPENSPEC_TELEMETRY=0 openspec validate add-clearing-dispatch-boundary --strict and --all --strict both green (84/84); python3 -m pytest -q tests/doc-health tests/sequenced_after: 1529 passed. §9.3 (release- realization archiving) is left untouched and not claimed. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW * Address bot review: fix leftover-fragment wording, add whole-suite CI evidence for 9.2 Copilot (thread on tasks.md:562/566): the §9.1/§9.2 DONE annotations I added interrupted the original retained sentences mid-thought, reading as duplicated/leftover fragments. Fix: reordered so each original sentence stays intact and contiguous (no deletion or rewording of retained text, per this repo's file-forward rule), with my own DONE evidence now following rather than interrupting it — this only reorders text this PR itself introduced, not yet part of any landed record. Codex (P2 on tasks.md:567): the local `tests/doc-health tests/sequenced_after` run alone doesn't speak for the required `pytest-suite` check, which runs the whole `tests/` tree. Fix: added the required check's own result on this head as evidence — opensoft/openxFactory run 33693230302 passed (`8671 passed, 21 skipped, ... failures=0 errors=0`, freshness verifier passed) — so §9.2's tick is now backed by both the targeted suites and the full required suite, not the targeted suites alone. Lane: openxfactory-f2 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
… of canon meets the claim Three readings from Copilot's review at `b92a96a5`. Two are the same objection in two places and the third is the most valuable comment this arc has received. ONE AND TWO -- "MERGED PLUS GREEN" MEANS GREEN, AND "INHERITED" IS NOT A DISCHARGE. The record proved the red at `6856f502` was not this packet's and then left § 8.1 half met, which is the wrong shape of answer: the gate does not ask whose fault the failure was, it asks whether the realization ever ran green on `main`. IT DID, TWO COMMITS LATER, and the run is now NAMED rather than reasoned around: $ git merge-base --is-ancestor 6856f50 d308c01 # exit 0 $ git diff --stat 6856f50 d308c01 tests/sequenced_after/test_sweep.py | 46 ++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 2 deletions(-) $ gh api .../commits/d308c012/check-runs -> pytest-suite SUCCESS run 100071079428, 2026-09-02T00:15:02Z `d308c012` (PR #568) CONTAINS every byte of this realization and its `pytest-suite` is SUCCESS. The entire difference between the two commits is ONE FILE -- the sweep pin -- which belongs to neither this packet nor its code surface: not the schema, not the runtime, not the validator, not a fixture, not a packaged example. So the green run is a run of THIS realization's tree rather than of a repaired one, and § 8.1 is MET on evidence instead of on an exception. The red at the merge commit stays in the record. A record that quietly moved to the greener commit would hide that the suite was red on a commit somebody may one day bisect to. THREE -- THE PROMOTION CARRIED A CLAUSE THE REALIZATION HAD ALREADY MEASURED FALSE, AND PROMOTION IS WHAT MADE THAT MATTER. The ADDED requirement's "THE SHARED DEFINITIONS DO NOT LEAVE WITH THE ENVELOPES" names six definitions as `$ref`-ed by the v1 envelopes AND reachable from the surviving family. The packet's own § 2.1 says in terms: "`typed_proposal` IS NOT REACHABLE FROM THE SURVIVING FAMILY ... the premise is false for one of the six", the widened family restating the shape as `keyed_typed_proposal` and never pointing at it. THE ESTATE HAD ALREADY DISPOSITIONED THIS -- § 6.8, added at the cut for exactly this purpose: `typed_proposal` is RETAINED, unreferenced, with the reason recorded, and the decision lives in `contracts/CHANGELOG.md` § `contract-v3.0` and the Executed row "so the FALSE REACHABILITY CLAIM is not what a reader finds standing at the major". That remedy rested on the clause living in an ACTIVE change's delta, where a reader meets it beside § 2.1's correction. PROMOTING IT MOVES THE CLAUSE INTO CANON, where nothing stands beside it -- a consequence this closure creates and the review caught. So the promoted specification now carries a marked, dated ERRATUM immediately after the requirement: the ratified sentence is UNEDITED, the measurement and its citation are stated, and the disposition is named. It records that the OUTCOME the sentence asserts still holds -- `typed_proposal` did not leave -- while its REASON does not: the retention stands on § Change Classes *Breaking (major)*, which forbids removing a definition no deprecation entry announced and no minor warned on, and a removal owes its own deprecating minor first. AND THE CLAUSE CAUGHT ITS OWN ERROR. The same requirement demands that each removal be "measured from the surviving family's own reference closure rather than assumed", and applying that rule is precisely what falsified the list beside it. The rule is sound; one of its examples was not. Editing ratified text in a closure would have been authoring; leaving canon to assert it unqualified would have been worse. MEASURED WITH THE ERRATUM IN PLACE: `promotion-fidelity` still reads `0 critical, 20 error, 0 warning, 0 info` -- the note adds no drift finding -- `validate-openspec-cli-pin.py --all` exit 0 with 0 UNDISPOSITIONED failures, and `pytest -q tests/doc-health tests/target_release` 1921 passed. The promoted requirement count is unchanged at 104. Refs #656 (stays OPEN). Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…e, and ITS delta promotes (#1066) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs #656 (stays OPEN). CLAIM [`5698423421`](#656 (comment)). **RE-POINTED TO `main`** (2026-09-18, after #1056 → #1057 → #1060 → #1065 all landed by merge commit). It was stacked on `change/rehome-lens-document-selection`; it is not any more, and the full gate runs. **Rule 6 applies** (this touches `openspec/changes/` and README's OpenSpec Records block): the landing lane posts the LANDING line first. # § 6.2 — the fifth box, and the only one that is not a re-home `split-opendox-two-layer-product` `tasks.md` § 6.2 and `design.md` § D9 use the same words: this change *"archives in `openxFactory` on its own evidence, and only its FORWARD half — the surviving `-v2` family's requirements — re-homes to openDox."* **The packet's own spec counts FOUR, not five.** *"Under RULING Q6 those **four** changes stop where they stand, so their `## ADDED` blocks never promote HERE."* This is the fifth — the exception that sentence is counting around. Its realization **merged in this repository** (PR #564, squash `6856f502`) and its `contract-v3.0` cut **is published** (annotated tag `59f4f51f`, peeling from the remote to `ff9ed815`). So it archives the ordinary way, and **its delta PROMOTES.** ## What is in the diff | | | | --- | --- | | `openspec/changes/retire-doxbench-chat-turn-v1/` → `openspec/changes/archive/2026-09-16-…/` | 6 files, `.openspec.yaml` included, a true rename — verified `git ls-tree HEAD openspec/changes/` carries nothing at the old path | | `openspec/specs/ideation-dashboard/spec.md` | **+224 lines, 0 deletions** — **157** the promotion, every byte taken from the ratified delta by script; **67** the dated ERRATUM added below the first requirement, which is marked as not part of the ratified text and says so in its first line. The erratum carries THREE corrections, each measured on the landed text: the `typed_proposal` clause (§ 2.1), the v1-served scenario bounded by the removal this cut performs, and the short release count — the last two found by Copilot at `c431a3e3`. Every figure here is RE-MEASURED where it is written, never adjusted from the one before it: **157** with no erratum, **186** with the first correction, **213** with all three, **224** after the third was itself corrected — Copilot having caught at `91644a2d` that it still counted the unpublishable `contract-v2.6` as a release. The published run from the deprecation to the removal is **twenty** releases, measured by TAG (`git ls-remote --tags origin 'contract-v*'`), the versioning policy § *`contract-v2.6` — Instance Six* ruling an untaggable bundle *"permanently unreleased"*. A stale insertion count in an evidence table is the same defect this pull request keeps correcting in other people's prose, and it has now been this pull request's defect twice. | | `review/archive-2026-09-16.md` | the closure record, `Status: record` | | `README.md` | active bullet retired (89 lines), archived-ledger entry added newest-first | | `tests/sequenced_after/corpus-ledger.yaml` | the one live coupling — `--seed-ledger`, in the commit that follows this PR's number | `tasks.md` is **not edited and no box is ticked**: in this lane every `tasks.md` tick rides the bookkeeper's single amendment, and this record exists so that amendment can tick from a measurement rather than a memory. ## The promotion, measured both ways Every promoted byte is taken from the ratified delta **by script**, not retyped: both `## ADDED` requirements appended, and the `## MODIFIED` block replacing the promoted requirement of the same title — which gains three paragraphs and three scenarios and loses nothing, so the diff is insertions only. | doc-health `promotion-fidelity`, `--single-repo` | errors | | --- | ---: | | this closure's head, **move alone, no promotion** | **23** | | this closure's head, **as pushed** | **20** | Twenty is what the four re-homed closures already owe, and **none of the twenty is this packet's**. So this change takes **no** `health/dispositions.yaml` entry, and the aggregation companion ([xFactory #454](opensoft/xFactory#454)) carries a header comment forbidding one by analogy. **And one block can land nowhere else.** The forward half carries two of the three requirements into `opensoft/openDox` as `carry-doxbench-chat-turn-v2-family` ([openDox-spec #15](opensoft/openDox-spec#15)). The third — *The doxBench chat-turn v1 envelope family is REMOVED at `contract-v3.0`* — travels nowhere, openDox having removed nothing. Closed the way the other four closed, that ratified requirement would exist in **no** promoted specification anywhere. ## The seven open boxes: six discharged BY MEASUREMENT, one named Every command and its output is in the closure record. **7.1 — the validator at the tag. MET, three conjuncts.** The tag read *from the remote* (`git ls-remote --tags origin contract-v3.0` → `59f4f51f…`), checked out detached: `0 error(s), 0 warning(s)`; `--strict` exit 0; and a packaged instance whose `kind` is the **retired** `workbench-chat-turn` refused `[kind] unrecognized document (no known kind, no 'possibles_register' section)`. **7.2 — the fallback against the RUNNING SERVE, both directions. PERFORMED.** An earlier session reported this box no longer performable here, because § 5.2's shed (`cc4ae9d3`, PR #940) took `serve.py` off `main`. **That report was about the wrong tree**: § 7.1 already directs the verification AT THE TAG, and the tag still carries the serve. Taken there, on a real loopback `ThreadingHTTPServer` driven over a real socket by `http.client` — the suite's own `build_server` harness, so the thing answering is the server and not a handler called in-process: ``` DIRECTION 1 kind="workbench-chat-turn" (RETIRED), client_turn_id="turn-0001" -> HTTP 400 {"schema_version": 1, "kind": "workbench-chat-turn-v2-failure", "client_turn_id": "turn-0001", "error": "unrecognized_turn_kind", "message": "this route does not serve the chat-turn kind the request declared"} DIRECTION 2 same kind, NO wire-valid client_turn_id -> HTTP 400 {"ok": false, "error": "unrecognized_turn_kind", "message": "this route does not serve the chat-turn kind the request declared"} CONTROL kind="never-was-a-kind", with identity -> HTTP 400 … byte-for-byte direction 1's body but for the correlation key the client itself sent ``` Direction 1 is the surviving family's closed failure envelope; direction 2 the pre-identity shape with **no fabricated `client_turn_id`**, which is the half the requirement says must stay unchanged. The injected model port recorded **zero calls** in all three — the refusal never reaches a provider. The control is the requirement's central claim answered on the wire: *"after the removal a retired kind and a kind that never existed are the same fact about the wire."* **8.1 — merged, and the merge commit's suite. HALF MET, AND THE OTHER HALF IS NOT THIS PACKET'S.** §§ 2-5 merged: PR #564, squash `6856f502`, an ancestor of `main`. Its `pytest-suite` (check run `100000861624`) is **failure**: `1 failed, 8576 passed` — one assertion, `assert 18 == 19` in `tests/sequenced_after/test_sweep.py::test_the_live_sweep_reproduces_the_AUTHORING_measurement`. It is **proven inherited, not argued to be**. The same assertion fails identically at `a951be76`, the merge's **parent**, run here in a detached worktree at that commit — one commit before this packet's bytes reached `main`. `main`'s own remedy `d308c012` (PR #568) re-derives why, per commit: PR #563's archive of `add-release-tag-publication-check` moved `active_co_modified` 19 → 18, PR #567 then landed a test carrying an authoring measurement taken three minutes earlier, and `6856f502` was merely the first pytest run the concurrency group did not cancel. The proposal disclosed an inherited red in advance and attributed it to *"PR #510's carriage-ledger subject"*. **That attribution is not what stood at the merge**, and the record says so rather than smoothing it; the class the proposal named — a carriage-ledger count pinned in a test, moved by somebody else's archive — is exactly right. **8.3 — `openspec validate --all --strict`. MET.** `validate-openspec-cli-pin.py --all` → exit 0, `Totals: 101 passed, 1 failed (102 items)`, **0 UNDISPOSITIONED failures**. The one failure is the accepted `add-chain-attestation` exception, which reads the same on `main`; the item count falls 103 → 102 because this packet leaves the active corpus. **8.4 — the 4.7 run at `0 error(s), 0 warning(s)`. MET, with an erratum.** § 4.7's parenthetical records *"81 negative example(s)"*; the validator says **80** — at `6856f502`, the very commit 4.7 measured, and at the tag, with `examples/ideation-dashboard/` byte-identical between them. The box counted **files** and the validator counts **checks**: 81 files, of which `negative/duplicate-turn-pair/` is two files forming **one** paired check. The line § 8.4 asks for is exact. **8.5 — the seven refusal-class dispositions. MET, in § 4.4's own table.** All seven re-expressed as named `-v2` fixtures, **zero stated losses**; all seven present at the tag and inside the 80 the validator confirms invalid. **1.8 — the adversarial review. OPEN, and routed by the packet itself**: *"A CODEX PASS REMAINS OWED and is blocked by nothing in this packet — it and those four route to the amendment lane, not to doubt about the ratification."* Named here so the move does not lose it. ## Why the governed archive route is not available `scripts/proposal-support.py archive`'s `archive_change` raises **`change has incomplete tasks`** on any `- [ ]` line *before* it ever resolves the CLI, and this packet has seven. The pinned CLI (**1.12.0**) does expose `--skip-specs` — that is not the obstacle, and it would be the wrong flag here anyway: **this closure wants the promotion.** ## Coupling sweep `grep -rn "retire-doxbench-chat-turn-v1" --include='*.py' --include='*.yaml' --include='*.yml' --include='*.json'` over the tree: thirty hits outside the packet, **exactly one a live coupling** — the sweep-ledger row. The rest are historical prose in test comments naming the change as the authority for a re-pin already taken; the move falsifies none of them. `_LEDGER_SUBJECTS` does **not** move, exactly as § 6.3's closure predicted in the constant's own comment. No `openspec-cli-pin.yaml` disposition and no `target-release-register.yaml` entry exist for this id. ## Gate CI on this repository runs `pull_request: branches: [main]` only, so a stacked PR shows lane-line, merge-master-approval and Sonar and cannot show a full green gate until its base is re-pointed. The local evidence above stands in until then. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
main's pytest-suite is red. This is the fix, and only the fix: one assertion moves, 19 → 18.The defect
tests/sequenced_after/test_sweep.py::test_the_live_sweep_reproduces_the_AUTHORING_measurementpinssweep.active_co_modified == 19. The live corpus reads 18, and has sinceded8b9f1.The count moved when #563 archived
add-release-tag-publication-check. That change was ACTIVE and carried a## MODIFIED Requirementsblock, so it was co-modified. Archiving moved it out of the active corpus (active 30 → 29, archived 122 → 123), soactive_co_modifiedfell 19 → 18 while the corpus-wideco_modifiedheld at 104 — it is still a co-modifier, it is simply no longer an active one.#567 (
43cf5933) then landed this test carrying its authoring measurement, taken three minutes before that archive. Every push since main's last green (518c670b) had its pytest cancelled by the concurrency group, so6856f502was the first completed run — and the first red one. The measurement table is on #567's comment.Per-commit sweep, re-derived
Every commit since the last green, measured with a fixed counting method (the tip's
scripts/sequenced_after.pyagainst each commit's corpus, so this isolates corpus movement from method drift):518c670b(last green)ded8b9f1(#563 archive)43cf5933(#567)a951be76(#562)6856f502(tip)Every live assertion, re-derived at the tip
co_modified == 104active_co_modified == 19change_ids == active + archivedsole_modifiers == change_ids - co_modifiedchange_ids - 1 == 152sole_modifiers - 1 == 48active_sole - 1 == 11prose_headers == 3,prose_headers_archived == 3declaring == 1,declaring_idsroot_claims == 0deepest_chain == 1,deepest_chain_changeExactly one assertion moved.
active_sole - 1 == 11is intact on its merits, not by coincidenceWorth ruling out explicitly, because #563 landed between the authoring measurement and this reading. It is not a cancelling pair of errors: the archive removed a co-modified active, never a sole one, so
active_soleread 11 both before it (518c670b) and after it (ded8b9f1), and moved to 12 only at43cf5933when this change added itself as an active sole modifier. The- 1still subtracts exactly this change and still recovers the authoring 11. Recorded as a comment in the test rather than left silent.The remedy shape
Per the family's own doctrine — the sweep exists so that "a drift in either the corpus or the counting method surfaces as a test failure rather than as a number nobody re-derives" — the move is recorded in a dated MOVEMENT LOG in the test's docstring, following the sibling carriage ledger's practice in
tests/doc-health/test_modified_block_currency_self_gate.py(_LEDGER_SUBJECTS). The moved assertion's failure message now names the re-measure command and the expected cause, so the next corpus move gets updated rather than deleted.The authoring measurement is deliberately untouched in
proposal.md,design.mdand the README OpenSpec Records block. It is a historical record of what was measured then, and those three report one coherent pre-adoption snapshot (152 / 104 / 48 / 19-11 / 0 occurrences ofsequenced_after:anywhere) that moving a single number would falsify into a corpus that never existed. The live pin is the test, and only the test.tasks.md5.5 needs no edit — its text ("record the sweep's FIRST post-adoption reading … a zero reading is ZERO EVIDENCE") is still true.Interaction with #565
Checked, since #565 (
cut/contract-v2.6, realizeadd-chain-attestation) is pending. The fix stays valid after #565 lands. Its only file underopenspec/changes/isadd-chain-attestation/tasks.md, and the sweep reads onlyproposal.mdfront-matter andspecs/**/spec.mdrequirement titles — nevertasks.md. A real merge preview oforigin/main+origin/cut/contract-v2.6sweeps identically: 153 ids, 104 co-modified, 49 sole, 18/12 active, 1 declaration, chain 1.Verification
pytest tests/sequenced_after -q→ 118 passedpytest tests/doc-health -q→ 1384 passed, 7 warningsOPENSPEC_TELEMETRY=0 openspec validate --all --strict→ 83 passed, 0 failed (untouched, confirmed)Cites #563 (the archive that moved the count) and #567 (the packet whose live pin this is).