Skip to content

§ 3.4 slice S5 row annotation: the gate loop becomes a contributed column (four RE-DESTINATIONS, RULED Q6's first use) - #1023

Merged
brettheap merged 5 commits into
mainfrom
chore/s5-gate-loop-declared-edits
Sep 13, 2026
Merged

brettheap merged 5 commits into
mainfrom
chore/s5-gate-loop-declared-edits

Conversation

@brettheap

@brettheap brettheap commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction

Refs #656 (stays OPEN).

The § 3.4 slice-S5 row annotation — "contribute the gate loop". This is the
openxFactory half RULING Q-L1 requires
(#656 comment 5628560136;
the § 3.4 binding clause at
5642758731):
"an edit to an ARRIVED file outside its declared lines is an undeclared
movement — each slice that edits such a file pairs its leg PR with an
openxFactory row-annotation PR that lands FIRST."

The slice is openDox-spec
docs/front-end-package-boundary.md
§ 5 row S5 @ 7d12428c, under Q1–Q12 RULED by Brett Heap on 2026-09-12 at
#656 —
5648044785
(Q5, Q1, Q3, and the boundary note's own Q6),
5648049748
(Q2, Q4, Q7, Q8),
5648065587
(Q9–Q12), plus the counterpart Q6 CORRECTION + RULING at
5649094228.
CLAIM: 5648073924.

The two leg PRs it pairs with, both DRAFT and neither landing before this
one:
opensoft/openDox-code#20 (build/s5-gate-loop-contributed, the shell
half) and opensoft/openXdox-code#18 (build/s5-gate-loop-bindings, the column
half). Neither lands alone either: the shell stops shipping the six gate-loop
modules in the same act that openXdox starts shipping them.

STACKED ON #1011, the carve floor's re_destined: row form — this is the
FIRST act to use it.


1. Four RE-DESTINATIONS (RULED Q6's form, first use)

RULED Q5 makes the gate loop a CONTRIBUTED column: openXdox ships its view
modules as package data and the composed install copies them into openDox's one
--web-dir. Four of the six modules carry a manifest row placing them at
opendox_code; they are openxdox_code's now. Each row KEEPS its own
destination and destination_path untouched — that is the whole reason the
ruling made this a FIELD rather than an edit — and gains re_destined:.

row source_path from_path to_path
…/web/views/gate.js src/opendox/web/views/gate.js src/openxdox/web/views/gate.js
…/web/views/dispose.js src/opendox/web/views/dispose.js src/openxdox/web/views/dispose.js
…/web/views/swb-create.js src/opendox/web/views/swb-create.js src/openxdox/web/views/swb-create.js
…/web/views/swb-session.js src/opendox/web/views/swb-session.js src/openxdox/web/views/swb-session.js

Both halves are PROVEN at the legs, not asserted here: arrival-not-vacated
does not fire (all four are deleted from openDox's bundle) and each arrives at
openXdox under its own row's digest and declared-line rules.

views/gate-lens.js and views/gate-projects.js are the other two modules,
and they move a different way.
Slice S4 CREATED them, so they have no row
(RULED OQ-C) and re_destined: — a field of a row — cannot carry them. They
move by ADMISSION: removed from opendox_code's created: list and added to
openxdox_code's, in the same diff. A one-sided move is exactly the drift that
produces the STALE admission the verifier reports and nobody reads, so
tests/carve_arrival/ now asserts both halves.

2. Declared-edit entries — sixteen, over eleven rows

Every line number is a CARVE-COMMIT line (b075fd91…, opendox-carve-0), taken
from the arrival verifier's own refusal output, and every class is one of RULING
OQ-1's three.

opendox_code (the shell, openDox-code#20)

row disposition change new entries
serve.py already carrier adapter calls ×2 — the line slice S3 built both ends of and deliberately did not write: capabilities["views"] = view_manifest(...)
web/app.js already carrier import rewrites ×3 (RULED Q10's firstEditTransport leaves the static import; counterpart Q6's two model namespaces arrive) + adapter calls ×19 (the ctx hand-downs, RULED Q8's overlay host, RULED Q1's per-region mount passes, RULED Q11's refusal frame)
web/views/wheel.js already carrier import rewrites ×2 (the eight-name ./dispose.js import — one of § 4.5 assertion 3's four breaches — is gone) + adapter calls ×21
web/views/staging-workbench.js verbatim → declared_edit import rewrites ×7 (the other two breaches) + adapter calls ×27
tests/…/test_bullseye_widget.py already carrier adapter calls ×8 — the five statements that quote views/swb-create.js travel with the module, on THIS ROW'S OWN slice-S3 precedent

openxdox_code (the column, openXdox-code#18)

row new entries
web/views/gate.js adapter calls ×12 — RULED Q3's rewrite of the gate bar's (container, ctx, opts), the ONE declared exception, which Q3 says ends at S5
web/views/dispose.js adapter calls ×11 — RULED Q12's four literal routes, RULED Q8's page-overlay mount replacing the append to document.body, counterpart Q6's two ctx reaches
web/views/swb-create.js import rewrites ×4 + adapter calls ×7
web/views/swb-session.js import rewrites ×8 + adapter calls ×16
tests/…/test_session_confinement.py adapter calls ×5 — firstEditTransport takes ctx.model
tests/…/test_staging_workbench.py adapter calls ×10 — the ending replay takes RULED Q3's mount signature

One row needed no new declaration and it is worth saying so:
tests/ideation-dashboard/test_gate_console.py already declares path constants on [58, 1627, 1785, 1786], and the three expectations openXdox-code
repointed from scripts/ideation_dashboard/cli.py to src/opendox/cli.py are
:1627, :1785 and :1786 exactly. The carve anticipated that rewrite; the file had
simply not taken it. "Already declared" and "not noticed" look identical in a
manifest diff, so it is stated rather than omitted.

3. Admissions — eight added, two removed

docs/opendox-carve-admissions.yaml, alphabetical, each since its file's OWN
introducing commit (git log --diff-filter=A), never a leg's tip — the
provenance contract at that file's :43 and the same class of correction a
Copilot review caught on #1010.

openxdox_code (+7): src/openxdox/serve_views.py,
src/openxdox/view_extensions.py, src/openxdox/web_assets.py (all since: 01b06c94), src/openxdox/web/views/gate-lens.js and
src/openxdox/web/views/gate-projects.js (8a335588),
tests/test_gate_loop_probes.py (b0091963), tests/test_gate_loop_views.py
(01b06c94).

opendox_code (+1): tests/test_gate_loop_contributed.py (fd7160d7).

opendox_code (−2): src/opendox/web/views/gate-lens.js and
src/opendox/web/views/gate-projects.js — the other half of § 1's admission
move.

4. The aggregate pair, re-derived

aggregate before after delta
rows 456 456 0
moved_verbatim 161 160 −1
moved_with_declared_edit 157 158 +1
not_moved 138 138 0
declared edit LINES 1422 1584 +162
rows carrying edits: 158 159 +1
rows RE-DESTINED by ruling 0 4 +4

import rewrites 684 → 708, path constants 202 → 202, adapter calls
536 → 674. Every figure is summed from the applied manifest, never carried
forward; the four documents that carry the totals as ABSOLUTES —
docs/opendox-cutover-runbook.md § 2, README.md's runbook entry, and the two
scripts' docstrings — are re-derived in the same commit.

5. Verification, against fresh read-only clones of both final leg heads

scripts/validate-carve-manifest.py
=> OK — phase post-shed, 456 rows at b075fd91dc8f (opendox-carve-0) —
   160 moved_verbatim, 158 moved_with_declared_edit, 138 not_moved;
   4 row(s) RE-DESTINED by ruling (RULED Q6)

scripts/verify-carve-arrival.py --destination opendox_code \
    --dest-root <openDox-code @ 011c3be0, build/s5-gate-loop-contributed> --phase B
=> OK — 119 rows arrived, 52 digests verified, 66 declared-edit rows within
   their lines; 0 re-destined HERE and 4 re-destined AWAY and VERIFIED VACATED
   (RULED Q6); 18 declared admissions used

python3 -m pytest -q tests/carve_manifest tests/carve_arrival → 263 passed.

openxdox_code still refuses THREE times, and NONE of them is this slice's

arrival-undeclared-edit  scripts/ideation_dashboard/gate_console.py
arrival-undeclared-edit  scripts/ideation_dashboard/generator.py
arrival-undeclared-edit  tests/ideation-dashboard/test_generator.py

These are openXdox-code #14's § 4.4 code half and #16's RULING-C2 follow-up,
landed at that leg and never annotated here. They are listed, not ABSORBED: this
PR does not invent declared-edit notes for work this lane did not do. Measured
proof that nothing of S5's is hiding behind them: with those three rows remedied
in a scratch manifest, the destination answers OK with no further refusal
and no admission beyond the two pre-existing ones.

Two arrival-undeclared-file gaps are pre-existing in the same way and are
admitted ad hoc on the command line rather than declared here:
tests/conftest.py at both destinations (openDox-code#19's declared depth fix)
and tests/session_fixtures.py at openxdox_code.

6. What this PR does NOT do

RULED Q7's CSS extraction is owed and not realized. styles.css is a
moved_verbatim row whose declared-edit vocabulary is the closed RULED list
import rewrites | path constants | adapter calls, and "a stylesheet block
leaves for another leg" is in none of them — the same wall slice S6 met and
withdrew from. Measured at the leg instead (51 classes exclusive to the six
modules, 24 shared), and it needs a ruling of its own or a widening of the
vocabulary.

The same wall stands over the gate column's transport-failure handling, ruled
out of S5's scope by the lane on 2026-09-13 and registered here: a rejected
fetch escapes the write path in four of the six modules, on lines byte-identical
to the carve, and normalizing it into a refusal is a BEHAVIOUR change that none of
OQ-1's three classes admits.

🤖 Generated with Claude Code

Summary by Sourcery

Annotate the S5 gate-loop contribution across the carve manifest, admissions, verification tooling, documentation, and tests.

New Features:

  • Record the gate-loop modules as an openXdox-contributed column, including four ruled re-destinations from openDox to openXdox.
  • Add destination-aware carve resolution so re-destined files are verified and consumed from their effective arrival locations.

Bug Fixes:

  • Keep carve admissions synchronized when created gate-loop files move between destinations.
  • Prevent carve reachability and dashboard source scans from resolving re-destined files at vacated paths.

Enhancements:

  • Annotate eleven affected manifest rows with the required declared edits and update aggregate carve totals.
  • Document the first use of the RULED Q6 re_destined form and the corresponding gate-loop admission changes.

Documentation:

  • Update the cutover runbook and README with the revised manifest totals and re-destination procedure.

Tests:

  • Expand manifest and arrival coverage for four re-destined rows, effective-arrival resolution, and synchronized admissions.
  • Validate the updated carve manifest and arrival behavior with the expanded test suite.

…lumn

RULING Q-L1 (`#656` comment `5628560136`; the § 3.4 binding clause at
`5642758731`) pairs every slice that edits an ARRIVED file with an openxFactory
row-annotation PR that lands FIRST. This is slice S5's — "contribute the gate
loop" — under Q1-Q12 RULED by Brett Heap on 2026-09-12 (`#656` comments
`5648044785` / `5648049748` / `5648065587`, plus counterpart Q6 at
`5649094228`); CLAIM `5648073924`.

FOUR RE-DESTINATIONS, and they are the first use of RULED Q6's `re_destined:`
form (#1011, `880c821c`). RULED Q5 makes the gate loop a CONTRIBUTED column:
openXdox ships its view modules as package data and the composed install copies
them into openDox's one `--web-dir`. `gate.js`, `dispose.js`, `swb-create.js`
and `swb-session.js` each carry a row placing them at `opendox_code`; each keeps
its own `destination` and `destination_path` untouched — the whole reason the
ruling made this a FIELD — and gains the field naming the move and the ruling
that ordered it. Both halves are PROVEN at the legs rather than asserted here:
`arrival-not-vacated` does not fire, and each arrives at openXdox under its own
row's digest and declared-line rules.

`views/gate-lens.js` and `views/gate-projects.js` are the other two modules and
move a DIFFERENT way: slice S4 CREATED them, so they have no row (RULED OQ-C)
and `re_destined:` — a field of a row — cannot carry them. They move by
ADMISSION, removed from `opendox_code`'s `created:` list and added to
`openxdox_code`'s in the same diff. A one-sided move is exactly the drift that
produces the STALE admission the verifier reports and nobody reads, so
`tests/carve_arrival/` now asserts BOTH halves.

SIXTEEN DECLARED-EDIT ENTRIES over ten rows, every line number a carve-commit
line taken from the arrival verifier's own refusal output and every class one of
RULING OQ-1's three. One row converts: `views/staging-workbench.js`,
`moved_verbatim` until this slice. One row needed NO new declaration and it is
recorded rather than omitted — `tests/ideation-dashboard/test_gate_console.py`
already declares `path constants` on [58, 1627, 1785, 1786], and the three
expectations openXdox-code repointed to `src/opendox/cli.py` are :1627, :1785
and :1786 exactly; the carve anticipated that rewrite and the file had simply
not taken it.

EIGHT ADMISSIONS ADDED, TWO REMOVED, each `since` its file's OWN introducing
commit (`git log --diff-filter=A`), never a leg's tip — the provenance contract
at `docs/opendox-carve-admissions.yaml`:43.

FIVE PINS MOVE, because this slice is the act they were waiting for: the
`edits:` pins on `dispose.js`, `wheel.js`, `swb-create.js`, `swb-session.js` and
`app.js`; the aggregate pair (1422, 158) -> (1584, 159); and #1011's own
`…_uses_it_nowhere` assertion, which becomes a field-by-field check of the four
rows it now has. The four documents that carry the totals as ABSOLUTES — the
runbook § 2 table, README's runbook entry and the two scripts' docstrings — are
re-derived from the applied manifest, never carried forward.

VERIFIED, not claimed: `validate-carve-manifest.py` OK (456 rows, 160/158/138,
4 RE-DESTINED); `verify-carve-arrival.py --destination opendox_code --phase B`
against openDox-code `011c3be0` OK, with 4 rows re-destined AWAY and verified
VACATED; `pytest tests/carve_manifest tests/carve_arrival` 265 passed.

`openxdox_code` still refuses THREE times and NONE of them is this slice's:
`gate_console.py`, `generator.py` and `tests/ideation-dashboard/test_generator.py`
are openXdox-code #14's § 4.4 code half and #16's RULING-C2 follow-up, landed at
that leg and never annotated here. They are LISTED, not absorbed — this PR does
not invent declared-edit notes for work this lane did not do — and the proof
that nothing of S5's hides behind them is that with those three remedied in a
scratch manifest the destination answers OK with no further refusal and no
admission beyond the two pre-existing ones.

Lane: openxfactory-4-opendox-extraction
Refs #656

Co-Authored-By: Claude Opus 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 13, 2026 01:26
@sourcery-ai

sourcery-ai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR lands the openFactory-side S5 row annotation for the gate loop: it records four Q6 re_destined: moves into the contributed openXdox column, moves two created modules through synchronized admissions, declares the shell/column edits across ten rows, refreshes all aggregate documentation, and adds manifest and arrival tests proving provenance, vacating, destination placement, and verifier behavior.

Flow diagram for S5 manifest relocation and verification

flowchart TD
    M[Carve manifest at opendox-carve-0]
    R[Four rows gain re_destined]
    A[Created gate-lens.js and gate-projects.js move via synchronized admissions]
    E[Declared edits recorded across shell and column rows]
    V[validate-carve-manifest.py]
    Q[verify-carve-arrival.py]
    P[263 carve manifest and arrival tests pass]

    M --> R
    M --> A
    M --> E
    R --> V
    A --> Q
    E --> V
    E --> Q
    V --> P
    Q --> P
Loading

File-Level Changes

Change Details Files
Annotate the gate-loop carve as a contributed openXdox column while preserving the original manifest rows and recording their effective relocation.
  • Add re_destined: metadata for gate, dispose, swb-create, and swb-session rows, including ruling and source/target paths.
  • Move the two S4-created gate modules through synchronized admissions rather than row metadata.
  • Retain each row’s original destination and digest semantics while validating vacated and arrived files at both legs.
docs/opendox-carve-manifest.yaml
docs/opendox-carve-admissions.yaml
tests/carve_manifest/test_carve_manifest.py
tests/carve_arrival/test_verify_carve_arrival.py
Declare the S5 shell and contributed-column edits in the carve manifest and update the associated aggregate documentation.
  • Convert staging-workbench from verbatim to declared-edit and add import-rewrite and adapter-call entries across the affected shell, contributed modules, and tests.
  • Increase the manifest totals to 1,584 declared lines across 159 rows, with the corresponding disposition and edit-class counts.
  • Update the README, cutover runbook, and validator/verifier documentation to reflect the re-derived totals and Q6 re-destination count.
docs/opendox-carve-manifest.yaml
docs/opendox-cutover-runbook.md
README.md
scripts/validate-carve-manifest.py
scripts/verify-carve-arrival.py
Strengthen regression coverage for admissions, declared edits, re-destination semantics, and arrival verification.
  • Assert both removal from openDox admissions and addition to openXdox admissions for the created gate modules, including introducing-commit provenance.
  • Assert all four Q6 re-destinations, unchanged original row destinations, and the effective destination reported by validation.
  • Update fixture expectations for the new edit entries, aggregate counts, and four re-destined rows.
tests/carve_arrival/test_verify_carve_arrival.py
tests/carve_manifest/test_carve_manifest.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.

🟡 Changes recommended

Unresolved manifest, runbook, and test documentation inconsistencies remain.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Records the S5 gate-loop contribution, including four re-destinations, admissions, declared edits, updated totals, and verification coverage.

Changes:

  • Adds four re_destined rows and S5 destination admissions.
  • Declares 162 new edit lines across 11 rows.
  • Updates validation, arrival checks, documentation, and aggregate totals.
File summaries
File Summary
tests/carve_manifest/test_carve_manifest.py Adds manifest, aggregate, line-count, and re-destination assertions.
tests/carve_arrival/test_verify_carve_arrival.py Verifies S5 admissions and provenance.
scripts/verify-carve-arrival.py Updates arrival-verification documentation.
scripts/validate-carve-manifest.py Updates manifest validation documentation and totals.
README.md Updates carve totals and runbook summary.
docs/opendox-cutover-runbook.md Documents updated totals and Q6 re-destination usage.
docs/opendox-carve-manifest.yaml Records S5 declared edits and re-destinations.
docs/opendox-carve-admissions.yaml Adds and removes destination admissions.
Review details

Suppressed comments (7)

docs/opendox-carve-manifest.yaml:1998

  • This is now the first live use of re_destined, but the shared scripts/carved_reach.py resolver still reads row["destination"]/destination_path directly (source() at lines 454/461, shed_relpath() at 524/525, and shed_commit_object() at 666/678). These rows therefore resolve to the vacated opendox_code paths instead of their effective openxdox_code arrivals, so existing consumers of the resolver will read the wrong leg; update the resolver (and its regression coverage) to use re_destined.to/to_path before this annotation lands.
    re_destined:
      from: opendox_code
      from_path: src/opendox/web/views/dispose.js
      to: openxdox_code
      to_path: src/openxdox/web/views/dispose.js

docs/opendox-cutover-runbook.md:158

  • This new § 2 text documents the live re_destined: form, but § 5.7 still says that slice S8 is the act that first runs it. S5 is now the first use, so the runbook's sequencing statement is false and can mislead the operator about which slice owns the initial application; update that statement.
**AND A MOVED ROW MAY CARRY `re_destined:` (RULED Q6, Brett Heap, 2026-09-12,
`#656` comment `5648044785`).** Where a RULING has corrected the placement the
carve made, the row records it — `{from, from_path, to, to_path, ruling,
note}`, `to` held to the closed `destinations:` keys and the citation REQUIRED
— and **the proof owed at the destination moves with it**: the file must be

docs/opendox-cutover-runbook.md:152

  • These newly added S5 totals make the runbook's later § 2 paragraph stale: it still says that no row carries re_destined: and that § 5.7 is only a future procedure (lines 163–165), while this act uses the form on four rows. Update that paragraph so the operator-facing runbook describes the landed effective-arrival and arrival-not-vacated proof instead of contradicting the manifest.
The § 3.4 slice-S5 annotation moved all four figures: +162 declared lines, and
`views/staging-workbench.js` converted `moved_verbatim` -> declared, which is
the one row that moves BOTH disposition counts and the carrier count at once.

scripts/validate-carve-manifest.py:124

  • The S5 count update here leaves other canonical line-count documentation stale: scripts/carve_lines.py:3 and tests/carve_manifest/test_carve_manifest.py:2733 still say the manifest declares 1422 lines. Since this PR changes the total to 1584, those references now disagree with the validator and runbook; update them too or replace the hard-coded total with a derived statement.
real bytes and still bounds all 1584 declared lines against them; check 4 still

tests/carve_manifest/test_carve_manifest.py:2605

  • The renamed test now asserts four S5 rows use the Q6 field, but its docstring still says “NOT ONE ROW” uses it and that S8 will be the first use. That opposite description will mislead maintainers about what this regression test protects; update the docstring to describe S5's four re-destinations.
def test_the_real_manifest_carries_the_q6_form_and_the_four_rows_s5_re_destines() -> None:

tests/carve_manifest/test_carve_manifest.py:2408

  • The updated aggregate establishes 1,584 declared-edit lines, but the line-count test's docstring still says the manifest's line numbers total 1,422. Because this test documents the frozen line-number contract, that stale value should be updated to the current total; the underlying corpus assertion can remain unchanged.
    # carrier. 1422 + 162 = 1584 on 158 + 1 = 159 rows. It is also the FIRST

tests/carve_manifest/test_carve_manifest.py:2658

  • These assertions are intended to verify the manifest header, but they search the entire file. With four rows below containing re_destined:, RULED Q6, and the ruling citation, they pass even if the header omits all three; scope the checks to the text before the rows: key.
    assert "re_destined:" in text, "the header does not document the form"
    assert "RULED Q6" in text, text[:200]
    assert "5648044785" in text, "the header does not cite the ruling"
  • Files reviewed: 8/8 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/opendox-carve-manifest.yaml Resolved
brettheap and others added 2 commits September 12, 2026 21:39
… ELEVEN-row count

Copilot review on #1023 flagged two accurate findings.

- docs/opendox-carve-manifest.yaml's Q6 header still said "NO ROW BELOW
  CARRIES THE FIELD" / `re-destined 0` "until" slice S8 lands, on the
  expectation S8 would be first. That was already stale in this PR's own
  diff: this PR's own four re_destined rows land in the same document.
  Corrected to say § 3.4 slice S5 (this PR, CLAIM 5648073924) used the RULED
  Q6 form FIRST, not S8, and that the count is now 4, not 0.
- tests/carve_manifest/test_carve_manifest.py said slice S5 "edits TEN
  arrived rows"; the section it describes covers five opendox_code rows
  (serve.py, app.js, wheel.js, staging-workbench.js, test_bullseye_widget.py)
  plus six openxdox_code rows (gate.js, dispose.js, swb-create.js,
  swb-session.js, test_session_confinement.py, test_staging_workbench.py) —
  ELEVEN, not ten. The neighbouring test's docstring carried the same
  S8-first, zero-rows story past this PR's own assertions of four
  re_destined rows and CLAIM 5648073924; corrected to match what it actually
  asserts.

pr-body-s5-annotation.md's own "sixteen, over ten rows" section heading is
the same off-by-one (sixteen entries is right; the row count is not) and is
corrected too, for the same reason, even though it is prose and not part of
the reviewed diff.

Verified: scripts/validate-carve-manifest.py OK (456 rows, 160
moved_verbatim, 158 moved_with_declared_edit, 138 not_moved, 4 RE-DESTINED
by ruling); python3 -m pytest -q tests/carve_manifest tests/carve_arrival
tests/carve_conformance -> 303 passed.

Lane: openxfactory-4-opendox-extraction
Refs #656

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 13, 2026 01:48

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

Resolve the admission provenance pins and update the affected documentation and regression assertions.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (4)

docs/opendox-carve-admissions.yaml:162

  • These two admissions pin since to 8a3355889fcc9cd40efa03ee9d007dedc5d14f2a, which is not a resolvable commit in opensoft/openDox-code; the S4 commit 031edc9b4268d9898c296b2e9bb3951a78642fb6 is the commit that actually adds both files. The validator only checks the 40-hex shape, so this passes while making the required file-origin provenance unreproducible. Use the actual introducing commit for both entries and update the matching regression pin at tests/carve_arrival/test_verify_carve_arrival.py:3117-3118.
        reason: "added by openDox-code #17 (§ 3.4 slice S4, RULED Q3) and re-homed by split-opendox § 3.4 slice S5, RULED Q1-Q12, `#656` comments `5648044785` / `5648049748` / `5648065587` — a CREATED file with no row (RULED OQ-C), so it moves by ADMISSION rather than by `re_destined:`, which is a field of a row; admitted at `opendox_code` until this slice and REMOVED there in the same diff"
        since: "8a3355889fcc9cd40efa03ee9d007dedc5d14f2a"
      - path: src/openxdox/web/views/gate-projects.js
        reason: "added by openDox-code #17 (§ 3.4 slice S4, RULED Q3) and re-homed by split-opendox § 3.4 slice S5, RULED Q1-Q12, `#656` comments `5648044785` / `5648049748` / `5648065587` — as `gate-lens.js` above: a CREATED file with no row, moved by admission and removed from `opendox_code`'s list in the same diff"
        since: "8a3355889fcc9cd40efa03ee9d007dedc5d14f2a"

docs/opendox-cutover-runbook.md:149

  • These new §2 totals are not propagated to the per-destination table below: lines 246–249 still sum to 161 verbatim / 157 edited and 1421 destination edit lines, while this block now declares 160/158 and 1584 total (1583 across destinations because the replica line is not assigned to a destination). The measurement paragraph also still says it is current only through S3. Update the table and its as-of text so an operator comparing a leg's output does not get the pre-S5 figures.
**318 rows move. 1584 declared edit lines**: `import rewrites` 708, `path
constants` 202, `adapter calls` 674. **159 rows carry `edits:`** — the 158
`moved_with_declared_edit` rows and, since RULED Q-L7 (a), one replica row.

tests/carve_manifest/test_carve_manifest.py:2612

  • This changed test now asserts four real re_destined rows, but the Q6 section comment above it (line 1639) still says the landed manifest uses the form nowhere. That leaves the test module self-contradictory and can mislead the next annotation; update the section comment to say the landed manifest uses the form four times.
def test_the_real_manifest_carries_the_q6_form_and_the_four_rows_s5_re_destines() -> None:
    """RULED Q6 against the LANDED manifest: the FORM, documented, and the
    FOUR ROWS § 3.4 slice S5 uses it for.

tests/carve_manifest/test_carve_manifest.py:2410

  • The S5 test pins exact entries for only dispose.js, wheel.js, swb-create.js, and swb-session.js; the other seven S5 rows named in this new aggregate paragraph are covered only by the 162-line sum. That sum can still pass if lines are assigned to the wrong row or class—the test itself calls out this limitation for earlier slices—so add exact (class, lines) assertions for serve.py, app.js, staging-workbench.js, test_bullseye_widget.py, gate.js, test_session_confinement.py, and test_staging_workbench.py.
    # gate loop" edits ELEVEN arrived rows (five at `opendox_code` — `serve.py`,
    # `app.js`, `wheel.js`, `staging-workbench.js`,
    # `test_bullseye_widget.py` — and six at `openxdox_code` — `gate.js`,
    # `dispose.js`, `swb-create.js`, `swb-session.js`,
    # `test_session_confinement.py`, `test_staging_workbench.py`) and converts
  • Files reviewed: 8/8 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread docs/opendox-cutover-runbook.md Resolved
…book

Round-2 Copilot review on #1023 found the same class of
bug once more: docs/opendox-cutover-runbook.md § 2 states this PR's own
updated totals (1584 lines, 159 carrier rows) and is immediately followed by
"NO ROW CARRIES IT TODAY: the amendment landed the form and its gates, and
§ 5.7 is the procedure the act itself follows" — self-contradictory the
moment this PR's four re_destined rows land in the same document.

Fixed both places that said slice S8 would be first:
- § 2's closing sentence now says FOUR ROWS CARRY IT TODAY and names § 3.4
  slice S5 (CLAIM 5648073924, RULED Q5 5648044785) as the act, with the four
  moved files.
- § 5.7's own "slice S8 is the act that first runs it" now says slice S5 ran
  it first, and that a later slice (S8 among them) follows the same steps.

Left alone: the unrelated "S8 re-homes the suite" references in
docs/opendox-carve-manifest.yaml (:412, :2574, :2577) — a different subject
(future test-file relocation), not the re_destined form, and still accurate.

Verified: scripts/validate-carve-manifest.py OK (456/160/158/138/4, unchanged);
python3 -m pytest -q tests/carve_manifest tests/carve_arrival
tests/carve_conformance -> 303 passed.

Lane: openxfactory-4-opendox-extraction
Refs #656

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 13, 2026 02:21

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

A critical re-destination resolution issue and documentation inconsistencies remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (2)

docs/opendox-cutover-runbook.md:152

  • These new aggregate totals are current, but the operator-facing per-destination table below still has the pre-S5 values (opendox_code 123 / 53 / 70 / 727 and openxdox_code 92 / 9 / 83 / 659), and its history paragraph still says the measurement is only through S3/S4. With Q6 effective arrivals, S5 removes four rows from openDox and converts staging-workbench.js, so the table no longer matches the verifier or the 1584-line total; update the table/history (effective figures are openDox 119, 52/67, 808 and openXdox 96, 9/87, 740, with the other destinations unchanged).
The § 3.4 slice-S5 annotation moved all four figures: +162 declared lines, and
`views/staging-workbench.js` converted `moved_verbatim` -> declared, which is
the one row that moves BOTH disposition counts and the carrier count at once.

tests/carve_manifest/test_carve_manifest.py:2416

  • The assertion here now measures (1584, 159), but the following ASK-7 explanation still refers to the aggregate as (1422, 158), and test_the_line_count_is_exactly_the_expression_the_validator_carried below still says the manifest has 1422 line numbers. Those references are no longer current after S5; update them or explicitly label them as historical so the test documentation does not imply the annotation is missing.
    assert (lines, carrying) == (1584, 159), (lines, carrying)
  • Files reviewed: 8/8 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread docs/opendox-carve-manifest.yaml Resolved
Comment thread scripts/verify-carve-arrival.py Resolved
… 1422

Round-3 Copilot review on #1023 (head ac70b01) opened
two new threads, both accurate.

- scripts/carved_reach.py's source() (and sources_under()/shed_destination()
  through it) resolved every MOVED row at its raw destination/destination_path
  even when the row carried a re_destined: block. For this PR's own four
  re_destined rows that raw pair names opendox_code, the leg RULED Q6's form
  says the ruling VACATES; the effective arrival is openxdox_code. The
  dashboard compositor's sources_under() sweep of
  scripts/ideation_dashboard/web/views/ would therefore have linked a path
  the paired leg no longer carries, for all four files
  (dispose.js/gate.js/swb-create.js/swb-session.js) — PRRT_kwDOTAvnrs6h1nYE.

  Added carved_reach.effective_arrival(row): a third copy of the same
  three-line re_destined.to/to_path-else-destination/destination_path
  predicate that scripts/validate-carve-manifest.py and
  scripts/verify-carve-arrival.py already each carry (neither hyphenated
  entry point can be imported from here, the same reason
  _closed_relative_path is already its own copy in each). source() now reads
  the mount and the join path through it, which is also what fixes
  sources_under() and shed_destination() — both delegate to source() and
  needed no separate change.

  Extended tests/carve_arrival/test_verify_carve_arrival.py
  ::test_both_tools_read_the_effective_arrival_identically to a three-way
  comparison (carved_reach.effective_arrival joins the existing
  validate-carve-manifest.py/verify-carve-arrival.py pair), and added
  tests/carve_manifest/test_carve_manifest.py
  ::test_carved_reach_resolves_the_four_re_destined_rows_at_their_arrival,
  which proves source()/sources_under() resolve all four of this PR's real
  re_destined rows at their arrival mount, not their vacated one.

  Not touched: shed_relpath() and shed_commit_object() read the same raw
  fields directly rather than through source() and have the same latent gap,
  but neither was named by this review and neither's current caller
  (doxbench_contracts's release marker; hermes_runtime_validation/release.py)
  is known to be asked about any of the four affected files today — left for
  a later declared act rather than fixed under this round's authorization.

- scripts/carve_lines.py:3's shared line-definition docstring still said the
  manifest declares 1422 EDIT LINES BY NUMBER; scripts/verify-carve-arrival.py
  and scripts/validate-carve-manifest.py were both already updated to 1584 by
  this PR (matching the re-derived 1584/159 total), leaving this one shared
  copy alone contradicting the other two — PRRT_kwDOTAvnrs6h1nYP. Corrected
  to 1584; grepped the repository for any other current-tense mention of 1422
  and found none (the "1042 + 380 = 1422" / "1422 + 162 = 1584" lines in
  tests/carve_manifest/test_carve_manifest.py are historical narration of the
  totals across landings and were already correct).

Verified: scripts/validate-carve-manifest.py OK (456 rows, 160
moved_verbatim, 158 moved_with_declared_edit, 138 not_moved, 4 RE-DESTINED by
ruling — unchanged); python3 -m pytest -q tests/carve_manifest
tests/carve_arrival tests/carve_conformance -> 304 passed (openXdox leg
initialized locally to run the new test; both legs are initialized
recursively by .github/workflows/pytest-suite.yml).

Lane: openxfactory-4-opendox-extraction
Refs #656

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 13, 2026 03:02

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

An unresolved moderate test-coverage gap remains across a broad manifest and effective-destination change.

Review details

Suppressed comments (3)

docs/opendox-cutover-runbook.md:167

  • This update makes the effective arrival move four rows from opendox_code to openxdox_code, but the §2 per-destination table below still reports the pre-S5 raw totals (123, 53 / 70, 727 and 92, 9 / 83, 659). The verifier now reports the effective sets as 119 rows / 53 edited / 66 edited lines / 808 lines for opendox_code and 96 rows / 9 edited / 87 edited lines / 740 lines for openxdox_code; leaving the table unchanged gives operators incorrect expected results.
the file now lives says nothing about them. **FOUR ROWS CARRY IT TODAY**: §
3.4 slice S5 (`#656` CLAIM `5648073924`) is the first act to use the form,
RULED Q5 (`5648044785`) moving `gate.js`, `dispose.js`, `swb-create.js` and
`swb-session.js` from `opendox_code` to `openxdox_code`, and § 5.7 is the
general procedure this and any later re-destination follows.

scripts/carved_reach.py:457

  • For a re_destined row, effective_arrival changes the mount as well as the path, but this bullet still says source() uses the row's declared destination's mount. That is inconsistent with the MOUNTS[destination] lookup below and can send readers to the vacated leg; describe this as the effective-arrival mount.
      * a MOVED row resolves at its declared destination's mount
        (`openDox/code`, `openDox/spec`, `openXdox/code`, `openXdox/spec`),

tests/carve_manifest/test_carve_manifest.py:2416

  • The new S5 aggregate assertion only checks 1584 total lines and 159 carriers, while the exact pins below cover just a subset of the eleven S5 rows (for example, the new serve.py, staging-workbench.js, gate.js, and test-row declarations are not independently asserted). A future manifest could move the same number of lines to another row or class and this regression would still pass; add exact (row, class, lines) assertions for the remaining S5 declarations, following the existing S4 pins.
    # slice — into a carrier. 1422 + 162 = 1584 on 158 + 1 = 159 rows. It is
    # also the FIRST act to use RULED Q6's `re_destined:` field, on four rows;
    # a re-destination is not an edit and moves neither figure, which the next
    # test measures.
    assert (lines, carrying) == (1584, 159), (lines, carrying)
  • Files reviewed: 10/10 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@sonarqubecloud

Copy link
Copy Markdown

brettheap added a commit that referenced this pull request Sep 13, 2026
…ore declared lines the first push had not measured

FOUR THREADS ON #1025, ALL FOUR ACCURATE, AND ONE OF THEM FOUND A DEFECT IN THIS SLICE'S OWN
DECLARATION RATHER THAN IN ITS CODE.

(1)+(2) `also_replicated_to:` COMPARED LABELS WHILE THE VERIFIER COMPARED IDENTITIES. This
slice made `verify-carve-arrival.py::also_replicated_rows` resolve both sides of the
comparison to `(repository, leg)`; `check_disposition_consistency`'s self-replica check went on
testing `key == own` as raw strings. So a row listing an ALIAS of the destination it arrives at
PASSED the manifest gate and was DROPPED by the arrival verifier — a manifest claiming a
replica no run can verify and `--replica-at` cannot declare, which is the self-replica refusal
bypassed by spelling. A `destinations:` key is a LABEL and `check_shape` admits two keys for one
`{repository, leg}` body on purpose, so the two tools must agree on what "the same destination"
means or the asymmetry IS the finding. Both threads describe one hole and one fix closes it:
the check now resolves through `_resolved_destination`, names the real destination in the
refusal when the two keys are aliases, and two tests pin it — the alias refusal and the
discriminator (an alias naming a DIFFERENT leg stays lawful, so this is not a blanket refusal
of every alias).

(3) THE COMMITTED-ADMISSIONS TEST DID NOT PIN THIS SLICE'S OWN ADMISSION.
`tests/opendox_bundle.py` was declared in `docs/opendox-carve-admissions.yaml` and asserted
nowhere: the generic shape checks admit any well-formed entry, so the path or its `since` could
have been changed or dropped without a failure. Added as the SIXTH BUMP, by presence and by its
own introducing commit, on the footing every bump before it states.

(4) THE MIRRORED TOTALS STILL SAID 1422. The manifest moved and `README.md`, the runbook § 2
table, both validator docstrings and `scripts/carve_lines.py` did not. Synchronized — and the
landing-sequence half of that thread is answered by the sequence itself: #1023 lands first and
this branch takes `git merge origin/main`, at which point the totals are re-derived once more
from the merged document rather than transcribed from either side.

TWENTY MORE DECLARED LINES, AND THIS IS THE FINDING THE ROUND ACTUALLY TURNED ON. The first
push computed its nine entries from the sweep's own diff. Re-running the arrival verifier's
rule file-by-file against both leg heads — `_check_declared_lines`: `replace`/`delete` touch
carve lines `i1+1 … i2` and every one must be declared, an `insert` is declared by EITHER
neighbour — says two rows were SHORT: `test_doxbench_mutation_boundary.py` (the four `Path`
expressions are REPLACED, not merely re-rooted, so the continuation lines between the declared
heads change with them) and `test_renderer.py` (two bundle roots outside its declared pair).
Both are declared here, in entries that say they are corrections. Nothing would have reported
this until a phase-B run at a tree carrying every other slice's declarations too, which is
exactly the kind of gap Q-L1 exists to close.

AND THE THREE NEW SITES LEG A's UN-NARROWING NEEDED (openXdox-code#19, `80fe8f7`):
`test_doxbench_abstract_store.py`, `test_doxbench_telemetry.py` and `test_doxbench_turns.py`
each read their module under test as TEXT through a PRE-CARVE
`scripts/ideation_dashboard/<module>.py` path. The modules are openDox's and this leg reads
openDox through the PIN, so the repair is `pathlib.Path(<the imported module>.__file__)`, the
same resolution `tests/opendox_bundle.py` makes for the bundle. Two of the three join that
leg's `validate` list; the third does not, and its row records why (32 of its tests reach
`ideation_dashboard` inside the pinned openDox, which is the BUILD arc's).

1422 + 40 = 1462 declared lines on the same 158 rows; `path constants` 202 -> 242; thirteen
rows carry a new entry and every one was already a carrier; replicas stay 20; `re_destined`
stays 0. Manifest validates OK; 273 carve-suite tests pass.

Refs #656

Lane: openxfactory-4-opendox-extraction

Co-Authored-By: Claude Opus 5 <[email protected]>
@brettheap
brettheap marked this pull request as ready for review September 13, 2026 21:40

@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 2 days and 7 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap
brettheap merged commit ee251d6 into main Sep 13, 2026
13 checks passed
@brettheap
brettheap deleted the chore/s5-gate-loop-declared-edits branch September 13, 2026 21:44
brettheap added a commit to opensoft/openXdox-code that referenced this pull request Sep 13, 2026
…bytes as package data, the assembly seam (#18)

Lane: openxfactory-4-opendox-extraction

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5648073924.

**§ 3.4 slice S5, leg A — the gate loop leaves openDox's bundle and becomes a
contribution openXdox supplies.** openDox-spec `docs/front-end-package-boundary.md`
§ 5 row S5 @ `7d12428c`; the contract is openXdox-spec
`docs/gate-loop-view-contract.md` @ `d73767b7`, whose § 8 Q1–Q12 were RULED by
Brett Heap on 2026-09-12 at opensoft/openXfactory#656 — comments `5648044785`
(Q5, Q1, Q3), `5648049748` (Q2, Q4, Q7, Q8), `5648065587` (Q9–Q12), with the
counterpart-Q6 correction at `5649094228`.

SIX ViewBindings, not four: `gate.js:mountGateBar`, `gate-lens.js:mountLensGate`,
`gate-projects.js:mountProjectCommissions`, `dispose.js:mountRefusalPanel`,
`swb-create.js:mountCreateAffordance` and `swb-session.js:mountSessionAffordances`
— slice S4's two new class-B modules say in their own headers that they leave the
bundle here, and leaving them would have left their `gate.lens` / `gate.projects`
entries in openDox's CORE arm. Every binding names a **`shell`** region, so RULED
Q1's generic `dom` mount pass never reaches them; RULED Q3's ONE signature
`mount(host, snapshot, ctx)` is applied to all six and **the gate bar's declared
exception ends here**; RULED Q2's `exports` namespace names `isGateBearing` and
`firstEditTransport`; RULED Q4's `requires` are dotted `/capabilities` paths,
argued per binding; RULED Q8 makes `page-overlay` the declared page-level host, so
no `document.body` survives in `dispose.js`; RULED Q12's four computed routes are
declared as their LITERALS. Seventeen routes in all — § 1.2(c)'s thirteen constants
plus Q12's four — every one under this column's own `serve_gate.ACTIONS_GATE_PREFIX`.

RULED Q5's assembly seam: `openxdox.web_assets.install_view_modules(web_dir)` copies
the six modules into the one `<web_dir>/views/` that `opendox.serve.build_server`
serves, shipped as `[tool.setuptools.package-data]`, with
`serve_views.ViewModuleRoutesExtension` as the fallback. It REFUSES rather than
creating a `web_dir` or a `views/` that is not there — a bundle with no openDox in
it is an assembly error, not a partial install to continue past.

**Pairs with opensoft/openDox-code#20** (the shell half). Neither leg lands alone:
the shell stops shipping these six modules in the same act that this column starts
shipping them.

**The annotation this leg was owed has LANDED FIRST, as RULING Q-L1 requires:**
opensoft/openXfactory#1023 → `ee251d6c54b7e16728f2648c71faa90d6be76496`, carrying the
FOUR RE-DESTINATIONS under the form RULED Q6 (`gate.js`, `dispose.js`,
`swb-create.js`, `swb-session.js` from `opendox_code` to `openxdox_code`, each row's
own `destination` untouched), the seven `created:` admissions this column needed, and
sixteen declared-edit entries over eleven rows. Measured from that landed main against
this head: `verify-carve-arrival.py --destination openxdox_code --phase B` answers
**OK — 96 rows arrived, 9 digests verified, 83 declared-edit rows within their lines,
123 files with NONE undeclared, 4 rows RE-DESTINED HERE (RULED Q6), 22 declared
admissions used** — once the three PRE-EXISTING `arrival-undeclared-edit` rows that
predate this slice (`gate_console.py`, `generator.py`, `tests/ideation-dashboard/
test_generator.py`, openXdox-code #14's § 4.4 code half and #16's RULING-C2 follow-up)
are remedied in a SCRATCH manifest, never the repository's. They are listed, not
absorbed, and they still owe an annotation of their own.

Register, carried forward rather than passed over:
* **The `opendox` pin bump is owed.** This leg pins `opendox @ a99eba03`, which
  predates the view registry, so the three materialization assertions SKIP — never
  fail — until the pin names an openDox carrying § 3.4 slice S5.
* **`profile_openxfactory.py` owes one line** at openxFactory: `VIEW_EXTENSIONS =
  view_extensions.VIEW_EXTENSIONS` beside its `ROUTE_EXTENSIONS` tuple. The
  assembly's act, not this leg's.
* **The gate column's transport-failure handling is a defect this slice cannot take.**
  Copilot found, correctly, that a rejected `fetch` escapes the write path in four of
  the six modules; four of those are ARRIVED files whose flagged lines are
  byte-identical to the carve commit, and normalizing a rejection into
  `{ok: false, message}` is new BEHAVIOUR, which is in none of RULING OQ-1's three
  declared-edit classes. RULED BY THE LANE, 2026-09-13: out of S5's scope. Five
  threads resolved on that word and REGISTERED on #656 for a later declared act.
* **RULED Q7's CSS extraction is owed** for the same reason: "a stylesheet block
  leaves for another leg" is in none of OQ-1's three classes.

Copilot rounds 1–3, all fifteen threads answered and resolved. The sharpest finding
was its own correction of this PR's first shape: `gate.dispose` declared
`requires: ["actions.gate"]`, which made `resolveView` answer `null` on every HOSTED
intent plane and deleted the refusal tray the declaration was meant to describe —
fixed at `2ca488a` with a test that states the reason. Round 3 took two more: a built
`firstEditTransport` now keeps the model it validated instead of reading the
module-level install (it is the one export reached through the REGISTRY rather than a
mount, so it outlives the call that built it, and a second mount would have shaped one
editor's Save with another's model), and `tests/test_gate_console.py`'s three
expectations were repointed to `src/opendox/cli.py` — lines the carve row already
declares at `[58, 1627, 1785, 1786]`, so no new declaration was owed.

Gate evidence: destination gate above; `validate` SUCCESS at `7b86350a` (run
34727512041), the one required check; 15 review threads / 0 unresolved; Sourcery
review skipped (budget) = advisory.
brettheap pushed a commit that referenced this pull request Sep 13, 2026
…tes the first re-destination

Copilot round 3 on #1025, one thread, accurate. `_check_re_destined_chains`'s
docstring still said the chain map is "KEYED ON `(destination key, path)`"
while the code it documents had been changed, one commit earlier, to key on
the resolved `(repository, leg)` body — and the sentence that said so was an
inline comment BELOW the false docstring. A contract stated twice, once
wrongly, is how a later edit restores the raw-label comparison believing it is
restoring the documented behaviour. The two are folded into one statement, in
the docstring, with the reason the key cannot be read here (a chain spelled
across two aliases of one leg is the same chain) and the unknown-key fallback
that keeps `check_vocabulary`'s refusal its own.

And, found while fixing it: three sentences in the two validators called slice
S8 "the act that writes the first real `re_destined:` rows". That is no longer
true. RULED on `#656` comment 5656343213 — "the path
constant moves, the file does not" — S8 writes ZERO `re_destined:` rows; the
first real four are slice S5's, landed at #1023. S8 is the act that first
READS live rows, which is why the resolved-identity follow-up registered at
#1011's landing is discharged here, and the corrected sentences say that.

Refs #656 (stays OPEN).

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 13, 2026
Slice S5's annotation landed at #1023 (ee251d6). Seven files conflicted, all
by construction: two acts annotate one document, and the document's own rule is
that each act states a DELTA while exactly one place sums them.

RESOLVED BY KEEPING BOTH ACTS' ROWS AND RE-DERIVING EVERY ABSOLUTE from the
merged document, never by transcribing either side's figure:

  docs/opendox-carve-manifest.yaml  tests/ideation-dashboard/test_bullseye_widget.py
      is the one row both acts edit. Both entries are kept, in landing order —
      slice S5's `adapter calls` [1465, 1509-1515] (the two files that suite
      greps back, one of which S5 re-destines) and then slice S8's
      `path constants` [1674] (the pre-carve `serve.py` read). Neither is a
      restatement of the other and the row already carried two entries.

  tests/carve_manifest/test_carve_manifest.py  slice S5's narrative paragraph
      is placed at its chronological seat, BEFORE slice S8's, and slice S8's
      arithmetic is re-based on it: 1584 + 40 = 1624 on the same 159 rows.
      The assertion — the one place in the repository where the absolutes live
      — is re-derived, not transcribed:
          lines = sum(len(edit["lines"]) ...) -> 1624
          carrying = sum(1 for row if row.get("edits")) -> 159
      measured against the merged file before it was written here.

  docs/opendox-cutover-runbook.md § 2, README.md, scripts/carve_lines.py,
  scripts/validate-carve-manifest.py, scripts/verify-carve-arrival.py
      the mirrored totals: 1624 declared edit lines over 159 carrying rows,
      `import rewrites` 708, `path constants` 242, `adapter calls` 674 —
      each re-counted from the merged manifest (708 + 242 + 674 = 1624), with
      both acts' sentences kept so the runbook says which act moved what.

ALSO AMENDED, because Brett Heap has now RULED S8's premise
(`#656` comment 5656343213, 2026-09-13, by interactive
multi-choice — "the path constant moves, the file does not"): the two places
that narrate the slice now cite the ruling rather than leaving the premise an
open question, and record that boundary-note amendment #3 rewrites § 5's S8
row and § 1.2(d) to it, re-measuring 48 to 43.

WHAT ARRIVED FROM MAIN AND IS NOT THIS SLICE'S: `scripts/carved_reach.py`'s
`effective_arrival()` (#1023's round-3 fix) and the four `re_destined:` rows
it resolves. Slice S8 still carries ZERO `re_destined:` rows, which
`test_the_slice_carries_no_re_destination` asserts by naming S5's four as this
document's only uses of the field.

Verified at this merge:
  scripts/validate-carve-manifest.py -> OK, 456 rows, 160 moved_verbatim /
    158 moved_with_declared_edit / 138 not_moved, 318 digests recomputed,
    4 rows RE-DESTINED by ruling
  python3 -m pytest -q tests/carve_manifest tests/carve_arrival -> 276 passed
    (both legs initialized with `git submodule update --init --recursive
    openDox openXdox`, as .github/workflows/pytest-suite.yml does)

Refs #656 (stays OPEN).

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit to opensoft/openDox-code that referenced this pull request Sep 13, 2026
…odules leave, the registry mounts, requires acts, ViewBindingError surfaces (RULED Q1–Q12) (#20)

Lane: openxfactory-4-opendox-extraction

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5648073924.

**§ 3.4 slice S5, leg B — the shell loses the gate loop and reaches what it keeps
of it through the registry.** openDox-spec `docs/front-end-package-boundary.md`
§ 5 row S5 @ `7d12428c`: *"The four class-B files and all 13 route constants — now
all declared in class-B files — move behind a binding openXdox supplies; a student
install comes up with no gate bar, no dispose tray, no session verbs, and no 404."*
The contract is openXdox-spec `docs/gate-loop-view-contract.md` @ `d73767b7`, whose
§ 8 Q1–Q12 were RULED by Brett Heap on 2026-09-12 at opensoft/openXfactory#656 —
`5648044785` (Q5, Q1, Q3), `5648049748` (Q2, Q4, Q7, Q8), `5648065587` (Q9–Q12).

**Paired with opensoft/openXdox-code#18, which supplies what this removes. It landed
first, moments before this, as `c1ad341a930b69052b4c32f04ef3c762c033561c`** — the
shell stops shipping these six modules in the same act that the column starts
shipping them.

Six class-B modules leave (S4's `views/gate-lens.js` and `views/gate-projects.js`
among them — their own headers say "AT S5 THIS FILE LEAVES THE BUNDLE"), and what
the shell keeps of them it reaches through the registry: RULED Q1's generic mount
pass runs **per region, after that region's core render** and through the tab
router's `onRegionRendered` hook, because every `dom` region is a root its core
renderer CLEARS and a non-initial tab renders lazily; RULED Q2's `resolveView` hands
back a namespace BOUNDED by the declaration; RULED Q4's `requires` are probed as
dotted `/capabilities` paths and ACTED on; RULED Q8's `page-overlay` host is built by
the shell, because `index.html` is a `moved_verbatim` carve row that cannot grow an
element; RULED Q10's static `app.js:57` import is gone, `firstEditTransport` reached
off `gate.workbench.session` with a `refusalTransport()` — a refusal in the shape
`runSave` understands — when the column is absent; RULED Q11 catches `ViewBindingError`
separately ("The snapshot is fine — the assembly is not"); RULED Q12's concatenation
left with `dispose.js` and **no gate route literal survives anywhere in this bundle**.

**The line slice S3 built both ends of and deliberately did not write is written here:**
`serve.build_server()` now sets `capabilities["views"] = view_extension.view_manifest(…)`,
collected from the host's `VIEW_EXTENSIONS` facet against the routes THIS assembly
contributed. No new route and no second fetch.

**Both boundary assertions reach zero at the slice their own markers named, and both
markers are removed** (leaving either would be an XPASS that turns the check red):
assertion 2 — no file outside class B names another column's route — 18 at S1 → 20 at
S3 → 10 in scope after S4 → 6 once S6 landed → **0**, the last six being `app.js`'s
CORE-arm `gate.bar` / `gate.lens` / `gate.projects` entries, each a class-B binding's
`routes:` declaration sitting in a class-A file; assertion 3 — every relative import
resolves, no class-A/C file imports class B — 7 → 6 → 4 → **0**, each closed by the
module LEAVING. `views/lens.js`'s two openxFactory-lane sites remain assertion 2's
declared exception, untouched.

The student-install proof is four separately-measured facts, so a failure names which
one broke: no gate bar / tray / session verbs; the module graph resolves without them
(§ 1.2(b)'s blank-page failure mode closed); no 404, because no gate route literal
survives; and unoffered-not-undefined — `NO_DISPOSE_COLUMN`, `NO_CREATE_COLUMN`,
`NO_SESSION_COLUMN`, each answering `false` to its capability predicate.

**The annotation this leg was owed LANDED FIRST, as RULING Q-L1 requires:**
opensoft/openXfactory#1023 → `ee251d6c54b7e16728f2648c71faa90d6be76496`, carrying the
four RE-DESTINATIONS under the form RULED Q6, the declared edits on `serve.py`,
`web/app.js`, `views/wheel.js`, `views/staging-workbench.js` (moved_verbatim →
moved_with_declared_edit) and `test_bullseye_widget.py`, the `created:` admission for
`tests/test_gate_loop_contributed.py`, and the removal of the two admissions that went
STALE here when S4's created files moved to the other destination. Measured from that
landed main against this head: `verify-carve-arrival.py --destination opendox_code
--phase B` answers **OK — 119 rows arrived, 52 digests verified, 66 declared-edit rows
within their lines, 146 files with NONE undeclared, 0 rows re-destined HERE and 4
re-destined AWAY and VERIFIED VACATED (RULED Q6), 18 declared admissions used**
(plus the one pre-existing ad-hoc `tests/conftest.py`, openDox-code#19's declared depth
fix, which this slice did not create).

**The caveat this PR carried about riding in with unlanded content is RESOLVED.** The
S3 fail-closed follow-up (`requireRouteShape`) was merged into the old stack after #17
had been squashed; it has since landed on `main` on its own as #22 (`05bbde80`), and
`git show origin/main:src/opendox/web/views/view_extension.js | grep -c
requireRouteShape` answers 3. This branch merged that main in.

Copilot rounds 1–6, twenty-one threads, none unresolved. Round 2 took eight: a `requires`
probe reading INHERITED members (`requires: ["toString"]` met a requirement no payload
carries); a declared export checked present but not callable; the pass re-resolving by
`binding.id` when bindings are unique by SLOT; the pass running once before every core
mount; `VIEW_EXTENSIONS` truthiness read as presence, so a host declaring `()` looked
like a host that never grew the facet; `wheel.js` and `staging-workbench.js` holding
their columns in module-level `let`s, so two live renders shared one column; and two
arrived test files still reading modules that left. Round 3 took three more — the lazy
profile proxy refusing every dunder, so `host_profile` could only ever be `null`; the
per-region pass having no cancellation once it could start from a tab's first render
and await an import; and a late refusal having nowhere to be written, since `render()`
ends with `status.remove()` — and refuted two with executed evidence (`mountProjectGate`
does pass the outer snapshot in Q3's order; recursive `**` in `package_data` arrived in
setuptools 62.3.0 and this leg declares `setuptools>=68`, with a real `python -m build`
packaging 40 entries under `opendox/web/`).

**Round 4, found at this head and taken rather than deferred**, is the same defect
round 3 fixed one layer in: the six contributed resolves each await a dynamic import,
and EVERYTHING below them mounts — the declared namespaces are handed down,
`ensurePageOverlayHost()` builds RULED Q8's host, the dispose panel is mounted into it,
and every region's core render follows. A repository switch during one of those imports
aborts this render's scope, but the old render still resumed after the awaits and mounted
its stale snapshot into the page the newer render owns; `mountContributedViews`'s own
signal check guards the generic pass and cannot undo a shell mount that already happened.
The render that lost its scope now stops between the last resolve and the first mount, and
its ERROR path stops with it — `reportAssemblyFailure` is a closure of ONE render, handed
rejections by the per-region pass that can arrive minutes later, so a refusal from a render
the user has already switched away from would have been written over the live render's own
surface. The new test pins the guard's POSITION rather than its presence, since the ordering
is the whole finding, and the boundary census's `app.js` row moves 1584 → 1602 loc (class-A
total 16918 → 16936) with the reason in its note. The destination gate was re-run on the
fixed tree BEFORE the push and answers OK with identical figures: the guard falls inside
`web/app.js`'s already-declared edit lines, so no amendment to the landed annotation is owed.

**Round 5, likewise found and taken at the landing**, is this bundle's registry
contradicting its own contract. RULED Q1's generic pass read `const unmet =
capabilities === undefined ? null : unmetRequirement(...)`, so a caller that omitted
the payload skipped RULED Q4's gate entirely: a REQUIRED binding with an unmet
requirement was imported and MOUNTED — the one outcome the ruling says must refuse —
and an OPTIONAL one mounted where it owed an empty region and a named reason. Fifteen
lines into this file's own Q4 block stands the sentence it broke: "A MISSING PAYLOAD
IS AN UNMET REQUIREMENT, NOT AN ERROR … `undefined` at the end of the path is the
honest answer 'this plane does not offer it'." `undefined` for the whole payload says
that about every path at once, and it is the same fail-closed posture
`probeCapabilityPath` was rewritten into at round 2. `unmetRequirement` is now
evaluated unconditionally. Production behaviour is unchanged — `mountContributedInto`
has always passed `{ capabilities: probedCaps, regions, signal }` — so what closes is
the seam a later caller, a probe or a contributed column's own harness would have
found open. The new node-driven test was run against the OLD read and FAILS there, so
it pins the behaviour rather than restating it; `views/view_extension.js` is slice
S3's CREATED file, so no amendment is owed for it either.

**Round 6 is round 4's finding one and two awaits further down, and it was taken the
same way.** RULED Q1's generic mount pass is itself AWAITED twice at the top level of
`render()` — after `mountExplorer()` and after `mountStagingWorkbench()`, which is
where round 2 put it — and each await is a dynamic `import()` per contributed binding.
`mountContributedViews`'s own signal check (round 3) stops only ITS mounts; it cannot
stop the CALLER that resumes after it, and below those two lines the render keeps
writing to the page: the staging workbench overlay, the tab strip, the repository
selector, `initAbout`, the global search listener — and finally `status.remove()`,
which on a repository switch strips the NEWER render's `#loadstatus` while the stale
render's workbench and tab strip land on top of the new one's. `if (signal.aborted)
return;` now sits immediately after each. There is deliberately no fifth guard: the
third call of the same pass, the tab router's `onRegionRendered` hook, is not awaited
(it runs from a synchronous click handler, round 2), so its scope check is its
rejection path's — the guard round 4 put at the top of `reportAssemblyFailure`. Four
sites is the whole census, and the tests now say so: the new test pins each stop
BETWEEN its own pass and the next thing this render writes and both above
`status.remove()`, while round 4's test pins the census at four rather than two and
names each one; both were run against the OLD read and FAIL there. The boundary
census's `app.js` row moves 1602 → 1618 loc (class-A total 16945 → 16961) with the
reason in its note, and the destination gate re-run on the fixed tree before the push
answers OK with identical figures — both guards fall inside `web/app.js`'s
already-declared edit lines, so again no amendment to the landed annotation is owed.

**Round 7 (`5c6f762`) posted ZERO new comments** — 22/22 files reviewed, 21 threads, none unresolved, `validate` green — and its check completed success. Its verdict line reads "Needs a closer look" on the strength of three SUPPRESSED comments, which Copilot declines to post as threads and which have been a standing class in every round of this review (3-7 per round since `fd7160d`). They are REGISTERED here rather than silently passed over, and none is a regression of the round-6 fix: (a) `view_extension.py:657` — the `_NO_FACET` sentinel comment says `VIEW_EXTENSIONS = None` is a MALFORMED declaration while `host_view_facet()` returns `("absent", ())` for it and its own docstring says a profile "is entitled to spell 'I contribute no views' as `None`"; READ AND CONFIRMED ACCURATE — a comment/implementation contradiction, no behaviour defect, and a one-line comment fix owed as a later declared act. (b) `app.js:1092` — a binding whose manifest names an entry but omits a second export (`isGateBearing`) passes the resolve and is reached later from the async `renderViewer` path, outside `render()`'s `try`, so the proxy's `ViewBindingError` would become an unhandled rejection instead of reaching RULED Q11's surface. (c) `views/view_extension.js:692` — the Q2 namespace proxy's `then` pass-through lets an undeclared `then` export cross the boundary. (b) and (c) are RAISED AND NOT YET ADJUDICATED: each is a fail-closed question about the registry seam rather than about what this slice moved, and each is registered on openxFactory#656 for a later declared act rather than taken at the landing.

Register, carried forward: RULED Q7's contributed CSS is NOT realized and not skipped —
`styles.css` is a `moved_verbatim` row and "a stylesheet block leaves for another leg"
is in none of RULING OQ-1's three classes (measured: 51 classes exclusive to the six
modules, 24 shared). The two intent-feed suites (`test_intent_tray_dom.py`,
`test_wheel_verbs_dom.py`) copy `views/intent-feed.js`, RULED `not_moved` under OQ-F, so
both have failed since the CARVE COMMIT and removing `views/dispose.js` from their copy
lists would not make either run — they are slice S8's, and `.github/workflows/validate.yml`
records that by name. RULED Q4 produces one named behaviour change: now that the shell
ACTS on `requires`, `gate.bar`, `gate.workbench.create`, `gate.workbench.session` and
`gate.dispose` declare NO requirement, because requiring `actions.gate` would delete the
read-only gate surface — and, for `gate.dispose`, the refusal tray — on every HOSTED
plane. Five node probes moved with their modules to openXdox-code#18 rather than being
deleted.

Landing authority: **Brett Heap's word, 2026-09-13 — "merge #1023, #18 and #20 when
green"** (relayed by the orchestrator, session openXfactory-4).

Gate evidence: destination gate above, re-run from openxFactory main `ee251d6c` against
this head (whose carve manifest, admissions and verifier are byte-identical to
openxFactory `origin/main` `04340d77`); `validate` SUCCESS at `5c6f762` (run 34787811773, check run 103806385253), the one
required check in this repository's ruleset; 21 review threads / 0 unresolved; Copilot
re-reviewed at every head after `gh pr ready` and after each of the round-4, round-5
and round-6 fixes; Sourcery review skipped (budget) = advisory; SonarCloud success and
advisory either way. The narrowed `validate` list was also run locally exactly as CI
runs it (`--noconftest`): 253 passed, 1 xfailed, 0 failed.
brettheap added a commit that referenced this pull request Sep 14, 2026
…ee S7 admissions

Two findings, both accurate and both in this PR's declared scope.

* `docs/opendox-cutover-runbook.md` — the § 2 provenance paragraph still opened
  "Measured directly against the landed manifest, 2026-09-12 ... the totals as
  of the § 3.4 SLICE-S3 row annotation", and enumerated S2, S6 and S4 but
  neither S5 nor S7. This PR moves the figures that paragraph describes, so it
  left the runbook internally contradictory about which annotation `2366 / 176`
  belongs to. Rewritten as a CURRENT-TO-S7 statement — the totals are dated to
  THIS act (RULED Q1/Q2/Q7, `#656` comment `5648049748`; S7 CLAIM `5649148461`)
  and the chain is completed with the § 3.4 SLICE S5 annotation
  (`#656` comment `5648044785`, PR #1023 @ `ee251d6c`, +162 lines and the one
  `views/staging-workbench.js` conversion) and this act's own +782 lines over 33
  rows with 17 conversions. The list is now closed by construction: S3 and every
  annotation after it is named, so the paragraph dates the figures to the LAST
  act rather than to the first, and the next act amends a list that is complete
  instead of one that was already two acts stale.

* `tests/carve_arrival/test_verify_carve_arrival.py` — the three S7 admissions
  (`src/opendox/display_profile.py`, `src/opendox/web/views/display.js`,
  `tests/test_display_facet.py`) were the FIRST bump to arrive carrying only the
  generic shape/sort/40-hex checks. Every earlier bump has an exact path +
  `since` pin, and without one the governed claim can drift silently: swapping
  an entry for another well-formed one, or dropping one while adding a
  different valid one, passed every local test. Pinned now, in the SIXTH-BUMP
  block, each `since` re-derived with `git log --diff-filter=A` at
  opensoft/openDox-code `build/s7-parameterize-class-c` rather than
  transcribed — `80b1f3bc` for both DISPLAY halves, `372a04da` for the suite —
  plus one assertion that the two halves still declare the SAME `since`,
  because they were introduced by one commit and neither means anything without
  the other.

BOTH DRIFTS PROVED REFUSED before the pin was trusted: mutating `display.js`'s
`since` to the suite's (a well-formed 40-hex, exactly Copilot's first case)
fails with the introducing-commit message; deleting the `test_display_facet.py`
entry (the second case) fails with the no-longer-declared message; restored,
the test passes.

Re-verified at this head, nothing transcribed: `validate-carve-manifest.py` OK,
456 rows, 143 / 175 / 138, 4 re-destined. `verify-carve-arrival.py --phase B`
against openDox-code #21's NEW head `c7a216c` OK — 119 arrived, 35 digests, 84
declared-edit rows within their lines, 149 files none undeclared, 21 admissions
used, 4 vacated. The independent opcode walk finds 0 undeclared lines. Totals
2366 / 176, classes 722 / 206 / 1438, `opendox_code` 123 = 35/88 | 1656.
`pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance
tests/opendox_pin tests/openxdox_pin` — 411 passed.

Lane: openxfactory-4
Refs #656

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 15, 2026
…seventeen conversions, 782 declared lines (#1030)

Lane: openxfactory-4

Refs #656 (stays OPEN). RULED Q1/Q2/Q7 at #656 comment 5648049748, alongside 5648044785 and
5648065587 with the counterpart-Q6 correction at 5649094228 — Brett Heap, 2026-09-12, by
interactive multi-choice. CLAIM: #656 comment 5649148461.

The openxFactory half RULING Q-L1 requires of § 3.4 slice S7 — the row annotation that lands
BEFORE its one leg PR (opensoft/openDox-code#21, `build/s7-parameterize-class-c`). S7 is a
ONE-LEG act: the files that render a word ARE the served bundle, and the served bundle arrives at
openDox-code, so unlike S5 there is no openXdox-code half. Cut off `main` at #1023 (S5,
`ee251d6c`) and merged forward three times since, last to `8944758c`, each merge clean.

THE LARGEST DECLARED-EDIT WINDOW ANY ACT HAS OPENED ON THIS FILE: 48 entries, 782 lines, 33 rows,
every one of them `opendox_code`, and SEVENTEEN of the 33 convert moved_verbatim →
moved_with_declared_edit. "Parameterize class C" edits every file in the served bundle because
every one of them rendered a word. Every line number is a CARVE-COMMIT line (`b075fd91…`,
`opendox-carve-0`), re-derived at the leg's final head by the arrival verifier's own opcode walk
over the carve blobs and never transcribed; every class is one of RULING OQ-1's three —
`import rewrites` 14, `path constants` 4, `adapter calls` 764.

THREE ADMISSIONS, each `since` its file's OWN introducing commit (`git log --diff-filter=A`) and
not the leg branch's tip: `src/opendox/display_profile.py` and `src/opendox/web/views/display.js`
at `80b1f3bc` — the DISPLAY facet's server and client halves, introduced by ONE commit because
neither means anything without the other — and `tests/test_display_facet.py` at `372a04da`, the
suite that holds the two against each other.

The aggregate pair is re-derived by SUMMING the applied manifest, never carried forward: declared
edit LINES 1584 → 2366 over 159 → 176 rows carrying `edits:`; moved_verbatim 160 → 143,
moved_with_declared_edit 158 → 175, not_moved 138 unchanged; `import rewrites` 708 → 722,
`path constants` 202 → 206, `adapter calls` 674 → 1438. The documents that carry those totals as
ABSOLUTES move in the same commit.

THREE GAPS THE WIP HAD LEFT OPEN, closed here rather than after landing:
* THE WINDOW HAD NO ASSERTION. `S7_WINDOW`/`S7_CONVERTED` were declared and the amendment test's
  comment pointed at a test "below" that did not exist. Written: disposition, destination and
  LAST entries of all 33 rows, the 17 conversions asserted to carry S7's entries and no others,
  the window totals summed, and the four arrived suites named.
* THE RUNBOOK § 2 PER-DESTINATION TABLE WAS STALE IN TWO CELLS, not one. The table was last
  current at `880c821c`; slice S5 moved BOTH `opendox_code` (53/70|727 → 52/71|874) and
  `openxdox_code` (9/83|659 → 9/83|674) and moved neither cell. S7 moves `opendox_code` again to
  35/88|1656 and corrects `openxdox_code` to 674 in the same act, because the correction IS the
  measurement. `test_the_runbook_per_destination_table_is_the_manifests_own_sum` now re-derives
  every numeric cell from the manifest's own rows, and the one-replica-line invariant with them.
* THE MANIFEST HEADER CARRIED NO S7 MOVEMENT-LOG PARAGRAPH, where S3/S6/S4 each append one.
  Appended in the established form.

Verified at this head against a PRISTINE checkout of the leg's final head (openDox-code#21
@ `c7a216c`), nothing transcribed: `validate-carve-manifest.py` OK — 456 rows at `b075fd91`,
143/175/138, 318 digests, 456 files none undeclared, 4 RE-DESTINED. `verify-carve-arrival.py
--destination opendox_code --phase B` OK — 119 rows arrived, 35 digests verified, 84
declared-edit rows within their lines, 149 files with NONE undeclared, 4 re-destined AWAY and
VERIFIED VACATED, 21 declared admissions used and 0 unused. An INDEPENDENT re-implementation of
the verifier's opcode walk finds 0 undeclared lines at the leg; run against the leg's PREVIOUS
head it answers 32 rows / 714 lines, the payload measured there, which cross-validates both
derivations. `pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance
tests/opendox_pin tests/openxdox_pin` → 414 passed.

Copilot reviewed this branch at every head it was pushed to. ALL SEVEN THREADS and every
suppressed body comment are fixed — none answered away — and each fix was PROVED against the
defect it refuses before it was trusted:
* the § 2 provenance paragraph still dated the totals to the S3 annotation and named S2/S6/S4 but
  neither S5 nor S7 — rewritten CURRENT-TO-S7, the enumeration completed, and it now states that
  the list is closed so the next act amends a current list rather than one two acts stale;
* the three S7 admissions were the FIRST bump to land with no exact path+`since` pin — pinned in
  a SIXTH-BUMP block, plus one assertion that the two DISPLAY halves still share one `since`
  (proved: swapping a valid 40-hex, and dropping an entry, each now fail);
* THE RUNBOOK-TABLE PARSER DECIDED WHAT THE CHECK COVERED, five ways over five rounds, and every
  one of them is a FAILURE now instead of a way past the check: a table naming a destination TWICE
  kept only the last row while every numeric sum read the survivor (proved with the stale
  `880c821c` row inserted above the current one); a block whose extent was a heuristic, so an
  interior blank line — and then a row that had LOST ITS LEADING `|` — moved the boundary above a
  row nothing then read (the block is bounded by § 2's own two sentences now); a line `match()`
  skipped rather than `fullmatch`ed; a key grammar NARROWER than the validator's own
  `^[a-z][a-z0-9_]*$`, which would have refused a destination the manifest accepts; and the one
  PROSE cell — `opendox_root`'s empty-root marker — read by its FIRST WORD, so `none — stale`
  claimed the empty walk and passed every numeric check (pinned whole now, proved);
* A MISSING DOCUMENT WAS A BRANCH RATHER THAN A FAILURE, in both carve suites. The runbook's
  absence made the § 2 invariant vacuous exactly when § 2 disappeared; and `if not
  manifest.is_file(): assert True; return` — where `assert True` REPORTS A PASS, the same green bar
  these modules refuse a `pytest.skip` for — turned FIVE pins on the landed manifest into no-ops in
  `tests/carve_manifest/` and four more in `tests/carve_arrival/`, where a fifth asserted the
  verifier's APOLOGY ("the manifest could not be read") instead of its answer. Both suites read the
  document through `the_landed_manifest()` now, where absence is a named failure; the two real
  seats keep their branches because the absence is their subject — the validator's `NO MANIFEST`
  line and the verifier's `NO DESTINATION` line, each asserted rather than skipped. Proved with the
  manifest moved aside: five green passes become five failures in each module;
* A COUNT OF A COLLAPSED OR REPEATING COLLECTION IS NOT A COUNT OF WHAT WAS DECLARED, three times
  over: `len(S7_CONVERTED) == 17` plus a subset check is true of a list where one conversion is
  OMITTED and another path appears TWICE (seventeen DISTINCT paths are now required — proved by
  dropping `views/wheel-model.js` and duplicating `views/model.js`); `len(S7_WINDOW) == 33` counted
  the SURVIVORS of a dict literal's collapse, the duplicate being invisible to every other
  assertion (the 33 keys are read off the literal's own source with `ast` now — all distinct, and
  the same set the imported table carries); and a line declared TWICE inside one row kept the 782
  and the 2366 intact while one really edited line went undeclared, to be refused at the
  DESTINATION an act later (both figures now require a row's declared lines to be distinct — proved
  with `test_doc_surfaces.py`'s last S7 line replaced by a duplicate of its first, in the manifest
  and the table alike).
* THE § 5.5 WORKED EXAMPLE TOLD AN OPERATOR TO EXPECT A RUN THIS MANIFEST CANNOT PRODUCE. Its two
  `# expect exit 0:` comments were written when the runbook landed (`a970fd9d`) and never touched
  again: phase A still expected `123 row(s) arrived` after RULED Q6 re-destined four of
  `opendox_code`'s rows AWAY — this act's own § 2 paragraph says 119 — and phase B expected
  `62 edited row(s), declared-lines-only`, a phrase NEITHER SCRIPT CONTAINS, so no run could be
  compared with it at all. Both are re-measured and pinned the way § 2's table is, one section
  down: `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces` takes every number
  from the landed manifest through `rows_for()` — the EFFECTIVE arrival, which is what a run
  places — and COMPOSES the words with the verifier's own `_print_ok`, the runbook's `…` elisions
  and its one `<origin/main>` placeholder its only wildcards. The note beneath the example rested
  on a premise false since BUILD slice 2 — that `opendox_code`'s admissions block "is
  `created: []`", which THIS act adds three more entries to — restated as what actually keeps its
  ad-hoc `--allow-created` flags correct (neither `pytest.ini` nor `conftest.py` is among the paths
  declared) and read against the landed admissions file, so the note's own predicted expiry is a
  failing test rather than a sentence nobody re-reads. Proved six ways, one change at a time: the
  pre-round-10 runbook, the declared-edit figure, the old wording, a `--replica-at` dropped with
  the `3 of 3` line left alone, a comment moved above the command's own lines, and `pytest.ini`
  declared in the admissions file.
* § 2's OWN TOTALS WERE TRANSCRIPTIONS, AND THE WORKED EXAMPLE HAD STOPPED RUNNING AT THE LEG IT
  IS WRITTEN FOR (five suppressed comments in one review, no threads). § 2's paragraph says its
  figures "are the same measurement `validate-carve-manifest.py` prints and
  `test_carve_manifest.py` pins" — and that test never opens the runbook: it pins the MANIFEST's
  `(2366, 176)` and its 20 replica rows, a claim about the file and not about the sentence that
  transcribes it. So `143 / 175 / 138`, the `20`, `722 / 206 / 1438`, `318` and `176` were
  transcriptions nothing compared with what they transcribe — the per-destination table's defect
  one paragraph up. Both blocks are read now, bounded by § 2's own two sentences and split into
  exactly two paragraphs, and every cell is re-derived: the dispositions against the VALIDATOR's
  closed vocabulary verbatim and in order, the class list against the manifest's own
  `edit_classes:`, and the sentence's own arithmetic (176 carriers = 175 edited rows + the one
  replica that declares a line). THE PHASE-B EXAMPLE'S MISSING Q-L7 REPLICA was not under-checking
  but a REFUSAL: § 5.5's exemption ("leg 1 … takes the depth fix in a later declared act") EXPIRED
  when openDox-code took it at `3954d78` (#19, 2026-09-12), so the copy's bytes are no blob at the
  carve commit and an undeclared copy is `arrival-undeclared-file` — run both ways against
  `c7a216c7` to prove it. The flag is in the example, `84` → `85` and `3 of 3` → `4 of 4` move
  with it, and the test derives the phase-B figure from the example's OWN command line (this leg's
  edited rows plus one per line-declaring flag) and requires every line-declaring replica row to be
  declared there. Phase A takes no such flag and the runbook now says why, measured in the leg's
  own history: the copies are absent at commit A (`8e8983d`) and first appear at commit B
  (`749c926`). And the module docstring's "THE FIVE TESTS" — six by then, seven now — is COUNTED
  from the call sites with `ast` rather than maintained by hand. Proved ten ways, one change at a
  time.

OWED AND REGISTERED, not absorbed: RULED Q7's CSS EXTRACTION stays open exactly where #1023 left
it — this act renames the four `--st-*` tokens by role IN PLACE and moves no stylesheet block —
and `views/viewer.js:262`'s `doc.stage` pill is a boundary-note amendment, not a declared edit.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 15, 2026
…thirteen rows, one admission, and the resolved-identity reading of to != from (#1025)

Lane: openxfactory-4

Refs #656 (stays OPEN). RULED Q-L1 binds every § 3.4 slice (#656 comment 5642758731); the FORM is the
Q-L1 form ruled at 5628560136. RULED 2026-09-13 at #656 comment 5656343213 (Brett Heap, by interactive
multi-choice), both rulings this slice stands on. CLAIM: #656 comment 5649985838.

The openxFactory half RULING Q-L1 requires of § 3.4 slice S8 — the row annotation that lands BEFORE its
two leg PRs (opensoft/openXdox-code#19, the shed half; opensoft/openDox-code#23, the receive half).
Stacked behind #1023 (slice S5's annotation) and the S7 annotation, both merged in here.

NO RE-DESTINATION, AND THAT IS A MEASUREMENT. The slice is "re-home the 48 test files and un-narrow
validate", and § 6 Q6 built the re_destined: form directly for it. An ast walk of every module-level
Import/ImportFrom in the 23 mis-pointed files at openxdox_code says the inference holds for NONE of
them: every one imports a real openxdox module, and RULED OQ-G's TEST HOMES rule places a mixed file
there for exactly that reason. RULED at 5656343213 — "the path constant moves, the file does not":
S8 re-points 44 of the 46 ROOT SPELLINGS across 31 files through the PIN, re-homes 0 files, and this
annotation carries 0 re_destined: rows. Two of the 46 are correct as they stand and are named rather than
skipped — tests/test_gate_console.py:58 (S5 leg A places gate.js at that leg) and
tests/tools/playwright-smoke.py:282 (a tool, outside validate's list) — re-derived at landing against
c1ad341a and 080dcfcd, reproducing openDox-spec#11's second-instrument table exactly; #19's body records
the correction and the two figures it does NOT restate. § 5's S8 row and § 1.2(d)'s
inference do not stand as written; boundary-note amendment #3 rewrites them and re-measures 48 → 43, and
this PR owes it the measurement, which its § 1 table carries.

FOURTEEN DECLARED ENTRIES OVER THIRTEEN ROWS, FORTY LINES, every one class path constants — 11 at
opendox_code and 29 at openxdox_code; tests/ideation-dashboard/test_doxbench_mutation_boundary.py is the row
carrying two, because the second corrects the first. No disposition converts, no row becomes a carrier, no
referent digest moves, and S8's own re_destined count is 0. The aggregate moves as a DELTA ON SLICE S7, the act
this branch landed on: 2366 + 40 = 2406 declared edit lines over 176 rows — import rewrites
722, path constants 206 -> 246, adapter calls 1438 — re-derived by
test_the_real_manifest_carries_the_ruled_q_l7_amendment, which SUMS the merged document instead of quoting
either act. Each act states a delta and no act restates an absolute; that one test is where the absolutes live,
which is why this merge could not transcribe a figure from either side.

TWO SEMANTIC COLLISIONS WITH SLICE S7 THAT GIT REPORTS AS CLEAN, found by rehearsing the merge rather than by
discovering it live. (a) S7's new window pin read its thirty-three-row run as each row's TAIL; S8 annotates
THREE of those rows (test_bullseye_widget.py, test_doxbench_view.py, test_outline_model.py), so S8's entry
displaces S7's run by one and the tail read fails on a manifest in which nothing is wrong. Amended here as a
declared amendment: the run is pinned WHERE IT LIES and required to occur EXACTLY ONCE, which keeps every claim
the tail made and drops only "is last" - a property belonging to whichever slice annotated a row most recently
and to no slice permanently. (b) both acts wrote "AMENDED A SIXTH TIME" into the arrival tool's admissions
docstring; in landing order S7 is the sixth and S8 the SEVENTH, so both are kept and ours is re-numbered.

ONE ADMISSION. openxdox_code gains tests/opendox_bundle.py — a CREATED file (RULED OQ-C), resolving
Path(opendox.__file__).parent / "web", the resolution slice S5 already landed at that leg in
tests/test_gate_loop_probes.py::_opendox_bundle, building RULED Q5's COMPOSED root for the four suites
that assert across the seam.

THE RESOLVED-IDENTITY READING OF to != from, the follow-up registered at #1011's landing, discharged
here. to and from are compared on their resolved (repository, leg) bodies rather than as KEYS, in both
tools, held equal across them by test_both_tools_resolve_a_destination_key_identically. A destinations:
key is a LABEL, never a referent — check_shape deliberately admits two keys sharing one {repository, leg}
body — so an ALIAS PAIR passed the one check that is supposed to guarantee a re-destination MOVES the
file, and produced a document unsatisfiable at the destination. Seven new tests, both sides of the
discriminator. Three Copilot rounds each found one more reader comparing KEYS where the rest of the tool
compares resolved bodies: also_replicated_to, the governed admissions selection, and carved_reach.source()
(fixed on main by #1023 and merged here).

RESIDUE REGISTERED, NOT DISCHARGED: (1) the retired: row form — the carve floor cannot say an ARRIVED
row's file is withdrawn at its leg; RULED the NEXT carve-floor act. (2) the retirement of the three
intent-feed suites (openDox-code tests/test_intent_tray_dom.py and tests/test_wheel_verbs_dom.py;
openXdox-code tests/test_staging_workbench.py's ending replay) as a declared act citing OQ-F — it cannot
be written until (1) exists. (3) boundary-note amendment #3 at openDox-spec. (4) carved_reach
shed_relpath() and shed_commit_object(), which still read raw destination/destination_path; measured
unreached by any live row.

EVIDENCE, RE-DERIVED AT a94e20f AND NOT TRANSCRIBED: pair (2406, 176); import rewrites 722
+ path constants 246 + adapter calls 1438 = 2406; dispositions 143 / 175 / 138 over 456
rows; 318 moved; 20 replicas; 4 re_destined, all slice S5's; runbook per-destination 1667 / 26 / 703 / 9
summing to 2405 plus the one replica line naming no destination = 2406. scripts/validate-carve-manifest.py OK;
pytest -q tests/carve_manifest tests/carve_arrival -> 281 passed.

Plain gate: pytest-suite run 35035839896 SUCCESS at a94e20f, with clearing-dispatch-gate, lane-line,
merge-master-approval, openreposhape-pin, openspec-cli-pin, wallet-validation, release-tag-gate and
signed-execution-chain-gate all SUCCESS (SonarCloud advisory); 7 threads / 0 unresolved. Rule 6 does not
apply: this PR's file list is nine files, none under openspec/changes/, and its only README hunk is the
doc-index line for the cutover runbook, not the OpenSpec Records block.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
… 48 declared lines, and the fourth row the replica reading hid (#1031)

Lane: openxfactory-4

Refs #656 (stays OPEN). CLAIM: #656 comment 5656688910. RULED Q-L1 binds every § 3.4 slice to a row
annotation that lands first (#656 comment 5642758731); this act is the OTHER half of that rule — the
edits that landed BEFORE it existed and that no slice ever owned.

openXdox-code #14 (`3840c167`, § 4.4 RULING C2, 2026-09-11 20:41Z) and #16 (`17384c07`, the
DRAFT_STATUS/STAGED_STATUS late resolution, 2026-09-12 00:21Z) both landed before the § 3.4 clause,
and openxFactory #1023 (slice S5's annotation) § 5 LISTED the refusals they leave and deliberately did
not absorb them — "this PR does not invent declared-edit notes for work this lane did not do". This is
that declaration, and the refusal is measured, not recalled: at `main` in a throwaway worktree,
`verify-carve-arrival.py --destination openxdox_code` answers
`arrival-undeclared-edit — src/openxdox/gate_console.py` over the same 26 lines, byte for byte.

FOUR ROWS, FORTY-EIGHT LINES, AND THE FOURTH IS THE ONE THE REPLICA READING HID. Three moved rows take
26, 17 and 4 lines, named by the source paths their rows are keyed on —
`scripts/ideation_dashboard/gate_console.py` 8 -> 34 (it arrives at `src/openxdox/gate_console.py`),
`scripts/ideation_dashboard/generator.py` 4 -> 21, `tests/ideation-dashboard/test_generator.py` 4 -> 8 —
and the forty-eighth line is `:271` on
the `tests/ideation-dashboard/conftest.py` REPLICA row, openXdox-code#14's 27-line § 4.4 pytest
fixture. A replica row names no destination and carries `edits:` as a PERMISSION at every replica and
an OBLIGATION at none, which is why a reading that counts only destinations could not see it:
openXdox-code takes `:271`, openDox-code does not, and openDox-code's arrival run answers OK all the
same. By class the act is +44 `adapter calls`, +4 `import rewrites`, +0 `path constants`; no
disposition converts, no row becomes a carrier, no referent digest moves, and no row is re-destined.

THE READING IS THE LANDED DOCUMENT'S OWN, MEASURED RATHER THAN ASSERTED. 26/17/4 is the
BOTH-neighbours convention: an inserted block declares the line above it and the line below. Measured
at THIS head against openXdox-code `0a0265f7` and openDox-code `0b4e8bbf`: `both_free` 51,
`both_forced` 0, `min_only` 51, `undeclared` 0, and five single-neighbour blocks, all five declared.
The same measurement over `main`'s manifest and the same two trees reads 45 / 0 / 51 / 6, with one of
the five single-neighbour blocks undeclared — and those seven undeclared blocks are exactly this act's
three moved rows. `both_forced` — a second neighbour forced by a neighbouring `replace`/`delete` range
rather than chosen — is ZERO at both, so the convention is exercised and not an artifact of the diff.
The minimal reading (25/14/2) would pass the same arrival run and read (2448, 176).

THE AGGREGATE IS A DELTA ON TWO ACTS THAT LANDED WHILE THIS ONE WAS AT THE GATE. `main` `cb2d3a2c` —
the § 3.4 slice-S7 annotation and slice S8's `e5896455` both in it — reads (2406, 176); this act reads
(2454, 176): `import rewrites` 726, `path constants` 246, `adapter calls` 1482, the 176 carriers
unmoved because all four rows already carried `edits:`. Re-derived from the merged document by
`test_the_real_manifest_carries_the_ruled_q_l7_amendment`, which SUMS rather than quotes, and carried
across from neither side.

THE PER-DESTINATION CELL MOVES, AND THAT IS A CHANGE OF KIND. When this act was written, the runbook's
§ 2 table was stale and the act REGISTERED it as stale, reserving the redistribution for "one later
act" because slices S7 and S8 were in flight over the same cells. Slice S7 IS that act — it re-derived
every cell and pinned all five columns with
`test_the_runbook_per_destination_table_is_the_manifests_own_sum` — so the registration is retired and
this act MOVES the cell it owes: `openxdox_code` 703 -> 750, 47 of its 48 lines falling on three rows
that leg already edits. The four destination cells sum to 2452; the replica row's two lines, which name
no destination, make 2454.

ONE MERGE, SIX CONFLICTED FILES AND FOURTEEN BLOCKS, RESOLVED BY NAME. `main` `cb2d3a2c` merged at
`6c0ba63c` — the single merge this branch reserved for landing. Replayed in a throwaway worktree at
landing to count it rather than recall it: `README.md` 1 block, `docs/opendox-cutover-runbook.md` 8,
`scripts/carve_lines.py` 1, `scripts/validate-carve-manifest.py` 1, `scripts/verify-carve-arrival.py` 1,
`tests/carve_manifest/test_carve_manifest.py` 2. Every conflicted file is a site that mirrors the
document's TOTAL. Three helpers do the resolutions and each REFUSES rather than guesses: a
number-only resolver that PROVES the two sides are the same text but for the number, a per-block
resolver for the manifest suite, and a named-block resolver for the runbook's eight. Two test pins the
merged document outgrew were re-derived rather than relaxed (a hard-coded `total - 1` that assumed ONE
replica line, and an assertion pinning the per-destination cell's old wording), and a SILENT auto-merge
defect — § 2's lead sentence merging to OURS with no marker, leaving a "the cells are STALE" paragraph
directly above S7's paragraph asserting the opposite — was caught by reading and repaired.

THIRTEEN COPILOT ROUNDS, and the last three repair the FLOOR'S OWN PROSE rather than this act's rows.
Round 11: § 2 asserted that an applied line's text "is the same at every replica of this row" while
§ 5.5 and `test_two_legs_may_apply_one_replicas_line_differently` record that two legs which applied
one declared line differently would BOTH pass — restated as the placing leg's claim, with the shared
depth kept as the reason it holds here; and § 2 introduced the per-destination table as "the numbers
each leg's arrival run must report", which is false of the two legs RULED Q6 touches, so the sentence
now names its basis and the marker literal the summing test bounds that block by moved in the same
commit. Round 12: the round-11 repair itself named a figure NO RUN PRINTS. Round 13: the surviving
half of the same sentence had the same shape — "four fewer declared-edit rows (84)" reads as the
verifier's output, while § 5.5's own phase-B example for that leg states `85 declared-edit row(s)
within their lines, 0 unapplied` and a live run at `0b4e8bbf` prints 84 because one declared edit is
not yet applied. There are THREE bases: this table's column (88 / 83), the EFFECTIVE count after Q6
(84 / 87), and the verifier's printed `declared_edits_diffed`, which drops the `unapplied` rows and
adds a declared replica whose row declares lines. The paragraph now compares ARRIVED rows — 119
against 123, 96 against 92 — names the effective counts as effective, and leaves the printed counter
to § 5.5. Copilot's round at `76fdebbf` and this lane's own re-run of both arrival verifications
reached the round-12 finding independently, within minutes of each other.

RESIDUE REGISTERED, NOT DISCHARGED: the re-destination paragraph's comparisons — 119 and 96 arrived,
84 and 87 effective — are transcribed prose that nothing reads, while the table above it is pinned cell
by cell by `test_the_runbook_per_destination_table_is_the_manifests_own_sum` and § 5.5's example
figures by `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces`. That paragraph is
the one place in § 2 where these numbers are typed rather than summed, and pinning it is a carve-floor
act's work, not an annotation's.

EVIDENCE, RE-DERIVED AT `46c6dbdf` AND NOT TRANSCRIBED: `scripts/validate-carve-manifest.py` OK over
456 rows (143 moved_verbatim, 175 moved_with_declared_edit, 138 not_moved; 318 digests recomputed; 4
rows RE-DESTINED). Arrival at `openxdox_code` against openXdox-code `0a0265f7` — 96 rows arrived, 9
digests verified, 85 declared-edit rows within their lines, 4 unapplied, 2 of 2 declared replicas, 124
files with none undeclared, 23 declared admissions used and none stale. Arrival at `opendox_code`
against openDox-code `0b4e8bbf` — 119 arrived, 35 digests, 84 within their lines, 1 unapplied, 1 of 1
replica, 4 rows re-destined away and verified vacated. Five suites — `tests/carve_manifest`,
`tests/carve_arrival`, `tests/carve_conformance`, `tests/opendox_pin`, `tests/openxdox_pin` — 424
passed. Pair (2454, 176). `audit-declared-lines.py` is BYTE-IDENTICAL to the run at `6c0ba63c`: the
three prose rounds after the merge moved no declared set.

Gate: pytest-suite run 35100738192 SUCCESS at `46c6dbdf`, with clearing-dispatch-gate, former-id-arrival-gate,
lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, release-tag-gate,
signed-execution-chain-gate and wallet-validation all SUCCESS (SonarCloud advisory SUCCESS, Sourcery
SKIPPED on budget); 6 threads / 0 unresolved; merged with --admin because openxFactory's ruleset asks
one approval nobody in this lane can give (precedent #1011, #1020, #1021, #1023, #1025). Rule 6 does not
apply: eight files, none under openspec/changes/, and the one README hunk is the doc-index line for the
cutover runbook, not the OpenSpec Records block.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 16, 2026
…where, and slice S5 made that false

FOUND BY SWEEPING FOR THIS ACT'S OWN DEFECT AND FINDING THE SAME ONE A
GRAMMAR EARLIER. `tests/carve_manifest/test_carve_manifest.py`'s RULED Q6
section header 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 § 3.4 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 the same reason one grammar later: name
the state the form LANDED in and the state the document is in now, so the
sentence cannot rot again on the next first use.

WHY THIS ONE AND NOT THE FIVE `(DRAFT PR ...)` MARKERS, which this act also
found and deliberately left: those are other acts' RECORDS in a governed
document, and rewriting one in passing under a retirement's claim is the
undeclared edit this floor exists to refuse. This is a section header in a test
module whose docstring this act already amends, it is FALSE rather than merely
dated, and it costs one comment.

Green: `tests/carve_manifest` passes.

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

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…c, amend the packet figure, and account for 4.1's residue (#1035)

Amendment #3 of `split-opendox-two-layer-product`'s `tasks.md` — the third in
the series (#991 → `1f068646`, #1005 → `a72f0a76`). Claim:
`#656` comment `5656686020`.

TWO BOXES, and no other line of the file is touched.

**§ 3.4 — INVENT the front-end package boundary — is TICKED**, judged met at
this amendment's own landing rather than at its authoring: the boundary was
INVENTED as `openDox-spec` `docs/front-end-package-boundary.md` (landed `#8` →
`a44ac06d`, amended `#9` → `61866d29`, `#10` → `7d12428c`, and `#11` →
`54e910735b97b326d05250100104b3af07d3f5ae`, this arc's last act, merged 2026-09-16T13:24:51Z) and REALIZED in an
eight-slice arc, every leg pull request paired under RULED Q-L1 with the
openxFactory row annotation that lands FIRST — only S1 has none, correctly,
because it creates files and edits no carved row. The slice table carries all
three pull requests and merge shas per slice, **ALL EIGHT rows now final**:
S7 and S8 were placeholders when this amendment was authored and each was
filled IN PLACE at its own landing — S7 (`#1030` → `b3a75537`, `#21` →
`1e469713`, the SIXTH holding, by 71 seconds) and S8 (`#1025` →
`e5896455`, `#19` → `0a0265f7`, `#23` → `0b4e8bbf`, the SEVENTH and last — one per
ANNOTATED slice, S1 alone exempt; ten by annotation→leg pairing, all ordered
right, the two ordinals corrected at openDox-spec #11's fix round 18). Named
with the arc, each its own claim and none a condition of the box: RULED Q6's
`re_destined:` row form (`#1011` → `880c821c`), the `retired:` row form with
the retirement of the three intent-feed suites under it, and the pin lockstep
that carries the landings into the aggregation (`#1054` → `3c614d34`).

**THE PACKET FIGURE IS AMENDED HERE**, where the boundary note defers it —
*"a packet figure is amended in the packet"*. This box's own *"40 files,
30,410 lines"* is a design-time reading no tree in the arc reproduces: the
carve commit `b075fd91` held 43 blobs / 31,068 lines (41 hand-authored /
31,066), and `views/intent-feed.js` (483 lines) did not travel — RULED
`not_moved` under OQ-F — which leaves **40 files** on the nose and **30,583**
lines, so the packet's line count is **173** short of what arrived and **656**
short of what the carve held. The FILE count was right all along, and the table's last row — openDox-code
`main` `0b4e8bbf` at 42 blobs / 31,955 lines, 40 hand-authored / 31,953, read at
this amendment's own landing — is the CHECK that the arc ended where `#21`'s
head said it would. Four further
occurrences in the packet's LIVE documents are named and NOT edited, because a
ratified document is amended by the act that claims it; a fifth, in
`review/ratification-2026-09-05.md`, is named as a RECORD no later act amends.

**§ 4.1's residue is accounted for down to the last import, and the box STAYS
OPEN.** All 23 of `design.md` § D3's inventoried outbound `doc_health` imports
now have a position — 12 at openXdox-code, 5 at openDox-code, 1 RULED to stay
at openxFactory, and **5 DISCHARGED at the § 2 seam before the carve ever
ran**, which the carve commit itself proves: `scripts/ideation_dashboard/`
carried 21 sites there, and 12 + 4 + 1 + 1 = 18 = 23 − 5, 18 + 3 = 21, closing
both ways. What the seam discharged is the outbound import SITE and not the
dependency: the `authoring` pair's now sits behind the § 2.2a seam at
`scripts/corpus_adapter_openxfactory/home.py`:59, which is lawful and is the
whole of DQ-1. The § 3.4 arc moved none of them.

**What the arc did NOT close is named**, so no later reader takes the tick for
more than it is: the fifth class-A tail's realization, `views/lens.js`'s
standing `?`, the FULL un-narrowing both legs still wait on, the THREE floor
acts (RULED Q6's `re_destined:` form and the pin lockstep, both landed, and the
`retired:` row form, which is not), and the packet's own README entry — overtaken, not corrected here, and
cited by its sentence rather than by a line number, because the README
OpenSpec Records block moves under every archival act.

FOURTEEN fix rounds are recorded in the pull-request description, every one of
them from a Copilot finding and every one accurate; rounds 6 to 12 are
corrections this amendment made to text an earlier round of its own had added,
and rounds 13 and 14 go back to the accounting the draft itself carried. They run: a residue clause that named
four citations and listed a different four; both `STATUS —` headers dated
`2026-09-14` flat while the paragraph they head records landings of 2026-09-15
and 09-16 (labelled AUTHORING SNAPSHOTS rather than re-dated, so no reader loses
which statements predate the slices they record) and a slice count the arc had
overtaken; a packet-figure table that stopped at a head the arc had passed; a
re-verification claim that named no re-run (re-run at the final heads, every
count unchanged, one line number moved and named) and a box with two
incompatible exit conditions; four precision defects in rounds 6 to 8's own
text; and at round 10 five more — a miscount of the review history itself, a
merge clock the sentence promised and did not give (openDox-spec `#11` at
13:24:51Z), an item counting two floor acts where the paragraph above it names
three, and two claims wider than the measurement under them; and at round 11 an
instrument this amendment's own prose had broken — the fifth-occurrence
paragraph's "greps for 30,410 and finds five", where a grep of the packet now
returns TWELVE lines (seven of them this file's own), so the grep is named with
its SCOPE and the twelve decomposed, the five it counts being every occurrence
outside the box's own text. Every figure re-derived from the trees at the head
that carries it, never re-read from the draft. One review finding is ANSWERED
AND REGISTERED rather than taken: the packet's README OpenSpec Records entry is
not corrected here, and the file now names the precedent for correcting one in
place — `add-declared-former-id`'s entry, amended by lane `openxfactory-1` at
its own realization landing on Brett Heap's word of 2026-09-15 ("Amend the row
in #1041", `#1003` comment `5686628685`) — which is exactly why it is not taken
here: that is its own act, on its own ruling and its own claim, landing on the
one block a Rule 6 window exists to serialize. Round 12 closes the series on the
review that recommended approval anyway: the authoring-snapshot parenthetical
still claimed a clock for EACH act it dates, and it dates twelve while carrying
four — the claim is now what it measures (dates for the arc; a clock only where
the ordering turns on one; every other clock beside its own act; S1, S3, S4, S5
and S6 named as date-only), because narrowing a claim is not the same as
measuring it. Round 13 then measured three of § 4.1's own draft statements
against the trees: `scripts/ideation_dashboard/` is NINE `.py` modules plus the
`web/` directory (ten `git ls-tree` entries), not "10 files"; the DISCHARGED
row's `serve` cell cited the SURVIVING `doc_health.corpus.RealGit` reach at the
carve's `serve.py`:618 as if it evidenced a discharge, and named openDox-code's
own `from opendox import consumer_reach` beside it, which is not a `doc_health`
site at all (the carve file does not contain the string) — both corrected, the
row's 5 and the box's 23 unchanged; and "either module is openxFactory" now
names the two candidate homes rather than implying them. Every number § 4.1
states survived its own re-measurement; what moved is which line each number is
attached to. Round 14 took three more: the pin-lockstep paragraph cited § 5.1 as
describing the two-pin invariant when § 5.1, ticked under RULING F, says
openxFactory declares only its direct upstreams and closes "No
contracts/opendox-pin.yaml and no second gitlink exist anywhere in the tree" —
a sentence the TREE has since overtaken (measured at `main` `b1df95ee`: that pin
file exists with its own `commit:` and `git ls-tree -r` returns four gitlinks,
openDox among them), so the citation now names § 4.2 alone and § 5.1's staleness
is REGISTERED for the act that claims that box rather than corrected inside this
landing; `__init__.py`:32 is a forwarding wrapper importing `.home` on the call
at `:39`, not a re-export, and the lateness is the § 2.2a seam's own point; and
round 13's "travels to the leg" is measured — `src/opendox/serve.py` arrived at
openDox-code with the Tranche-B adoption commit `30c6baf`, not in the arc, which
moved only its line number, so "the § 3.4 arc moved none of them" stands. Box count 40 ticked / 31 open — a filled placeholder
is not a tick.

REGISTERED FOR AMENDMENT #4 (#1058, open and stacked on this branch), answered on
#1035 and not carried here: § 5.1's stale "No contracts/opendox-pin.yaml and no
second gitlink exist anywhere in the tree", measured false at `main` `b1df95ee`
(that pin file exists with its own `commit:`; `git ls-tree -r` returns four
gitlinks, openDox among them) and ALREADY RULED by R-5 (Brett Heap, 2026-09-16,
#656 comment 5690428146: "§ 5.1's 'no second gitlink exists' is stale for the
same reason and takes the same amendment"), whose own consequences line names
amendment #4 as the carrier - so no new claim is needed. This amendment corrects
what it wrote and registers what it does not claim, which is the division it
applies to design.md, to proposal.md and to the packet's README entry. Gate at 18e33d3: fifteen check-runs, every one completed success or skipped (pytest-suite run 104881522133), threads 8 of 8 resolved, and Copilot fifteen review rounds - fourteen taken as fix rounds, the last two findings measured false and answered on the pull request. Landed under the Rule 6 window opened 2026-09-16T16:44:21Z, with --admin on the lane precedent of #1011, #1020, #1021 and #1023.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit 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 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…red deletions (#1068)

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

RULED Q7 (Brett Heap, 2026-09-12, `#656` comment
`5648049748`): *"a contributed binding's CSS lives WITH THE BINDING, in its own
sheet; openDox's declared design tokens (the `--st-*` family, S7) are the one
stable styling surface; nothing else in `styles.css` is."* This is the
declared-edit window for the extraction `#1023` § 6 registered as owed and the
S7 LANDED note (`5688498049`) register item 1 carried forward. It lands FIRST,
per RULED Q-L1 (`5628560136`).

ONE ROW. `scripts/ideation_dashboard/web/styles.css` gains ONE `adapter calls`
entry of 89 carve-commit lines. The row was already `moved_with_declared_edit`
and already a carrier — slice S7 converted it — so rows (456), dispositions
(143 / 175 / 138), the carrier count (176) and the replica count (20) all stand
where the pre-existing `openxdox_code` annotation left them. Three absolutes
move, re-derived at every site that states them: 2454 -> 2543 declared lines,
`adapter calls` 1482 -> 1571, `opendox_code` 1667 -> 1756.

THE FLOOR QUESTION, SETTLED BY MEASUREMENT BEFORE A LINE OF EITHER LEG WAS
WRITTEN. `#1023` § 6 recorded that "a stylesheet block leaves for another leg"
fits none of RULING OQ-1's three classes, and it was right about the document it
read: that row was `moved_verbatim`, carrying no `edits:` at all. Slice S7
(`#1030` -> `b3a75537`) converted it and declared 152 of its lines
`adapter calls`, so the surviving question is narrower — is a DELETION
declarable? The floor answers twice. BY PRECEDENT: § 3.4 slice S6 declared 122
`serve_projection.py` DELETIONS under this same class and landed. BY
MEASUREMENT: `verify-carve-arrival.py --destination opendox_code --phase B`
against a throwaway prototype REFUSES `arrival-undeclared-edit` naming exactly
these 89 lines, and answers `OK ... 84 declared-edit row(s) within their lines`
with them declared. Every line is that refusal's own output, re-derived by
`_check_declared_lines`' algorithm and never transcribed.

WHAT THE 89 ARE. 59 rule blocks leave openDox's stylesheet for four sheets
openXdox-code ships beside the bindings that own them. A block leaves only when
EVERY class in its selector is named by openXdox's six contributed modules and
by no file of openDox's own bundle — `scripts/measure_opendox_css_census.py`,
added by this act so the figure is reproducible from this repository: at
openDox-code `0b4e8bbf` / openXdox-code `0a0265f7`, 54 exclusive and 18 shared. (18, and the record says why it moved twice: Copilot's round 3 stopped the census counting a bare literal in a non-class position, and rounds 5-6 bounded an assignment to a class-named target and a `.token` to a literal SHAPED like a selector with the dot in selector POSITION -- so 24 -> 22 -> 21 -> 18 as `why`, then `g`, `lens` and `topic` stopped being read as named by the gate. WHAT LEAVES NEVER MOVED: 54 gate-exclusive classes, 59 blocks at the same extents, 89 lines)
It reproduces `STYLE_RESIDUE`'s `51 / 24` EXACTLY at `cb343ae8` under its
literal-only scan, which is how the 51 is known to have been three short:
`.dispose-accepted`, `.dispose-rejected` and `.dispose-deferred` are built by
`"disposebtn dispose-" + v.outcome` (`dispose.js`:275).

FIVE ADMISSIONS, each pinned by path AND `since` in
`test_the_committed_admissions_file_keeps_the_ruled_seed_and_stays_well_formed`:
`tests/test_binding_stylesheets.py` at `opendox_code` (`144a4a33`) and
`src/openxdox/web/views/{dispose,gate-projects,gate,swb}.css` at
`openxdox_code` (`b18687ce`).

THE PIN: `Q7_WINDOW` / `Q7_CONVERTED`, read off the literal with `ast`, asserted
as a contiguous run occurring exactly once AND following slice S7's on the same
row, refusing a repeated line over the WHOLE row (S7's 152 and this act's 89
must be 241 distinct numbers), and re-deriving 89 / 1 entry /
`{"adapter calls": 89}` / 2454 + 89 = 2543. Slice S7's own § 2 conversion check
is AMENDED in the same act, for the reason its § 1 was amended by S8: a
conversion claims S7's entries are the row's FIRST, not its ONLY.

COPILOT, SEVENTEEN ROUNDS, every finding fixed or answered BY MEASUREMENT and
every thread resolved (27 threads, 0 unresolved). The rounds found nothing wrong
with WHAT LEAVES and a great deal wrong with the SCANNER that decides it: a
pseudo-class, an ID and an attribute breaking a compound; a sentence and a
`class=` in prose reading as markup; `class=` inside another attribute's value;
`data-class`; a single-quoted attribute; an unquoted value running into the next
attribute name; a `+` chain of three literals and a call result joining one; a
selector list with a classless branch; a class inside `:not()` anchoring a
branch; a comment and a `<script>` body walked as live markup; a JavaScript
template in a class-bearing position naming nothing; `splitlines()` against the
carve floor; a summed rather than unioned line total; three missing named
refusals; and two assertions that asserted their own constants. EVERY repair was
checked the same way — the FULL per-token census at `0b4e8bbf` / `0a0265f7`,
diffed before and after — and it is BYTE-IDENTICAL across all of them: 54 / 18 /
59 blocks / 89 lines / 10 reading a token, the same 59 selectors at the same
extents, and 0 blocks / 0 lines at the two leg heads. Round 14 made that
falsifiable rather than reported: the committed report is pinned at
`tests/carve_manifest/fixtures/q7-css-census-0b4e8bbf-0a0265f7.json`, tied to
this row's declared line count, and re-derivable at the cited revisions.
FOUR findings REFUTED with measurement or mutation, including the `created:`
ordering (the order the review asked for is the one that makes
`verify-carve-arrival.py` refuse `arrival-unreadable`; the committed order is
`sorted()`'s and the verifier answers OK against it) and the claim that carve
`161` is declared twice on this row (`S7 152 | Q7 89 | overlap []`). TWO asks
REGISTERED for a later declared act, by name: a CI job that re-derives the
census across two checkouts (its home is `openxdox-consumer-gate.yml`, not a row
annotation), and the `${...}` brace walk this tool copies behaviour-for-behaviour
from openDox-code's own `tests/test_web_boundary.py`.

GATE: `scripts/validate-carve-manifest.py` -> `OK ... 456 row(s) ... 143
moved_verbatim, 175 moved_with_declared_edit, 138 not_moved; 318 digest(s)
recomputed; 4 row(s) RE-DESTINED`. `tests/carve_manifest/` -> 235 passed, 1
skipped; `tests/carve_arrival/` -> 158 passed;
`tests/carve_manifest/test_css_census.py` -> 54 passed, 1 skipped; and the
pinned census RE-DERIVED against checkouts of both cited revisions -> 1 passed.
Arrival re-proved from THIS branch's manifest against openDox-code #27's head
`9e25f684`: `OK ... 119 row(s) arrived, 35 digest(s) verified, 84 declared-edit
row(s) within their lines, 1 unapplied; 4 of 4 declared replica(s); 150 file(s)
under src/opendox, tests with none undeclared; 22 declared admission(s) used`.

THE WINDOW IS 89 CARVE LINES AND THE CENSUS'S UNION IS 89 LEG LINES, AND THEY
ARE THE SAME SIZE RATHER THAN THE SAME SET — measured `0b4e8bbf` -> `9e25f684`
against carve blob `b075fd91dc8f`: 99 lines of the leg's file change, 89 have a
carve counterpart and those 89 ARE this window (symmetric difference `[]`); of
them 78 sit inside the 59 exclusive blocks, 9 are the comment and brace lines
the moved rules carry out, and 2 are the mixed pair (carve `:161` split, carve
`:2514` moved whole). The other 10 changed lines are lines slice S7 created and
have no carve counterpart at all. The row note says this, and the manifest test
pins carve `:2514` in the window beside carve `:161`.

WHAT THIS DOES NOT DO. It moves no byte at either leg — opensoft/openDox-code
#27 and opensoft/openXdox-code #22 land after it, with the openXdox-code pin
bump between them. It does NOT annotate the three pre-existing `openxdox_code`
undeclared-edit rows (measured identical at the leg head and at that leg's main)
— #1031's act, landed. It does NOT close the coupling RULED Q7 leaves open: the
four sheets read 13 of openDox's NON-token custom properties, counted and
registered in `STYLE_RESIDUE.open_coupling` rather than hidden.


RULED openxFactory#656 comment `5700475319` (Brett Heap, 2026-09-16, by
interactive multi-choice) answers the two questions this act put to him, both as
it already does them, and both are cited where the decision is stated: FOUR
sheets for six bindings with a single `styles` specifier and href de-duplication
LOAD-BEARING; and the 13 non-`--st-` custom properties MOVED VERBATIM with the
coupling REGISTERED BY MEASUREMENT in `STYLE_RESIDUE["open_coupling"]`, asserted
by openXdox-code's own suite.

Refs #656 (stays OPEN). CLAIM: 5699629486.


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 18, 2026
…ing history, and re-measure the leg figures

FOUR findings, all measured FACT before they were taken.

1. THE ORDINALS (Copilot review `5239585507` @ `d3d28269`, suppressed;
   RULED A FACT FINDING by the holder after the previous actor answered it by
   measurement on comment `5719043676`). The previous answer was right that an
   ordinal cannot be read off a block's POSITION — the assertion blocks in
   `tests/carve_arrival/test_verify_carve_arrival.py` are not in ordinal order
   and never were — and wrong that the ordinals therefore stood. Measured
   against the document itself they did not:

     git log --first-parent origin/main -- docs/opendox-carve-admissions.yaml

   diffing each commit's PARSED `created:` sets gives ELEVEN amendments over
   the seed (#979 `972b484a`) — PR #984, #1002, #1001, #1009, #1010, #1023,
   #1030, #1025, #1067, #1068 and this act — of which TEN bump `opendox_code`.
   Slice S5's amendment (#1023 @ `ee251d6c`, eight created files across both
   legs and the first admission-level re-homing) was recorded with NO ordinal,
   so every ordinal after it was ONE LOW: slice S7's three read SIXTH and are
   the SEVENTH, slice S8's one read SEVENTH and is the EIGHTH, the runtime ten
   read EIGHTH and are the NINTH — and that block's "of which this is the
   sixth" is the EIGHTH `opendox_code` bump. RULED Q7's five and this act's one
   carried none at all, and the docstring's narrated history stopped at SEVENTH
   while the code below it named an EIGHTH: a file that cannot be read in one
   direction without contradicting the other.

   Every ordinal now agrees, and the rule is stated with the ONE COMMAND THAT
   DERIVES IT, so the next amendment reads its ordinal off the history instead
   of off a neighbour. The three amendments the docstring never narrated (#1067,
   #1068 and this act) are narrated. The durable-assertions list, which had
   stopped enumerating what the block below actually asserts, gains slice S5's
   eight, slice S8's one and the ten runtime entries.

   THE REUSED RATIONALE IS DISTINGUISHED FROM THE BUMP NUMBER, which is what
   made this drift invisible: this act's block pins to its introducing commit
   "for the reason the DISPLAY-facet block states" and NAMES that block, whose
   ordinal moved with the renumbering while its argument did not. The runtime
   block's ordinal paragraph now records BOTH corrections — it read SEVENTH,
   collided, was moved to EIGHTH, and was still one low — because both are the
   same defect. Its stale "line ~3993" pointer is gone with them.

   Copilot's own arithmetic was wrong in the other direction (it called this
   act's admission the eighth amendment and the seventh `opendox_code` bump;
   measured they are the ELEVENTH and the TENTH). The finding was still right
   that the history had stopped agreeing with itself.

2. THE ADMISSION REASON (Copilot review `5246578877` @ `30a63ebe`, thread on
   `docs/opendox-carve-admissions.yaml:146`). MEASURED in a pristine `0b4e8bbf`
   worktree of openDox-code with the leg's file copied in:

     pytest -q tests/test_display_facet_leaves.py --noconftest
       ->  11 failed, 2 passed in 0.61s        (node v24.21.0 present)

   The reason said `10 failed / 2 passed` and a three-versus-nine split. The
   file carries THIRTEEN tests at the leg's landing head `b51a1ca1`: FIVE
   node-gated, over FOUR modules (`display.js`, `explorer.js`,
   `outline-model.js` and now `docs.js`), and EIGHT reading the source. The old
   "three" named the three MODULES and miscounted the tests even at the
   introducing commit, where it is four and eight over twelve. The reason now
   states the measurement, says it is taken AT THE LANDING HEAD and not at
   `since:` — which stays the introducing commit `338143a3` — and names what
   moved it: openDox-code#28's own Copilot round added the thirteenth test.

   The two that pass at the pristine base are the return-value guard beside
   `applyTokens` and the behavioural probe that only bites once `runAddSection`
   forwards its argument, so all SEVEN leaves are failed by at least one of the
   eleven.

3. THE FOUR MANIFEST ROW NOTES (same review, thread on
   `docs/opendox-carve-manifest.yaml:2498`): `10 of 12` on all four synchronized
   copies -> `11 of 13`. "Each failure its own leaf" is replaced by what is
   true of eleven failures over seven leaves: every leaf failed by at least one
   of them, with the two passers named.

4. THE RUNBOOK'S PROVENANCE PARAGRAPH (same review, suppressed;
   `docs/opendox-cutover-runbook.md:379-383`): it still read "CURRENT TO RULED
   Q7's CSS EXTRACTION" and called Q7 "THIS act" while the tables above it are
   this act's 2717 and its `opendox_code` cell is 1763 — and a second, older
   "THIS ACT CARRIES" in the same paragraph named slice S7. Two acts called
   "this act" in one paragraph, neither of them the act the totals belong to.
   Re-headed to the § 3.4 SLICE-S7 RESIDUE annotation with its own window
   (2710 + 7 = 2717), Q7 restated as the act behind it, and the inner claim
   given slice S7's PR and sha. Swept with it: § 5's `--allow-created` note,
   whose "THIS act adds three more entries" meant PR #1030 and has had seven
   amendments since.

GATE at this head:
  scripts/validate-carve-manifest.py                             OK
    456 rows, 143/175/138, 318 digests, none undeclared, 4 re-destined, 2 retired
  pytest -q tests/carve_arrival tests/carve_manifest             408 passed

No absolute moves: 2717 / 176 / 1745 / 1763 / 2715 stand as measured at the
merge. No assertion changes — every ordinal lives in a comment or a docstring,
grepped repo-wide, and nothing reads them.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants