Repository navigation
Propose amend-marker-reason-boundary: a marker's reason begins at its first separator, and a code span inside it names nothing (#692) - #719
Conversation
… first separator (#692) `doc-health`'s *Currency of an active change's MODIFIED requirement blocks* says with a SHALL that a reserved deletion marker's "reason is everything after the last code span's following ` — `". Measuring the reason from BEHIND makes every code span an author writes INSIDE the reason a declared-removed NAME. The two markers PR #685 and PR #688 promoted into *Release-tag publication* are the live instances: each declared ONE unit and each resolves to THREE — the intended WHEN bullet plus the two words their reasons quote — with no reason at all. The checker conforms to that sentence exactly, so this is an AMEND packet rather than a patch: changing `parse_marker` alone would put running code out of agreement with promoted canon. STATUS: DRAFT. Nothing here is ratified and no word has been given over this text. The veto point is design.md D1 — option A (the boundary) against option B (require the removed units in a fenced list). Realized in the same pull request on the #688 shape: `_reason_boundary` added to scripts/doc_health/modified_block_currency.py, the unit-naming tail split moved to it, the pairing branch's stale comment corrected, and six tests added (tests/doc-health/test_modified_block_currency.py 121 -> 127) with no existing test edited. Measured: SEVEN unit-naming markers in the corpus, TWO change (3 names -> 1), FIVE unaffected; 17,566 derived units and none literally WHEN or AND, so the defect is inert today and is not harmless. No marker anywhere separates its NAMES with ` — `, so none loses a name its author meant to declare. Refs #692 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
…#719) One row, `state: active, class: co-modifier, declares: absent`, stamped `moved_by: "#719"`. `sequenced_after` is elective here and is NOT declared: the requirement's other writers are all archived, and no ACTIVE change carries a `## MODIFIED` block for it. per-change sweep ledger consistent with the corpus (177 rows). sequenced_after validation passed (37 active changes, 2 declaring the field). Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
There was a problem hiding this comment.
🟡 Changes recommended
parse_marker’s pairing-form reason parsing contains a conditional-expression precedence bug that can incorrectly set a non-None reason when no separator is present.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR proposes and realizes an amendment to the doc-health modified-block-currency marker grammar so that a marker’s reason begins at the first — separator that appears outside any CommonMark code span, preventing code spans inside the reason from being misinterpreted as named removed units.
Changes:
- Updates
modified_block_currency.parse_markerto split unit-naming marker tails at the first outside-span—boundary via a new_reason_boundaryhelper. - Adds focused tests to pin the amended boundary semantics and to assert the measured “no intended name loss” property over the current corpus.
- Introduces a new OpenSpec change packet (
amend-marker-reason-boundary) with proposal/design/tasks and a full MODIFIED restatement of the affected requirement; adds the change to the OpenSpec Records index and the sequenced-after ledger.
File summaries
| File | Description |
|---|---|
| scripts/doc_health/modified_block_currency.py | Implements the amended marker reason boundary in the parser via _reason_boundary and updates tail-splitting logic. |
| tests/doc-health/test_modified_block_currency.py | Adds regression/measurement tests covering the amended boundary behavior and corpus invariants. |
| openspec/changes/amend-marker-reason-boundary/specs/doc-health/spec.md | Provides the MODIFIED requirement restatement with the single-sentence amendment and a removal marker for the retired sentence. |
| openspec/changes/amend-marker-reason-boundary/proposal.md | Documents rationale, measurement, impact, sequencing, and ratification status for the change packet. |
| openspec/changes/amend-marker-reason-boundary/design.md | Records the design decision (boundary rule) vs alternative (fenced list) and supporting measurement. |
| openspec/changes/amend-marker-reason-boundary/tasks.md | Tracks ratification/realization tasks and explicitly marks what remains owed. |
| openspec/changes/amend-marker-reason-boundary/.openspec.yaml | Declares change metadata and drafting provenance for the packet. |
| README.md | Adds the active-change record entry for amend-marker-reason-boundary in the OpenSpec Records section. |
| tests/sequenced_after/corpus-ledger.yaml | Adds the change row to the sequenced-after corpus ledger. |
Review details
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Lane: openxfactory-1 (openXfactory-1) Verification at head
|
|
Lane: openxfactory-1 (openXfactory-1) @codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
… what the narrowing costs (#719 review round) The three adversarial reviews of PR #719 returned four MINOR findings and five NOTE-level ones. Taken here, in the packet's own files and its one module: - **TWO SCENARIOS ADDED to the MODIFIED block.** The amended sentence promoted with no scenario exercising it, so the rule would have been pinned only by this packet's tests — running code standing in for canon, which is the exact shape the proposal refuses. *A marker's reason quotes a code span* and *A marker's tail carries no separator outside a code span*, appended at the end so no promoted scenario moves. The marker names a BODY unit, so `suppression`'s `adds_new_title` gate has nothing to withhold; measured, the block still raises ZERO findings from its own family. - **THE CORPUS FIGURES ARE SCOPED TO THE TREE THEY WERE TAKEN ON.** SEVEN markers and 17,566 units re-derive only with this packet's own delta excluded — with it the same walk gives EIGHT markers over 109 files. Every place the figures appear now says "other than this one" (the delta's AMENDED BY note, which promotes into canon, plus proposal.md, design.md, README.md, .openspec.yaml and tasks.md 2.1/2.2). The substantive claim is unchanged and holds on both readings: no derived unit is literally `WHEN` or `AND`. - **THE NARROWING OF `document-lifecycle`'s MARKER GRAMMAR IS DISCLOSED.** Its "naming each deleted unit as a CommonMark code span" was true of every span under the retired rule and is true only of the spans before the boundary under the amended one, so an author separating two names with the separator now declares only the first. Named in proposal.md as a NEW failure mode this amendment creates, deliberate and conservative (the second unit is REPORTED, never silently dropped), with its reporting scoped into the owed successor at tasks.md 5.1. - **A SUPPRESSION-LEVEL TEST.** The six added tests held the boundary at parse level; the harm lands one level down, where a reason quoting a real canon unit makes the retired rule suppress that unit silently. 121 -> 128 (was 127), the new test running the SAME marker paragraph under both rules. The corpus test's docstring now says its same-document unit set is a PROXY for the promoted requirement's units. - **ONE GRAMMAR TOKEN, ONE SPELLING.** The pairing branch's literal " - " and its hardcoded [3:] become `_REASON_SEP` and `len(_REASON_SEP)`. Parse unchanged. - **RESIDUE NAMED RATHER THAN EDITED**: specs/019-modified-block-currency-family FR-016 and reading A1 still state the retired rule and are deliberately not touched (a build record, not promoted canon, pinned by no gate) — tasks.md 5.3; and the estate-wide run is owed at landing, this lane being confined to its own clone — tasks.md 5.4. REFUSED, with reasons, in the pull request comment: the vendored-scope_globs note (it is about PR #723, whose file this pull request does not touch), the estate-wide MEASUREMENT itself (other clones are outside this lane's limits; the obligation is recorded instead), and the merge-from-main re-measure (owed at landing, on Brett Heap's word, not in a review round). Verification re-run at this head and reported in the body. NOTHING IS RATIFIED by this commit: every document still carries `Status: draft`, .openspec.yaml still carries drafting provenance with no approval pair, and tasks.md 1.1/1.2 are still unticked. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv
There was a problem hiding this comment.
🔵 Needs a closer look
It changes a spec-governed parsing rule and introduces a substantial new OpenSpec change packet that warrants final human review for protocol/canon alignment beyond what automated review can safely certify.
Review details
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-1 (openXfactory-1) @codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ord, capture the records (#719) RATIFIED 2026-09-06 by Brett Heap (openxFactory operator authority), in session, verbatim: "merge 705 when green, then ratify 692". The first clause landed PR #723 (merge 6295e38); this is the second. THE VETO POINT WAS PUT AND WAS NOT TAKEN. design.md D1 — option A (the reason begins at the first ` — ` standing outside every code span) against option B (require the removed units in a fenced list) — was carried in the pull request body, in tasks.md § 1.2 and in the README row. A is RATIFIED AS DESIGNED, and A's stated cost is ratified with it: the conservative narrowing of what document-lifecycle's "naming each deleted unit as a CommonMark code span" reaches is a NEW failure mode this amendment creates, it is silently corrected today, and its reporting is the owed successor at tasks.md § 5.1. WHAT MOVES. proposal.md, design.md and tasks.md carry Status: ratified with EXACTLY ONE citation line each (Ratified: in the proposal's front matter, Ratified by: in the other two), which is what ratified-provenance counts. .openspec.yaml gains approved_by + approved_on BESIDE the drafting provenance it was authored with — kind and id unmoved, the addition-not-rewrite shape add-drafted-proposal-origin defined, and the shape the archive gate's origin-retention arm reads, which is why the status flip and the approval pair move in ONE commit. The README OpenSpec Records row flips. Two records are captured beside the packet: review/ratification-2026-09-06.md and review/verification-2026-09-06.md. WHAT DOES NOT MOVE. The spec delta is byte-identical; no promoted canon is touched; no ledger row moves (a row's derived keys read no lifecycle status); § 5.1–§ 5.5 stay UNTICKED — the archive is a separate act on merged-plus-green realization evidence and on a separate word, so #692 closes at archive and not at this landing. VERIFIED ON THE MERGED TREE (origin/main 6295e38), every number re-derived after the encode: openspec validate amend-marker-reason-boundary --strict valid; --all --strict 96 passed / 1 failed (the pre-existing skip_specs change, an INFO under the pinned 1.12); the pinned entrypoint 95 passed / 2 failed with both dispositioned and 0 undispositioned; doc-health 9 critical / 8 error / 44 warning / 13 info, finding-set diff EMPTY against both origin/main and the pre-ratification branch, and the family names this change ZERO times; --family modified-block-currency 0/0/0/8 info; pytest tests/doc-health 1587 passed (test_modified_block_currency.py 128); sequenced_after passed (37 active, 2 declaring) and the ledger consistent (177 rows); scope_globs passed. Two probes fired and cleared: the proposal-origin class-7 ERROR with the approval pair removed, and the modified-block-currency carriage finding with the block's marker removed. The self-reference discharge re-run on the merged tree: names=1 and the same 550-character reason under BOTH the amended and the retired grammar, IDENTICAL True. Refs #692 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
There was a problem hiding this comment.
🟡 Changes recommended
The PR description still claims the change is draft/ununratified while the committed packet and README now assert Status: ratified, creating a direct lifecycle contradiction for reviewers.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 11/11 changed files
- Comments generated: 1
- Review effort level: Lite
Second merge from `main`, taking origin/main d179cc0 — #717 (register-gate-rules-council-seats) and #718 (intent plane 4.4 PR-1) on top of 6295e38, which the first merge took. ONE conflict, in README.md's OpenSpec Records block: #717 inserted its own Active row at the same insertion point as this packet's. RESOLVED BY KEEPING BOTH, this branch's row first, in the established ordering. `tests/sequenced_after/corpus-ledger.yaml` auto-merged and kept both rows — this change's at "#719" and #717's at "#717"; no row moved and no partner flipped. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
…719) The records themselves say a `Status: record` document is CAPTURED AT MERGE and that every number is re-derived PRE-CAPTURE if `main` moves again. `main` moved (d179cc0, #717 + #718) between the ratification commit and this one, and the pull request went CONFLICTING, so the branch took its second merge and this commit discharges that promise. Nothing about the ratification act changes: the word, the date, the ratifier, the citation lines and the approval pair all stand exactly as 805d2c0 wrote them, and `.openspec.yaml` is NOT touched — the ratifying commit stays 805d2c0 and the origin-retention arm still answers ORIGIN RETAINED. RE-DERIVED AT THE MERGED HEAD: openspec validate --all --strict 97 passed / 1 failed (98 items, up from 97 because #717 added a change directory; the failure count did not move and the one failure is the pre-existing skip_specs change, an INFO under the pinned 1.12); the pinned entrypoint 96 passed / 2 failed with both dispositioned and 0 undispositioned; sequenced_after passed (38 active, 3 declaring) with the ledger consistent at 178 rows (177 → 178 is #717's row); scope_globs passed; doc-health 9 critical / 8 error / 44 warning / 13 info with the WHOLE normalized report diffing EMPTY against a worktree at origin/main d179cc0; pytest tests/doc-health 1587 passed. ONE CLAIM IS CORRECTED RATHER THAN CARRIED. The first draft of the verification record said the two record files move the report's corpus word totals. They cannot: `corpus.GOVERNED_ROOTS` is contracts/docs/examples/ ideation/templates, `openspec/` is not in it, and corpus.py states that the lifecycle scan set "never enters load_docs, so no census, word total, canon-share figure, inventory entry, or catalog record moves because it exists". The record now says what the scan set DOES reach — proposal.md and every review/ record, read by four families — and adds a THIRD probe to prove one of them live on this packet: a second citation line in proposal.md's front matter fires ratified-provenance CRITICAL ("carries 2 ratification citation lines, not one", naming this proposal) and removing it clears back to the corpus's pre-existing five. Refs #692 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
|
Lane: openxfactory-1 (openXfactory-1) RATIFIED — encoded at
|
| file | what moved |
|---|---|
proposal.md |
Status: draft → ratified; ONE Ratified: line added after Proposed:; the Origin: paragraph now says THE ORIGIN IS NOT THE RATIFICATION; § Ratification rewritten to record the act, the veto point not taken, and what the word does not reach |
design.md |
Status: ratified + Ratified by:; D1's A marked RATIFIED AS DESIGNED and its closing paragraph put in the past tense |
tasks.md |
Status: ratified + Ratified by:; § 1 retitled Ratification — GIVEN 2026-09-06, 1.1 and 1.2 TICKED. § 5.1–§ 5.5 left UNTICKED |
.openspec.yaml |
approved_by + approved_on ADDED beside proposed_by/proposed_on; kind, id and reason untouched |
README.md |
OpenSpec Records row flipped to Status: ratified with both record paths |
review/ratification-2026-09-06.md |
NEW — Status: record, Kind: report; 6 sections |
review/verification-2026-09-06.md |
NEW — Status: record, Kind: report; 10 sections, verbatim command output |
Exactly ONE citation line per document, counted across both sanctioned spellings, which is what ratified-provenance enforces. The status flip and the approval pair move in ONE commit because the archive gate requires it: origin-retention resolves the RATIFYING COMMIT as the first commit whose proposal.md declares Status: ratified and compares the origin declaration there — it now answers ORIGIN RETAINED amend-marker-reason-boundary (declaration unchanged since the ratifying commit 805d2c0e8079).
The spec delta is byte-identical. No promoted canon is touched. No ledger row moves.
Two merges from main, and the records re-derived over both
main moved twice under this branch. The first merge took 6295e387 (#723, #721, #724, #720, #716). Then #717 landed, the pull request went CONFLICTING on the README OpenSpec Records block, and the second merge took d179cc0d (#717, #718) — resolved by keeping BOTH Active rows, this branch's first; the corpus ledger auto-merged and kept both rows. f7e2e358 discharges the records' own promise to re-derive every number if main moves again before capture.
Verification at f7e2e358
openspec validate amend-marker-reason-boundary --strict valid
openspec validate --all --strict 97 passed, 1 failed (98 items)*
validate-openspec-cli-pin.py --all --no-cache 96 passed, 2 failed (98) — both
dispositioned, 0 undispositioned
doc-health --single-repo . 9 critical, 8 error, 44 warning, 13 info
doc-health --family modified-block-currency 0 / 0 / 0 / 8 info
pytest tests/doc-health -q 1587 passed
test_modified_block_currency.py 128 passed (121 -> 128)
validate-sequenced-after.py . 38 active changes, 3 declaring
validate-sequenced-after.py . --ledger-diff consistent (178 rows)
validate-scope-globs.py . passed
* the one failure is the pre-existing skip_specs change under the PATH CLI 1.2.0; the pinned 1.12 that CI runs reports it as an INFO.
doc-health diffs EMPTY against a worktree at origin/main d179cc0d — the whole report, not just the finding lines — and names this change zero times. That is structural, not lucky: corpus.GOVERNED_ROOTS does not include openspec/, and corpus.py states the lifecycle scan set "never enters load_docs, so no census, word total, canon-share figure, inventory entry, or catalog record moves because it exists". What the scan set DOES reach is proposal.md and both records.
So three families were made to FIRE and then cleared, because zero findings cannot otherwise be told from a family that never read the packet:
proposal-originclass 7, approval pair removed →1 error: proposal declares 'Status: ratified' while its origin asserts no approval; restored → 0.ratified-provenance, a second citation line added →CRITICAL: …/proposal.md — carries 2 ratification citation lines, not one; removed → back to the corpus's pre-existing 5.modified-block-currency, the block'sRemoved from canonmarker deleted →does not carry 1 of the 90 body units and scenario bullets; restored → silent.
The self-reference discharge re-run on the merged tree: names=1, the same 550-character reason under BOTH the amended and the retired grammar, IDENTICAL: True.
What this word does NOT do
It does not archive. code_surface is non-empty, so under release-realization the archive is a separate act on merged-plus-green realization evidence and on a separate word — #692 closes at archive, not at this landing (Refs, not Closes). It does not reach specs/019 FR-016 (§ 5.3), the estate-wide run (§ 5.4), or suppression's third resolution (§ 5.1); all were present in the text the word was given over and all stay owed.
Codex: absent, twice, on usage limits (10:52:20Z, 12:09:08Z) — recorded as absence, not as clearance. Not re-requested. Copilot: two rounds, one thread, taken and resolved. Sourcery: the upsell stub.
Rule 6: LANDING/LANDED for lane openxfactory-1 is owed on this pull request and in LANES.md at the merge; the landing is the coordinator's act.
There was a problem hiding this comment.
🟡 Changes recommended
There’s a concrete status mismatch between the PR description (“draft / not ratified”) and committed records asserting ratification, and one test should more faithfully emulate the retired parser behavior to avoid future confusion.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (1)
README.md:523
- The PR description states this packet is
Status: draftand that nothing here is ratified, but this newly added OpenSpec Records entry assertsStatus: ratifiedwith ratification/verification records. Please align the PR description/title (and/or the repository records) so reviewers and automation aren’t presented with contradictory status/ratification claims.
- [amend-marker-reason-boundary](openspec/changes/amend-marker-reason-boundary/proposal.md)
— authored 2026-09-06, **`Status: ratified`** (2026-09-06, Brett Heap,
openxFactory operator authority, in-session, *"merge 705 when green, then
ratify 692"*; records
`openspec/changes/amend-marker-reason-boundary/review/ratification-2026-09-06.md`
and `verification-2026-09-06.md`). `.openspec.yaml` keeps the drafting
provenance it was authored with and the approval pair is ADDED beside it —
`kind` and `id` unmoved, the addition-not-rewrite shape
`add-drafted-proposal-origin` defined. Lane `openxfactory-1`; the ORIGIN is
- Files reviewed: 11/11 changed files
- Comments generated: 1
- Review effort level: Lite
|
Lane: openxfactory-1 (openXfactory-1) CI at the ratified head
|
|
Lane: openxfactory-1 (openXfactory-1) LANDING — lane openxfactory-1 (openXfactory-1), session b61273ce (harness session_01JZqmqSDBCmY4cfhPbxN9Xb), 2026-09-06T16:04:02Z, PR #719 into openxFactory main. Rule 6 window OPEN: other lanes hold merges into openxFactory main until LANDED or 30 minutes. |
|
Lane: openxfactory-1 (openXfactory-1) FROZEN at Provenance for the admin merge of #719 — RATIFICATION of 🤖 Generated with Claude Code |
|
LANDED — lane openxfactory-1 (openXfactory-1), 2026-09-06T16:04:16Z, PR #719 → merge |
ONE row moves, active -> archived, moved_by "#719" -> "#739". `class: co-modifier` is HELD, so no partner flips and NO MOVEMENT LOG entry is owed; the diff is one line. Seeded after the pull request existed, because the real number does not exist until the pull request does. `--ledger-diff` before: STALE (4 findings) -- this change's row plus the three derived totals it feeds. After: `per-change sweep ledger consistent with the corpus (178 rows)`. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb
…n uncarried unit, or that names nothing, is reported Status: draft. NOT RATIFIED — Brett Heap's "author the 729 packet" instructs a lane to author and decides no wording; `tasks.md` § 1 is unticked and `.openspec.yaml` carries drafting provenance with no approval pair. THE OWED SUCCESSOR of `amend-marker-reason-boundary` § 5.1 (PR #719), filed as openxFactory issue #729. `doc-health`'s *Currency of an active change's MODIFIED requirement blocks* gives a marker exactly ONE reporting ground — it names a unit the block still carries — so two other ways of declaring nothing say nothing about the MARKER and point its author at a unit instead of at their own paragraph: a name matching no unit of the requirement (silent since launch, and recorded by `suppression` itself as "a plausible later ruling" it had no standing to invent), and a code span standing INSIDE a reason, which the boundary correctly reads as prose so that the unit its author had in mind is REPORTED while the marker that caused it is not. The delta restates the requirement with ONE body sentence replaced, stating THREE grounds at the marker-defect class's existing `info` band, and ADDS TWO SCENARIOS at the end of the block, one per ground. The reason-quotes scenario's third `AND` — the quoted unit stays subject to the carriage arms — is carried word for word: the new report is added BESIDE that carriage, never in place of it. D1 IS THE VETO POINT AND IT IS A MEASUREMENT. Ground two is NARROW, firing only where a reason-quoted span matches EXACTLY a promoted unit the block does not carry and no marker declares removed. Of the SIXTEEN unit-naming markers this corpus carried on 2026-09-09, EIGHT quote a code span inside their reason, every one of them a PROMOTED marker, and of the 34 spans they quote ZERO is a derived unit — so the issue's own remedy shape (any span inside a reason) is the predicate for canon's blessed form, and its share grew from 2 of 7 to 8 of 16 in three days. Option B is written out in `design.md` with that cost. Realized in this pull request under `release-realization`'s merged-plus-green rule. `Marker` gains one field for the post-boundary spans `parse_marker` derived and DISCARDED (which is why the second silence was not mechanically detectable at all), `suppression` resolves them and the names that match nothing, and ONE interpolated `{why}` field carries all three grounds through the class's EXISTING template — so `_ARM_TEMPLATES` stays at eight, the existing `CLASS_MARKERS` probe places every new finding, the seventh class stays silent, and ground one's rendered text is byte-identical to the one it shipped with. BOTH NEW GROUNDS RAISE ZERO FINDINGS ON THIS CORPUS TODAY, measured: `--family modified-block-currency` is identical to origin/main's output line for line apart from the repository identity label, this block included. Tests 1635 -> 1646 (eleven added); THREE existing assertions flipped rather than loosened, each in a test that BUILDS a shape these grounds exist for, one of them the real fixture instance of the silence retired. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
RATIFIED 2026-09-09 by Brett Heap (openxFactory operator authority), in session, verbatim: "merge 842 and 846 when green, then ratify the 729 packet" (2026-09-09T13:13:41Z, recorded on openxFactory issue #729). THE WORD IS ONE UTTERANCE OF THREE CLAUSES IN ORDER, AND THE ORDER WAS KEPT: PR #842 merged 4cdadd5 at 16:11:57Z (closing #840) and PR #846 merged 183d1b4 at 16:12:40Z (closing #833), both green after #801 cured the codexFactory org-move red; this is the third clause. The earlier "author the 729 packet" (2026-09-09T12:32:46Z) stays recorded as the ORIGIN of the authoring. THE VETO POINT WAS PUT AND WAS NOT TAKEN. design.md D1 — option A (a reason-quoted code span reported only where it matches EXACTLY a unit of the requirement's basis that the block does not carry and that no marker declares removed) against option B (any code span standing inside a reason, the remedy shape issue #729's own body proposed) — was carried in the pull request body, in tasks.md § 1.2, in the README row and on issue #729, with B written out beside A and its four costs MEASURED. A is RATIFIED AS DESIGNED, ground two included, and so is the narrowing D5 adds to the ruling's literal wording ("and that no marker declares removed", narrower in the SILENT direction), which was disclosed on #729 at 14:22Z — before the act the word made conditional on #842 and #846 landing green. A veto of A would have been a veto of GROUND TWO ONLY; ground three rested on no predicate choice. WHAT MOVES. proposal.md, design.md and tasks.md carry Status: ratified with EXACTLY ONE citation line each (Ratified: in the proposal's front matter, Ratified by: in the other two), which is what ratified-provenance counts. .openspec.yaml gains approved_by + approved_on BESIDE the drafting provenance it was authored with — kind and id unmoved, the addition-not-rewrite shape add-drafted-proposal-origin defined, and the shape the archive gate's origin-retention arm reads, which is why the status flip and the approval pair move in ONE commit. The README OpenSpec Records row flips. Two records are captured beside the packet: review/ratification-2026-09-09.md and review/verification-2026-09-09.md. TWO DISCLOSURES CARRIED INTO THE RECORD RATHER THAN LEFT TO BE FOUND. (a) families.FAMILY_RESOLUTION line 117 has carried modified-block-currency as CONTESTED since the flip of 2026-08-31 (#357) and that table has no per-class grain, so issue #729's "not contested" premise was stale; the packet claims NO exemption and states the inheritance plainly (design.md D7), and the MODIFIED block carries canon's now-false "deliberately absent from FAMILY_RESOLUTION" paragraph BYTE-FAITHFULLY BY NECESSITY — a MODIFIED block restates canon as canon states it and this packet replaces exactly one sentence — recorded as residue at tasks.md § 5.3. (b) #719's promoted Removed from canon marker names a sentence canon no longer carries, so ground three would fire on it; it is deliberately NOT restated, on this requirement's own rule that a marker is not a carriage unit in either direction, and the AMENDED BY note says so in terms. WHAT DOES NOT MOVE. No promoted canon is touched, no code and no test moves, no ledger row moves (a row's derived keys read no lifecycle status), and § 5.2–§ 5.7 stay UNTICKED — the archive is a separate act on merged-plus-green realization evidence and on a separate word, so #729 closes at archive and not at this landing, which is why this pull request carries no closing keyword. VERIFIED ON THE RATIFIED TREE, every number re-derived after the encode and with both records in the lifecycle scan set: openspec validate amend-marker-defect-reporting --strict valid; --all --strict 100 passed / 3 failed with the failure SET byte-identical to origin/main 183d1b4's same three (disposition-codexfactory-declared-renames, pin-openspec-cli-dependency-closure, spec/repo-boundary-governance) and none of them this packet's; the pinned 1.12 entrypoint 1 passed / 0 failed clean; proposal-support verify ok; sequenced_after passed (42 active, 9 declaring) with the ledger consistent (190 rows) and ZERO rows moved; scope_globs passed; doc-health --family modified-block-currency 0/0/0/8+1 = 9 info, finding lines IDENTICAL to the origin/main control; doc-health --single-repo 10 critical / 8 error / 57 warning / 16 info with the finding-line diff against the PRE-RATIFICATION branch EMPTY and the only line differing from origin/main's being another change's pre-existing "missing status header" that #847 archived out of the active scan set on main after this branch's last merge; the family names this change ZERO times; pytest tests/doc-health 1646 passed (test_modified_block_currency.py 139, the two touched files 178). A MERGE FROM MAIN AND A RE-MEASURE ARE OWED AT LANDING. The branch's last merge took e86eca3 (#801) at 15:44Z and #842/#846/#847 landed after it, so this tree does not carry them; verification-2026-09-09.md § 9 states in advance which figures move when the merge is taken. Refs #729 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: openxfactory-1 (openXfactory-1)
RATIFIED 2026-09-06 by Brett Heap (openxFactory operator authority), in session, verbatim: "merge 705 when green, then ratify 692". The first clause landed PR #723 (merge
6295e387, closing #705); this is the second. Records:review/ratification-2026-09-06.mdandreview/verification-2026-09-06.md.THE VETO POINT WAS PUT AND WAS NOT TAKEN.
design.mdD1 — option A against option B, written out below — was carried as this packet's veto point here, intasks.md§ 1.2 and in the README row. A is RATIFIED AS DESIGNED, and A's stated cost is ratified with it: the conservative narrowing of whatdocument-lifecycle's "naming each deleted unit as a CommonMark code span" reaches is a NEW failure mode this amendment creates, it is silently corrected today, and its reporting is the owed successor attasks.md§ 5.1.proposal.md,design.mdandtasks.mdcarryStatus: ratifiedwith exactly ONE citation line each (Ratified:in the proposal's front matter,Ratified by:in the other two), which is whatratified-provenancecounts..openspec.yamlgainsapproved_by+approved_onBESIDE the drafting provenance it was authored with —kindandidunmoved, the addition-not-rewrite shapeadd-drafted-proposal-origindefined — which is why the status flip and the approval pair move in ONE commit: the archive gate resolves the RATIFYING COMMIT as the first commit whoseproposal.mddeclaresStatus: ratified, and it answersORIGIN RETAINED … since the ratifying commit 805d2c0e8079.THE ARCHIVE IS A SEPARATE ACT.
code_surfaceis non-empty, so underrelease-realizationthis packet archives on merged-plus-green realization evidence and on a separate word.tasks.md§ 5.1–§ 5.5 stay UNTICKED, and #692 closes at archive, not here.Why this is NOT a plain fix
doc-health's promoted Currency of an active change's MODIFIED requirement blocks says with a SHALL:parse_markerconforms to that sentence exactly. Measuring the reason from BEHIND is what makes every code span an author writes INSIDE the reason a declared-removed NAME — so the hazard is in the sentence, not in the code. Changing the parser alone would put running code out of agreement with promoted canon: the checker out-running canon, which is the inverse of the defect #678 and #688 were written to avoid. The remedy is therefore a## MODIFIEDrequirement plus a realization in the same pull request, on theamend-unreadable-read-sibling-scenarios(#688) shape.Checked in both directions:
document-lifecycle's marker grammar names each deleted unit as a code span and says nothing about the reason boundary, so it needs no amendment and none is made. The sentence is promoted in ONE place.What changes — one sentence, quoted before and after
RETIRED:
REPLACING IT:
The retired unit is declared by the reserved marker
**Removed from canon by amend-marker-reason-boundary (2026-09-06):**, naming it verbatim as a code span fenced with a doubled backtick run — the unit cites—and so contains backticks, which is canon's own longer-fence rule applied to a sentence about that rule.The next promoted sentence — "Semicolons and dashes inside a unit or inside a reason are therefore irrelevant, because extraction is by code span and never by splitting on punctuation" — is carried byte-identical and still reads correctly: a dash inside a unit is inside a code span and is skipped; a dash inside the reason falls after the boundary and decides nothing.
The
Merged intoform is amended consistently, not separately: both unit-naming forms share ONE tail parse (the destination is matched in the prefix regex), so the sentence governed both before and governs both after, and the new text says so. The third reserved form (Modified over) names no units, returns before the split and takes its whole tail; it is untouched, and its branch comment — which justified that by contrast with the retired rule — is corrected.THE VETO POINT —
design.mdD1, option A against option B (PUT, AND NOT VETOED)A (encoded). The reason begins at the first
—standing outside every code span. Rewrites no marker, rewrites no template, and its failure direction is conservative: an author who separated NAMES with—has the later ones read as reason — they suppress nothing, so the units meant to be declared are REPORTED rather than silently dropped.B (written out, rejected for cost). Require the removed units in a fenced list. Four costs: (1) every existing marker is rewritten, including those inside
openspec/changes/archive/, which are records of ratified acts and must not be edited — so B needs a grandfather clause, and a grammar with one has two grammars; (2) both prose templates that promote into canon are rewritten; (3) a fence inside a MODIFIED block collides withfenced_regions, the rule that stops written-out marker examples from parsing; (4) the reason still trails the list and still needs a boundary rule, so B is A plus a corpus rewrite.A veto of A would have been a veto of this delta's one sentence. It was not taken: A is ratified as designed, and its cost with it.
The corpus measurement
Every unit-naming marker in
openspec/specs/*/spec.mdand every activeopenspec/changes/*/specs/*/spec.mdas the corpus stood BEFORE this packet, parsed under both rules on 2026-09-06. This packet's own delta carries an EIGHTH marker — the self-reference case below — and it is excluded here so the figures re-derive on the tree the design was taken on (with it: 8 markers over 109 files):govern-sibling-added-modified-deltas(2026-08-31)openspec/specs/doc-health/spec.mdamend-published-tip-unreadable-scenario(2026-09-05)openspec/specs/doc-health/spec.mdNone→ the author's reasonamend-unreadable-read-sibling-scenarios(2026-09-05)openspec/specs/doc-health/spec.mdNone→ the author's reasondeclare-generated-projection-status(2026-08-28)openspec/specs/document-lifecycle/spec.mdcreate-medxchart-overlay-boundary(2026-09-03)openspec/specs/domain-descendant-boundary/spec.mdadd-chain-attestation(2026-09-01)openspec/changes/add-chain-attestation/…/spec.mdadd-composed-view-authoring(2026-08-27)openspec/changes/add-composed-view-authoring/…/spec.mdSEVEN markers; TWO change; FIVE unaffected — eight with this packet's own, whose one name and one reason are identical under both rules by construction. The four names dropped are
WHENandAND, twice over — words the two reasons quote. No marker in this corpus separates its NAMES with—, so none loses a name its author meant to declare; that is asserted as a test, not only measured.Why it is inert today, and why that is an accident: of 17,566 derived units across every promoted specification and every active delta other than this packet's own (108 files; 17,690 over 109 with it), none is literally
WHENorAND— and none of the units this packet adds is either — sosuppression's third resolution ("names nothing; buys nothing") has been absorbing the defect. The names a marker derives are what it suppresses, so the next author whose reason quotes a real unit declares that unit removed by mentioning it.The self-reference hazard, discharged
This block's own marker is read by the RETIRED grammar on
mainand by the AMENDED grammar here. Its reason is therefore written with no code span anywhere in it, so both grammars derive the same one name and the same reason. Verified by loading both modules and parsing the delta with each:Realization diff summary
scripts/doc_health/modified_block_currency.py:_reason_boundaryadded (first—standing outside every code span, orNone), the unit-naming tail split moved to it, and the pairing branch's comment corrected where it described the retired rule. Private on purpose — the module's public callables are snapshotted bytest_modified_block_currency_fixtures.py::test_this_feature_touches_no_production_module, and a helper that is one split insideparse_markeradds no public reading, so that guard is left meaningful and unedited.tests/doc-health/test_modified_block_currency.py: 121 → 128, seven added, none edited — a reason quoting code spans names only the spans before the separator; a separator inside a code span is a unit's own bytes; a marker with no separator still names every span; names separated by—fail in the conservative direction and suppress nothing; a reason quoting a REAL canon unit is suppressed under the retired rule and not under the amended one, asserted atsuppressionlevel because that is where the harm lands; the whole corpus loses no name any author meant to declare; and the two promoted markers, located by content rather than by line number, parse to exactly one name each with a non-Nonereason.openspec/changes/amend-marker-reason-boundary/specs/doc-health/spec.md: TWO SCENARIOS ADDED at the end of the block — A marker's reason quotes a code span and A marker's tail carries no separator outside a code span — so the amended sentence is pinned in CANON and not only in this packet's tests. No promoted scenario moves, is retitled or loses a bullet; the marker names a BODY unit, sosuppression'sadds_new_titlegate has nothing to withhold, and the block still raises ZERO findings from its own family (measured).openspec/changes/amend-marker-reason-boundary/specs/doc-health/spec.md: the requirement restated in full — 50 body units, 14 scenario titles, 40 scenario bullets, byte-faithful, including the fenced block that writes the two marker forms out — with the one sentence replaced, an**AMENDED BY …**note and the removal marker.README.md: the OpenSpec Records row.Verification — re-derived at head
f7e2e358, after TWO merges frommainThe branch has merged
maintwice:6295e387(#723, #721, #724, #720, #716) and thend179cc0d(#717, #718 — the merge that resolved the CONFLICTING state #717's README row created; both Active rows kept, this branch's first). Every number below is measured at the merged head, not carried over.THE WORD TOTALS ARE NOT OFFERED AS EVIDENCE, AND THE REASON IS STRUCTURAL.
corpus.GOVERNED_ROOTSiscontracts,docs,examples,ideation,templates—openspec/is not in it. A change packet is read by the separately declared LIFECYCLE SCAN SET (openspec/changes/**/proposal.mdandopenspec/changes/**/review/*.md), whichcorpus.pydocuments as never enteringload_docs, "so no census, word total, canon-share figure, inventory entry, or catalog record moves because it exists". That is why the report diffs empty line for line. What the scan set DOES reach isproposal.mdand both new records, read by four families — status validity, standard backing, ratified provenance, succession integrity.THREE PROBES, EACH MADE TO FIRE AND THEN CLEARED — because a family that names this change zero times cannot otherwise be distinguished from one that never read it:
The self-reference discharge, re-run on the merged tree — the packet's own marker parsed by BOTH modules over the committed delta:
Origin retention (
release-realization§ "Origin retention at archive"):Review round — what was taken, and what was refused
Three adversarial reviews returned four MINOR findings and five NOTE-level ones (nothing MAJOR; no hard limit was found breached). Taken: the missing scenarios (now in the delta); the corpus figures scoped to the tree they were taken on, in every place they appear including the AMENDED BY note that promotes into canon; the
document-lifecyclenarrowing disclosed as a NEW failure mode this amendment creates, with its reporting scoped into the owed successor attasks.md§ 5.1; asuppression-level test plus a docstring saying the corpus test's unit set is a proxy;_REASON_SEPused in the pairing branch too; and two pieces of residue named —specs/019-modified-block-currency-familyFR-016 / reading A1 (tasks.md§ 5.3, deliberately not edited: a build record, not promoted canon) and the estate-wide run (tasks.md§ 5.4).Refused, with reasons. (1) The vendored-
scope_globs.pyre-vendor note is about PR #723, not this pull request — this pull request touches no vendored module. (2) The estate-wide doc-health MEASUREMENT itself: other repositories' clones are outside this lane's limits, so the obligation is RECORDED (tasks.md§ 5.4) rather than claimed. (3) The merge-from-main and re-measure was refused in the review round as owed at landing rather than in a review — and it has now been TAKEN, twice, againstorigin/main6295e387and thend179cc0d, with every number re-derived at the merged head above. Rule 6 applies at merge: this pull request adds a README OpenSpec Records entry and creates a directory underopenspec/changes/, so a LANDING line for laneopenxfactory-1is owed on the pull request and inLANES.mdbefore the merge, and LANDED with the merge sha after.The full
python3 -m pytest tests/ -q -m "not postgres"run and itsorigin/mainbaseline are in a follow-up comment on this pull request, measured at the earlier head7e156829and not re-run since: this workstation carries a large body of environment-dependent failures onorigin/mainitself, so the honest statement is a BASELINE COMPARISON of failure SETS rather than a bare count. This round adds one passing test totests/doc-health/and touches nothing else that run reaches;pytest-suitein CI is the authority.Codex: absent (usage-limited) on every request since 2026-09-03. Absence recorded, not clearance.
What this does NOT claim
suppression's third resolution — a name matching no canon unit stays silent — is untouched and is named as an owed successor intasks.md§ 5.1: a family that reported "this marker names something no unit matches" would have surfacedWHENandANDthe day they were written.Refs #692 — the issue closes at archive, not here.
RATIFIED 2026-09-06 on Brett Heap's word "merge 705 when green, then ratify 692";
design.mdD1 was the veto point and was NOT vetoed. Rule 6 landing (LANDING/LANDED for laneopenxfactory-1, on this pull request and inLANES.md) is owed at merge.🤖 Generated with Claude Code
https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv