Skip to content

Remove the ending replay from test_staging_workbench.py: a declared edit, because a partial retirement has no form (RULED openxFactory#656 comment 5656343213) - #20

Merged
brettheap merged 4 commits into
mainfrom
chore/retire-ending-replay
Sep 17, 2026
Merged

brettheap merged 4 commits into
mainfrom
chore/retire-ending-replay

Conversation

@brettheap

@brettheap brettheap commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

DRAFT — the leg half of the ONE part of RULED 5656343213 that is NOT a retirement. It lands after openxFactory's row amendment, never before.

What this is, and why it is not a retired: block

RULED openxFactory#656 comment 5656343213 (Brett Heap, 2026-09-13, by interactive multi-choice) retires the three intent-feed suites at their legs. Two are whole files at openDox-code (opensoft/openDox-code#24). The third is not a file — it is the ENDING REPLAY at the end of tests/test_staging_workbench.py, whose other 100-odd tests drive surfaces this leg has.

retired: retires a ROW, and a row is a FILE. The carve manifest's row for this file goes on arriving, so there is nothing to retire: the form CANNOT express "part of a file", and widening it to a line range would put a second line-bearing grammar beside edits[] and give one row two readings of what its bytes are — a ruling's act, not an author's. The minimal reading, and the one the floor already has a form for, is an ordinary declared edit: openxFactory's row gains the removed lines under an existing edit class, verified at this leg by arrival-undeclared-edit exactly like every other declared edit. openxFactory PR #1032 records that in cutover runbook § 5.8 ("What the form CANNOT express, stated because the first act to use it hit it").

What is removed

_DOM_SHIM, _ENDING_REPLAY_HARNESS, _run_ending_replay() and test_the_ending_report_really_reaches_the_slot_the_re_render_rebuilt — 189 lines — plus the three-line docstring tail of test_the_ending_report_survives_the_re_render_the_ending_triggers that named the removed probe as the owner of the behaviour.

The harness copies views/intent-feed.js out of the bundle (dispose.js imported it at the carve commit), and that file is RULED OQ-F not_moved: it STAYED at openxFactory and arrived at NEITHER leg. The probe could never have run here — verified rather than asserted: intent-feed.js appears nowhere in this repository's history, and a read-only replay of the harness's own shutil.copy loop raises FileNotFoundError for it (and for helpers.js and staging-workbench-model.js, which are also at neither leg).

TWO COUNTS, IN TWO NUMBERINGS, and they are not the same number. 192 lines leave the ARRIVED file here (189 for the four removed things, 3 for the docstring tail; git diff --numstat against main reads 15 192). the REMOVED BLOCK spans 177 CARVE-COMMIT lines — 174 for 1833-2006 plus 3 for 2028-2030, of which openxFactory's new entry declares 167 and slice S5's existing entry on the same row already declared the other ten — because the floor numbers every declared line at carve_commit and not at the destination, which is what makes a declaration falsifiable after the file has moved. The difference between them is this leg's OWN slice-S5 edits INSIDE the block, and it is measured rather than inferred: with the floor's own line definition, the arrived file at c1ad341a carries +19 inserted and 4 replaced lines inside carve 1833-2006 — a net +15 — so 174 carve lines are 189 arrived ones, plus the 3-line docstring tail in both numberings. (Not to be confused with the insertions side of 29 192: that is the replacement docstring this commit WRITES.) The S5 edits are RULED Q3's mount signature and RULED counterpart Q6's model namespace, declared by naming their carve-side neighbours, which is how a line-numbered grammar declares an insertion. Both numbers are measured, and the one that governs is openxFactory's.

The gap is STATED, not closed

The surviving test_the_ending_report_survives_the_re_render_the_ending_triggers is SHAPE-ONLY and says so: the review that added the behavioural probe proved the shape pin cannot see whether the two keys agree — replace the lookup key with a string nothing sets and every assertion still passes. Its docstring now records that the probe which owned that agreement is retired here, that this is not a claim the invariant stopped mattering, and that re-proving it needs a harness built on the views this leg HAS — its own act under its own ruling.

Merged forward past § 3.4 slice S8 (leg A), and the two figures it does and does not move

openXdox-code #19 landed while this was open (0a0265f7, 2026-09-16 01:11 UTC) and it edits the
very file this leg cuts, tests/test_staging_workbench.py — 6 insertions, 4 deletions. The merge
is clean: git merge origin/main reports no conflict, because every one of S8's edits falls
OUTSIDE the ending replay this act removes. Measured at the arrived file: S8 touches ~46-49, ~880,
~1003 and ~2573; the replay occupies the block this act deletes, and the two do not meet.

The headline figure is unchanged, re-measured rather than assumed. After the merge,

$ git diff --numstat origin/main HEAD -- tests/test_staging_workbench.py
29      192

— the same 192 destination lines removed against the block's 177 CARVE lines (the 15-line
difference between those two is this leg's own slice-S5 insertions inside the declared range).
S8 moved the block's OFFSETS by +2 and its SIZE by nothing. The insertions side is this
commit's replacement docstring and it reads 29 where the body first said 15, because the
Copilot round at the merged head made that docstring say, in full, that this act is a DECLARED
EDIT and not a retired: row — an addition inside a declared range, verified as covered by the
insertion rule rather than assumed to be (verify-carve-arrival.py … --phase B → OK,
85 declared-edit row(s) within their lines, none undeclared).

Every S8 edit to this file lands on a line the carve manifest already declares — import rewrites 46/47, path constants 49/881/1004/2559 — which is what slice S8's own row annotation
(openxFactory #1025 → e5896455) declared, so the arrival verifier reads them as applied rather than
undeclared.

One figure IS new. This leg's validate selection widened with S8, so the run is now
301 passed, 23 skipped where this pull request's body first recorded 154 passed, 16 skipped
at 9dfd7bee. The number moved because the LIST moved, not because this act did anything: the
selection is validate.yml's, and S8 un-narrowed it.

Evidence

  • validate.yml's own selection, run exactly as the workflow runs it (package installed with pip install -e ".[test]"): 301 passed, 23 skipped at this merged head — unchanged by this commit. (It read 154 passed, 16 skipped when this body was first written at 9dfd7bee; the LIST widened with slice S8, not the behaviour of this act.) The workflow's list never named this file (RULED Q-L8 (b′): the carved suites stay out until the BUILD arc).
  • python3 -m py_compile tests/test_staging_workbench.py → OK. No module, test or fixture anywhere in the repository references the removed symbols; no module-level import of the edited file is left unused.
  • Pre-existing and NOT caused here, recorded so it is not mistaken for damage: tests/test_staging_workbench.py is wholesale uncollectable at this leg — openxdox.gate_routes → gate_console → from doc_health import corpus, and doc_health is declared out of scope in this leg's pyproject.toml; and its surviving tests read web/views/staging-workbench-model.js and web/views/helpers.js, which are at neither leg. True at the parent commit and at every commit before it.
  • The floor's own agreement, measured with the verifier's line machinery rather than argued: at this head the arrived tests/test_staging_workbench.py differs from its carve blob on 196 carve lines — 0 undeclared and 0 declared-but-untouched (196 DISTINCT lines over 196 line ENTRIES, with no line declared twice: slice S5's ten sit inside this act's range and the openxFactory entry deliberately omits them, because a line is declared once per row and the published aggregate sums ENTRIES — this sentence said 206 and "declared twice on purpose" while the row still carried the block's full 177, and that reading was retired with the de-duplication at openxFactory#1043) against openxFactory PR #1043's row. The declared set and the touched set are the same set. At main (before this commit) 29 differ, none undeclared, and the removed block's 177 carve lines — 167 declared by this act's own entry and ten already by slice S5's — simply read as not-yet-applied — which is why the annotation may land first without refusing this leg.
  • The whole-destination run, verify-carve-arrival.py --destination openxdox_code --dest-root <this head> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py --replica-at tests/ideation-dashboard/session_fixtures.py=tests/session_fixtures.py → OK … 96 row(s) arrived, 85 declared-edit row(s) within their lines. Measured in a tree that also carries openxFactory PR #1031: without it the run stops on this leg's PRE-EXISTING undeclared src/openxdox/gate_console.py lines, which are that pull request's subject and lands before this one.
  • Nothing else moved in the file: collected test ids before and after are 84 and 83, and the one-element difference is exactly test_the_ending_report_really_reaches_the_slot_the_re_render_rebuilt. No module, test or fixture anywhere in this repository references the removed symbols — tests/test_doxbench_mutation_boundary.py and tests/test_gate_loop_probes.py each carry their OWN DOM shim, and the only mentions of the removed names left in the tree are the ones this commit writes into the surviving docstring.
  • The first commit on this branch carries a WIP … unverified message written by the lane's orchestrator when the authoring actor hit its usage limit. Everything it flags as unverified is verified above; the PR is squash-merged, so the landed message is this pull request's.

Registered for a later declared act — a runtime proof, after the pin bump

Copilot's review of this head posted no thread and carries one SUPPRESSED finding: removing the only executable replay leaves the invariant with shape-only coverage, and a composed-bundle node probe on tests/test_gate_loop_probes.py's fixture could replace it. The gap is real and this pull request states it rather than disputing it. The proposed probe cannot run here yet, measured: all 13 tests in that file SKIP at this leg with the file's own reason — "the installed opendox carries no web/ bundle: this leg pins a commit older than openDox's own packaging fix … The pin bump owed at landing makes these probes run". A runtime assertion that never executes in validate is the same green a shape pin gives, with a harness attached.

What the later act will need, measured so it need not be re-derived: of the five modules the retired harness copied, helpers.js and staging-workbench-model.js arrive at openDox-code and so ARE in a composed bundle; swb-session.js and dispose.js are this column's own; and intent-feed.js is no longer needed at all, because this leg's dispose.js imports ./helpers.js and nothing else since RULED counterpart Q6 moved the intent reach to ctx.intent.*. The precondition is the PIN BUMP, not a missing surface. Full reply: the pull request comment below.

Order

openxFactory's row amendment — the two retired: blocks for openDox-code and this file's declared lines — is stacked on openxFactory#1032 (the retired: form) and lands FIRST.

Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULED OQ-F (#656, 2026-09-09). CLAIM: openxFactory#656 comment 5656690570.

🤖 Generated with Claude Code

Summary by Sourcery

Remove the unexecutable ending replay from the staging workbench tests and explicitly record the resulting runtime-coverage gap.

Enhancements:

  • Remove the obsolete ending-session replay harness and its behavioral test from the staging workbench test module.
  • Document that the remaining coverage is shape-only and that runtime verification of the ending-report invariant requires a later harness.

Tests:

  • Update the surviving ending-report test documentation to clearly distinguish the declared partial-file edit from whole-file retirement and record the deferred behavioral coverage gap.

…6343213; actor died at the usage limit; unverified)

Lane: openxfactory-4

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 14, 2026 05:20
@sourcery-ai

sourcery-ai Bot commented Sep 14, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Removes a 189-line ending-replay harness and behavioral test that cannot run against this leg's available views, while explicitly documenting the resulting coverage gap and preserving the shape-only structural test.

File-Level Changes

Change Details Files
Remove the unavailable Node-based ending replay probe and its supporting DOM/test harness from the staging workbench tests.
  • Delete the DOM shim, replay harness, runner, and behavioral test.
  • Retain the existing shape-only test as the surviving coverage for the ending report.
tests/test_staging_workbench.py
Document the intentionally uncovered behavioral invariant and the ruling-based reason for removing its probe.
  • Explain that the removed harness depended on views absent from this leg, including intent-feed.js.
  • Clarify that the edit retires the probe rather than the invariant, and that re-proving it requires a new harness under a separate ruling.
tests/test_staging_workbench.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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

Runtime coverage for the key report-routing invariant must be retained or replaced.

Pull request overview

Removes the unavailable ending-replay probe and documents the resulting shape-only coverage gap.

Changes:

  • Deletes the obsolete replay harness and behavioral test.
  • Updates documentation to record the intentional verification gap.
File summaries
File Summary
tests/test_staging_workbench.py Removes unavailable replay coverage and updates the surviving test documentation.
Review details

Suppressed comments (1)

tests/test_staging_workbench.py:1860

  • Removing the only executable replay leaves the key invariant untested: the remaining source-string assertions still pass if endedReports.get(...) uses a key that is never written, as this docstring already demonstrates. Before retiring this coverage, please add a compatible composed-bundle Node probe (the existing tests/test_gate_loop_probes.py bundle fixture provides the required harness pattern) or otherwise keep a runtime assertion for the report reaching the rebuilt slot; otherwise a future key mismatch will remain green.
    AND SINCE RULED 5656343213 NOTHING AT THIS LEG CAN. The behavioural probe
    that owned the agreement —
    `test_the_ending_report_really_reaches_the_slot_the_re_render_rebuilt`, and
    the `_DOM_SHIM` / `_ENDING_REPLAY_HARNESS` / `_run_ending_replay` it drove —
    is RETIRED here (openxFactory#656 comment 5656343213, Brett Heap
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • 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-4 (openXfactory-4-openDox_extraction)

Copilot's SUPPRESSED finding on this head, answered — it posted no thread, so this is the reply

The review at 9dfd7bee generated 0 comments and carries ONE suppressed finding at tests/test_staging_workbench.py:1860: "Removing the only executable replay leaves the key invariant untested … please add a compatible composed-bundle Node probe (the existing tests/test_gate_loop_probes.py bundle fixture provides the required harness pattern) or otherwise keep a runtime assertion."

The finding is right about the gap and this pull request does not dispute it — the surviving docstring states the same thing in the same words, and says explicitly that it is not a claim the invariant stopped mattering.

The probe it proposes cannot run at this leg today, measured rather than argued. Every one of the 13 tests in tests/test_gate_loop_probes.py — the exact fixture the suggestion names — SKIPS here, with the file's own reason:

13 skipped
SKIPPED tests/test_gate_loop_probes.py:163: the installed `opendox` carries no `web/` bundle:
this leg pins a commit older than openDox's own packaging fix, so there is nothing to assemble
into. The pin bump owed at landing makes these probes run

A replacement probe written on that fixture now would be a runtime assertion that never executes in validate, which is not the coverage the finding asks for; it is the same green a shape-only pin gives, with a harness attached.

What the replacement will need, measured against the manifest and the two legs, so the later act does not have to re-derive it:

  • The retired harness copied five modules out of src/openxdox/web/views/: swb-session.js, helpers.js, dispose.js, staging-workbench-model.js, intent-feed.js. Only the first and third are at THIS leg. helpers.js (moved_verbatim) and staging-workbench-model.js (moved_with_declared_edit) both arrive at openDox-code, so a COMPOSED bundle — openDox's own web/ with this column's six modules installed into it, which is precisely what the test_gate_loop_probes.py fixture builds — WOULD carry them.
  • intent-feed.js is RULED OQ-F not_moved and is at neither leg, and it no longer has to be: this leg's dispose.js imports ./helpers.js and nothing else today (RULED counterpart Q6 replaced the intent reach with ctx.intent.*, and RULED Q5 made the feed an OPTIONAL contributed binding at openDox-code). The old harness needed the file because the pre-S5 chain reached it; the post-S5 chain does not.
  • So the precondition is the PIN BUMP, not a missing surface — the same bump tests/test_gate_loop_views.py's three materialization assertions already wait for.

REGISTERED FOR A LATER DECLARED ACT. Retiring the replay is RULED 5656343213's; building a new runtime proof on a bundle this leg cannot yet assemble is a coverage act with its own precondition, and it is recorded here and in this pull request's body rather than half-done inside a retirement. Nothing about that registration weakens what this pull request claims: the declared lines match the removal exactly (196 carve lines touched, 0 undeclared, 0 declared-but-untouched against openxFactory PR #1043's row), and the collected test set moves by exactly one id.

Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: openxFactory#656 comment 5656690570.

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

Runtime coverage is deferred after removing the executable replay.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

… leg

S8 edits the very file this leg cuts, tests/test_staging_workbench.py (6
insertions, 4 deletions), so the merge was measured rather than assumed. It
is CLEAN: every S8 edit falls outside the ending replay this act removes
(arrived lines ~46-49, ~880, ~1003, ~2573), and each of them lands on a line
the carve manifest already declares -- import rewrites 46/47, path constants
49/881/1004/2559 -- which is what S8's own row annotation (openxFactory #1025
-> e5896455) declared, so the arrival verifier reads them as applied rather
than undeclared.

The headline figure survives, RE-MEASURED at this merged head rather than
carried over:

    $ git diff --numstat origin/main HEAD -- tests/test_staging_workbench.py
    15      192

-- the same 192 destination lines removed against 177 declared CARVE lines
(the 15-line difference is this leg's own slice-S5 insertions inside the
declared range) and the same 15-line replacement docstring. S8 moved the
block's offsets by +2 and its size by nothing.

ONE figure is new and the pull request body records it: this leg's validate
selection widened with S8, so the run is 301 passed / 23 skipped where the
body first recorded 154 passed / 16 skipped at 9dfd7be. The number moved
because the LIST moved -- the selection is validate.yml's, and S8 un-narrowed
it -- not because this act did anything.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 16, 2026 12:50

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

Retain or port equivalent runtime coverage before removing the only executable key-agreement check.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (1)

tests/test_staging_workbench.py:1868

  • This wording conflates the partial deletion with the retired: manifest form. The destination row still arrives because only a block is removed; this act is an ordinary declared edits[] change, not a declared retirement. Please name the deletion as a declared edit here so future readers do not infer that the file was retired or that the arrival verifier should omit it.
    at all. The retirement is DECLARED — openxFactory's carve manifest row for
    this file records the removed lines — and it is not a claim that the
    invariant stopped mattering. The gap is stated here rather than closed
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread tests/test_staging_workbench.py Resolved
… not a retirement

The suppressed comment is right and the defect is this pull request's own
thesis, blurred in the one place a later reader would look. The surviving
docstring said the probe "is RETIRED here" and that "the retirement is
DECLARED" -- wording that invites the inference that this file carries a
`retired:` row and that the arrival verifier should omit it. Neither is true,
and the whole act turns on the difference.

The ruling retires THREE suites. Two are whole files at openDox-code and their
rows DO carry `retired:` blocks. This one is a BLOCK INSIDE a file whose other
tests drive surfaces this leg has, so the row goes on arriving, the verifier
goes on asking for the file, and what the manifest records is the removed LINES
under `edits[]` -- checked by `arrival-undeclared-edit` like every other
declared edit (openxFactory cutover runbook § 5.8, "What the form CANNOT
express"). The docstring now says that in full, and says that nothing here is
omitted from a run.

MEASURED, because this commit adds fourteen lines to a docstring inside a
declared range and "the insertion rule covers it" is exactly the kind of claim
that should not be assumed: `verify-carve-arrival.py --destination
openxdox_code --dest-root <this tree> --phase B` against openxFactory PR
#1043's merged manifest prints OK -- 96 row(s) arrived, 85 declared-edit row(s)
within their lines, 124 file(s) with none undeclared.

ONE FIGURE MOVES AND THE HEADLINE DOES NOT: `git diff --numstat origin/main`
for this file reads 29 192, where it read 15 192. The 192 REMOVED lines -- the
figure the manifest's 177 declared carve lines answer to -- are untouched; the
insertions side is this docstring, and it grew because the explanation grew.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 16, 2026 13:21
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Copilot's round at the merge-forward head (b38e197) — one thread and one suppressed comment. Both real; the suppressed one is fixed in code at 15e8115, the thread is answered with a measurement and resolved. Threads 1 / 0.

The suppressed comment was the sharper of the two, and it was this act's own thesis blurred

tests/test_staging_workbench.py:1868 — This wording conflates the partial deletion with the retired: manifest form … Please name the deletion as a declared edit here so future readers do not infer that the file was retired or that the arrival verifier should omit it.

The surviving docstring said the probe "is RETIRED here" and that "the retirement is DECLARED". A reader arriving later — after the block is gone and this pull request is a merge commit — would have had no way to recover that this file carries no retired: block at all. The whole act turns on that: the ruling retires three suites, two are whole files at openDox-code whose rows DO carry retired:, and this one is a BLOCK INSIDE a file whose other tests drive surfaces this leg has. The row goes on arriving, the verifier goes on asking for the file, and what the manifest records is the removed LINES under edits[]. The docstring now says so in full, names runbook § 5.8, and states that nothing here is omitted from a run.

Measured, because the fix adds fourteen lines inside a declared range and "the insertion rule covers it" is exactly the claim that should not be assumed. Against openxFactory PR #1043's merged manifest:

verify-carve-arrival.py --destination openxdox_code --dest-root <this tree> --phase B \
  --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py \
  --replica-at tests/ideation-dashboard/session_fixtures.py=tests/session_fixtures.py
OK … 96 row(s) arrived, 9 digest(s) verified, 85 declared-edit row(s) within their lines,
     4 unapplied; 2 of 2 declared replica(s) verified; 124 file(s) … with none undeclared

One figure moved and the headline did not. git diff --numstat origin/main for this file now reads 29 192; the 192 removed lines — the figure the manifest's 177 declared carve lines answer to — are untouched. The insertions side is this docstring, and it grew because the explanation did. The pull request body is re-derived.

The thread: the premise is right, the remedy does not run, and the act is a ruling's

Copilot's new argument this round is that intent-feed.js is no longer a blocker (true — today's dispose.js imports only ./helpers.js and takes intent through ctx.intent.*), so the probe should be kept with "only the obsolete filename" removed from its copy list. Replayed read-only against this tree, that does not work: the loop names five modules and THREE are absent here —

   swb-session.js             -> ok
   helpers.js                 -> FileNotFoundError
   dispose.js                 -> ok
   staging-workbench-model.js -> FileNotFoundError
   intent-feed.js             -> FileNotFoundError

helpers.js and staging-workbench-model.js arrive at openDox-code. That is the two-leg split, not a stale name, so the minimal repair leaves a probe that still cannot execute. And the deletion is not this author's call in any case: RULED openxFactory#656 comment 5656343213 retires the replay. What an author can do is state the cost, which this pull request does. Full reply on the thread, with where the later runtime proof goes and why its precondition is the PIN BUMP rather than a missing surface.

Copilot re-requested at 15e8115.

Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULED OQ-F. CLAIM: openxFactory#656 comment 5656690570.

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

Only a non-blocking documentation nit remains; no blocking code issues were identified.

Review details

Suppressed comments (1)

tests/test_staging_workbench.py:1862

  • The PR description's measured 15 192 numstat does not match this diff: this hunk adds 26 lines (1856, 1858–1866, 1868–1879, and 1881–1884) and removes 3, while the earlier deletion removes 189, so the file-level numstat is 26 192. Because the description uses the 15-line figure for the declared-line accounting, please reconcile that measurement with the actual diff and manifest before relying on it.
    AND SINCE RULED 5656343213 NOTHING AT THIS LEG CAN. The behavioural probe
    that owned the agreement —
    `test_the_ending_report_really_reaches_the_slot_the_re_render_rebuilt`, and
    the `_DOM_SHIM` / `_ENDING_REPLAY_HARNESS` / `_run_ending_replay` it drove —
    was REMOVED here (openxFactory#656 comment 5656343213, Brett Heap
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Copilot round 4 at 15e8115 — 🟢 Approval recommended, one suppressed comment, and it is the one kind of finding this lane answers rather than fixes: the arithmetic is the reviewer's, and it is three short.

The PR description's measured 15 192 numstat does not match this diff: this hunk adds 26 lines (1856, 1858–1866, 1868–1879, and 1881–1884) and removes 3, while the earlier deletion removes 189, so the file-level numstat is 26 192.

Half right, and the half that is right was already fixed at the head under review. The body no longer says 15 192 — the round-3 commit that prompted this review grew the docstring, and the body was re-derived with it in the same push. So the figure the comment compares against is one this head does not carry.

The other half is an undercount, and git settles it. The enumerated line list — 1856, 1858–1866, 1868–1879, 1881–1884 — is 26 lines and skips the three blank lines at 1857, 1867 and 1880. A blank added line is an added line:

$ git diff --numstat origin/main HEAD -- tests/test_staging_workbench.py
29      192

$ git diff --unified=0 origin/main HEAD -- tests/test_staging_workbench.py | grep '^@@'
@@ -1836,189 +1835,0 @@
@@ -2045,3 +1856,29 @@

The second hunk header states +1856,29 in git's own words: 29 added, 3 removed. With the first hunk's 189 removed and 0 added, the file-level numstat is 29 192, which is what the body states.

And the 15 the comment reaches for is a DIFFERENT QUANTITY, which is exactly why the body was reworded rather than simply renumbered. There are two 15s in this act and they are unrelated:

  • 192 − 177 = 15 — the declared-line accounting: 192 destination lines removed against openxFactory's 177 declared CARVE lines, the difference being this leg's own slice-S5 insertions inside the declared range. This 15 is untouched by anything in the docstring and is the one the comment means by "the declared-line accounting".
  • the insertions side of the numstat, which was 15 and is now 29. It is this commit's replacement docstring and it enters no accounting at all.

The body now reads "the 15-line difference between those two" for the first and names 29 for the second, so the collision the comment noticed cannot recur.

The added lines are inside a declared range and that was PROVEN, not assumed — verify-carve-arrival.py --destination openxdox_code --dest-root <this tree> --phase B against openxFactory PR #1043's merged manifest prints OK … 96 row(s) arrived, 85 declared-edit row(s) within their lines … 124 file(s) … with none undeclared.

No code change is owed by this round. Threads 1 / 0.

Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULED OQ-F. CLAIM: openxFactory#656 comment 5656690570.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

A CORRECTION THIS LEG OWED AND DID NOT KNOW IT DID: the description carried the manifest's PRE-DEDUPE arithmetic, three sentences of it, and openxFactory's reviewer found the same mistake on the other side of the boundary.

No code changes; the head stays 15e8115. What moved is the body, and the reason is worth stating because it is the fourth time this act has hit the same shape: a correction is not finished until every CARRIER of the claim is found, and a carrier on the far side of a repository boundary is the easiest one to miss.

When the annotation (openxFactory #1043) was first written, its adapter calls entry carried the removed block's full 177 carve lines, ten of which slice S5's own entry on that same row already declared — "declared twice on purpose", so the block's extent was readable in one place. On that design the row genuinely carried 206 line entries over 196 distinct lines, and this description said so. #1030's review then landed a pin refusing any line declared twice on one row, for a reason that governs: the published aggregate SUMS LINE ENTRIES, so a repeat states ten lines the act does not add while the row's declared SET stands still. The annotation was de-duplicated — 167 new entries, the other ten left to slice S5 — and the row now carries 196 entries over the same 196 distinct lines, no repeats. Measured, not recomputed from prose:

class=import rewrites  entries= 12      class=adapter calls  entries= 10   (slice S5)
class=path constants   entries=  7      class=adapter calls  entries=167   (the annotation)
TOTAL ENTRIES 196 | DISTINCT 196 | DUPLICATED []      block span |S5 ∪ act| = 177

Nothing about this leg changes, and that is the point of the grammar: verify-carve-arrival.py reads a row's declarations as a SET, so it asks this leg for exactly the 196 lines it asked for before, and the run is the same run — OK … 96 row(s) arrived, 85 declared-edit row(s) within their lines, re-measured against this exact head at 15e8115. What was wrong was only the ACCOUNT of it, in three places in this description:

  • "the row carries 206 line entries … declared twice on purpose" → 196 entries over 196 lines, with the reason the repeat was removed.
  • "openxFactory's row declares 177 CARVE-COMMIT lines" → the removed block SPANS 177; the annotation's new ENTRY declares 167; the ROW declares 196. Three questions, three answers. The 177 ↔ 192 arithmetic in that paragraph is about the BLOCK and is unchanged and still measured.
  • "the 177 lines this act declares" → the block's 177, of which 167 are this annotation's entry and ten were already slice S5's.

The same conflation had survived at openxFactory in the manifest header, runbook § 2 and runbook § 5.8's transition window, and was fixed there in the same round (#1043 1107f992).

Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: openxFactory#656 comment 5656690570.

brettheap added a commit that referenced this pull request Sep 16, 2026
… fails instead of skipping, and the ratchet note's range is corrected

Copilot's round-1 review of #21 (5224499774, "Needs a closer look") opened ZERO
threads and filed FOUR SUPPRESSED COMMENTS in the body. All four are accurate and
all four are fixed here; three of them are one finding said three times.

THE FINDING. The new skip reasons this PR wrote claimed the installed `opendox`
"came from somewhere older than the declared pin", but the guards only tested for
a MARKER (`web/views/helpers.js`) or for importability — they never established
identity. Before the bump that cost nothing, because a missing bundle WAS the
declared state. After it the same skip hides the opposite fact: if `0b4e8bbf`
itself stopped shipping `web/**` or `view_extension`, thirteen node probes, three
materialization assertions and every bundle suite would go quietly green in a
REQUIRED check, and the coverage this bump exists to gain would be lost in silence.

THE FIX — the two facts are now READ, not asserted. `tests/opendox_bundle.py`
gains `declared_pin()` (the 40-hex out of this leg's own pyproject.toml) and
`installed_commit()` (out of the distribution's PEP 610 `direct_url.json`, which a
VCS install always records), and one decision used by all three sites:
  bundle/registry missing AND the two commits agree  -> FAIL, named a regression
  bundle/registry missing AND they differ            -> SKIP, both commits named
  provenance unrecorded                              -> SKIP, saying exactly that
`_REASON` is deleted with the branch it served: the reason is now composed from
what was just measured, so it cannot go stale the way the old string did.
`test_gate_loop_probes.py`'s `bundle` fixture and `test_gate_loop_views.py`'s
`_view_extension_or_skip` (which drops `importorskip`, the call that cannot tell
the two cases apart) both route through it.

PROVED BY SIMULATING BOTH REGRESSIONS, not by argument:
  declared pin loses `web/`            13 skipped  ->  13 errors
  declared pin loses `view_extension`   3 skipped  ->   3 failed
and the SKIP path still behaves for a genuinely older consumer: against a venv
holding `a99eba03` while pyproject declares `0b4e8bbf`, every reason reads "the
installed distribution was built from a99eba03, while pyproject.toml declares
0b4e8bbf". Under the declared pin: 317 passed / 6 skipped, unchanged.

THE FOURTH FINDING, a count of mine that was wrong. The ratchet note said the
table held "across two openDox slices". Two is the number of PIN BUMPS of this
file's declaration; the RANGE this bump covers is THREE openDox-code landings,
now named: from `a99eba03` (#11, § 4.3) across `8efb3cf5` (#20, S5 leg B),
`1e469713` (#21, S7) and `0b4e8bbf` (#23, S8 leg B). Both counts are stated so
neither can be read as the other.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
brettheap added a commit to opensoft/openXfactory that referenced this pull request Sep 17, 2026
…ed suites and declare the ending replay's removal (RULED 5656343213) (#1043)

Lane: openxfactory-4

**The FIRST USE of the `retired:` form, landed after the form itself** — PR #1032 at `d5dd1ca5`, the ruling's own order — and merged forward onto `main` before landing.

Refs #656 (stays OPEN). RULED **5656343213** — Brett Heap, 2026-09-13, by interactive multi-choice, on the question slice S8's author put in `#656` comment 5650335573 § 2. CLAIM: #656 comment 5656690570. **PR #1032 (the form) LANDED FIRST at `d5dd1ca5`** — the ruling's own order: the form, then its first use — and this branch was merged forward onto it before being retargeted onto `main`.

## What this is

The **FIRST USE** of the `retired:` form PR #1032 adds, and the openxFactory half of a three-repository act. RULED 5656343213 retires three intent-feed suites at their legs; `views/intent-feed.js` is RULED **OQ-F** `not_moved` — it STAYED at openxFactory and arrived at **neither** leg — so all three test a surface that is not there.

| what | where | form | leg half |
| --- | --- | --- | --- |
| `tests/test_intent_tray_dom.py` (23 tests) | `opendox_code` | `retired:` block | opensoft/openDox-code#24 |
| `tests/test_wheel_verbs_dom.py` (8 tests) | `opendox_code` | `retired:` block | opensoft/openDox-code#24 |
| the ENDING REPLAY inside `tests/test_staging_workbench.py` | `openxdox_code` | **declared edit**, not a retirement | opensoft/openXdox-code#20 |

## The third one is not a retirement, and could not be

**`retired:` retires a ROW, and a row is a FILE.** `tests/test_staging_workbench.py`'s other hundred-odd tests drive surfaces that leg HAS, so the row goes on arriving and there is nothing to retire. Widening the form to a line range would put a second line-bearing grammar beside `edits[]` and give one row two readings of what its bytes are — a ruling's act, not an author's.

The minimal reading, and the one this floor already has a form for, is an **ordinary declared edit**: carve lines 1833-2006 (`_DOM_SHIM`, `_ENDING_REPLAY_HARNESS`, `_run_ending_replay()` and `test_the_ending_report_really_reaches_the_slot_the_re_render_rebuilt`) plus 2028-2030 (the docstring tail that named the removed probe as the behaviour's owner), declared under `adapter calls` — the class the S5 entry already gave those exact lines, because RULED OQ-1's vocabulary is closed and has no class for a removal. **A line is declared once per row**, so the ten lines S5 names — which sit inside the new range — are NOT repeated here: the block's **177** carve lines are the UNION of S5's ten and this act's **167**, the row declares **196 distinct** lines, and the extent is stated in both entries' notes in prose rather than by writing ten numbers twice. (An earlier draft of this act did declare them twice, deliberately, so the extent was readable in one place; `#1030`'s review landed a pin refusing any line declared twice on one row while this was open, and the merge went red on it — see the merge-forward record below.) S5's own note is AMENDED rather than rewritten, so the history stays readable.

**The extent is exact, and measured with the verifier's own line machinery** rather than argued: at openXdox-code `15e8115d` the arrived `tests/test_staging_workbench.py` differs from its carve blob on **196 carve lines — 0 undeclared and 0 declared-but-untouched**. The declared set and the touched set are the same set.

## What is on the branch

* `docs/opendox-carve-manifest.yaml` — the two `retired:` blocks, the new `adapter calls` entry for the ending replay, the amendment to slice S5's note on the lines the removal swallowed, **and the header paragraph that said no row carried the field**, which now names this act, its claim, its two leg pull requests and `retired 2`, plus a second paragraph on why the ruling's third suite carries no block.
* `tests/carve_manifest/test_carve_manifest.py` — **the pin MOVES rather than being deleted.** `test_the_real_manifest_carries_the_retirement_form_and_uses_it_nowhere` was PR #1032's own guard that the grammar and its first use would be reviewed apart ("the day a row carries `retired:`, this assertion fails and the author must come here and say which act did it"). It is now `…_and_the_two_rows_it_retires`, asserting the two rows by `source_path` and, for each, the effective arrival, the ruling by comment id, `views/intent-feed.js` as the surface, `re_destined` absent and each row's existing declaration by exact `(class, lines)` — `path constants [30]` and `[26]`, the lines the LEG rewrote while the file was there, which a retirement does not reach — plus the claim the whole form rests on, read out of the document rather than trusted: the surface row is `not_moved` and NOT `replicated_at_destination`. `--json`'s `retired` moves 0 → 2 in the same test. **It bites, proven by tampering**: flip the wheel row's `[26]` to `[27]` and this test fails; restore it and it passes. Its Q6 sibling `…_and_the_four_rows_s5_re_destines` is the shape copied, deliberately.
* **The pair, re-derived at the merged head and TWICE moved on the way there:** `(lines, carrying)` **`(2454, 176)` → `(2621, 176)`**. The bullet first said `1584 → (1761, 159)` and then `+177 lines`; slice S7, slice S8 and #1031 each moved the base under it, and the de-duplication moved the delta — **+167**, not +177, because slice S5's own entry on this row already declares ten of the removed block's lines and a line is declared once per row. The carrier count does not move (the row has carried `edits:` since S5) and the two RETIRED rows move neither figure, because `retired:` touches no `edits[]`. The act's own entry is pinned by row, class and exact lines beside the ASK-7/S3/S4/S5/S6 pins — and now asserts all three of its 167, slice S5's ten and their 177-line union, because the aggregate alone would pass just as well if those lines had landed on another row or under another class.
* `docs/opendox-cutover-runbook.md` — § 2's "NO ROW CARRIES IT TODAY" → "TWO ROWS CARRY IT TODAY" and the aggregate paragraph re-derived; § 5.8 gains the **residue list** and the **two-merge window**, both measured.
* `docs/opendox-carve-admissions.yaml` — the prose THIS repository owns and this act falsifies: the `tests/test_intent_binding_dom.py` entry called the two retired suites its "narrowed out of validate.yml" siblings. They are not narrowed, they are gone.
* `README.md` + three tool docstrings — the four other places that publish the declared-line total (Copilot round 2).

## What this act does NOT move, said rather than left silent

* ~~**The per-destination table in § 2.**~~ **WITHDRAWN — this act DOES move it, and one cell only.** That bullet was written when the table was stale and the redistribution was reserved for "one later act". **Slice S7 IS that act**: it re-derived every cell and pinned all five columns with `tests/carve_arrival/test_verify_carve_arrival.py::test_the_runbook_per_destination_table_is_the_manifests_own_sum`, so the cells are a MEASUREMENT again and an act that moves the aggregate must move them with it. Every one of this act's 167 declared lines falls on ONE `openxdox_code` row, so exactly one cell moves — `openxdox_code` **750 → 917** — and neither replica line is touched, because a retirement declares no line at all.
* **Five `(DRAFT PR …)` markers in the manifest that belong to OTHER acts** — slices S3, S5 and S8 named `openDox-code#16`, `openXdox-code#17`, `openDox-code#17`, `openDox-code#23` and `openXdox-code#19` as drafts, and every one has since merged. This act found that defect in its own two notes and corrected them to name the landing ORDER instead of the draft STATE; it did not sweep the other five, because an act does not rewrite another act's record in passing and five notes edited under a retirement's claim is the undeclared edit this floor exists to refuse.
* **`views/intent-feed.js`.** A retirement deletes an ARRIVAL, never a surface. This act asks nothing of that row but that it still read `not_moved` — which is the `carve-retired-surface-live` gate.
* **Two stale sentences inside CARVED files at openDox-code**, `tests/test_account_menu_dom.py:4` and `tests/test_doxbench_tile_verbs.py:19`, both naming `test_wheel_verbs_dom.py`. The rows declare `[30]` and `[34]` under `path constants`; a comment naming a retired sibling is in none of OQ-1's three closed classes, so the repair is refused by name and the sentences stay. They are now listed in § 5.8 and in openDox-code#24's own `validate.yml` comment, so the cost is declared on both sides of the boundary.

## Evidence, at `338308c8` (the merged, retargeted head)

* Five carve suites — `tests/carve_manifest tests/carve_arrival tests/carve_conformance tests/opendox_pin tests/openxdox_pin` → **483 passed** at the merged head (482 + Copilot round 25's pin), and `tests/doc-health` → **1826 passed** (the two suites that read anything this act changes).
* `python3 scripts/validate-carve-manifest.py` → `OK … 456 row(s) … 4 row(s) RE-DESTINED by ruling (RULED Q6); **2 row(s) RETIRED by ruling (RULED 5656343213)**`.
* **Leg B** — `verify-carve-arrival.py --destination opendox_code --dest-root <openDox-code#24 @e2d5ac46> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py` → `OK … 117 row(s) arrived, 35 digest(s) verified, 82 declared-edit row(s) within their lines, 1 unapplied; 1 of 1 declared replica verified; 147 file(s) with none undeclared; 0 re-destined HERE and 4 AWAY verified vacated; 2 row(s) RETIRED here by ruling and verified absent (RULED 5656343213); 21 declared admission(s) used`. Run against the leg's OWN merged head, not a scratch tree: the deletion and this manifest are one act and this is the pair being asserted.
* **The gate, measured in the other direction too**: the same run against openDox-code `8efb3cf5`, where the two files are still present, refuses `arrival-not-retired` and names the ruling rather than the filename.
* **The landed-rows refusal needs no materialized leg, measured with a control**: in a worktree whose `openDox` and `openXdox` directories are EMPTY, `test_carved_reach_refuses_the_two_landed_retired_rows` passes while `test_carved_reach_resolves_the_four_re_destined_rows_at_their_arrival` — RULED Q6's companion, which legitimately requires both legs — fails there, and a NON-retired moved row's `source()` raises `CarveReachUnavailable` in that same checkout. **The ORDER is not the same in the three callers the case drives** (Copilot round 25): `source()` refuses the retirement before it resolves a mount at all and `shed_relpath()` reads the row and stops, but `module()` calls `install()` FIRST and `install()` DOES probe both legs — it records a missing one on `sys.meta_path` rather than raising, deferring that error to an import. What all three share is the OUTCOME this evidence rests on: the refusal holds where the submodules were never initialized, which is the state a retained consumer is most likely to be read in.
* **Leg A** — `verify-carve-arrival.py --destination openxdox_code --dest-root <openXdox-code#20 @15e8115d> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py --replica-at tests/ideation-dashboard/session_fixtures.py=tests/session_fixtures.py` → `OK … 96 row(s) arrived, 9 digest(s) verified, 85 declared-edit row(s) within their lines, 4 unapplied; 2 of 2 declared replicas verified; 124 file(s) with none undeclared; 4 row(s) re-destined HERE and 0 AWAY; 23 declared admission(s) used`. **PR #1031 has LANDED**, so this is no longer measured in a scratch tree that carries it: before that merge the run stopped on this leg's PRE-EXISTING undeclared `src/openxdox/gate_console.py` lines, which were #1031's subject and never this act's.

## Landing order, and the window it opens

PR #1032 (the form) → **this** → the two legs. Between this and openDox-code#24 the leg's own arrival run REFUSES (`arrival-not-retired`), which is § 5.7's window in its other form and closes by merging the deletion, never by touching the manifest. The partial case is gentler: a declared edit not yet applied is no refusal, so until openXdox-code#20 lands the ending replay's lines simply read as not-yet-applied inside a row still within its declared lines (measured at openXdox-code `c1ad341a`: 29 of that row's 196 declared carve lines differ, none undeclared).

**The gates run now, and they did not before.** Every openxFactory required check except `lane-line` and `merge-master-approval` is declared `on: pull_request: branches: [main]`, so while this targeted #1032's branch only two of them existed. #1032 landed, this was retargeted with `gh pr edit 1043 --base main` BEFORE that branch was deleted, and the full set ran. **TEN of the eleven PASS at `338308c8`** — `openxdox-consumer-gate` among them, required on `main` since ruleset 23554310 landed on 2026-09-16. **`pytest-suite` (run 35136981617) is RED, and not on this act**: `main` itself fails the same single test at `fa39141c` (run 35135352984, 18:35Z) and the failure reproduces in a clean checkout of `origin/main` with nothing of this act in it — `test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree`, on two ACTIVE RATIFIED writers of one `document-lifecycle` requirement that landed at 18:33-18:35Z (`scope-pinned-arm-root-naming` and `adopt-entry-grain-dispositions-form`, neither naming the other). This pull request HOLDS until `main` is green; the figures below are measured at this head either way.

## Merged forward, and what the merge FALSIFIED

This branch was merged onto PR #1032's head after #1032 itself had merged `main` — one merge, not two, and deliberately so: #1043 already carried #1032's branch commits, so letting #1032 SQUASH into `main` first and then merging `main` would have given git a merge base older than both and delivered the same change by two routes. That is the stacked-squash trap, and it manufactures conflicts in exactly the files that publish one absolute.

**Six conflicts and TWO RED TESTS, every conflict a place the same figure or the same narrative is published, and `docs/opendox-carve-manifest.yaml` was NOT among them** — the document this act actually changes auto-merged clean. The rule for all six was one rule: **take the incoming side and APPEND this act's link**, never replace a narrative and never take a side on a number.

| file | what collided | resolution |
| --- | --- | --- |
| `README.md` | the doc-index runbook line | incoming, figure re-derived |
| `scripts/carve_lines.py`, `validate-carve-manifest.py`, `verify-carve-arrival.py` | one bare aggregate in a docstring, three times | incoming, figure re-derived |
| `docs/opendox-cutover-runbook.md` | **seven** hunks | see below |
| `tests/carve_manifest/test_carve_manifest.py` | the aggregate test's narrative chain + its pin | incoming chain, this act appended, pin re-derived |

The seven runbook hunks: § 2's aggregate line (re-derived); the ACT-NARRATIVE chain (**union in landing order** — S7 +782, S8 +40, the pre-existing annotation +48, and only then this act's **+167**, which is the figure the de-duplication below left it at and the figure the runbook states); the replica-line paragraph (incoming whole, plus one sentence saying this act moves one cell and neither replica line); the "CURRENT TO" clause (extended by one link, with this act at its head); the enumerated history's tail (this act added to the movers, **not** re-narrated — the paragraph's own warning is that two acts restating one set of absolutes is how a count becomes wrong in a merge); the per-destination lead sentence; and the `794 … N now` mirror.

**THE MERGE FALSIFIED THREE OF THIS BRANCH'S OWN CLAIMS, and that is the substantive half.**

1. **The staleness registration is gone.** This branch said the per-destination table's cells "still sum to 1421", registered the table as history and deferred the redistribution to "one later act". **Slice S7 IS that later act**: it re-derived every cell and pinned all five columns with `tests/carve_arrival/test_verify_carve_arrival.py::test_the_runbook_per_destination_table_is_the_manifests_own_sum`. So the table is a MEASUREMENT again and this act must move its own cell rather than register the table as stale — `openxdox_code` **750 → 917**, one cell, because every declared line of this act falls on one row of that leg. The pin would have caught it; the point is that it did not have to.
2. **"The table is not moved by this act either"** went with it, in § 2's narrative chain.
3. **THE ROW DECLARED TEN LINES TWICE, AND THE AGGREGATE COUNTS ENTRIES.** This act's `adapter calls` entry carried the removed block's full **177** carve lines, ten of which slice S5's own entry on the same row already declares — *"declared twice on purpose"*, the note said, *"so the removed block's extent is readable in one place"*. Between that authoring and this merge, `#1030`'s Copilot review added a pin to `test_the_real_manifest_carries_the_ruled_q_l7_amendment` refusing ANY line declared twice on one row, and its reason governs: the published aggregate SUMS LINE ENTRIES, so a repeat states ten lines this act does not add while the row's declared SET is unchanged. **The merge went red on it, which is the pin working.** The repair is the minimal one — this entry carries the other **167** lines and the note says in prose where the ten are — so the row declares **196 entries over 196 distinct lines**, `verify-carve-arrival.py` (which reads a row's declarations as a SET) asks the leg for exactly what it asked before, slice S5's landed record is untouched, and this act's honest contribution to the aggregate is **+167**, not +177. The block still spans 177 carve lines and both entries' notes still say so.

**The first-use pin failed at the merge, exactly as this body predicted, and the failure is the pin working.** `#1030` (slice S7) added an `adapter calls` entry at carve line **310** to the `tests/ideation-dashboard/test_wheel_verbs_dom.py` row — a row this act RETIRES — so the pin's `[("path constants", [26])]` became `[("path constants", [26]), ("adapter calls", [310])]`, written here with the act that added the second entry named. A declaration carried on a retired row is lawful and is what the form is for: `verify-carve-arrival.py` drops a retired row before it asks the destination anything, so the entry is CARRIED, not applied, and the row goes on recording what the carve moved and what each ruling did to it.

**§ 5.5's TWO PHASE EXAMPLES MOVED TOO, and a pin that did not exist when this branch was cut is what said so.** `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces` arrived on `main` with slice S8 (`#1025`): it re-derives both of § 5.5's expected lines from the LANDED manifest and composes them with the verifier's own summary, elision by elision, because the runbook states what an operator compares their own run against — so a figure it states and the tool cannot print is an expectation no run can meet. Retiring two `opendox_code` rows takes that leg's EFFECTIVE arrival from **119 to 117**; both are `moved_with_declared_edit`, so the verbatim count stands at 35 and the declared-edit count falls 84 → 82, and phase B's printed figure is that plus the one line-declaring replica the example places (**85 → 83**). Both comments are re-derived, and § 5.5's "EFFECTIVE arrival" paragraph now names BOTH subtractions — RULED Q6's four re-aimed rows and this ruling's two retired ones — as the one point they are: § 2 records what the CARVE moved, a run reports what this leg PLACES.

**Figures, RE-DERIVED from the merged document and not carried from either side** (`rederive-absolutes.py`, which measures the manifest and then checks all **seven** mirror sites — the seventh added in round 14, after it turned out to be the one left stale): the pair is **`(2621, 176)`**, by class `adapter calls 1649, import rewrites 726, path constants 246`, per destination `opendox_code 1667 / opendox_spec 26 / openxdox_code 917 / openxdox_spec 9` summing to `2619` plus the `2` replica lines that belong to no destination column, `retired` 2, `re_destined` 4. **ALL MIRRORS AGREE.**

## And then `main` itself, after #1032 squash-landed

#1032 merged at `d5dd1ca5` and #1044 at `b1df95ee`, and this branch then took `git merge origin/main` — **the second half of the same trap, arriving from the other side.** Because this branch already carried every one of #1032's commits, git's merge base fell back to `a499061e` and #1032's SQUASH arrived as a second copy of a change this tree already had: **five files, fourteen hunks, and every hunk the same shape — OURS is THEIRS plus this act's own edit on top.**

Resolved by that one rule and VERIFIED rather than asserted: every removed line in `git diff origin/main` was read, and each is a line #1032 landed and this act deliberately rewrites — the zero-use pin into its first-use form, `retired 0` into `retired 2`, "NO ROW BELOW CARRIES THE FIELD" into the paragraph naming the two that do, and `2454` into `2621` at each mirror. Nothing of `main`'s survives only on `main`. #1044's two files (lane `openxfactory-5`) auto-merged and are carried unchanged. The gitlinks needed no repair and that was CHECKED: `git ls-files -s openDox openXdox` and `git ls-tree origin/main` agree at `openDox 3819625e` / `openXdox a6500141`.

## Copilot round 14 — three merge-forward reviews (this PR's 17th, 18th and 19th), two open threads and ten findings, ALL REAL, all fixed

**A SEVENTH `assert True; return` NO-OP SEAT**, in this act's own `test_carved_reach_refuses_the_two_landed_retired_rows`. `#1030`'s review took that idiom out of five landed-document tests; `#1032`'s round 10 took it out of a sixth; this act — authored beside BOTH — arrived carrying it a seventh time, on the test that reads the FIRST USE of the entire form. It now reads through `the_landed_manifest()`, where the absence is a failure. **Proven by tampering**: with the manifest moved aside the test FAILS naming the file, where before it reported `1 passed`; restored byte-identical. Three acts in a row is not three accidents, and the module docstring now says why: the idiom is read off the neighbouring test that still legitimately branches, so every act that adds a landed-document pin re-makes the cleanup until the seat test is the only branch left to copy.

**A SEVENTH AGGREGATE MIRROR the re-derivation did not know about.** `tests/carve_arrival/test_verify_carve_arrival.py:3329` states what the manifest pin IS — not dated history — and still said `(2454, 176)`. Corrected to `(2621, 176)`, **and the site was added to `rederive-absolutes.py`'s `MIRRORS`**, because a tool that checks six of seven places will leave the seventh stale again in the next act exactly as it did in this one.

**177, 167 AND 196 ARE THREE ANSWERS TO THREE QUESTIONS, and two documents were giving one of them to all three.** The manifest header and runbook § 2 both called this act's declaration "`adapter calls`, 177 lines". **Measured from the landed row**: its four entries carry **196 line entries over 196 distinct lines** — 12 `import rewrites`, 7 `path constants`, slice S5's 10 `adapter calls` and this act's **167** — with **zero repeats**. The removed block SPANS **177** carve lines; the entry declares **167** of them; the row declares **196**. Both documents now name all three and say which is which. The same conflation had also survived into § 5.8's transition-window paragraph, which still described the pre-dedupe design — "206 line entries … declared twice on purpose" — and now states the rule that replaced it: a line is declared once per row, and the block's extent lives in the two entries' notes rather than in ten numbers written twice.

**TWO "TODAY"s THAT WERE NOT TODAY.** `test_carve_manifest.py`'s ASK-7 provenance comment called `(1761, 159)` the current aggregate and the shared line-number docstring called 1761 "today", while the assertion three lines above enforces 2621. Both now read as the chain they are — `(1422, 158)` at RULED Q-L8 (c), `(1761, 159)` at RULED Q-L7 (a), `(2621, 176)` today — because a dated figure kept beside a current one is the point of those comments and a stale one impersonating the current one is the opposite.

## Copilot round 15 — the paragraphs that explain ONE subtraction, where this act makes a second

Three sentences, one defect, and it is this act's own. **RULED Q6 took four rows off `opendox_code`'s EFFECTIVE arrival and gave them to `openxdox_code`; this act takes two more off `opendox_code` and gives them to nobody**, because a retired row is owed at no leg at all. Everything that explained the Q6 subtraction was explaining one subtraction where there are now two. Measured from the landed manifest:

```
opendox_code : TABLE 123 (35 verbatim / 88 edited) -> EFFECTIVE 117 (35 / 82)   [-4 re-destined, -2 retired]
openxdox_code: TABLE  92 ( 9 verbatim / 83 edited) -> EFFECTIVE  96 ( 9 / 87)   [+4 re-destined]
```

§ 2's per-destination explanation said *"FOUR FEWER … 119 against 123 … the EFFECTIVE edited counts are 84 and 87"* and now says **SIX FEWER, 117 against 123, and 82 and 87**, with both rulings named and the difference between them stated — a re-destination MOVES a placement and its declared lines travel with it; a retirement DELETES one and its lines leave every leg's reckoning while the row goes on recording them. § 5.5's *"the `85` is `84` moved rows plus the Q-L7 replica"* is now **`83` is `82` plus the replica**, with the old pair kept as what it was until this ruling. The arrival test's marker comment and its replica-arithmetic docstring went with them.

**And the reason § 5.5's EXAMPLES were already right while the sentences explaining them were not** is the finding worth keeping: `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces` DERIVES both figures from the invocation and the manifest instead of carrying them, so they moved with this act on their own. A derivation is what lets a figure survive an act nobody was thinking about when the example was written; the prose about the derivation has no such protection.

## Copilot round 16 — § 2's disposition table is a LEDGER, and the column beside it is an OBLIGATION

The table's `moved_with_declared_edit` row says what a destination owes for a row of that kind — commit A byte-identical, commit B's diff touching only that row's declared lines — and until this act every row of a kind owed the same thing. **Two of the 175 are now RETIRED and owe neither half of it.** `rows_for()` drops a retired row before the destination is asked anything; § 5.8 requires the OPPOSITE, that `retired.at_path` be ABSENT, and `arrival-not-retired`'s remedy is the deletion and not a diff.

**And the count must not move**, which is why the qualification is prose and not arithmetic: the row keeps its disposition, its digest and its `edits[]` — the whole reason the ruling made a retirement a FIELD rather than a re-cut — so 175 stays 175 and the table stays the carve's ledger. RULED Q6's four re-destined rows are named beside them as the milder case: their proof is owed at the leg `re_destined.to` names. **Appended to the totals paragraph, never inserted as a third one** — `test_the_runbook_disposition_table_and_totals_are_the_manifests_own` bounds that block between two fixed sentences and fails on a third paragraph.

## Copilot round 17 — `surface:` was glossed as the surface the arrived file DROVE, and the first use is false of it

The sharpest finding this act took, and the only one about the GRAMMAR. `surface:` landed at #1032 glossed *"the openxFactory path of the SURFACE the arrived file DROVE"* — with **no row using the form**, which is exactly the condition under which a gloss can be narrower than the thing it describes and nobody finds out. The first use retires two rows that do **not** stand in the same relation to the surface they both cite: the TRAY suite drove `views/intent-feed.js`; the WHEEL suite does not, and this act's own `note:` says so in the suite's words — it *"rides along because dispose.js imports it"* and *"drives the LOCAL path only"*.

**Widened, not re-pointed, and the value does not move.** `surface:` is now *the SURFACE THE ARRIVED FILE NEEDED AND CANNOT OBTAIN AT ITS LEG* — exact for both rows where DROVE was exact for one — and **the gate is unchanged**, because `carve-retired-surface-live` asks whether the cited row is `not_moved` and never how the arrived file used it. **Re-pointing would be worse:** the module the wheel suite really drives is `views/dispose.js`, which slice S5 moved to `openxdox_code` — at a leg, so "gone from BOTH legs" is false of it and the gate would refuse it, correctly.

**The finding underneath the finding: the form names ONE absence where a retirement may rest on TWO**, and this act is the first to produce such a row. Now stated in the manifest header beside the widened gloss and in runbook § 5.8's *"What the form CANNOT express"*. A `surface:` **list**, or a second field for *"moved to another leg"*, is **a ruling's act and not an author's** — the line § 5.8 already draws for widening `retired:` to a line range. **Eleven carriers swept together**, every site asserted before it was edited; the only surviving *"drove"* quotes what the gloss used to say.

## Two `(DRAFT)` words this act found in itself

Not a review round. Both `retired:` notes called the leg pull request carrying the deletion `(DRAFT)` — true on a branch, **false within minutes of the landing**. A `retired:` note is the only account of the deleted coverage that survives the deletion, so the durable record is the last place that should carry a word with a shelf life. Both now name the **order** the ruling fixes instead of the **state** of an afternoon. The five other `(DRAFT PR …)` markers in this manifest belong to slices S3, S5 and S8 and are registered as residue rather than swept — an act does not rewrite another act's record in passing.

## Copilot round 18 — round 17 corrected the PROSE and left the DIAGNOSTICS

Five suppressed comments and one thread, all one finding. Round 17 widened `surface:` and swept **eleven** carriers — every one of them reading matter. **It did not go to the strings the program prints**, which is the half an operator meets. Seven more sites, three of them live messages: `carved_reach.py`'s `CarveRowRetired`, which **the newly landed wheel row is the first row that can raise**, and which said *"the surface it drove"* of a suite whose own note says it did not; `verify-carve-arrival.py`'s remediation, printed on **every** refusal including `arrival-not-retired`, the one whose remedy is a deletion; and `validate-carve-manifest.py`'s `carve-retired-surface-live` refusal, explaining the rule to an author with the word the first use disproved. Four more state the contract rather than raise it: the `--json` record's account of the field, two test comments (one sits over the assertion covering BOTH retired rows and now names the difference in place), and **`README.md`'s public index**, which published a condition the first use already disproves.

**Eight rounds running, and the lesson is sharper each time.** A correction is finished only when every CARRIER is found, and a carrier is not only the figure (round 14's seventh mirror), the sentence explaining where the figure comes from (15), the column saying what the figure obliges (16), or the gloss defining the field (17) — it is also **the string the program prints** (18).

## And the same defect one grammar earlier, found by sweeping for this act's own

Not a review round. The **RULED Q6 section header** in `tests/carve_manifest/test_carve_manifest.py` said, in the present tense, that *"the landed manifest — which carries the form and uses it nowhere"* is asserted separately in the § 8.2 seat. True the day PR #1011 landed Q6 with the grammar and no user; **false since slice S5 (PR #1023) re-destined four rows**. It is fixed in the same shape as the `retired:` section header below it — which this act already had to rewrite for exactly this reason, one grammar later: name the state the form LANDED in *and* the state the document is in now. **A grammar that lands ahead of its first use plants a present-tense sentence with a fuse in it**, and both of this floor's placement grammars have now proved it.

## Copilot round 19 — the verb survived in the PROCEDURE, and in the check's own docstring

Two threads, three sites, the same verb rounds 17 and 18 swept from the prose and the diagnostics — this time where it does the most work. § 5.8's **opening account** said the three suites *"reached their legs DRIVING `views/intent-feed.js`"*, the first sentence a reader meets in the section and the one the wheel row's own note contradicts. **§ 5.8 step 1 is the sharper half and is worse than a stale sentence: a FALSE REQUIREMENT put to the person whose word the whole form rests on** — a ruling asked for *"the surface they drive"* is asked a **narrower question than the grammar answers**, and the first act to use this form had one row of two that could not have answered it. And `_check_retired_surfaces`'s docstring, with a second finding inside it: **three and two are both true of different things** — the ruling retires three suites, one drove the module, one only loads it, and **the third is not a `retired:` row at all**, so exactly two rows reach that check.

**Three rounds on one verb, and the order they were found in is the lesson:** 17 corrected the definition and its prose, 18 the strings the program prints, 19 the procedure and the check. **A vocabulary change is not finished when the definition is right; it is finished when nothing still asks the old question.**

## The last copy, found by enumerating the verb instead of grepping for it

After rounds 17, 18 and 19 each found *"drove"* somewhere the previous sweep had not looked, the last one was done by **enumeration**: every `drove | drives | driving | drive` in the eight files this act touches, read in context — **32 occurrences, 31 correct**, and one wrong (`validate-carve-manifest.py`'s *"WHAT S8 NEEDS IT FOR"* paragraph, carrying the same sentence § 5.8 had just shed). **And the first wording of that fix made a claim this act never measured** — *"one DROVE it and two only load it"*, an assertion about the ruling's third suite, whose relation to the module this act never measured because nothing in it depends on that. Reworded to say only what was measured. **A sweep that tidies a verb is not a licence to answer a question nobody asked.**

## Copilot round 20 — the per-destination table's own qualifier named ONE ruling where there are now two

Three suppressed comments, **two of them already fixed before the review landed** (§ 5.8's opening at `8cf33395`, the validator's *"WHAT S8 NEEDS IT FOR"* at `4eddf3b0`), and one new and real. The table's lead sentence — *"counted at the `destination:` each row names, which is what each leg's arrival run reports, **save where RULED Q6 re-destined a row**"* — is the sentence that tells an operator **when the table and a run disagree**. This act adds the second reason they disagree and had already written it into the paragraph BELOW the table while the qualifier ABOVE still named only Q6.

**Moved in lockstep with its pin.** `test_the_runbook_per_destination_table_is_the_manifests_own_sum` bounds the table by that exact sentence, held as a string constant whose own comment says *"a re-wrap of the sentence breaks this anchor LOUDLY … rather than quietly moving the block's boundary"* — so the sentence and the constant move together, and the constant's neighbouring comment now records **why** the qualifier grew.

## Copilot round 21 — § 5.5's phase-B example is the COMPLETE commit B, and it did not say so

The example promises `83 declared-edit row(s) … 0 unapplied`; a real run of that exact command today prints `82 … 1 unapplied`. **The finding is the last clause of the review: the pin cannot catch it** — it composes both expected lines from the MANIFEST and holds no destination checkout, so the runbook and its pin can be consistently wrong together.

Measured by running the documented command verbatim against openDox-code#24 at `e2d5ac46`, then taking the arithmetic apart rather than assuming it. `82` is this leg's EFFECTIVE edited count; **one** of those 82 is byte-identical to its carve blob, so it counts as `unapplied` and not as `diffed` — leaving 81. The line-declaring replica **really does differ**: `tests/conftest.py` against the carve blob of `tests/ideation-dashboard/conftest.py` at **line 25** (`REPO_ROOT = HERE.parent.parent` → `HERE.parent`), that row's own declared `path constants` line, and `check_replicas` adds it to the same counter. So **`81 + 1 = 82` today and `82 + 1 = 83` the day that last edit lands**.

**So the example is right and INCOMPLETE, not wrong** — it is the complete commit B's line, which is exactly what `0 unapplied` already declares itself to be one sentence earlier, and the `83` is that standard's other half, which nothing said. Both say it now, with today's real figures beside them, so an operator reads the gap as **the leg's remaining work**. Neither the expected line nor its pin is changed: the pin composes from the manifest deliberately, because documentation that moved every time a leg committed would pin nothing.

## And round 21's own insertion broke the sentence it interrupted

Found by reading the edit back in place rather than trusting that it applied. The measured paragraph went in mid-sentence, leaving the original continuation hanging off a colon whose subject was three sentences away — **a correction that makes the document harder to read is not finished either**. Restructured into three paragraphs. **And the interrupted sentence carried a real error that only re-reading exposed**: it said the phase-B figure is *"one above the `verbatim / edited` column § 2's per-destination table states"*. That column reads **88**; the phase-B figure is one above the **EFFECTIVE** edited count, **82**. The six-row gap is this floor's two placement rulings — the distinction § 2's own paragraph was amended to make two rounds earlier, which this sentence one section down had never been told.

## Copilot round 22 — "retired one" read as a COUNT

Round 20's own wording. The qualifier read *"save where RULED Q6 re-destined a row or RULED 5656343213 **retired one**"*; the `one` was **anaphoric** — "a row" — and a careful reader took it for the **number** one, which is wrong either way (four re-destined, **two** retired). **The reading matters more than the ambiguity**: this is the sentence that tells an operator when the table and a run disagree, and it is pinned as a string constant precisely so it cannot drift — a sentence that has to be parsed twice is not doing that job. Both clauses are plural now and the sentence states a KIND of exception rather than a count, moved in lockstep with the marker constant, with the misreading recorded beside it.

## Copilot round 23 — two sentences that would have landed FALSE

*"TWO FIGURES, AND THEY ARE NOT THE SAME ONE"* in the manifest header, where the same sentence names **three** (the block SPANS 177, the ENTRY declares 167, the ROW declares 196) — round 14's own comment called them *"three answers to three questions"*. And **this description itself**, which is the landed commit message, still said the ten lines S5 declares are *"declared twice"*: true of an earlier draft, false since `#1030`'s pin landed mid-flight and the merge went red on it. Corrected above. The third was the remediation printed on **every** `arrival-not-retired`: it ended *"the deletion and the block land together or not at all"* — worse than stale, because **the two cannot land in one commit at all**, being in different repositories with § 5.8 landing the block FIRST on purpose. An operator meeting that refusal is in the **expected state of the window**, and the string now says so and names the remedy: the leg's own pull request, never an edit to the manifest.

## Copilot round 24 — a chronology that ended one act too late, and a PHASE CONTRACT this act made false

§ 2's act-narrative said slice S8's forty lines gave *"the `1667` and `703` the table carried **until this act**"* — and the very next sentence says the pre-existing `openxdox_code` annotation moved that cell to `750`, which is where this act's own `750 → 917` starts. Corrected.

**And this act made the verifier's phase contract false**, which is the more interesting half. The module docstring said *"`--phase A` can prove EVERY moved row of a destination at its strongest"* and `--phase`'s `--help` said the same. Both were exactly true until RULED 5656343213: `rows_for()` now drops a row retired at its own effective arrival **before either phase asks anything**, so it is not placed, not digested and not diffed — and what is required instead is that `retired.at_path` be ABSENT. Both now read *"every moved row NOT RETIRED by ruling"*. **The `--phase` help is the second diagnostic this act has had to repair after changing what the tool does**, and a `--help` line is the carrier a person reads *before running anything*.

## Copilot round 25 — a path file the documented procedure then REFUSES, and one control-flow claim true of one caller in three

**§ 5.3 generated a tree § 5.5 refuses.** The path-file generator keyed on `destination:` — the field a RULED re-destination (§ 5.7) and a RULED retirement (§ 5.8) both leave exactly as the carve wrote it, because it is the record of what MOVED. Measured on the landed manifest:

```
opendox_code : `destination:` key -> 123 rows / 246 lines     rows_for() -> 117 / 234   [-4 re-destined, -2 retired]
openxdox_code: `destination:` key ->  92 rows / 184 lines     rows_for() ->  96 / 192   [+4 re-destined]
opendox_spec / openxdox_spec: 56 and 47, unchanged — no ruling has touched either leg
```

Commit A would place the four rows RULED Q6 sent away and the two RULED 5656343213 retired, for the phase-A run one section down to refuse **before printing the line § 5.5 promises** — one refusal per run, both checks raising on the first row they find, so six leftovers cost six runs with the losing half asked first. **The same key fails the other half in SILENCE:** the gaining leg's path file is four rows SHORT, so the files that ruling moved there would be missing from the carve ref meant to place them. The generator now asks the question the verifier asks, and § 5.3 records what the gap means for history — the two `-code` legs were carved BEFORE both rulings, which is why their real history carries those six removals as later commits (§ 5.7 step 4's LOSING half, § 5.8 step 4) rather than as an arrival that never placed them.

**Pinned by RUNNING the documented program**, because a generator and a verifier that disagree about which rows a leg is owed cannot be caught by reading either alone: `test_the_runbook_path_file_generator_is_the_verifiers_own_predicate` lifts the heredoc out of the document, feeds it to `python3 -` with § 5.3's own arguments, and compares its two lines per row with `rows_for()` and `effective_arrival()` for every destination the manifest declares — `opendox_root` among them, whose whole answer is no lines at all. **Its boundary was found by its own fail-closed assertion on the first run**: this runbook quotes TWO `<<'PY'` heredocs (§ 8's shed `def test_` count is the other), so it is bounded on § 5.3's COMMAND LINE, which is also the invocation it reproduces. Mutation-checked both ways — 238 lines against 234 without the retirement filter, 242 without the re-destination branch — and the paragraph's own six figures are derived here too.

**And the suppressed comment was the same shape one level down:** the retirement case's docstring stated ONE order for THREE callers. § "Evidence" above carries the corrected account; the short form is that the OUTCOME holds for all three and the ORDER does not.

## Copilot round 26 — a generator comparing destination LABELS, and another act's `+48` attributed to this one

**Round 25's fix fell one step short of the claim it made for itself.** § 5.3 said it asked *"the question the verifier asks"* and compared **labels**, where `rows_for()` compares resolved `(repository, leg)` identities. A `destinations:` key is a LABEL and never a referent — `check_shape` deliberately admits two keys sharing one `{repository, leg}` body — so `$DEST` given as the other spelling of a leg matched no row at all and produced an **EMPTY path file**, while the verifier, resolving both spellings to one identity, went on expecting every row. It resolves the key now with the same three lines `_resolved_destination` uses, **including its 1-tuple degradation** for a key `destinations:` does not carry. **The RETIREMENT half still compares labels, deliberately**, and the prose says why: `retired_arrival()` asks whether the block names the placement ITS OWN ROW makes, and a block naming another one is `validate-carve-manifest.py`'s check 6 — resolving here would quietly re-decide the other tool's finding.

**Pinned on a document the test MAKES**, because the landed manifest declares five keys and no alias: the pin writes a copy of the manifest with a second key sharing `opendox_code`'s body and asserts both spellings give the same path file, each against `rows_for()` under that document. Mutation-checked — restore the label comparison and it reds with *"answers `'opendox_code_other_spelling'` with 0 lines where `rows_for()` is owed 234"*. **This is the third time the estate has met this defect**: RULED Q-L8 (c) repaired it in the tools, `#1032`'s round 9 found the last selector still making it, and round 25 wrote a new program that made it again beside both fixes.

**And § 2's historical paragraph credited THIS act with the pre-existing `openxdox_code` annotation's work** — *"This act MOVES … 703 -> 750 … 47 of this act's 48 lines"*, one paragraph above the one stating this act's own **167** declared lines and **750 -> 917**. Measured on the landed manifest: that cell is **917** today, the `+48` (47 rows' lines plus the `:271` replica line) is the pre-existing annotation's, and this act's `+167` starts where it left off. **The same defect round 24 found one paragraph up**: a merge-forward brings another act's sentences in with its commits, and *"this act"* is the phrase that survives the move and changes meaning.

## Copilot round 27 — a placement contract this act made false, a refusal that told an operator to do the impossible, and three where there are two

Four suppressed comments, no threads, and every one a sentence this act would have LANDED as TRUE.

**§ 5.5's Commit A rule still promised "every row"** — *every row's blob*, so the verifier can prove *every moved row of that destination at phase A* — three bullets above a phase-A example that expects **117** of this leg's 123. **This act is what made it false**: `rows_for()` drops a row retired at its own effective arrival before either phase asks anything, and round 25's fix stopped § 5.3's path file from placing them. Round 24 repaired that contract in the verifier's module docstring and in `--phase`'s `--help`; the runbook said it too, one document over, and was not told. It now reads *"every moved row NOT RETIRED BY RULING"* and states what is required of a retired row instead — its path ABSENT.

**`check_retired`'s own refusal detail told an operator to do something impossible**: *"Delete it in the commit that lands the `retired:` block — the block and the deletion are one act."* The block is at openxFactory and the deletion at the leg: two repositories, never one commit. Round 23 moved `REMEDIATION` to the two-merge window for exactly that reason and the per-refusal detail under it kept the old sentence, so **every `arrival-not-retired` printed two contradictory landing instructions**. It now names the leg's own pull request and § 5.8 step 4, keeps "one act" with the qualification that makes it true — one act in TWO REPOSITORIES, therefore two merges — and says the refusal is the window's expected state.

**THREE SUITES, TWO RETIREMENTS.** § 5.8's opening and the manifest validator's `_check_retired_surfaces` docstring both introduce the ruling with three suites and then say *"the suites"*. The third is the ending replay inside `tests/test_staging_workbench.py`, whose row goes on arriving and whose other tests drive surfaces that leg HAS — a partial removal taken as an ordinary declared edit, which is what *"What the form CANNOT express"* says further down each file. Both now say it where the reader meets the claim.

Plain gate: pytest-suite run 35223659115 SUCCESS at `212095d5`, with clearing-dispatch-gate, former-id-arrival-gate, lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, openxdox-consumer-gate, release-tag-gate, signed-execution-chain-gate and wallet-validation all
SUCCESS (SonarCloud advisory); 13 threads / 0 unresolved. Rule 6 does not apply: ten files, none under `openspec/changes/`, and the README hunk is the doc-index runbook
line rather than the OpenSpec Records block.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@brettheap
brettheap marked this pull request as ready for review September 17, 2026 13:18

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

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 11 hours and 38 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

Copilot AI review requested due to automatic review settings September 17, 2026 13:19
@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap merged commit 589adee into main Sep 17, 2026
4 checks passed
@brettheap
brettheap deleted the chore/retire-ending-replay branch September 17, 2026 13:20

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 scoped changes are documented and have no unresolved blocking issues.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

brettheap added a commit that referenced this pull request Sep 17, 2026
… field later

openXdox-code main took two commits under this branch — #21's `opendox` pin bump
to openDox-code `0b4e8bbf` (§ 3.4 slice S8 leg B) and #20's ending-replay
removal — and this pull request read CONFLICTING, which runs no required check
at all.

ONE FILE CONFLICTED, `src/openxdox/view_extensions.py`, and only its module
docstring: #21 rewrote the lateness paragraph because the pin it names is no
longer behind the view registry (`view_extension` is importable at `0b4e8bbf`
and `ViewBinding` takes `exports`, so the three materialization assertions RUN
instead of skipping), while this branch's copy still described the old pin and
added `styles` to it. MAIN'S TEXT IS TAKEN — it is the corrected provenance —
and this act's sentence is folded into it one field later: the `styles` field
RULED Q7 adds lands in openDox-code's own Q7 leg (#27), which this pin does not
yet name, which is why `views()` FEATURE-DETECTS it and why the four
contributed sheets are INERT until the pin advances again. Nothing else in this
file conflicted: `STYLE_RESIDUE`, the Q7 ruling-ledger line and the
`open_coupling` register merged clean, and so did `pyproject.toml`'s package
data and `tests/test_gate_loop_views.py`.

MEASURED ON THE MERGED TREE with `.github/workflows/validate.yml`'s own pytest
invocation, run exactly as the workflow runs it after `pip install -e ".[test]"`:
**372 passed, 6 skipped**.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
brettheap added a commit that referenced this pull request Sep 17, 2026
…d sweep the claims the old pin left true (#24)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Refs opensoft/openXfactory#656 (stays OPEN).
CLAIM: openxFactory#656 comment 5699629088 (pin lockstep #3's claim, which
covers this leg's pin advances) — and openxFactory#656 comment 5699629486
(Q7's own claim), because this advance is the thing openXdox-code#22 waits on.
RULED: openxFactory#656 comment 5700475319 (Brett Heap, 2026-09-16) — the
decisions this tree already carries and this bump does not disturb.

## What this is

**One line of `pyproject.toml` moves**, and every sentence in this repository
that was true only because of the line it replaced moves with it. Six files,
**+42 / −24** (`git diff --shortstat main`): the pin, and five files of prose
and comments. Not one line of executable code changes — the review round below
is what the extra six insertions are.

`pyproject.toml:106` pins `opendox` at openDox-code
`5c137a9049600afbcf93b2ac26baf3d229755f95` — `main`, § 3.4 **RULED Q7**
(openDox-code#27, landed 2026-09-17 16:36:31Z) — replacing
`0b4e8bbf68fabfcd65d4f0d80e619c20a013e888` (§ 3.4 slice S8 leg B,
openDox-code#23, pinned here by #21 on 2026-09-16).

The advance crosses **two** landings, not one:

* **openDox-code#24 → `0e65b5f8`** — the two intent-feed DOM suites retired at
  that leg (RULED openxFactory#656 comment 5656343213, citing OQ-F).
* **openDox-code#27 → `5c137a90`** — § 3.4 RULED Q7: a contributed binding's CSS
  leaves the shared `styles.css` for the binding's own sheet.

## What the new `opendox` carries that the old one did not

Measured in a venv at each pin, not read off the upstream description.
`dataclasses.fields(opendox.view_extension.ViewBinding)`:

```
0b4e8bbf: id region module entry view_class routes exports requires optional
5c137a90: id region module entry view_class routes exports requires optional styles
```

`styles` is the field this column's `GateLoopViews.views()` **feature-detects**
for RULED Q7's contributed stylesheets in **openXdox-code#22** (`262ba369`,
READY, and this pin is all it still needs). From the other side of the same act,
openDox's own `web/styles.css` shrinks **145,821 → 139,502 bytes**: the binding
CSS leaving the shared sheet.

## The measurement, which is not the expectation

The leg's own required invocation — `.github/workflows/validate.yml`'s 14 files
under `--noconftest` — run on **this** tree in **two fresh venvs**, one per pin,
with `direct_url.json` asserted in each so every number belongs to the commit
named:

| | `0b4e8bbf` (old pin) | `5c137a90` (new pin) |
|---|---|---|
| required invocation | **360 passed, 6 skipped** | **360 passed, 6 skipped** |
| `test_gate_loop_views.py` | 41 passed | 41 passed |
| `test_gate_loop_probes.py` | 50 passed | 50 passed |
| `test_dependency_direction.py` | 16 passed | 16 passed |

Whole tree, both venvs, `pytest -q --noconftest --continue-on-collection-errors
tests/`: **153 failed, 629 passed, 10 skipped, 128 errors at both pins** —
character for character the same four numbers. No new failure and no new
collection error anywhere in this repository; the 153 and the 128 are the BUILD
arc's `doc_health` / `ideation_dashboard` blockers, identical at both.

**The CI baseline says the same thing.** `validate` runs on `pull_request`
only, so `main` files no run of its own; its tree's run is the one on the pull
request that produced it.

| run | head | reported |
|---|---|---|
| `35226334545` (#20 → `main` `589adee7`) | main's tree, old pin | **360 passed, 6 skipped** |
| `35248736400` / `35249287252` (this PR) | new pin | **360 passed, 6 skipped** |
| `35231367938` (#22, `262ba369`) | old pin + Q7 `views()` | 372 passed, 6 skipped |

**360, not 372.** 372 is the shape of #22's merge-main run, and #22 is not in
`main`; its `views()` is what consumes `styles`. This bump adds a field this
leg does not use **yet**, and nothing on the required list depends on it until
#22 lands. That is the honest shape of the act, and it is stated here so that
the number in the workflow comment and the number in this description are
derived the same way rather than carried.

**The ratchet is re-measured, not carried.** `_back_import_census()` against the
newly pinned tree returns exactly `OPENDOX_BACK_IMPORTS`' five rows, **0
import-time / 19 deferred** — unchanged now across five openDox-code landings
(`a99eba03 → 8efb3cf5 → 1e469713 → 0b4e8bbf → 0e65b5f8 → 5c137a90`).

## The sweep, whole repository

`git grep -c 0b4e8bbf` read **18 hits in 7 files** before this commit and **15
in 6** after. **Nine** of them stated what *is* pinned, and all nine moved:

* `pyproject.toml` — the pin itself.
* `src/openxdox/view_extensions.py` — the *"the pin now names"* paragraph, which
  also gains the `styles` field and its Q7 role.
* `tests/test_dependency_direction.py` — *"the pin has moved **twice** since"* →
  three; *"the pin names `0b4e8bbf` as of 2026-09-16"* → `5c137a90` as of
  2026-09-17; and the landing range, now five.
* `tests/test_gate_loop_views.py` — two *"if `0b4e8bbf` lost `view_extension`"*
  readings, now the declared leg.
* `tests/test_gate_loop_probes.py` — the declared-leg counterfactual.
* `.github/workflows/validate.yml` — *"names `0b4e8bbf` since 2026-09-16"* →
  *"named `0b4e8bbf` from 2026-09-16 and names `5c137a90` from 2026-09-17"*.

The **15** that stay are statements about a named commit or a dated act — the S8
pin-bump-only measurement pair at `708591b`, the retired `_REASON` wording, the
dated bump narratives — and several now hold the old sha beside the new one as
the chain. The workflow still parses (`yaml.safe_load`).

## Lane protocol

`git diff --name-only main` returns the six files above: **no
`openspec/changes/` path and no README OpenSpec Records block**, so **Rule 6's
landing window does not apply** to this pull request. Measured, not assumed.

Draft until its gates are green and the review rounds are answered. The lane
does not merge; it hands over a READY head.

## Review rounds

**Round 1 — `ea6991b` → `b21793f`.** Two findings, both FACT errors in text
**this pull request wrote**, both fixed at the site rather than argued here.

* *"a docstring claims `views()` already feature-detects `ViewBinding.styles`,
  but the implementation does not"* — **right, and it mattered.** At this head
  `views()` is `tuple(view_extension.ViewBinding(**spec) for spec in
  VIEW_BINDING_SPECS)`; no spec names `styles` and no branch asks for it. The
  detection is #22's `specs_for()` (`fields = {f.name for f in
  dataclasses.fields(binding_cls)}`), so the sentence described *that* pull
  request in the present tense inside *this* one. The paragraph now carries the
  field as AVAILABLE, names #22 as where it is read, and names the review that
  caught it.
* *"one updated docstring line is unwrapped"* — right, and mine: the
  replacement joined a sentence without re-wrapping, leaving the file's longest
  line at 114 characters. Re-wrapped; the longest line this branch adds is now
  **77**.

Measured after both: **360 passed / 6 skipped**, unchanged, locally and in CI
(`35249287252`). They are comments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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