Skip to content

Propose amend-marker-defect-reporting: a marker whose reason quotes an uncarried unit is reported (#729) - #850

Merged
brettheap merged 8 commits into
mainfrom
change/amend-marker-defect-reporting
Sep 9, 2026
Merged

brettheap merged 8 commits into
mainfrom
change/amend-marker-defect-reporting

Conversation

@brettheap

@brettheap brettheap commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-1 (openXfactory-1)

Status: ratified as of 2026-09-09 — see § Ratified at the foot of this body
for 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.yaml carried
drafting 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 blocks
mandates exactly ONE reporting ground for a reserved marker, and both
silences openxFactory issue #729 reports fall outside it.

  • The first is as old as the family. A name matching no unit of the
    requirement suppresses nothing and is reported as nothing —
    suppression's own docstring calls that "deliberately NOT a finding … an
    obligation this feature has no standing to invent. Recorded as a plausible
    later ruling."
    A plausible later ruling is not a plain fix.
  • The second is younger than the reason boundary.
    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 span
    inside 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.
  • And the packet that owed this successor already ruled its shape. The
    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 sentence
of that paragraph — the first is carried byte-identical):

A marker naming a unit the block still carries declares nothing and SHALL
itself be reported, because a declaration that does not describe the block is
a declaration no reader can rely on.

AFTER — one sentence retired, replaced by five stating THREE grounds:

A marker that declares nothing SHALL itself be reported, on any of THREE
grounds, each of them one finding at the info band this family's
marker-defect class already carries: it names a unit the block still carries;
or a code span standing INSIDE its reason matches EXACTLY a unit of the
promoted requirement that the block does not carry and that no marker declares
removed, the boundary above reading that span as prose rather than as a name,
so that its author declared nothing about a unit they plainly had in mind; or
it names something matching no unit of the promoted requirement and no unit of
the block. […] THE SECOND GROUND SHALL BE READ NARROWLY, on the exact match and
never on the span's position alone: a reason is prose and prose in this corpus
quotes, so a code span inside a reason matching no unit of the requirement is
the NORMAL FORM of a reason and SHALL NOT be reported. The second ground SHALL
NOT withdraw the carriage arms from the unit the span would have named — the
scenario below that keeps that unit subject to them stands unchanged — the
report being added BESIDE the carriage and never in place of it.

The retired unit is declared by
**Removed from canon by amend-marker-defect-reporting (2026-09-09):**, and
TWO 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 AND included
.

D1 — the veto point, and it is a measurement

option A — NARROW (designed, encoded) option B — BROAD (rejected, cost written)
predicate a reason-quoted span reported only where it matches EXACTLY a promoted unit the block does not carry and no marker declares removed any code span inside a reason — the remedy shape #729's own body proposes
fires on canon's blessed form? no yes — canon says such a span "is prose the reason quotes rather than a unit the marker names"
promoted markers reportable 0 of 16 8 of 16, growing (2 of 7 on 2026-09-06 → 8 of 16 on 2026-09-09)
distinguishes the defect? yes — the two-names author and the quoting author write the same bytes in the same positions; only the span's identity separates them no

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.md and every active
openspec/changes/*/specs/*/spec.md, read through derive_units so fenced
example markers are never offered. Taken on main @ 6df21737, the corpus
BEFORE this packet:

measure 2026-09-06 2026-09-09
unit-naming markers 7 16
carrying a code span INSIDE the reason 2 8 (every one PROMOTED)
reason-quoted spans that ARE a derived unit of their document 0 0 (of 34 spans)
unit-naming markers the family READS (active blocks) — 2, both Merged into, one name each matching its basis, neither quoting a span
findings the narrow ground two raises today — 0
findings ground three raises today — 0

D0: 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.py

  • its tests; target_release: implemented, so under release-realization this
    archives on merged-plus-green rather than on landing.
  • Marker gains quoted — the post-boundary spans parse_marker derived
    and DISCARDED, which is why the second silence was not merely unreported
    but not mechanically detectable. A LAST parameter with a default, on the
    basis precedent. No parse moves: names and reason are exactly what
    the amended boundary derived, and the field is empty for the pairing form and
    for a marker with no boundary.
  • suppression returns list[_MarkerDefect] — a private record of one
    marker and one ground, so the module's public surface is unchanged and
    test_this_feature_touches_no_production_module is not edited. Every existing
    assertion over defective compares it to [], so the type change reds
    nothing.
  • Ground two runs in a second pass and has to: its predicate asks about a
    unit NO marker accounts for. A span the marker also NAMES is skipped — its
    author declared it.
  • ONE template for three grounds, on the TEMPLATE_PAIRING precedent and
    Brett's shape amendment of 2026-08-28 ("shape = arm template"): one shape is
    one remedy is one map entry. So _ARM_TEMPLATES stays at eight, the
    existing CLASS_MARKERS probe places every new finding, the seventh class
    (unplaced-finding drift) stays silent, and ground one's rendered text is
    byte-identical to the one it shipped with
    (pinned against a typed-out
    literal, not read off the template).
  • Severity and action unchanged: _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 — 101
    passed, 2 failed (103 items), 0 UNDISPOSITIONED failures
    ; both failures are
    the standing dispositioned exceptions on add-chain-attestation and
    add-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 against
    its content address) — 1 passed, 0 failed.
  • python3 scripts/doc-health.py --single-repo . --family modified-block-currency
    on this branch versus an outside main worktree — byte-identical, line for
    line, apart from the Repo-Identity label. The block raises ZERO findings
    and no finding names this change (grep -c = 0).
  • Full doc-health --single-repo . on both trees — every finding line
    identical after normalizing the repo label; tallies 10 critical / 8
    error / 16 info / 57 warning on both.
  • Delta mutation probes, so the block's silence is falsifiable rather than
    assumed: dropping one promoted scenario BULLET raises the carriage ledger
    finding for it (1 of 106 units); retitling one promoted scenario raises the
    error scenario-completeness finding (1 of 16); and repointing this packet's
    own marker at a string that is no unit raises ground three, live, on this
    block
    — which is also the empirical proof of design.md D4.
  • python3 -m pytest tests/doc-health -q — 1646 passed on this branch
    against 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 is
    seeded with --moved-by this pull request; this change classes
    co-modifier on ARCHIVED partners only, so no partner row flips and no
    MOVEMENT LOG entry is owed.
  • This packet's own marker parses to exactly one name, matching a canon unit
    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

  1. THREE existing assertions are FLIPPED, not loosened. All three sit in
    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_unit in
    test_modified_block_currency_fixtures.py, a fixture marker whose
    single-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.
  2. amend-marker-reason-boundary's promoted Removed from canon marker is
    deliberately NOT restated in this block
    (design.md D4). Its named unit is
    a 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 BY note says so in terms. The general
    consequence 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.
  3. The new findings inherit the family's contested row, and this packet
    claims no exemption.
    families.FAMILY_RESOLUTION has carried
    "modified-block-currency": CONTESTED since the flip of 2026-08-31 (issue
    Validator 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
    (warning severities, 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).
  4. This branch had already been pushed once by an earlier session of this
    lane
    (e13b39bc, authored on 245ee85a, one merge behind main, no pull
    request opened). This session was instructed to start clean and authored the
    packet again on main @ 6df21737. The earlier push is superseded by a
    -s ours merge rather than a force-push: nothing is rewritten,
    e13b39bc stays reachable, and not one line of its tree is taken, so
    this 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/ or openspec/changes/archive/ is touched and no other
change's directory is edited. 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: #729 closes at archive, not at
this landing
, which is why this body carries no closing keyword.

Rule 6: touches openspec/changes/. No LANDING is posted by this pull
request; 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
4cdadd56 at 16:11:57Z and PR #846 merged 183d1b43 at 16:12:40Z, both green,
and the encode is the third clause.

  • Ratification commit 4e3c2e26 — "Ratify amend-marker-defect-reporting on
    Brett Heap's word of 2026-09-09"
    . Status: draft → Status: ratified on
    proposal.md, design.md and tasks.md, with exactly ONE citation line
    each (Ratified: in the proposal's front matter, Ratified by: in the other
    two); approved_by + approved_on ADDED BESIDE the drafting provenance in
    .openspec.yaml, kind and id unmoved; the README OpenSpec Records row
    flipped; tasks.md § 1.1 and § 1.2 ticked; and two records captured beside the
    packet —
    openspec/changes/amend-marker-defect-reporting/review/ratification-2026-09-09.md
    and review/verification-2026-09-09.md, every gate re-derived on the ratified
    tree.
  • Fix commit 33907c73 — "Say exactly what the three grounds report; record
    the 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 nothing
    SHALL 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 one
    taken 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.md D5 adds to the ruling's literal
wording ("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 main and a re-measure are owed at landing — the branch's last
merge 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

brettheap and others added 3 commits September 9, 2026 09:46
…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]>
Copilot AI lite review requested due to automatic review settings September 9, 2026 14:21

@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 ✨

#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]>
@brettheap

Copy link
Copy Markdown
Contributor Author

@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.

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 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.py to (a) preserve post-boundary code spans as Marker.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 _MarkerDefect records (and callers treat them as such), but the return type annotation still says list[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]>
Copilot AI review requested due to automatic review settings September 9, 2026 14: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.

🟢 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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

FREEZE — head 97a0c5e3, and TWO checks are red for ONE cause that is NOT this packet

clearing-dispatch-gate        SUCCESS      openspec-cli-pin           SUCCESS
copilot-pull-request-reviewer SUCCESS      release-tag-gate           SUCCESS
lane-line                     SUCCESS      signed-execution-chain-gate SUCCESS
openreposhape-pin             SUCCESS      wallet-validation          SUCCESS
merge-master-approval         FAILURE  <-- advisory, estate-wide
pytest-suite                  FAILURE  <-- REQUIRED, estate-wide, same root cause

mergeable: MERGEABLE, mergeStateStatus: BLOCKED, closingIssuesReferences: [], 0 unresolved review threads, not a draft.

merge-master-approval is the known advisory red, verbatim from its own log: "Decision core unreadable — opensoft/codexFactory@4b12ba83 could not be checked out with the repo identity. Advisory check: this blocks no merge." — the codexFactory org move of earlier today.

pytest-suite IS RED FOR THE SAME REASON, AND IT IS A REQUIRED CHECK. EVERY TEST PASSED. Verbatim from the run on this head:

selected=10617 passed=10594 skipped=23 failures=0 errors=0
floors: selected>=7090 (margin 3527) passed>=7070 (margin 3524) skipped==21

Zero failures, zero errors, both floors cleared by ~3,500. What fails is the workflow's own triple pin, because the pinned decision core cannot be checked out, so two named verifiers SKIP instead of passing and the skip count goes 21 → 23:

  • tests.review_lane_pin.test_floor_snapshot.TheFreshnessVerifier::test_the_snapshot_is_byte_identical_to_the_pinned_core is 'skipped', wanted 'passed' — "pinned core checkout unavailable"
  • tests.review_lane_pin.test_floor_snapshot.TheVectorReplay::test_every_vector_replays is 'skipped', wanted 'passed' — same

MEASURED ESTATE-WIDE RATHER THAN ASSERTED. Every pytest-suite run created from 13:16:03Z onward has concluded failure, across SIX branches; the last SUCCESS was 13:09:19Z:

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]>
Copilot AI review requested due to automatic review settings September 9, 2026 15:43
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

HEAD MOVED BY MERGE-FROM-MAIN (2026-09-09T15:44Z): 97a0c5e3 → 9d4cf85b. PR #801 (slice B1, the workflow repoint to codeXfactory/codexFactory) merged at e86eca35; a re-run would replay the old merge ref, so main was merged in for a fresh one. The merge commit carries no content of its own — this PR's diff against main is the same 10 file(s) as before. Still awaiting the adversarial pass and Brett's ratification word ("then ratify the 729 packet") after #842/#846 land; the ratification encode will move this head again.

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 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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

ADVERSARIAL PASS (Opus, read-only, frozen head 9d4cf85b) — VERDICT: READY TO ENCODE. Every gate green on the head: strict validate (change and corpus, the corpus's 3 failures byte-identical to main's and none this packet's), pinned-CLI validate, proposal-support verify, both origin-retention gates, doc-health inert (family findings byte-identical to main's), the 122-carried / 1-retired count re-derived through derive_units, the census re-derived on the head, delta = exactly one sentence replaced + AMENDED BY note + reserved marker + two appended scenarios, implementation matches the three grounds at every boundary, a mutation probe against the base tree fails 12 tests including both new scenarios and the three flipped assertions (strengthened, not masked), tests 1646 passed.

Findings, dispositioned:

  1. [FIX-BEFORE-ENCODE — TAKEN, rides the ratification commit] the PR title and the amended sentence's headline clause (specs/doc-health/spec.md:157, "a marker that declares nothing SHALL itself be reported, on any of THREE grounds") over-claim: a Removed from canon marker with ZERO code spans parses to names=[], reaches no ground and is silent (modified_block_currency.py:1438). Remedy: reword the clause and the title to the three grounds as encoded; add a residue line to tasks.md § 5 naming the nameless marker as a fourth, unruled case.
  2. [RESIDUE — archive-time] § 5.2/5.3/5.4/5.5/5.6 boxes are open and three name no successor; proposal-support refuses the archive act until each names a filed issue. Not a ratification defect (the predecessor was ratified in the same shape); issues are filed at the archive word.
  3. [RESIDUE — named in the ratification record] the MODIFIED block carries, byte-faithfully as it must, canon's now-false "deliberately absent from FAMILY_RESOLUTION" paragraph (families.py:117 says CONTESTED since Validator gap: a MODIFIED requirement block that restates stale canon passes --strict and reverts canon on archive #357); disclosed at § 5.3 / D7. The ratification record will say so in one sentence.
  4. [NIT — taken if no test asserts the words] the two new scenarios say "the promoted requirement" where a declared ordering substitutes a sibling block as basis (modified_block_currency.py:2222); "the requirement's basis" is exact.
  5. [NIT — recorded, stands as designed] ground two's encoded predicate adds "and that no marker declares removed" to the ruling's literal "exactly matches an uncarried canon unit" — narrower in the silent direction, justified at design D5, disclosed on doc-health modified-block-currency: a marker whose reason quotes a code span is silent — the amended parser drops the quoted span from the names but reports nothing; successor owed by amend-marker-reason-boundary § 5.1 #729 before the ratification word.

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]>
@brettheap brettheap changed the title Propose amend-marker-defect-reporting: a marker whose reason quotes an uncarried unit, or that names nothing, is reported (#729) Propose amend-marker-defect-reporting: a marker whose reason quotes an uncarried unit is reported (#729) 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]>
Copilot AI review requested due to automatic review settings September 9, 2026 17:11
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

RATIFICATION ENCODED — head 4e3c2e26: fix 33907c73 + ratification 4e3c2e26; records review/ratification-2026-09-09.md + verification-2026-09-09.md; gates re-derived clean on the ratified tree. Not merged; Rule 6 landing follows on green.

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 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

Comment thread README.md Resolved
@brettheap

Copy link
Copy Markdown
Contributor Author

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 4e3c2e26 = reviewed head 9d4cf85b + fix 33907c73 + ratification 4e3c2e26, encoded on Brett's word "merge 842 and 846 when green, then ratify the 729 packet" (2026-09-09) after #842 4cdadd56 and #846 183d1b43 landed. Guard on live values: six required checks SUCCESS on 4e3c2e26 (pytest-suite run 34381353568); merge-master-approval = SUCCESS (advisory); unresolved review threads 0 (Copilot's ratified-head round dispositioned on the threads); closingIssuesReferences = [] and the body carries no closing keyword (#729 closes at the archive act); no other lane's LANDING open on openxFactory main; main 587f21a0 (decided=success@183d1b4 pending=1). Adversarial pass READY TO ENCODE, its one fix taken; Codex usage-limited = ABSENCE, not clearance. Records: review/ratification-2026-09-09.md, review/verification-2026-09-09.md. Admin merge with provenance: authored as brettheap, self-approval cannot clear the review requirement (B2 pattern).

@brettheap
brettheap merged commit 250d93d into main Sep 9, 2026
11 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-1 (openXfactory-1)

LANDED — lane openxfactory-1, 2026-09-09T17:39:19Z, PR #850 → 250d93d7 on opensoft/openxFactory main. amend-marker-defect-reporting is RATIFIED on main; #729 stays open until the archive act.

brettheap added a commit that referenced this pull request Sep 9, 2026
…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
brettheap pushed a commit that referenced this pull request Sep 9, 2026
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]>
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