Repository navigation
Propose amend-marker-defect-reporting: a marker whose reason quotes an uncarried unit is reported (#729) - #850
Conversation
…n uncarried unit, or that names nothing, is reported (#729) STATUS: draft. NOT RATIFIED — Brett Heap's "author the 729 packet" (2026-09-09) instructs a lane to AUTHOR; it decides no wording and takes no design decision. `.openspec.yaml` carries drafting provenance only, with no approval pair. `doc-health`'s *Currency of an active change's MODIFIED requirement blocks* states ONE ground on which a reserved marker is itself reported — "A marker naming a unit the block still carries declares nothing and SHALL itself be reported" — so two defects in a declaration pass in silence: a name matching NO unit at all (`suppression`'s own docstring calls that silence fail-closed and records a report there as a plausible later ruling), and a code span an author writes INSIDE the reason, which `amend-marker-reason-boundary` (#719) rightly ruled names nothing and which `parse_marker` therefore discarded — so a would-be declaration about the very unit the block dropped is mechanically invisible. THE MEASUREMENT MOVED THE ISSUE'S OWN WORDING. #729 proposed reporting a marker that "carries a code span INSIDE its reason"; measured 2026-09-09 over 115 files and 18,394 derived units, EIGHT of this corpus's SIXTEEN unit-naming markers are written that way, every one PROMOTED and every quoted span reason-prose. The delta encodes the NARROW ground instead — a reason-quoted span EXACTLY MATCHING a unit of the basis the block does not carry, on which zero of the eight fires — with the broad one written out beside it as design.md D1, the veto point. The MODIFIED block restates the requirement in full (122 canon units: 59 body, 16 scenario titles, 47 bullets, byte-faithful, the #719 note and marker included), replaces ONE sentence with three grounds, and appends two scenarios. The promoted scenario *A marker's reason quotes a code span* is carried WHOLE, its third AND included, so the report stands BESIDE the carriage arms. REALIZED IN THE SAME PULL REQUEST (code_surface openxFactory, target_release implemented): Marker.quoted keeps the spans the reason quotes, _declares_nothing reads them and the marker's names against the basis under an own-change scope (without which this packet's own block reports itself — measured), and ONE new arm template reuses TEMPLATE_MARKERS' opening so the existing class map places both grounds. suppression is untouched in signature and behaviour. VERIFIED: tests/doc-health 1635 -> 1645 passed; --family modified-block-currency byte-identical to an outside main worktree (9 info, 0 new, the report never names this change) and so is the full --single-repo run; both mutation probes bite; openspec strict through the pinned CLI clean for the change and 0 undispositioned failures for --all; validate-sequenced-after and validate-scope-globs pass. FOUR existing assertions edited, each named in tasks.md § 3.7 — three are a ninth template's bookkeeping, and the fourth is a deliberate behaviour change on the -fence tree's single-backtick mis-fence, which now gets the finding this amendment exists to give it. Refs #729. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_011pPD2SfAZtmh8qC3VAimXw
…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]>
…s ours) A PRIOR SESSION OF THIS LANE HAD ALREADY PUSHED `e13b39bc` to this branch — the same packet, authored on `245ee85a`, one merge behind `main` — and opened no pull request. This session was instructed to START CLEAN and authored the packet again on `main` @ `6df21737`. MERGED WITH `-s ours` RATHER THAN FORCE-PUSHED, deliberately: nothing is rewritten and `e13b39bc` stays reachable for anyone who wants to read the sibling authoring, while the tree this branch presents is exactly this session's. NOTHING OF `e13b39bc`'s TREE IS TAKEN — not one line — so the pull request's diff is one authoring rather than a blend of two, which is what "start clean" means and what a reviewer of a delta needs. The two authorings CONVERGED on the design that matters, which is worth recording: both took `design.md` D1 option A, the NARROW predicate, on the same measurement (16 unit-naming markers, 8 quoting a code span inside their reason, 0 of those spans a derived unit). Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[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 ✨
#850) ONE ROW, derived from the live corpus by `validate-sequenced-after.py . --seed-ledger --moved-by '#850'`, which rewrites the file from the corpus and stamps provenance on the rows that actually moved. Only this change's row moves: `state: active`, `class: co-modifier`, `declares: absent`. `co-modifier` CLASSES ON ARCHIVED PARTNERS ONLY — the other writers of *Currency of an active change's MODIFIED requirement blocks* are `add-modified-block-currency-check`, `add-unclassified-finding-class`, `govern-sibling-added-modified-deltas` and `amend-marker-reason-boundary`, all archived — so no partner row flips, no MOVEMENT LOG entry is owed, and `declares: absent` is correct rather than lazy: no ACTIVE change carries a MODIFIED block for this requirement, checked by grep, so `sequenced_after` is elective here and is deliberately undeclared. Ledger now consistent with the corpus at 190 rows. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
🟡 Changes recommended
There are small but concrete correctness/maintainability issues in the updated code (notably an outdated return type annotation and a duplicated comment) that should be fixed before merge.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR authors the draft OpenSpec change packet amend-marker-defect-reporting and realizes it in code by extending the doc-health modified-block-currency family to report two additional “marker declares nothing” cases (while keeping existing suppression behavior unchanged).
Changes:
- Extend
scripts/doc_health/modified_block_currency.pyto (a) preserve post-boundary code spans asMarker.quoted, and (b) emit marker-defect findings for (1) unmatched names and (2) narrow “reason-quoted uncarried unit” cases. - Add/adjust unit tests to pin the new behavior (including flipping three prior “silent” assertions) and guard template/shape invariants.
- Add the new OpenSpec change packet content (proposal/design/tasks + modified requirement block) and index it in README + sequenced-after ledger.
File summaries
| File | Description |
|---|---|
| tests/sequenced_after/corpus-ledger.yaml | Registers the new change id in the sequenced-after test ledger. |
| tests/doc-health/test_modified_block_currency.py | Flips prior silence assertions and adds new tests covering all three marker-defect grounds and invariants. |
| tests/doc-health/test_modified_block_currency_fixtures.py | Updates the real fixture case to expect the new marker-defect finding for an unmatched (truncated) name. |
| scripts/doc_health/modified_block_currency.py | Implements Marker.quoted, new _MarkerDefect records, new marker-defect grounds, and updated rendering via {why}. |
| README.md | Adds the draft packet to the Active changes index with rationale and realization notes. |
| openspec/changes/amend-marker-defect-reporting/tasks.md | Draft task list documenting ratification owed + realization work performed in this PR. |
| openspec/changes/amend-marker-defect-reporting/specs/doc-health/spec.md | MODIFIED block restating the requirement with the amended marker-defect sentence + two new scenarios. |
| openspec/changes/amend-marker-defect-reporting/proposal.md | Draft proposal describing the two silences, the veto point, and the realization surface. |
| openspec/changes/amend-marker-defect-reporting/design.md | Draft design capturing measurement + predicate choice (narrow exact-match) and implementation constraints. |
| openspec/changes/amend-marker-defect-reporting/.openspec.yaml | Draft origin/provenance metadata for the new packet. |
Review details
Suppressed comments (1)
scripts/doc_health/modified_block_currency.py:1361
suppression()now builds and returns_MarkerDefectrecords (and callers treat them as such), but the return type annotation still sayslist[Marker]. This makes the function signature inaccurate for type-checkers and future readers.
def suppression(markers: list[Marker], canon_units: list[Unit],
block_units: list[Unit]
) -> tuple[set[tuple[str, str]], list[Marker]]:
"""`(suppressed, defective)` — what the block's markers declare, and which of
- Files reviewed: 10/10 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.
…e return annotation (#850) TWO TAKEN, ONE ROUND, both correctness-or-clarity in the module rather than in the delta. 1. `Marker.__init__` carried the `basis` parameter's closing two lines TWICE — an artifact of this session's own patch anchor, sitting directly beside the new `quoted` documentation where it read as a second rule. Deduplicated; the surviving text is the one the pairing form's comment has always carried. 2. `suppression`'s return annotation still said `tuple[set[tuple[str, str]], list[Marker]]` after the function began returning `_MarkerDefect` records, which is exactly the kind of signature a later reader trusts and a type-checker reads. Now `list[_MarkerDefect]`. `from __future__ import annotations` is in force and `_MarkerDefect` is defined immediately above `suppression`, so the name resolves at both read times. No behaviour moves and no test changes: 243 passed across the four modified-block-currency test files. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The implementation aligns with the stated narrow predicate, keeps existing behavior stable where promised, and is comprehensively pinned by targeted unit and corpus-regression tests.
Review details
- Files reviewed: 10/10 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-1 (openXfactory-1) FREEZE — head
|
| created (UTC) | branch | conclusion |
|---|---|---|
| 13:09:19 | change/archive-govern-archived-record-edits-2 |
success — the last one |
| 13:16:00 | change/archive-bump-openspec-cli-pin-to-1.12 |
failure |
| 13:27:32 | change/opendox-oqb-replumb-2-wire-names |
failure |
| 13:31:16 | realize/amend-mirror-floor-regeneration-merge-authority |
failure |
| 13:31:38 | change/opendox-oqb-replumb-1-slug-and-… |
failure |
| 13:36:58 | fix/origin-retention-refuses-a-moved-path (#846) |
failure |
| 13:59:44 | change/opendox-carve-manifest-validator |
failure |
| 14:11:31 | realize/amend-mirror-floor-regeneration-merge-authority |
failure |
| 14:15:07 | fix/origin-retention-refuses-a-moved-path (#846) |
failure |
| 14:28:45 | change/amend-marker-defect-reporting (this PR) |
failure |
The sibling at 3e54881d reads selected=10634 passed=10611 skipped=23 failures=0 errors=0 with the identical skipped 23, pinned exactly 21 error — same shape, different branch, no shared content with this one.
NOTHING IS DONE ABOUT IT HERE. Moving the skip pin, or repointing the core, is an estate-wide act on a required gate and belongs to a ruling and a lane of its own, not to a draft packet's PR. It is disclosed because Brett Heap's "merge 842 and 846 when green, then ratify the 729 packet" cannot be satisfied as written while this stands — no openxFactory PR can go green on pytest-suite today.
Local evidence at this exact head, in place of the gate's: pytest tests/doc-health 1646 passed (against 1635 on main @ 6df21737); pytest tests/doc-health tests/sequenced_after 1881 passed; --family modified-block-currency byte-identical to main's output; the full doc-health --single-repo . finding lines identical to main's on the final head; validate-openspec-cli-pin.py --all --no-cache 0 undispositioned failures; --change amend-marker-defect-reporting --strict 1 passed, 0 failed; validate-sequenced-after.py . and --ledger-diff and validate-scope-globs.py . all clean.
Refs #729 — awaits Brett Heap's ratification word; nothing here is ratified.
🤖 Generated with Claude Code
…porting Fresh merge ref so pytest-suite runs the repointed pinned-core checkout; no content change to the PR's own diff. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: openxfactory-1 (openXfactory-1) HEAD MOVED BY MERGE-FROM-MAIN (2026-09-09T15:44Z): |
There was a problem hiding this comment.
🔵 Needs a closer look
It amends promoted normative behavior and modifies a core doc-health family’s reporting logic in ways that warrant final human review despite strong test coverage.
Review details
- Files reviewed: 10/10 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-1 (openXfactory-1) ADVERSARIAL PASS (Opus, read-only, frozen head Findings, dispositioned:
Encode proceeds on Brett's recorded word "merge 842 and 846 when green, then ratify the 729 packet" (2026-09-09; #842/#846 landed 16:1xZ). D1 option A stands. Rule 6 LANDING/LANDED follows on green. |
… as an unruled fourth case
THE ADVERSARIAL PASS FOUND ONE OVER-CLAIM AND IT IS THE HEADLINE CLAUSE. The
delta's replacing sentence opened "A marker that declares nothing SHALL itself be
reported, on any of THREE grounds" — and the converse it asserts is FALSE on this
packet's own code. A `Removed from canon` marker whose tail carries no code span
parses to `names = []` and `quoted = []`, so `suppression`'s per-name loop
(`for name in marker.names`) never runs, `restated` stays false, `unmatched` stays
empty, and the second pass has nothing to resolve. Such a marker declares nothing
and reaches NONE of the three grounds: it is silent. The clause is reworded to
claim exactly what the three grounds do — a marker is reported when it names a
unit the block still carries, when a code span inside its reason matches exactly
an uncarried unit of the requirement's basis that no marker declares removed, or
when it names something matching no unit of the basis and no unit of the block —
with the rationale kept as a statement about the three ("each of the three is a
declaration that does not describe the block") rather than about every marker.
`proposal.md` § What Changes carried the same clause and is aligned with it;
`design.md` D3 gains the mechanism; the SHALL stays where the requirement body's
first line already carries it.
THE FOURTH CASE IS RECORDED RATHER THAN RULED. `tasks.md` § 5.7 is added, OPEN,
naming no successor: a marker that names nothing at all is still silent, it is the
fourth case of a marker declaring nothing about the block, and what such a
paragraph even is — a marker form carrying no declaration, or prose that merely
looks like one — is a grammar question this packet does not open. Inventing a
fourth ground here would repeat, on the same afternoon, the fault the packet
exists to correct, which is the reason § 5.2 gives for its own silence. The issue
is filed at the archive word rather than here. `proposal.md` § What this proposal
does NOT claim names it in the same breath as § 5.2's case.
AND ONE NIT, TAKEN BECAUSE NO TEST ASSERTS THE WORDS. The two ADDED scenarios said
"the promoted requirement" where title resolution may substitute a declared
sibling's outcome as the basis the arms measure against; "the requirement's basis"
is exact, and it is the vocabulary the block already uses ("each naming one unit
that matches its resolved basis"). Grepped first: no test asserts either scenario
title or any of their bullets, and the two tests that DO assert this vocabulary
(`test_modified_block_currency.py:2578`,
`test_modified_block_currency_fixtures.py:906`) assert the CODE's rendered finding
text `_WHY_UNMATCHED`, which is not touched.
NOTHING ELSE MOVES. No canon unit's bytes change: the paragraph's first sentence
is the carried canon unit and is untouched, the reworded text is the replacement
for the one sentence the reserved marker declares, and that marker and its
code-span-free reason are byte-identical. No scenario is retitled, none loses a
bullet, no code, no test and no severity moves.
VERIFIED: `openspec validate amend-marker-defect-reporting --strict` valid;
`pytest tests/doc-health/test_modified_block_currency.py
tests/doc-health/test_modified_block_currency_fixtures.py -q` 178 passed.
Refs #729
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) RATIFICATION ENCODED — head |
There was a problem hiding this comment.
🟡 Changes recommended
The repository record encodes Status: ratified while the PR description asserts Status: draft/not ratified, and that mismatch needs to be reconciled before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
- Files reviewed: 12/12 changed files
- Comments generated: 2
- Review effort level: Lite
|
Lane: openxfactory-1 (openXfactory-1) LANDING — lane openxfactory-1, session 653820c2@Eagle, 2026-09-09T17:39:06Z, PR #850 into opensoft/openxFactory main FROZEN + LANDING PROVENANCE. Head |
…closure (#861) A SECOND COMMIT BECAUSE `--moved-by` IS REQUIRED AND THE NUMBER IS NOT KNOWABLE UNTIL THE PULL REQUEST EXISTS. `validate-sequenced-after.py --seed-ledger` refuses to stamp a moved row with no moving pull request -- provenance nobody can follow -- so the archive lands first, the pull request opens, and the flip follows citing it. This is the two-commit shape #841 and #847 took at their own archives, not an ordering this lane chose. python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#861' -> wrote tests/sequenced_after/corpus-ledger.yaml (190 rows, 1 moved by #861) - pin-openspec-cli-dependency-closure ONE ROW MOVES AND 189 KEEP THE PROVENANCE THEY HAD, which is the seeder's whole contract: it rewrites from the LIVE CORPUS and re-stamps only what actually moved, so the diff IS the list of rows this change moved. `active` -> `archived`, `moved_by: "#813"` -> `"#861"` (the pull request that ARCHIVES it, not the one that landed it), `moved_on: "2026-09-08"` -> `"2026-09-09"`. THE DATE IS THE DIRECTORY'S, NOT THE RUN'S, AND THE SEEDER ENFORCES THAT RATHER THAN TRUSTING IT: at a flip to `archived` the row's move and the archive are the same act, so `moved_on` IS the date `archive/2026-09-09-pin-openspec-cli-dependency-closure` carries (issue #790). Both are 2026-09-09 and the two facts agree. Seeded on the MERGED tree, so it reads main's own `amend-marker-defect-reporting` row (#850) and this branch's flip at once rather than one lane's view of either. That is why the derived totals move by one in three places and not two: 41 -> 40 active, 149 -> 150 archived, 15 -> 14 active_sole. CLEARS THE THREE FAILURES THE ARCHIVE COMMIT LEFT STANDING, and nothing else was failing: `tests/sequenced_after/test_sweep.py` ::test_the_LIVE_corpus_and_the_LEDGER_agree_row_by_row, ::test_the_totals_DERIVED_FROM_THE_LEDGER_equal_the_MEASURED_sweep and ::test_the_live_ledger_reports_the_SAME_totals_the_sweep_MEASURES were red on the stale row and its three derived totals -- the same four findings `--ledger-diff` named -- and on nothing else. Lane: codexfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01G1Nzyxp47mjqkeX4QBgoiU
ONE ledger row moves, active -> archived, moved_by "#850" -> "#862". `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 (active 41 != 40, archived 149 != 150, active_co_modified 26 != 25). After: `per-change sweep ledger consistent with the corpus (190 rows)`. The three pytest failures that fact produced -- test_the_LIVE_corpus_and_the_LEDGER_agree_row_by_row, test_the_totals_DERIVED_FROM_THE_LEDGER_equal_the_MEASURED_sweep and test_the_live_ledger_reports_the_SAME_totals_the_sweep_MEASURES -- are cleared: `pytest tests/sequenced_after tests/scope_globs -q` is 320 passed, 0 failed. § 5.6 is the ARCHIVE box and it now names the act on the recording: PR #862, the move to openspec/changes/archive/2026-09-09-amend-marker-defect-reporting/, the write-back into openspec/specs/doc-health/spec.md, the README row and this ledger row. Its closingIssuesReferences is exactly [729], verified through GraphQL, so openxFactory #729 closes with this merge and with nothing else. The box's ratified text is still carried verbatim beneath the tick clause and no other box is touched. Both archive-retention gates were re-run after these edits and both pass, as do the plain sequenced_after run and its two archive-date arms. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: openxfactory-1 (openXfactory-1)
Status: ratifiedas of 2026-09-09 — see § Ratified at the foot of this bodyfor the act, the word and the commits. The paragraphs below are the packet as
AUTHORED, kept as the text the ratification word was given over: Brett Heap's
"author the 729 packet" (2026-09-09T12:32:46Z) instructed a lane to AUTHOR and
decided no wording,
tasks.md§ 1 was UNTICKED and.openspec.yamlcarrieddrafting provenance with no approval pair while that was true. Both have since
moved, in the ratification commit named below.
Why this is NOT a plain fix
doc-health's Currency of an active change's MODIFIED requirement blocksmandates exactly ONE reporting ground for a reserved marker, and both
silences openxFactory issue #729 reports fall outside it.
requirement suppresses nothing and is reported as nothing —
suppression's own docstring calls that "deliberately NOT a finding … anobligation this feature has no standing to invent. Recorded as a plausible
later ruling." A plausible later ruling is not a plain fix.
amend-marker-reason-boundary(PR Propose amend-marker-reason-boundary: a marker's reason begins at its first separator, and a code span inside it names nothing (#692) #719) rightly stopped reading a code spaninside a reason as a name — and for that case canon does not merely omit a
report, it prescribes the treatment: "the units the span would have
named MUST therefore remain subject to the carriage arms". A second
obligation over the same facts is an addition to the requirement, not an
implementation of it.
archived
amend-marker-reason-boundary/tasks.md§ 5.1, ratified 2026-09-06:"it is an OWED SUCCESSOR with its own scenarios to write, and it is not this
packet."
The sentence, before and after
BEFORE (
openspec/specs/doc-health/spec.md:1743-1746, the second sentenceof that paragraph — the first is carried byte-identical):
AFTER — one sentence retired, replaced by five stating THREE grounds:
The retired unit is declared by
**Removed from canon by amend-marker-defect-reporting (2026-09-09):**, andTWO SCENARIOS ARE ADDED at the end of the block, one per new ground. The
promoted scenario A marker's reason quotes a code span is carried whole, its
third
ANDincluded.D1 — the veto point, and it is a measurement
A veto of A is a veto of ground TWO ONLY. Ground three (a name matching no
unit of the requirement or of the block) rests on no predicate choice and stands
either way.
The census, and D0
Every unit-naming marker in
openspec/specs/*/spec.mdand every activeopenspec/changes/*/specs/*/spec.md, read throughderive_unitsso fencedexample markers are never offered. Taken on
main@6df21737, the corpusBEFORE this packet:
Merged into, one name each matching its basis, neither quoting a spanD0: both new grounds raise ZERO findings on this corpus — the amendment is
normative for the next marker written, not a sweep of the present one.
Realization, in this pull request
code_surface: openxFactory — scripts/doc_health/modified_block_currency.pytarget_release: implemented, so underrelease-realizationthisarchives on merged-plus-green rather than on landing.
Markergainsquoted— the post-boundary spansparse_markerderivedand DISCARDED, which is why the second silence was not merely unreported
but not mechanically detectable. A LAST parameter with a default, on the
basisprecedent. No parse moves:namesandreasonare exactly whatthe amended boundary derived, and the field is empty for the pairing form and
for a marker with no boundary.
suppressionreturnslist[_MarkerDefect]— a private record of onemarker and one ground, so the module's public surface is unchanged and
test_this_feature_touches_no_production_moduleis not edited. Every existingassertion over
defectivecompares it to[], so the type change redsnothing.
unit NO marker accounts for. A span the marker also NAMES is skipped — its
author declared it.
TEMPLATE_PAIRINGprecedent andBrett's shape amendment of 2026-08-28 ("shape = arm template"): one shape is
one remedy is one map entry. So
_ARM_TEMPLATESstays at eight, theexisting
CLASS_MARKERSprobe places every new finding, the seventh class(
unplaced-finding drift) stays silent, and ground one's rendered text isbyte-identical to the one it shipped with (pinned against a typed-out
literal, not read off the template).
_LEDGER_SEVERITY(info) and the existing_MARKER_ACTION, which already names the remedy for all three grounds.Verification
python3 scripts/validate-openspec-cli-pin.py --all --no-cache— 101passed, 2 failed (103 items), 0 UNDISPOSITIONED failures; both failures are
the standing dispositioned exceptions on
add-chain-attestationandadd-composed-view-authoring, unrelated to this packet.validate-openspec-cli-pin.py --change amend-marker-defect-reporting --strict --no-cache(the pinned route,@fission-ai/[email protected]verified againstits content address) — 1 passed, 0 failed.
python3 scripts/doc-health.py --single-repo . --family modified-block-currencyon this branch versus an outside
mainworktree — byte-identical, line forline, apart from the
Repo-Identitylabel. The block raises ZERO findingsand no finding names this change (
grep -c= 0).doc-health --single-repo .on both trees — every finding lineidentical after normalizing the repo label; tallies 10
critical/ 8error/ 16info/ 57warningon both.assumed: dropping one promoted scenario BULLET raises the carriage ledger
finding for it (1 of 106 units); retitling one promoted scenario raises the
errorscenario-completeness finding (1 of 16); and repointing this packet'sown marker at a string that is no unit raises ground three, live, on this
block — which is also the empirical proof of
design.mdD4.python3 -m pytest tests/doc-health -q— 1646 passed on this branchagainst 1635 on
main; eleven added.validate-sequenced-after.py .— passed (42 active changes, 9 declaring);validate-scope-globs.py .— passed. The per-change sweep ledger row isseeded with
--moved-bythis pull request; this change classesco-modifieron ARCHIVED partners only, so no partner row flips and noMOVEMENT LOG entry is owed.
the block does not carry, with no code span in its reason — checked
through
derive_units.Four things named rather than left in the diff
tests that BUILD the shapes these grounds exist for and all three asserted
the silence this packet retires:
test_names_separated_by_the_separator_fail_in_the_CONSERVATIVE_direction,test_a_reason_quoting_a_REAL_canon_unit_suppresses_it_under_the_retired_rule,and — the real instance —
test_the_inner_backtick_does_not_truncate_the_named_unitintest_modified_block_currency_fixtures.py, a fixture marker whosesingle-backtick fence truncates its name to a fragment matching no unit,
whose author previously saw only a ledger row for a clause they thought they
had declared. Its docstring said in as many words that such a marker "is NOT
reported as a marker defect" — true of the one-ground sentence, and exactly
what ground three retires. No other existing test is edited.
amend-marker-reason-boundary's promotedRemoved from canonmarker isdeliberately NOT restated in this block (
design.mdD4). Its named unit isa sentence canon no longer carries, so it matches no unit of the requirement
or of the block — and restating it would make this block report itself
under its own new ground three. The authority for not restating it is this
requirement's own sentence: "A marker is NOT a carriage unit, in either
direction." The
AMENDED BYnote says so in terms. The generalconsequence is disclosed rather than discovered later: after this packet,
copying a predecessor's declaration forward into a later MODIFIED block is
reportable. Measured: no active block does it today.
contestedrow, and this packetclaims no exemption.
families.FAMILY_RESOLUTIONhas carried"modified-block-currency": CONTESTEDsince the flip of 2026-08-31 (issueValidator gap: a MODIFIED requirement block that restates stale canon passes --strict and reverts canon on archive #357) and that table has no per-class grain, so a marker-defect finding that
stops being reported without a citation already owes one — for the ground
that shipped as much as for the two added here. No new mechanism, and with a
population of zero at landing there is nothing that can vanish between two
reports. Canon's own advisory at launch paragraph still describes the
PRE-flip state (
warningseverities, absence from the resolution table);it is a promoted unit, it is carried here byte-faithfully because this packet
replaces exactly ONE sentence, and correcting it is its own amendment with
its own ruling (
tasks.md§ 5.3).lane (
e13b39bc, authored on245ee85a, one merge behindmain, no pullrequest opened). This session was instructed to start clean and authored the
packet again on
main@6df21737. The earlier push is superseded by a-s oursmerge rather than a force-push: nothing is rewritten,e13b39bcstays reachable, and not one line of its tree is taken, sothis diff is one authoring rather than a blend of two. Worth recording that
the two authorings converged on D1 option A and on the same measurement.
Standing
Refs #729 — RATIFIED, NOT ARCHIVED and NOT MERGED. Nothing under
openspec/specs/oropenspec/changes/archive/is touched and no otherchange's directory is edited.
code_surfaceis non-empty, so underrelease-realizationthe archive is a separate act on merged-plus-greenrealization evidence and on a separate word: #729 closes at archive, not at
this landing, which is why this body carries no closing keyword.
Rule 6: touches
openspec/changes/. NoLANDINGis posted by this pullrequest; the landing window opens when a lane takes it.
Ratified
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). One
utterance of three clauses in order, and the order was kept: PR #842 merged
4cdadd56at 16:11:57Z and PR #846 merged183d1b43at 16:12:40Z, both green,and the encode is the third clause.
4e3c2e26— "Ratify amend-marker-defect-reporting onBrett Heap's word of 2026-09-09".
Status: draft→Status: ratifiedonproposal.md,design.mdandtasks.md, with exactly ONE citation lineeach (
Ratified:in the proposal's front matter,Ratified by:in the othertwo);
approved_by+approved_onADDED BESIDE the drafting provenance in.openspec.yaml,kindandidunmoved; the README OpenSpec Records rowflipped;
tasks.md§ 1.1 and § 1.2 ticked; and two records captured beside thepacket —
openspec/changes/amend-marker-defect-reporting/review/ratification-2026-09-09.mdand
review/verification-2026-09-09.md, every gate re-derived on the ratifiedtree.
33907c73— "Say exactly what the three grounds report; recordthe nameless marker as an unruled fourth case", the one fix-before-encode
finding of the adversarial pass (verdict READY TO ENCODE at frozen head
9d4cf85b). The replacing sentence had opened "a marker that declares nothingSHALL itself be reported", and the converse is false: a marker carrying NO
code span parses to no names and reaches none of the three grounds. The clause
now says what the three grounds report, the nameless marker is recorded as an
unruled FOURTH case at
tasks.md§ 5.7 with an OPEN box, and the pass's onetaken nit made the two ADDED scenarios say "the requirement's basis" rather
than "the promoted requirement".
D1 was put and was NOT vetoed. Option A is ratified AS DESIGNED, ground two
included, together with the narrowing
design.mdD5 adds to the ruling's literalwording ("and that no marker declares removed", narrower in the silent
direction), disclosed on #729 at 14:22Z before the act the word authorized.
A merge from
mainand a re-measure are owed at landing — the branch's lastmerge took
e86eca35(#801) and #842/#846/#847 landed after it;verification-2026-09-09.md§ 9 states in advance which figures move.🤖 Generated with Claude Code