Skip to content

Propose amend-marker-reason-boundary: a marker's reason begins at its first separator, and a code span inside it names nothing (#692) - #719

Merged
brettheap merged 7 commits into
mainfrom
change/amend-marker-reason-boundary
Sep 6, 2026
Merged

brettheap merged 7 commits into
mainfrom
change/amend-marker-reason-boundary

Conversation

@brettheap

@brettheap brettheap commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

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.md and review/verification-2026-09-06.md.

THE VETO POINT WAS PUT AND WAS NOT TAKEN. design.md D1 — option A against option B, written out below — was carried as this packet's veto point here, 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.

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 — 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 whose proposal.md declares Status: ratified, and it answers ORIGIN RETAINED … since the ratifying commit 805d2c0e8079.

THE ARCHIVE IS A SEPARATE ACT. code_surface is non-empty, so under release-realization this 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:

The parser SHALL extract the code spans following the colon, in order, per CommonMark; the reason is everything after the last code span's following —.

parse_marker conforms 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 ## MODIFIED requirement plus a realization in the same pull request, on the amend-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:

The parser SHALL extract the code spans following the colon, in order, per CommonMark; the reason is everything after the last code span's following —.

REPLACING IT:

The parser SHALL extract the code spans following the colon, in order, per CommonMark, and THE REASON SHALL BEGIN AT THE FIRST — SEPARATOR STANDING OUTSIDE EVERY CODE SPAN: the units named are the spans that close before that separator, the reason is everything after it, and a code span that falls inside the reason is prose the reason quotes rather than a unit the marker names. Where no such separator stands, every span names a unit and the marker carries no reason, which is what the written-out Merged into example below is. The boundary is read the same way in both forms, the Merged into destination being matched in the prefix and the tail after the closing colon being parsed identically.

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 into form 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.md D1, 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 with fenced_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.md and every active openspec/changes/*/specs/*/spec.md as 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):

marker document names BEFORE names AFTER reason BEFORE → AFTER
govern-sibling-added-modified-deltas (2026-08-31) openspec/specs/doc-health/spec.md 2 2 unchanged
amend-published-tip-unreadable-scenario (2026-09-05) openspec/specs/doc-health/spec.md 3 1 None → the author's reason
amend-unreadable-read-sibling-scenarios (2026-09-05) openspec/specs/doc-health/spec.md 3 1 None → the author's reason
declare-generated-projection-status (2026-08-28) openspec/specs/document-lifecycle/spec.md 1 1 unchanged
create-medxchart-overlay-boundary (2026-09-03) openspec/specs/domain-descendant-boundary/spec.md 4 4 unchanged
add-chain-attestation (2026-09-01) openspec/changes/add-chain-attestation/…/spec.md 1 1 unchanged
add-composed-view-authoring (2026-08-27) openspec/changes/add-composed-view-authoring/…/spec.md 1 1 unchanged

SEVEN 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 WHEN and AND, 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 WHEN or AND — and none of the units this packet adds is either — so suppression'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 main and 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:

RETIRED grammar (origin/main): names=1
   NAME  : "The parser SHALL extract the code spans following the colon, in order, per CommonMark; the reason is everything after the last code span's following ` — `."
   REASON: 'the sentence measures the reason from the LAST code span, so a code span an author writes inside the reason is read as a named unit and the reason is shortened to whatever follows it; …'
AMENDED grammar (this branch): names=1
   NAME  : "The parser SHALL extract the code spans following the colon, in order, per CommonMark; the reason is everything after the last code span's following ` — `."
   REASON: 'the sentence measures the reason from the LAST code span, so a code span an author writes inside the reason is read as a named unit and the reason is shortened to whatever follows it; …'
IDENTICAL: True

Realization diff summary

  • scripts/doc_health/modified_block_currency.py: _reason_boundary added (first — standing outside every code span, or None), 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 by test_modified_block_currency_fixtures.py::test_this_feature_touches_no_production_module, and a helper that is one split inside parse_marker adds 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 at suppression level 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-None reason.
  • 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, so suppression's adds_new_title gate 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 from main

The branch has merged main twice: 6295e387 (#723, #721, #724, #720, #716) and then d179cc0d (#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.

$ OPENSPEC_TELEMETRY=0 openspec validate amend-marker-reason-boundary --strict
Change 'amend-marker-reason-boundary' is valid

$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict          # PATH CLI = 1.2.0
Totals: 97 passed, 1 failed (98 items)
# the one failure is PRE-EXISTING and is not this packet's:
#   ✗ change/disposition-codexfactory-declared-renames
#     [ERROR] file: Change must have at least one delta. No deltas found.
# — a change that sets `skip_specs`; the PINNED 1.12 reports it as an INFO.

$ python3 scripts/validate-openspec-cli-pin.py --all --no-cache  # what CI runs
Totals: 96 passed, 2 failed (98 items)
  ✗→D add-chain-attestation / signed-execution-chain/spec.md
  ✗→D add-composed-view-authoring / ideation-dashboard/spec.md
OK openspec-cli-pin: @fission-ai/[email protected] verified against its content address;
every target validated --strict with 0 UNDISPOSITIONED failures.
# both accepted exceptions are #677's standing dispositions, not this packet's;
# the two ADDED scenarios add no undispositioned failure.

$ python3 scripts/doc-health.py --single-repo .
Findings: 9 critical, 8 error, 44 warning, 13 info. New regressions vs previous report: 0.
# diffed against a worktree at origin/main d179cc0d (repository-name token normalized):
# the WHOLE report diffs EMPTY — headline, canon share, Per-Stage Counts and every
# finding line. doc-health names this change ZERO times.

$ python3 scripts/doc-health.py --single-repo . --family modified-block-currency
Findings: 0 critical, 0 error, 0 warning, 8 info.
# identical to the control; the new active block raises ZERO carriage findings.

$ python3 -m pytest tests/doc-health -q
1587 passed, 7 warnings in 254.58s (0:04:14)
# test_modified_block_currency.py alone: 128 passed (121 -> 128).
# 1584 -> 1587 is main's #724, not this packet; a status flip adds no test.

$ python3 scripts/validate-sequenced-after.py .
sequenced_after validation passed (38 active changes, 3 declaring the field).

$ python3 scripts/validate-sequenced-after.py . --ledger-diff
per-change sweep ledger consistent with the corpus (178 rows).
# RATIFICATION MOVES NO ROW: a row's derived keys read no lifecycle status.
# 177 -> 178 is #717's row, arriving with the second merge.

$ python3 scripts/validate-scope-globs.py .
scope_globs validation passed (all active changes conform).

THE WORD TOTALS ARE NOT OFFERED AS EVIDENCE, AND THE REASON IS STRUCTURAL. corpus.GOVERNED_ROOTS is contracts, docs, examples, ideation, templates — openspec/ is not in it. A change packet is read by the separately declared LIFECYCLE SCAN SET (openspec/changes/**/proposal.md and openspec/changes/**/review/*.md), which corpus.py documents as never entering load_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 is proposal.md and 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:

1. proposal-origin, approval pair REMOVED while Status: ratified stands
   -> 0 critical, 1 error: "proposal declares `Status: ratified` while its origin
      asserts no approval — approval MUST appear when the status claims it"
   restored -> 0/0/0/0, and the file byte-identical to the one committed.

2. ratified-provenance, a SECOND citation line added to proposal.md front matter
   -> 6 critical, incl. "…/proposal.md — carries 2 ratification citation lines, not one"
   removed  -> 5 critical (the corpus's pre-existing ones, identical on main).

3. modified-block-currency, the block's `Removed from canon` marker DELETED
   -> "does not carry 1 of the 90 body units and scenario bullets
       openspec/specs/doc-health/spec.md currently states for it"
   restored -> silent, delta byte-identical.

The self-reference discharge, re-run on the merged tree — the packet's own marker parsed by BOTH modules over the committed delta:

AMENDED (branch)          names=1   reason 550 chars
RETIRED (origin/main d179cc0d)  names=1   reason 550 chars
IDENTICAL: True

Origin retention (release-realization § "Origin retention at archive"):

ORIGIN RETAINED amend-marker-reason-boundary
(declaration unchanged since the ratifying commit 805d2c0e8079)

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-lifecycle narrowing disclosed as a NEW failure mode this amendment creates, with its reporting scoped into the owed successor at tasks.md § 5.1; a suppression-level test plus a docstring saying the corpus test's unit set is a proxy; _REASON_SEP used in the pairing branch too; and two pieces of residue named — specs/019-modified-block-currency-family FR-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.py re-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, against origin/main 6295e387 and then d179cc0d, 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 under openspec/changes/, so a LANDING line for lane openxfactory-1 is owed on the pull request and in LANES.md before the merge, and LANDED with the merge sha after.

The full python3 -m pytest tests/ -q -m "not postgres" run and its origin/main baseline are in a follow-up comment on this pull request, measured at the earlier head 7e156829 and not re-run since: this workstation carries a large body of environment-dependent failures on origin/main itself, so the honest statement is a BASELINE COMPARISON of failure SETS rather than a bare count. This round adds one passing test to tests/doc-health/ and touches nothing else that run reaches; pytest-suite in CI is the authority.

Codex: absent (usage-limited) on every request since 2026-09-03. Absence recorded, not clearance.

What this does NOT claim

  • It does not claim the defect has ever suppressed a real unit. It has not.
  • It does not change what the family reads, at which severity, or which repositories it speaks about.
  • It does not touch the pairing form's parse, states or disclosure word.
  • It does not edit the two promoted markers, or the archived deltas that carry them. They are records of ratified removals; what is wrong is how they are READ.
  • suppression's third resolution — a name matching no canon unit stays silent — is untouched and is named as an owed successor in tasks.md § 5.1: a family that reported "this marker names something no unit matches" would have surfaced WHEN and AND the 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.md D1 was the veto point and was NOT vetoed. Rule 6 landing (LANDING/LANDED for lane openxfactory-1, on this pull request and in LANES.md) is owed at merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H9aKd8YF3ktcLmVJJxQYKv

… 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
Copilot AI lite review requested due to automatic review settings September 6, 2026 10:16

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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_marker to split unit-naming marker tails at the first outside-span — boundary via a new _reason_boundary helper.
  • 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.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

Verification at head 7e156829 — all nine checks green

clearing-dispatch-gate       pass  29s
lane-line                    pass   4s
merge-master-approval        pass  23s
openreposhape-pin            pass  11s
openspec-cli-pin             pass  17s
pytest-suite                 pass  23m17s
release-tag-gate             pass   8s
signed-execution-chain-gate  pass  1m11s
wallet-validation            pass  27s

pytest-suite, verbatim from the run log:

9723 passed, 21 skipped, 338 deselected, 9 warnings, 93 subtests passed in 1369.67s (0:22:49)
floors: selected>=7090 (margin 2747) passed>=7070 (margin 2746) skipped==21

The skip count is exactly the pinned 21. No skip is added by this packet.

The full-suite BASELINE COMPARISON promised in the description

This workstation carries a large body of environment-dependent failures on origin/main itself, so a bare local count would be meaningless. Both trees were therefore run to JUnit XML and the failure SETS compared — origin/main in a worktree, this branch in the clone, same interpreter, same flags:

BRANCH: tests=9816 skipped=110 failures=96 errors=50 bad=146
MAIN  : tests=9810 skipped=110 failures=96 errors=50 bad=146
ONLY ON BRANCH: 0
ONLY ON MAIN:   0

Identical failure sets, identical skip count, +6 tests — the six this packet adds. Every one of those 146 local failures is pre-existing on origin/main and none is this packet's; CI, which does not carry them, is green above.

The ledger row

Seeded after the pull request existed, as its own commit (7e156829):

$ python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#719'
wrote tests/sequenced_after/corpus-ledger.yaml (177 rows, 1 moved by #719).
  - amend-marker-reason-boundary

$ python3 scripts/validate-sequenced-after.py . --ledger-diff
per-change sweep ledger consistent with the corpus (177 rows).

$ python3 scripts/validate-sequenced-after.py .
sequenced_after validation passed (37 active changes, 2 declaring the field).

The row is {state: active, class: co-modifier, declares: absent, moved_by: "#719", moved_on: "2026-09-06"}. 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.

Standing reminders

  • Status: draft. Nothing here is ratified. tasks.md § 1 is unticked and names ratification as owed; .openspec.yaml carries drafting provenance with no approval pair.
  • The veto point is design.md D1 — option A (the boundary) against option B (a fenced list of removed units).
  • Codex: absent (usage-limited) on every request since 2026-09-03. Recorded as absence, never as clearance.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

… 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
Copilot AI review requested due to automatic review settings September 6, 2026 11:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

brettheap and others added 2 commits September 6, 2026 10:46
…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
Copilot AI review requested due to automatic review settings September 6, 2026 15:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread README.md Resolved
brettheap and others added 2 commits September 6, 2026 11:20
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
Copilot AI review requested due to automatic review settings September 6, 2026 15:36
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

RATIFIED — encoded at 805d2c0e, head now f7e2e358

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, 14:43:56Z, closing #705); this is the second. It was given after a presentation that carried design.md D1 as the veto point — option A (the reason begins at the first — standing outside every code span) against option B (require the removed units in a fenced list) — with both written out and B's four costs beside A's. D1 was NOT vetoed: 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, a NEW failure mode this amendment creates, silently corrected today, whose reporting is the owed successor at tasks.md § 5.1.

The flip

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:

  1. proposal-origin class 7, approval pair removed → 1 error: proposal declares 'Status: ratified' while its origin asserts no approval; restored → 0.
  2. 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.
  3. modified-block-currency, the block's Removed from canon marker 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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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: draft and that nothing here is ratified, but this newly added OpenSpec Records entry asserts Status: ratified with 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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

CI at the ratified head f7e2e358 — ALL NINE CHECKS GREEN, observed rather than expected

clearing-dispatch-gate       pass
lane-line                    pass
merge-master-approval        pass
openreposhape-pin            pass
openspec-cli-pin             pass
pytest-suite                 pass   23m29s
release-tag-gate             pass
signed-execution-chain-gate  pass
wallet-validation            pass

pytest-suite, verbatim from the run log (run 34042834809):

9865 passed, 21 skipped, 338 deselected, 9 warnings, 93 subtests passed in 1379.61s (0:22:59)
selected=9979 passed=9958 skipped=21 failures=0 errors=0
floors: selected>=7090 (margin 2889) passed>=7070 (margin 2888) skipped==21

The skip count is exactly the pinned 21. The ratification adds no test and no skip: it moves lifecycle headers, an origin block, a README row and two new records, and nothing else. The delta, scripts/doc_health/modified_block_currency.py and tests/doc-health/test_modified_block_currency.py are byte-identical to the reviewed head c5d33422 — verified by git diff c5d33422 HEAD over those three paths returning zero lines.

mergeable=MERGEABLE, mergeStateStatus=BLOCKED (the standing code-owner ruleset — this pull request is self-authored, so it merges under the B2 admin-merge provenance pattern on Brett Heap's recorded word).

Copilot on this head — two threads, both answered and resolved

  1. The description still asserted Status: draft — correct at the moment of review, and already fixed: the body was rewritten in the same round and now opens with the ratification. Taken.
  2. retired.reason left as the amended parser computed it in test_a_reason_quoting_a_real_canon_unit_is_suppressed_only_under_the_retired_rule — correct, and REFUSED HERE with reasons: marker.reason is read only by _pairing_state (lines 1612/1619), suppression never reads it, so no assertion can move; and the file is inside the ratified baseline this pull request's record names, so a lane does not edit it after the word for a latent nit. Recorded as OWED — one line, retired.reason = None, takeable in the archive pull request or here immediately on Brett Heap's word.

Codex: still absent (usage-limited); not re-requested. Absence recorded, not clearance.

Rule 6: LANDING — lane openxfactory-1, … on this pull request and in LANES.md before the merge, LANDED — … → <merge sha> after. The landing is the coordinator's act, not this author's.

@brettheap

Copy link
Copy Markdown
Contributor Author

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.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

FROZEN at f7e2e358 — all nine required checks green, no further commits from this lane. clearing-dispatch-gate, lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, pytest-suite (9865 passed / 21 skipped — pinned skip count met exactly), release-tag-gate, signed-execution-chain-gate, wallet-validation: all SUCCESS. Review threads: 0 unresolved. Codex absent ×2 (usage-limited) — recorded as ABSENCE, not clearance. Adversarial review (three lenses at 7e156829): MERGEABLE_AFTER_FIXES → six findings taken at c5d33422 → re-verified MERGEABLE; the delta, the code surface and its tests are byte-identical between c5d33422 and this head.

Provenance for the admin merge of #719 — RATIFICATION of amend-marker-reason-boundary (Origin: issue #692). Word: Brett Heap, 2026-09-06 09:2xZ, in session, verbatim "merge 705 when green, then ratify 692" — recorded on #692 ahead of this PR existing; first clause discharged by #723 → 6295e387. Presented veto point design.md D1 (A: the reason begins at the first — outside any code span, a code span inside it names nothing; B: fenced list) — D1 not vetoed; A ratified as designed, its conservative narrowing ratified with it. Ratifying commit 805d2c0e (Status flip + approval pair in one commit; origin-retention gate: ORIGIN RETAINED); records review/ratification-2026-09-06.md + review/verification-2026-09-06.md re-derived after the second merge from main (d179cc0d) at f7e2e358. Self-authored PR (brettheap) → REVIEW_REQUIRED structural → admin merge (B2). Owed for a ruling, not taken: one Copilot nit (retired.reason = None in an added test) refused because the file is inside the ratified baseline — takeable in the archive PR or here on Brett's word. Archive is a SEPARATE act on merged-plus-green realization evidence (release-realization); #692 stays open until then (Refs, not Closes).

🤖 Generated with Claude Code

https://claude.ai/code/session_01JZqmqSDBCmY4cfhPbxN9Xb

@brettheap
brettheap merged commit 0d009d9 into main Sep 6, 2026
12 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

LANDED — lane openxfactory-1 (openXfactory-1), 2026-09-06T16:04:16Z, PR #719 → merge 0d009d97. Rule 6 window closed. amend-marker-reason-boundary is RATIFIED on main; realization landed with it; archive owed on a separate word.

brettheap added a commit that referenced this pull request Sep 6, 2026
…t nit refused on #719, now on Brett's word) (#733)

Set the retired marker's reason to None in the added test (the Copilot nit refused on #719, now on Brett's word)
brettheap added a commit that referenced this pull request Sep 6, 2026
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
brettheap added a commit that referenced this pull request Sep 9, 2026
…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]>
brettheap pushed a commit that referenced this pull request Sep 9, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants