Repository navigation
Conversation
…oot-naming and adopt-entry-grain-dispositions-form openxFactory `main` has failed `pytest-suite` since `fa39141c` (2026-09-16 18:35Z) on ONE test — `tests/doc-health/test_modified_block_currency_self_gate.py::test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree` — and with it every pull request whose merge ref carries that commit. THE FINDING IS REAL AND STAYS. `scope-pinned-arm-root-naming` (PR #1052, merged `f8eba345` at 18:33Z) and `adopt-entry-grain-dispositions-form` (PR #1050, merged `fa39141c` at 18:35Z) landed RATIFIED two minutes apart, each carrying a MODIFIED block for `document-lifecycle`'s *Prose tagging marker hygiene*, and neither proposal names the other — so the arm reports one finding per block and the ordering between them is UNSTATED. The family goes on reporting both after this commit, measured: - [warning] openspec/changes/adopt-entry-grain-dispositions-form/specs/document-lifecycle/spec.md - [warning] openspec/changes/scope-pinned-arm-root-naming/specs/document-lifecycle/spec.md the ordering of MODIFIED blocks for 'Prose tagging marker hygiene' is undecided: … — neither names the other WHAT THIS COMMIT DOES is exactly what the failing test's own WHAT TO DO line asks for: it adds the two subjects to `_ORDERING_SUBJECTS` "in the same commit, saying which subject moved and why". An exact set is the discipline here — `==` and never `<=` — so the pair failed BY NAME the moment it appeared, which is what the set is for, and naming it is how the band reports a known state instead of refusing every unrelated pull request. WHAT THIS COMMIT DOES NOT DO is resolve the ordering. That resolution is the LATER ratified writer's `proposal.md` naming the earlier — this band's own written retirement condition and the 2026-09-05 precedent, when `split-opendox-two-layer-product` named `add-openspec-cli-pin` and both rows retired the same day. It is an edit inside those two packets under `openspec/changes/`, which belongs to the lane that authored them and to no other, so nothing under `openspec/changes/` is touched here and this pull request opens no Rule 6 landing window. AND WHOEVER LANDS THAT RESOLUTION REMOVES THESE TWO NAMES IN THE SAME COMMIT. The band enforces that rather than trusting it: `ordering_gone` fails by name the moment a NAMED subject stops being reported, so a resolution that leaves them here reds this test exactly as their appearance did. The instruction is written beside the names, in the module and in the self-gate contract row. EVERY SENTENCE THIS CHANGE FALSIFIES IS CORRECTED WITH IT, in the same file and in the one document that states what this test asserts: the band's heading ("reads zero again the same day"), the test docstring's "ALL FOUR READ ZERO" and its account of the set reading EMPTY, the "reported for one day" sentence, the assertion message that names the band's own history, the regex-set test's "IT IS KEPT NOW THAT `_ORDERING_SUBJECTS` READS EMPTY AGAIN", and the contract row in `specs/021-modified-block-currency-self-gate/contracts/self-gate-contract.md`. Measured on a clean `origin/main` worktree at `4cef77af`: BEFORE this patch `tests/doc-health/test_modified_block_currency_self_gate.py` reads 1 failed / 18 passed; AFTER it reads 19 passed, with the family's two warnings unchanged. Refs #1050 #1052. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Reviewer's GuideThe PR unblocks the failing self-gate by explicitly naming two real, unresolved ordering findings in the exact expected set and updating the contract/test documentation, without resolving or hiding the underlying document-health issue. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
… year" `_ORDERING_SUBJECTS` was empty from 2026-09-05, when the ordering declaration discharged the first pair, to 2026-09-16, when this one appeared — eleven days, and the sentence explaining why `_ORDERING_TITLE` was KEPT over that interval said "through the year", which is false of the interval and of this module's own history. Both dates are now in the sentence, so the reader can check it. Two wraps this act's own inserts left over the file's measure go with it: a 125-character line in the test docstring and three comment lines at 80. `tests/doc-health/test_modified_block_currency_self_gate.py` 19 passed. Refs #1050 #1052. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Superseded on Brett Heap's ruling of 2026-09-16 ~19:50Z (cross-reference route, the 2026-09-05 precedent); see the replacement pull request. This pull request took the OTHER route the failing test offers — naming the two subjects in The replacement is on branch Not merged, and the branch stays — the measurement here is worth keeping: |
There was a problem hiding this comment.
🔵 Needs a closer look
One or more issues must be addressed before approval.
Review details
Suppressed comments (1)
specs/021-modified-block-currency-self-gate/contracts/self-gate-contract.md:41
- The contract attributes the subject naming to
_ORDERING_TITLE, but that symbol is only the regex that extracts the requirement title. The two expected subject triples are stored in_ORDERING_SUBJECTS, andordering_goneenforces their retirement; please name that set here so the contract identifies the actual source of the bookkeeping.
| `test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree` | no finding matches the unresolved rule text (`resolves to no promoted requirement`) or the marker action (`_MARKER_ACTION`); each class named separately. **AMENDED 2026-09-05, TWICE THE SAME DAY:** the ordering class (`the ordering of MODIFIED blocks for`) stopped reading zero over this tree — `split-opendox-two-layer-product`'s ratification made it the second ACTIVE RATIFIED writer of `neutral-product-pin`'s *An external neutral product is pinned by commit and digest, never by tag* beside `add-openspec-cli-pin` — and it is asserted against the NAMED EXACT SET `_ORDERING_SUBJECTS`, on `_LEDGER_SUBJECTS`' discipline, rather than as a band. It READS ZERO AGAIN and that set is now EMPTY, on `_PAIRING_SUBJECTS`' precedent: the ordering declaration Brett Heap ruled (*"declare and land"*, 2026-09-05T12:49Z, `opensoft/openxFactory` issue #656) put `add-openspec-cli-pin` in the later writer's `proposal.md`, which is the band's own written retirement condition. `_ORDERING_TITLE` is KEPT so the first fresh subject fails BY NAME. **AMENDED AGAIN 2026-09-16:** that set is NO LONGER EMPTY — `scope-pinned-arm-root-naming` (PR #1052, `f8eba345`) and `adopt-entry-grain-dispositions-form` (PR #1050, `fa39141c`) landed ratified two minutes apart, each a writer of `document-lifecycle`'s *Prose tagging marker hygiene* with neither proposal naming the other, and `_ORDERING_TITLE` named both rather than leaving an unnamed row. They are NAMED and not resolved: the resolution is the later writer's `proposal.md` naming the earlier, inside those packets, and whoever lands it removes both names here in the same commit — which `ordering_gone` enforces | invert one to `assert len(...) == 1` — fails; and a positive control asserts the three rule-text probes are the module's own strings, so a typo'd probe cannot read zero vacuously | — |
- Files reviewed: 2/2 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
|
Lane: openxfactory-2 (openXfactory-2) Taking the replacement over, by the lanes' agreement. Both proposals the red names are this lane's (#1050, #1052). Lane openxfactory-4's replacement branch |
…-naming RULED by Brett Heap 2026-09-16 ~19:50Z, by interactive multi-choice: the repair for red `main` is the CROSS-REFERENCE ROUTE — the 2026-09-05 precedent the failing test itself quotes — and not a `_ORDERING_SUBJECTS` pin. Recorded at openxFactory #1050 comment 5704374098. #1072, which took the pin route, is superseded and closed unmerged (comment 5704401937). No test file is touched here and `_ORDERING_SUBJECTS` stays `set()`. WHAT WAS RED. `tests/doc-health/test_modified_block_currency_self_gate.py:: test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree` fails on `main` itself — run 35135352984 at `fa39141c` (18:35Z), run 35139068743 at `4cef77af` (19:11Z), and reproduced in a clean `origin/main` checkout with nothing of any branch in it — with two unnamed ordering subjects: `adopt-entry-grain-dispositions-form` and `scope-pinned-arm-root-naming`, each now an ACTIVE RATIFIED writer of `document-lifecycle`'s *Prose tagging marker hygiene*, neither proposal naming the other. They landed two minutes apart on one word of ratification (#1052 -> `f8eba345` 18:33:55Z, #1050 -> `fa39141c` 18:35:23Z) and the last green `main` was `00b1e93b` at 18:03Z. THE DECLARATION. `adopt-entry-grain-dispositions-form/proposal.md` gains the precedent-form paragraph **ORDERED AFTER `scope-pinned-arm-root-naming`, ON A RULING.**, modelled on `split-opendox-two-layer-product/proposal.md:364-380`. `scripts/doc_health/modified_block_currency.py::declarations()` reads the ordering as a WHOLE-TOKEN MENTION of the earlier change id anywhere in the later change's `proposal.md`, so that paragraph is the whole machine effect. The `sequenced_after:` FRONT MATTER IS DELIBERATELY NOT TOUCHED: it would move `tests/sequenced_after/corpus-ledger.yaml:187`'s `declares` and `depth` for this change and force a ledger re-seed the ruling's scope excludes. `validate-sequenced-after.py . --ledger-diff` is clean at 216 rows. AND THE DECLARING ACT CARRIES THE EARLIER BLOCK, WHICH IS THE OTHER HALF OF THE PRECEDENT AND IS NOT OPTIONAL. Measured: the mention ALONE takes the self-gate from 1 failed / 18 passed to 4 FAILED / 15 passed and opens an ERROR-band finding ("omits 1 of the 24 scenarios") where there had been two warnings — because re-basing the later block on the earlier one exposes every unit the later block fails to carry. The 2026-09-05 act did both halves, as the self-gate's own note records: "The declaring act carried all 26 units of `add-openspec-cli-pin`'s block into the later block". So four units of `scope-pinned-arm-root-naming`'s ratified delta are carried into this packet's block VERBATIM, none of them this act's authorship: the root-precedence citation restated as `_resolve_capability` and `_pin_roots`; the root-naming sentence scoped to findings emitted AFTER ROOT SELECTION with its before-selection clause; the selected-root narrowing of *A pinned target names a pin no resolution root carries*' `WHEN` bullet; and the scenario *A finding emitted before root selection names what it judged*. After the carry, `diff` of the two delta bodies reports EXACTLY this packet's own scenario *A pin record's optional dispositions member carries a malformed entry* and nothing else. NO OBLIGATION OF EITHER PACKET MOVES. The later block now states the earlier block's outcome instead of superseding it unread at promotion, which is the defect an ordering declaration exists to close. `scope-pinned-arm-root-naming` is not edited at all; no decision of either packet reopens; `dispositions:` stays OPTIONAL; this packet still adds exactly one scenario; no `tasks.md` box moves; nothing under `openspec/specs/` changes. MEASURED on a clean `origin/main` checkout at `4cef77af` plus this change: * `doc-health.py --single-repo . --family modified-block-currency` 2 warnings -> 0. Findings 0 critical / 0 error / 0 warning / 15 info; the ordering class reads ZERO and this packet's block reports NOTHING. The one remaining `document-lifecycle` row is `scope-pinned-arm-root-naming`'s pre-existing carriage INFO, already named in `_LEDGER_SUBJECTS`. * `pytest -q tests/doc-health/test_modified_block_currency_self_gate.py` 1 failed / 18 passed -> **19 passed**. * `validate-sequenced-after.py . --ledger-diff` exit 0, ledger consistent. * `OPENSPEC_TELEMETRY=0 openspec validate adopt-entry-grain-dispositions-form --strict` valid. Refs #1050 #1052. Refs #656 (stays OPEN). Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…-naming, on Brett Heap's ruling (#1075) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) **RULED by Brett Heap 2026-09-16 ~19:50Z, by interactive multi-choice: the repair is the CROSS-REFERENCE route** — the 2026-09-05 precedent the failing test itself quotes — and not a `_ORDERING_SUBJECTS` pin. Recorded at openxFactory [#1050 comment 5704374098](#1050 (comment)). **#1072**, which took the pin route, is superseded and CLOSED UNMERGED ([comment 5704401937](#1072 (comment))). **No test file is touched here and `_ORDERING_SUBJECTS` stays `set()`.** Refs #1050 #1052. Refs #656 (stays OPEN). ## What is red, and that it is not this lane's `tests/doc-health/test_modified_block_currency_self_gate.py::test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree` fails **on `main` itself** — run `35135352984` at `fa39141c` (18:35Z), run `35139068743` at `4cef77af` (19:11Z), and reproduced in a clean `origin/main` checkout with nothing of any branch in it. Two unnamed ordering subjects: ``` 2 unnamed subject(s) NEWLY reported [('adopt-entry-grain-dispositions-form', 'document-lifecycle', 'Prose tagging marker hygiene'), ('scope-pinned-arm-root-naming', 'document-lifecycle', 'Prose tagging marker hygiene')] ``` Each is now an ACTIVE RATIFIED writer of one `document-lifecycle` requirement, and neither proposal named the other. They landed two minutes apart on one word of ratification — **#1052 → `f8eba345`** 18:33:55Z and **#1050 → `fa39141c`** 18:35:23Z — and the last green `main` was `00b1e93b` at 18:03Z. ## What this does — both halves of the precedent, because one is not enough **1. The declaration.** `openspec/changes/adopt-entry-grain-dispositions-form/proposal.md` gains the precedent-form paragraph **ORDERED AFTER `scope-pinned-arm-root-naming`, ON A RULING.**, modelled on `split-opendox-two-layer-product/proposal.md:364-380`. `scripts/doc_health/modified_block_currency.py::declarations()` reads an ordering as a WHOLE-TOKEN MENTION of the earlier change id anywhere in the later change's `proposal.md`, so that paragraph is the entire machine effect. `adopt-entry-grain-dispositions-form` is the LATER writer: it ratified by the *"then 1050"* half of the same verbatim word and landed second. **2. The carry — MEASURED AS NECESSARY, NOT ASSUMED.** The mention **alone** takes the self-gate from **1 failed / 18 passed to 4 FAILED / 15 passed** and opens an **ERROR-band** finding where there had been two warnings: ``` severity=error … rule="active MODIFIED block for 'Prose tagging marker hygiene' omits 1 of the 24 scenarios openspec/changes/scope-pinned-arm-root-naming/specs/document-lifecycle/spec.md currently states for it: 'A finding emitted before root selection names what it judged'" ``` …plus an unnamed carriage row ("does not carry 8 of the 191 body units"), because re-basing the later block on the earlier one **exposes every unit the later block fails to carry**. The module's own note records that the 2026-09-05 act did both halves: *"The declaring act carried all 26 units of `add-openspec-cli-pin`'s block into the later block … so there is nothing for that arm to report."* So **four units of `scope-pinned-arm-root-naming`'s ratified delta are carried into this packet's block VERBATIM**, none of them this act's authorship: | carried | what it is | | --- | --- | | body unit | the root-precedence citation restated as `_resolve_capability` and `_pin_roots` | | body unit | the root-naming sentence scoped to findings emitted AFTER ROOT SELECTION, with its clause for the two findings emitted before any root is selected | | scenario bullet | the selected-root narrowing of *A pinned target names a pin no resolution root carries*' `WHEN` bullet | | scenario | *A finding emitted before root selection names what it judged* (5 bullets) | After the carry, `diff` of the two delta bodies reports **exactly this packet's own scenario** *A pin record's optional dispositions member carries a malformed entry* **and nothing else** — the later block is the earlier block plus this packet's one ratified scenario, which is what "declares its delta relative to that change's outcome" means. ## Measured, on a clean `origin/main` checkout at `4cef77af` plus this change | check | before | after | | --- | --- | --- | | `doc-health.py --single-repo . --family modified-block-currency` | 0 critical / 0 error / **2 warning** / 15 info | 0 critical / 0 error / **0 warning** / 15 info | | …ordering-class rows | 2 | **0** | | …rows naming this packet's block | 0 | **0** (it carries everything) | | `pytest -q tests/doc-health/test_modified_block_currency_self_gate.py` | **1 failed**, 18 passed | **19 passed** | | `validate-sequenced-after.py . --ledger-diff` | exit 0 | exit 0, ledger consistent (216 rows) | | `openspec validate adopt-entry-grain-dispositions-form --strict` | valid | valid | The one `document-lifecycle` row that remains is `scope-pinned-arm-root-naming`'s pre-existing carriage INFO, already named in `_LEDGER_SUBJECTS`; it is the EARLIER writer and stays measured against canon, unchanged by this act. ## What this does NOT do - **No normative obligation of either packet moves, and no decision reopens.** The later block now states the earlier block's outcome instead of superseding it unread at promotion — the defect an ordering declaration exists to close. `dispositions:` stays OPTIONAL; this packet still adds EXACTLY ONE scenario; `scope-pinned-arm-root-naming`'s own delta is **not edited at all**. - **No test file is touched.** `_ORDERING_SUBJECTS` stays `set()` and `_LEDGER_SUBJECTS` is unmoved — the fix NAMES the ordering, it does not pin the finding away. - **The `sequenced_after:` FRONT MATTER IS NOT TOUCHED.** Moving it would move `tests/sequenced_after/corpus-ledger.yaml:187`'s `declares` and `depth` for this change and force a ledger re-seed the ruling's scope excludes. The paragraph is prose, so the ledger stays valid — verified by `--ledger-diff`. - No `tasks.md` box moves; nothing under `openspec/specs/` changes; no record, contract, digest or pin moves; no capability is created, renamed or deleted. ## Scope note for the ratifying authority The ruling's summary sentence read *"one line of metadata … no normative text changes"*. **Measurement above shows that form does not reach green** — it replaces two warnings with an error. This pull request therefore takes the precedent's COMPLETE form: declaration **plus** carry. The carried text is `scope-pinned-arm-root-naming`'s own ratified wording, copied verbatim, and it is carried INTO this packet's block only; it authors nothing and it changes no obligation either packet already carries. **Flagged here rather than assumed.** Rule 6 applies (this pull request touches `openspec/changes/`): the landing window and the merge are the holder's. 🤖 Generated with [Claude Code](https://claude.com/claude-code) ## Summary by Sourcery Resolve the ordering relationship between the two document-lifecycle changes by declaring the later writer and carrying the earlier block's ratified outcome in full. Bug Fixes: - Align the adopt-entry-grain-dispositions-form change with the ruling-based cross-reference ordering precedent so the modified-block currency checks pass without test or ordering-subject changes. Enhancements: - Carry the earlier scope-pinned-arm-naming requirement block into the later change and clarify root-selection behavior for findings emitted before and after root selection.



Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Refs #1050 #1052; unblocks every PR into main (measured: #1058 @
cbc3a2c6, #1056 @3b19164e, #1043 @338308c8, #1068 @706ce82efail on exactly this test).What is red, and since when
openxFactory
mainhas failedpytest-suitesincefa39141c(2026-09-16 18:35Z) on ONE test:The finding is real and it stays.
scope-pinned-arm-root-naming(PR #1052, mergedf8eba345at 18:33Z) andadopt-entry-grain-dispositions-form(PR #1050, mergedfa39141cat 18:35Z) landed RATIFIED two minutes apart, each carrying a MODIFIED block fordocument-lifecycle's Prose tagging marker hygiene, and neither proposal names the other — so the arm reports one finding per block and the ordering between them is UNSTATED. Measured after this commit, the family still reports both:What this does
Exactly what the failing test's own WHAT TO DO line asks: it adds the two subjects to
_ORDERING_SUBJECTS"in the same commit, saying which subject moved and why". An exact set is this band's discipline —==and never<=— so the pair failed BY NAME the moment it appeared, which is what the set is for; naming it is how the band records a known state instead of refusing every unrelated pull request.Every sentence this change falsifies is corrected with it, in the same file and in the one document that states what this test asserts: the band's heading ("reads zero again the same day"), the test docstring's "ALL FOUR READ ZERO" and its account of the set reading EMPTY, the "reported for one day" sentence, the assertion message that narrates the band's own history, the regex-set test's "IT IS KEPT NOW THAT
_ORDERING_SUBJECTSREADS EMPTY AGAIN", and the contract row inspecs/021-modified-block-currency-self-gate/contracts/self-gate-contract.md.What this does NOT do
It does not resolve the ordering. The resolution is the LATER ratified writer's
proposal.mdnaming the earlier — this band's own written retirement condition, and the 2026-09-05 precedent, whensplit-opendox-two-layer-productnamedadd-openspec-cli-pinand both rows retired the same day. That is an edit inside those two packets underopenspec/changes/, which belongs to the lane that authored them (openXfactory-2) and to no other lane. Nothing underopenspec/changes/is touched here, so this pull request opens no Rule 6 landing window.And whoever lands that resolution removes these two names in the same commit. The band enforces that rather than trusting it:
ordering_gonefails by name the moment a NAMED subject stops being reported, so a resolution that leaves them here reds this test exactly as their appearance did. The instruction is written beside the names, in the module and in the contract row. The names also retire if either change archives.Evidence
Measured on a clean
origin/mainworktree at4cef77af:tests/doc-health/test_modified_block_currency_self_gate.py→ 1 failed, 18 passed (the same failuremain's run 35135352984 reports, with nothing of any other branch in the tree).python3 scripts/doc-health.py --single-repo . --family modified-block-currency→ the twowarningrows above, unchanged: the fix NAMES the finding, it does not hide it.Two files: the self-gate module and its contract row. No
openspec/changes/path, no README OpenSpec Records block.Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 [email protected]
🤖 Generated with Claude Code
Summary by Sourcery
Name the two unresolved document-lifecycle ordering findings so the main-branch self-gate passes without masking the underlying resolution requirement.
Bug Fixes:
Enhancements: