Skip to content

§ 3.4 slice S7 annotation: parameterize class C — thirty-three rows, seventeen conversions, 782 declared lines - #1030

Merged
brettheap merged 19 commits into
mainfrom
chore/s7-display-facet-declared-edits
Sep 15, 2026
Merged

brettheap merged 19 commits into
mainfrom
chore/s7-display-facet-declared-edits

Conversation

@brettheap

@brettheap brettheap commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction (formerly openxfactory-opendox)

Refs #656 (stays OPEN).

The § 3.4 slice-S7 row annotation — "parameterize class C". 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 S7 and § 4.3 @ 7d12428c — every governance word in the fourteen
class-C files and the four declared class-A tails becomes a read of the
registered domain's DISPLAY facet BY ROLE
— RULED Q1/Q2/Q7 by Brett Heap on
2026-09-12 at #656
5648049748,
alongside
5648044785,
5648065587
and the counterpart-Q6 correction at
5649094228.
CLAIM: 5649148461.

The leg PR it pairs with, DRAFT and not landing before this one:
opensoft/openDox-code#21 (build/s7-parameterize-class-c), stacked on S5's
openDox-code#20. 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 after #1023 (S5) landed (ee251d6c), merged forward to
04340d77.


1. The declared-edit window — 48 entries, 782 lines, 33 rows, all opendox_code

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. SEVENTEEN rows convert moved_verbatim → moved_with_declared_edit
— the largest window any act has opened on this file, and the slice's own
sentence is the reason: every file in the bundle is edited because every file in
it rendered a word.

row (scripts/ideation_dashboard/ and tests/ideation-dashboard/ elided) disposition new entries
canvas_drafts.py verbatim → declared adapter calls ×4
web/app.js already carrier adapter calls ×5
web/index.html verbatim → declared adapter calls ×14
web/styles.css verbatim → declared adapter calls ×152
web/views/board.js verbatim → declared import rewrites ×1 + adapter calls ×32
web/views/canvas-model.js verbatim → declared import rewrites ×1 + adapter calls ×18
web/views/canvas.js verbatim → declared import rewrites ×1 + adapter calls ×37
web/views/doc-wheel.js verbatim → declared import rewrites ×1 + adapter calls ×6
web/views/docs.js verbatim → declared import rewrites ×1 + adapter calls ×15
web/views/explorer.js verbatim → declared import rewrites ×1 + adapter calls ×22
web/views/funnel.js verbatim → declared import rewrites ×1 + adapter calls ×39
web/views/grouping.js verbatim → declared import rewrites ×1 + adapter calls ×21
web/views/helpers.js verbatim → declared adapter calls ×2
web/views/lineage.js verbatim → declared import rewrites ×1 + adapter calls ×23
web/views/model.js verbatim → declared adapter calls ×54
web/views/outline-model.js verbatim → declared import rewrites ×1 + adapter calls ×12
web/views/repo-selector-model.js verbatim → declared import rewrites ×1 + adapter calls ×11
web/views/staging-workbench-model.js already carrier import rewrites ×1 + adapter calls ×51
web/views/staging-workbench.js already carrier adapter calls ×37
web/views/wheel-model.js verbatim → declared adapter calls ×92
web/views/wheel.js already carrier import rewrites ×1 + adapter calls ×34
tests/…/test_bullseye_widget.py already carrier path constants ×4 + adapter calls ×15
tests/…/test_doc_surfaces.py already carrier adapter calls ×14
tests/…/test_doc_wheel.py already carrier adapter calls ×1
tests/…/test_doxbench_abstract_pane.py already carrier adapter calls ×1
tests/…/test_doxbench_accessibility.py already carrier adapter calls ×1
tests/…/test_doxbench_context_panes.py already carrier adapter calls ×1
tests/…/test_doxbench_tile_verbs.py already carrier import rewrites ×1 + adapter calls ×3
tests/…/test_doxbench_view.py already carrier adapter calls ×39
tests/…/test_outline_model.py already carrier adapter calls ×2
tests/…/test_outline_tab.py already carrier adapter calls ×4
tests/…/test_wheel_paint_and_reach.py already carrier adapter calls ×1
tests/…/test_wheel_verbs_dom.py already carrier adapter calls ×1

The class split is mechanical and per line, not per row: an import
STATEMENT line (including a JavaScript multi-line import's continuation lines)
is import rewrites; a package-internal asset or module PATH literal in code is
path constants; an INSERTION is declared by the carve line it sits beside and
classed by what was inserted. import rewrites 14, path constants 4,
adapter calls 764.

2. Four of the thirty-three are arrived suites nobody had run since the carve

test_doc_surfaces.py, test_doxbench_tile_verbs.py, test_doxbench_view.py
and test_bullseye_widget.py are narrowed OUT of the leg's validate under
RULED Q-L5 (b′) — the un-narrowing belongs to the BUILD arc — and slice S8
measured the rot they had taken
(#656 comment 5650335573
§ 4: 3 + 1 + 11E/1F + 4 failures). They are repaired INSIDE this window rather
than left to the slice that re-homes them, on this file's own slice-S3 and
slice-S5 precedent for a source-grep suite whose quotations an act in the same
window invalidates. Measured at the leg: 11 / 22 / 136 / 52 passed = 221, the
same counts main gives.

The repairs are DECLARED EDITS like any other, which is the point of listing
them here: a suite repaired but not declared is exactly the undeclared movement
the floor exists to refuse, and OQ-1's three classes cannot tell a test file
from a product file.

3. Admissions — three added, none removed

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

opendox_code (+3): src/opendox/display_profile.py and
src/opendox/web/views/display.js (the facet's server and client halves, both
since: 80b1f3bc), and tests/test_display_facet.py (its running proof,
since: 372a04da).

4. The aggregate pair, re-derived

aggregate before (ee251d6c) after delta
rows 456 456 0
moved_verbatim 160 143 −17
moved_with_declared_edit 158 175 +17
not_moved 138 138 0
declared edit LINES 1584 2366 +782
rows carrying edits: 159 176 +17
rows RE-DESTINED by ruling 4 4 0

import rewrites 708 → 722, path constants 202 → 206, adapter calls
674 → 1438. Every figure is SUMMED from the applied manifest, never carried
forward; the documents that carry the totals as ABSOLUTES —
docs/opendox-cutover-runbook.md § 2, README.md's runbook entry and the three
scripts' docstrings (carve_lines.py, validate-carve-manifest.py,
verify-carve-arrival.py) — are re-derived in the same commit.

The runbook's § 2 per-destination table was STALE IN TWO CELLS and both are
corrected here.
It was last current at 880c821c; the § 3.4 slice-S5
annotation moved opendox_code to 52 / 71 | 874 AND openxdox_code to
9 / 83 | 674 and moved neither cell. This act moves opendox_code again to
35 / 88 | 1656 and restores openxdox_code to 674 — nothing of S5's arithmetic
is changed, only stated. The reason nobody noticed is that only the roots
column of that table was ever asserted
, so
test_the_runbook_per_destination_table_is_the_manifests_own_sum is added and
now checks the four numeric columns the same way, summed by the RAW
destination: field (which is what the table counts — a re-destined row still
counts at the leg its row names), plus the invariant that ties it to the
aggregate: the per-leg figures sum to exactly one less than the total, because
the one replica line names no destination. It was proved to FAIL on the stale
cell before being left green.

5. What pins the window, and why the aggregate is not enough

(2366, 176) would stay green if any of these 782 lines had landed on the wrong
row, under the wrong class, or as a different set summing to the same total.
tests/carve_manifest/test_carve_manifest.py::test_the_real_manifest_carries_the_s7_display_facet_declared_edits
pins the whole window by row and class — as the S7_WINDOW table rather than a
run of hand-written asserts, because S7 edits 33 rows where S5 edited 11 — and
asserts the LAST entries on each row, since an annotation appends to whatever
the row already carried. The seventeen conversions are named separately
(S7_CONVERTED): a conversion moves BOTH disposition counts and the carrier
count at once, so an act that converted a row it did not mean to would still sum
correctly.

6. Verification, against a fresh read-only clone of the leg head

Re-run at openDox-code#21's GATED head c7a216c782cb4ca434838490c8bae00af8cdbf38
— the head the manifest header now pins, and the one every figure above was
re-derived at. The earlier run at the leg's pre-merge head d672f0c7 answers
BYTE-IDENTICALLY, because the forward merge of main into that leg is a graph
merge: its resolution is byte-identical to its first parent, so it moved no
declared line. The only delta between the two runs is the commit the scaffold
admissions are checked against (05bbde80 → 8efb3cf5), which is main
advancing.

scripts/validate-carve-manifest.py
=> OK — phase post-shed, 456 rows at b075fd91dc8f (opendox-carve-0) —
   143 moved_verbatim, 175 moved_with_declared_edit, 138 not_moved;
   318 digests recomputed; 456 files in the declared surface with none
   undeclared; 319 shed rows absent at source; 4 row(s) RE-DESTINED (Q6)

scripts/verify-carve-arrival.py --destination opendox_code \
    --dest-root <openDox-code#21 @ c7a216c7, build/s7-parameterize-class-c> \
    --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py
=> OK — 119 rows arrived, 35 digests verified, 84 declared-edit rows within
   their lines, 1 unapplied; 1 of 1 declared replica verified; 149 files under
   src/opendox, tests with none undeclared (1 scaffold, 7 replica, 21 created);
   0 re-destined HERE and 4 re-destined AWAY and VERIFIED VACATED (RULED Q6);
   21 declared admissions used, 0 unused, 0 ad-hoc

An INDEPENDENT re-implementation of the verifier's opcode walk (same
scripts/carve_lines.py record split, same difflib opcodes, minimal insertion
declaration) reports ZERO undeclared lines at every opendox_code row. Run
against a clean clone at the leg's PREVIOUS head 706b5335 the same tool
answers 32 rows / 714 lines — the payload the earlier measurement recorded —
which cross-validates the derivation rather than merely repeating it.

python3 -m pytest -q tests/carve_manifest tests/carve_arrival → 268 passed
(266 was the baseline; +2 are the tests added here). With
tests/carve_conformance tests/opendox_pin tests/openxdox_pin → 411 passed.

openxdox_code still refuses, and it is not this slice's

arrival-undeclared-edit on gate_console.py, generator.py and
test_generator.py — openXdox-code #14's § 4.4 code half and #16's RULING-C2
follow-up, landed at that leg and never annotated here. Listed exactly as
#1023 listed them, not ABSORBED: this PR does not invent declared-edit notes for
work this lane did not do. S7 touches no openxdox_code row.

7. Residue — registered, not taken

🤖 Generated with Claude Code

Summary by Sourcery

Record the S7 DISPLAY-facet parameterization as a fully validated openDox carve annotation and update its provenance, documentation, and verification totals.

New Features:

  • Parameterize the openDox class-C frontend bundle and declared class-A tails through a registered DISPLAY facet with role-based vocabulary, schema, and styling customization.
  • Admit the DISPLAY facet's server/client modules and its validation suite for the openDox destination.

Bug Fixes:

  • Repair four arrived dashboard test suites affected by the frontend vocabulary and integration changes.
  • Correct stale per-destination carve totals in the cutover runbook.

Enhancements:

  • Annotate 33 openDox carve-manifest rows with 782 declared edits across imports, path constants, and adapter calls, including 17 verbatim-to-declared conversions.
  • Strengthen manifest and arrival verification by pinning the complete S7 edit window, admission provenance, and runbook table arithmetic.

Documentation:

  • Update the README, carve manifest, admissions, and cutover runbook with the S7 annotation, current aggregate totals, and destination measurements.

Tests:

  • Add coverage that verifies the runbook's per-destination figures match the manifest and that the complete S7 row/class/line window and created-file admissions are preserved.

brettheap and others added 3 commits September 13, 2026 22:38
 d672f0c7 (unverified: the authoring actor died at the usage reset before running the validators)

Lane: openxfactory-4-opendox-extraction

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…t-declared-edits

Lane: openxfactory-4-opendox-extraction

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Lane: openxfactory-4-opendox-extraction

The WIP commit applied slice S7's payload and died before running anything.
Every absolute in it re-derives EXACTLY — `validate-carve-manifest.py` OK at
143 / 175 / 138, `verify-carve-arrival.py --destination opendox_code --phase B`
against openDox-code #21 @d672f0c7 OK (119 arrived, 35 digests, 84 declared-edit
rows within their lines, 4 re-destined AWAY and verified vacated, 21 declared
admissions used), an independent opcode walk over the same blobs reporting ZERO
undeclared lines, and the summed manifest answering (2366, 176) with classes
722 / 206 / 1438 — with three exceptions, fixed here.

1. THE WINDOW HAD NO ASSERTION. `S7_WINDOW` (33 rows, 48 entries, 782 lines)
   and `S7_CONVERTED` (17 rows) were declared, the amendment test's own comment
   pointed at `test_the_real_manifest_carries_the_s7_display_facet_declared_edits`
   "below", and that test did not exist — so the table was three constants a
   linter would call unused and the aggregate pair was, once again, the only
   claim being made. It exists now: disposition, destination and the LAST
   entries of every one of the 33 rows; the 17 conversions asserted to carry
   S7's entries and no others; the window's own totals summed rather than
   transcribed; and the four arrived suites named.

2. THE RUNBOOK'S § 2 PER-DESTINATION TABLE WAS STALE IN TWO CELLS, and the WIP
   corrected one while adding a paragraph claiming both were re-derived.
   `openxdox_code` still read `9 / 83 | 659`, which the manifest has not said
   since `880c821c`: the § 3.4 slice-S5 annotation moved `opendox_code` to
   `52 / 71 | 874` AND `openxdox_code` to `9 / 83 | 674` and moved neither cell.
   Corrected to 674, the paragraph rewritten to state both, and
   `test_the_runbook_per_destination_table_is_the_manifests_own_sum` added so
   the numeric columns are checked the way the roots column already was —
   summed by the RAW `destination:` field, because that is what the table
   counts, plus the invariant that ties it to the aggregate (the per-leg
   figures sum to one less than the total; the one replica line names no
   destination). Proved to fail on the stale cell before being left green.

3. THE MANIFEST HEADER'S MOVEMENT LOG HAD NO S7 PARAGRAPH. S3, S6 and S4 each
   append one; S5's own amendment to the header is RULED Q6's `re_destined:`
   paragraph instead. S7's is appended in the established form — the slice, the
   33 rows all at `opendox_code`, the 17 conversions, the four arrived suites
   repaired inside the window, the three admissions, the delta (+782 lines,
   `adapter calls` +764 / `import rewrites` +14 / `path constants` +4; carriers
   +17) and no referent digest moved.

`pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance
tests/opendox_pin tests/openxdox_pin` -> 411 passed (266 was the carve-suite
baseline before this act; 268 with the two tests added here).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 13, 2026 22:57
@sourcery-ai

sourcery-ai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR lands the openxFactory-first §3.4 S7 annotation for the pending openDox-code leg: it declares all 782 line edits needed to route class-C UI vocabulary through the registered DISPLAY facet, admits the facet implementation and proof test, re-derives cutover documentation totals, and adds exhaustive manifest and arithmetic tests to prevent misplaced or misclassified declarations.

Sequence diagram for runtime DISPLAY facet parameterization

sequenceDiagram
    participant App as app.js
    participant Profile as DISPLAY facet
    participant View as Class-C view
    participant Server as display_profile.py
    App->>Server: host_display()
    Server-->>App: display_manifest()
    App->>Profile: readDisplay()
    App->>Profile: applyTokens()
    App->>Profile: applyShellVocabulary()
    App->>View: render(..., ctx)
    View->>Profile: display.label(role)
    View->>Profile: display.short(role)
    Profile-->>View: role-specific vocabulary
Loading

Flow diagram for S7 manifest annotation and verification

flowchart TD
    Carve[Carve blobs at carve_commit] --> Window[S7 declared-edit window]
    Window --> Manifest[33 opendox_code rows]
    Manifest --> Classes[import rewrites, path constants, adapter calls]
    Manifest --> Totals[782 added lines]
    Manifest --> Admissions[3 declared admissions]
    Totals --> Validate[validate-carve-manifest.py]
    Admissions --> Arrival[verify-carve-arrival.py]
    Validate --> Tests[Manifest and arithmetic tests]
    Arrival --> Tests
    Tests --> Result[Verified declared edits]
Loading

File-Level Changes

Change Details Files
Annotated the S7 openDox arrival window for DISPLAY-facet parameterization across 33 opendox_code rows.
  • Converted 17 rows from verbatim to declared-edit status and added 782 line-level declarations across import rewrites, path constants, and adapter calls.
  • Recorded the server/client DISPLAY facet and its proof test as three opendox_code admissions with source-specific provenance.
  • Added row-by-row and conversion-specific manifest pins, including coverage for repaired arrived test suites.
  • Updated aggregate totals, per-destination runbook figures, README references, and tool documentation to the re-derived manifest values.
docs/opendox-carve-manifest.yaml
docs/opendox-carve-admissions.yaml
README.md
docs/opendox-cutover-runbook.md
scripts/carve_lines.py
scripts/validate-carve-manifest.py
scripts/verify-carve-arrival.py
Strengthened automated validation of manifest arithmetic and the S7 declared-edit window.
  • Added a test that recomputes the runbook's per-destination row, disposition, and declared-line totals from raw manifest destinations.
  • Added a complete 33-row S7 window table with class/line assertions, conversion checks, class totals, and repaired-suite coverage.
  • Adjusted prior aggregate assertions to exclude S7 entries while preserving earlier slice guarantees.
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

Lane: openxfactory-4-opendox-extraction

Wording only, on the paragraph the previous commit rewrote: "two rows of it"
rather than "two of them" (it is two ROWS of the table that were stale, not two
columns), the re-destination rule split into its own paragraph, and the new
`test_the_runbook_per_destination_table_is_the_manifests_own_sum` named where
the roots column already names its own asserting test — so a reader learns from
the document itself that this half of the table is checked now and was not
before, which is how two cells sat wrong through two acts.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

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 findings remain for admission provenance assertions, runbook provenance text, and uniqueness checks for S7 conversions.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Records the S7 DISPLAY-facet carve annotation and synchronizes manifests, admissions, documentation, and integrity checks.

Changes:

  • Declares 782 edits across 33 rows, including 17 conversions.
  • Adds three DISPLAY-facet admissions and updates carve totals.
  • Adds manifest-window and per-destination consistency checks.
File summaries
File Summary
tests/carve_manifest/test_carve_manifest.py Pins the S7 edit window and conversions.
tests/carve_arrival/test_verify_carve_arrival.py Validates per-destination arithmetic.
scripts/verify-carve-arrival.py Updates verifier documentation totals.
scripts/validate-carve-manifest.py Updates validator documentation totals.
scripts/carve_lines.py Updates declared-line documentation.
README.md Updates the cutover summary.
docs/opendox-cutover-runbook.md Updates aggregate and destination metrics.
docs/opendox-carve-manifest.yaml Records S7 row edits and totals.
docs/opendox-carve-admissions.yaml Adds DISPLAY-facet admissions.
Review details

Suppressed comments (2)

docs/opendox-carve-admissions.yaml:81

  • The new admissions are only checked for shape (a 40-hex since and non-empty reason); the committed-admissions test does not assert that these three paths are present or that display_profile.py/display.js use 80b1f3bc... and test_display_facet.py uses 372a04da.... A future edit could remove an admission or replace its provenance with any valid-looking hash while all current tests stay green. Add explicit presence and exact-since assertions for these S7 entries, following the existing S4/S5 admission checks.
        reason: "added by opensoft/openDox-code `build/s7-parameterize-class-c` (PR #21, split-opendox § 3.4 slice S7, RULED Q1/Q2/Q7, `#656` comment `5648049748`) — the DISPLAY facet's SERVER half: `PROFILE_FACET = \"DISPLAY\"` beside `ROUTE_EXTENSIONS`, `SUBCOMMAND_EXTENSIONS` and `VIEW_EXTENSIONS`, the four declared role vocabularies, and `display_manifest` — what `/capabilities` publishes for `views/display.js` to read BY ROLE (openDox-spec `docs/front-end-package-boundary.md` § 4.3 steps 1-2); this admission PR lands first per Q-L1"
        since: "80b1f3bc60499ebbd84e69aaba40ef243c24a54a"

tests/carve_manifest/test_carve_manifest.py:2940

  • This assertion only checks the list length, so a duplicated path in S7_CONVERTED would still pass and leave one of the seventeen actual conversions unnamed; the per-row aggregate would remain green because S7_WINDOW is independent. Since this list is the only pin for the conversion set, enforce that its 17 names are distinct (and keep the exact-entry check below).
    assert len(S7_CONVERTED) == 17, len(S7_CONVERTED)
    assert set(S7_CONVERTED) <= set(S7_WINDOW), \
        set(S7_CONVERTED) - set(S7_WINDOW)
  • Files reviewed: 9/9 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread docs/opendox-cutover-runbook.md Resolved
Copilot AI review requested due to automatic review settings September 13, 2026 23:03

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

Four moderate findings remain in admission pinning, runbook consistency, duplicate-key validation, and conversion-list uniqueness.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (3)

Previously missed (2) — in code that hasn't changed since the last review.

tests/carve_arrival/test_verify_carve_arrival.py:1832

  • This parser silently overwrites a previously parsed row when the runbook contains the same destination twice. That means a stale duplicate numeric row can be hidden by a later correct row and the new regression test still passes, despite the table no longer having one authoritative entry per destination. Reject duplicate keys before assigning into stated so the table shape is checked as well as its final values.
    tests/carve_manifest/test_carve_manifest.py:2938
  • The length-only assertion does not prove that the conversion list names 17 distinct rows: a duplicated name can replace an omitted conversion, while the subset check and the loop still pass and the aggregate uses len(S7_CONVERTED). Require uniqueness as part of this assertion so the conversion count cannot be falsely satisfied.

docs/opendox-cutover-runbook.md:254

  • This table is now updated to the S7 current values, but the preceding “Measured directly against the landed manifest, 2026-09-12” paragraph still says that the table below reports totals as of the S3 annotation. The runbook is therefore internally contradictory about which measurement is current; update that historical paragraph/date (or explicitly label it historical) so operators do not compare the S7 table against an S3 claim.
| `opendox_code` | 123 | 35 / 88 | 1656 | `src/opendox`, `tests` |
| `opendox_spec` | 56 | 55 / 1 | 26 | `contracts/schemas`, `docs`, `examples/ideation-dashboard` |
| `openxdox_code` | 92 | 9 / 83 | 674 | `scripts`, `src/openxdox`, `tests` |
  • Files reviewed: 9/9 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread docs/opendox-carve-admissions.yaml Resolved
@brettheap
brettheap marked this pull request as ready for review September 14, 2026 00:07

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

brettheap and others added 2 commits September 14, 2026 00:13
…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]>

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

Two moderate test-integrity issues remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Review details
  • Files reviewed: 9/9 changed files
  • Comments generated: 2
  • Review effort level: Lite

Both findings are about tests THIS PR adds, both are accurate, and each is the
same shape of defect: a check that reads as a claim about ROWS while actually
being a claim about LENGTH or about the LAST value seen. A test that can be
satisfied by the very drift it exists to catch is worse than no test, because
it is read as coverage.

* `tests/carve_arrival/test_verify_carve_arrival.py` — the runbook
  per-destination parser assigned straight into `stated`, a dict, so a table
  carrying the SAME destination twice silently kept only the last row. The
  `set(stated) == set(doc["destinations"])` check still passes (every key is
  present), every numeric sum still passes (they read the surviving row), and a
  stale figure standing behind a fresh one goes unseen — which is exactly the
  drift this test was added, one commit ago, to end. The parser now REFUSES a
  key it has already seen: the table's SHAPE is part of what the table states.

* `tests/carve_manifest/test_carve_manifest.py` — `len(S7_CONVERTED) == 17`
  plus `set(S7_CONVERTED) <= set(S7_WINDOW)` is true of a list in which one
  intended conversion is OMITTED and another path appears TWICE. The per-row
  loop then checks the duplicate twice and the omitted row not at all, while
  § 3's `159 + len(S7_CONVERTED) == 176` counts one row for two. Seventeen
  DISTINCT paths are now required, and the failure names the duplicates rather
  than the length.

PROVED, not asserted, before either was trusted — each mutation is the exact
case Copilot described:
* a STALE duplicate `opendox_code` row (`53 | 53 / 70 | 727`, the figures the
  table carried at `880c821c`) inserted ABOVE the current one — fails on the
  new refusal, and passed every check before it.
* `wheel-model.js` dropped from `S7_CONVERTED` and `model.js` duplicated in its
  place, leaving the list seventeen long — fails naming `model.js`, and passed
  the length, the subset and the loop before it.

`pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance
tests/opendox_pin tests/openxdox_pin` — 411 passed, restored.

Lane: openxfactory-4
Refs #656

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

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

Two moderate findings remain unresolved: immutable head provenance and validation of the runbook’s declared-roots column.

Review details

Suppressed comments (2)

docs/opendox-carve-manifest.yaml:576

  • This S7 provenance entry records only the mutable leg branch, unlike the neighboring S4/S6 entries, which pin the realized branch to a full commit SHA. Because the 782 line numbers are derived from a specific leg head and PR #21 is still draft, the manifest will not identify the immutable revision needed to reproduce or re-verify this window once the branch advances; please record the verified head SHA here as well.
# Realized at opensoft/openDox-code `build/s7-parameterize-class-c`
# (DRAFT PR opensoft/openDox-code#21, stacked on S5's #20).

tests/carve_arrival/test_verify_carve_arrival.py:1821

  • This parser validates only the four numeric fields and stops matching at the declared-line column; it ignores the declared roots cell and any trailing columns. The existing roots test compares hard-coded roots with the manifest but never reads this runbook table, so a stale or malformed roots cell can still pass while the new test/documentation says the table is checked. Parse and compare the fifth column (or narrow the claim to numeric cells).
    cell = re.compile(
        r"^\| `(?P<key>[a-z_]+)` \| (?P<rows>\d+) \| "
        r"(?:(?P<verbatim>\d+) / (?P<edited>\d+)|—) \| "
        r"(?:(?P<lines>\d+)|—) \|")
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Brett Heap and others added 2 commits September 14, 2026 04:59
…t-declared-edits

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…the roots cell

Round 3 posted NO threads and two SUPPRESSED comments in the review body. Both
are accurate, both are about text this act itself wrote, and both are the same
failure this act has been fixing all night: a record that names less than it
claims to.

* `docs/opendox-carve-manifest.yaml` — the S7 provenance entry named the LEG
  BRANCH and no commit. The S2, S6 and S4 entries above it each pin a full sha
  beside the branch, and the sha is the load-bearing half: these 782 line
  numbers are the arrival verifier's opcode walk AT A HEAD, and a branch
  advances again — this one is deleted at the squash. Pinned to
  `c7a216c782cb4ca434838490c8bae00af8cdbf38`, openDox-code#21's gated head,
  with the base change S5's #20 caused (`8efb3cf5`) recorded beside it and the
  forty-eight row `note:` fields identified as naming that same head.

* `tests/carve_arrival/test_verify_carve_arrival.py` — the new table test
  parsed four numeric columns and stopped at the fifth, while its own docstring
  and § 2's paragraph said the table was checked. The ROOTS column had only
  LOOKED checked: `test_the_real_manifest_declares_the_roots_the_runbook_names`
  holds the manifest to a list hard-coded IN THE TEST and never opens the
  runbook, so a roots cell gone stale, reordered or unbackticked passed it.
  The cell is now parsed and compared with `declared_roots(rows_for(...))` —
  the walk each leg's arrival run actually performs — and § 2's paragraph and
  the docstring now say exactly that, including why the two halves of one row
  are read on two bases (numbers by the RAW `destination:` per RULED Q6, roots
  by the EFFECTIVE arrival, each the one its column claims).

PROVED, not asserted. Three mutations of the `opendox_code` roots cell, each
green before this commit and red after it:
* a root dropped — `AssertionError: ('opendox_code', ['src/opendox'],
  ['src/opendox', 'tests'])`;
* the backticks stripped (`src/opendox, tests`) — a cell that claims nothing
  while appearing to claim everything: `('opendox_code', [], [...])`;
* the two roots reordered — `(['tests', 'src/opendox'], ['src/opendox',
  'tests'])`, because § 2 spells the column "exactly as a run prints it".

Re-run at this head, nothing transcribed: `validate-carve-manifest.py` OK —
456 rows at `b075fd91`, 143/175/138, 318 digests, 4 re-destined;
`verify-carve-arrival.py --destination opendox_code --dest-root <pristine
openDox-code#21 @ c7a216c> --phase B` OK — 119 arrived, 35 digests, 84
declared-edit rows within their lines, 149 files none undeclared, 4 vacated,
21 admissions; `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]>
Copilot AI review requested due to automatic review settings September 14, 2026 05:04

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

Reconcile the evidence revision and harden runbook parsing, missing-file, and roots-format validation.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (3)

docs/opendox-carve-manifest.yaml:580

  • The manifest now claims that the 782-line window was re-derived and verified at c7a216c..., but the PR's verification block names d672f0c7 as the leg head. Because this header explicitly makes the pinned revision the reproducibility anchor for the declared line numbers, reconcile the manifest and validation record (or document the tree-identical merge) so they identify the same evidence revision.
# Realized at opensoft/openDox-code `build/s7-parameterize-class-c`,
# `c7a216c782cb4ca434838490c8bae00af8cdbf38` (PR opensoft/openDox-code#21, whose
# base became `main` when S5's #20 landed at `8efb3cf5`) — the form the S2, S6
# and S4 entries above use, which this act had left off. THE HEAD IS WHAT MAKES
# THE WINDOW REPRODUCIBLE: the 782 line numbers are the arrival verifier's
# opcode walk AT THAT REVISION, and a branch advances again or is deleted at the

tests/carve_arrival/test_verify_carve_arrival.py:1822

  • When the manifest exists but docs/opendox-cutover-runbook.md is missing, this new regression test takes the assert True branch and passes without checking any table. That makes the invariant vacuous precisely when the runbook disappears, despite the docstring saying this is a branch rather than a skip; branch only on a missing manifest, then fail explicitly if the runbook is absent.
    if not manifest.is_file() or not runbook.is_file():
        assert True
        return

tests/carve_arrival/test_verify_carve_arrival.py:1862

  • The new roots check extracts only backtick-delimited tokens, so an extra unbackticked path can be silently ignored: changing a normal cell to `src/opendox`, `tests`, unvalidated leaves claimed_roots unchanged and the test still passes. Validate the non-opendox_root cell format (for example, require exactly a comma-separated sequence of backticked paths) before comparing it with declared_roots.
        roots_stated[found["key"]] = re.findall(r"`([^`]+)`", found["roots"])
  • Files reviewed: 9/9 changed files
  • Comments generated: 1
  • Review effort level: Lite

brettheap added a commit that referenced this pull request Sep 14, 2026
…e check, and five readings the form got wrong

Lane: openxfactory-4

The POSTED thread, accepted and fixed. `_check_retired_surfaces` tested
`disposition == "not_moved"` and nothing else, so a surface cited against a
`replicated_at_destination` row satisfied `carve-retired-surface-live` — and
that is the ONE `not_moved` reason that does not mean ABSENT AT THE LEGS.
RULED OQ-C makes a replica a file every destination places its own copy of,
`verify-carve-arrival.py` admits those copies with `--replica-at`, and RULED
Q-L7 (a) even lets the row declare the `edits:` they carry. A retirement citing
such a surface would have rested its whole claim — "the surface this arrived
file drove is at no leg" — on a row that says the surface is at every leg. The
check now excludes that reason by name; the message says WHICH of the three
arms was hit; and `test_a_replicated_surface_is_not_a_surface_this_manifest_
says_is_gone` fails against the old predicate and passes against this one, with
a second half proving the SAME row under any other reason still validates, so
the exclusion is one reason and not a retreat from the form.

FIVE OF THE SIX SUPPRESSED COMMENTS, taken here rather than waiting for the
re-post (the lesson of #1030's round 2):

1. The runbook § 2 paragraph said the digest and the declared lines "go on
   asking of a retired row exactly what they ask of any other moved row" in a
   sentence about the DESTINATION, where `rows_for()` has already dropped the
   row — so it is neither digested nor diffed at the leg. Rewritten to name the
   two tools: the arrival verifier stops asking (there is no file left to
   digest or diff), and it is `validate-carve-manifest.py`'s check 3 and check
   4 that go on asking the SOURCE side unchanged.

2. `carved_reach.source()`'s refusal said "the file is at NO destination now",
   which a row with `also_replicated_to:` copies contradicts. It now refuses the
   ARRIVAL by name and, where the row declares replicas, says so and names them:
   RULED OQ-C makes those the legs' own placements and no retirement touches
   them.

3. `verify-carve-arrival.py`'s `arrival-not-retired` said "there is no other leg
   the bytes went to" — true of the PLACEMENT, not of the row. Same correction,
   in the operator's voice.

4. The validator header's "THE FOUR REFUSALS" heading enumerated five failure
   modes. It is "THE FIVE REFUSALS … three of them this form's OWN codes",
   because the count is failure modes and not vocabulary.

5. `CarveRowRetired` reaching its callers as a traceback. It is an `ImportError`
   subclass and every retained-consumer call site guards only the lazy IMPORT
   with `except ImportError`, never the CALL. All three now translate it into
   their own vocabulary — `RetiredMember` → a `FAIL` line in
   `validate-manifest-digests.py`, `CatalogError` (HRC-CATALOG-INVALID) in
   `hermes_runtime_validation/catalog.py`, and a named `RuntimeError` in
   `validate-ideation-cross-reference.py`, whose `main()` would otherwise have
   labelled it `harness failure`, the one thing it is not.
   `scripts/sync-notebooklm-books.py` is deliberately NOT in that list: it asks
   `module()` for a dotted name and its own docstring says a shed module meets
   "the named shed refusal" there — `CarveRowRetired` is that refusal one
   subclass down.

THE SIXTH IS ANSWERED AND NOT TAKEN, with a test rather than a comment.
`shed_commit_object()` is asked to guard retired rows like `source()` does. It
is the one resolver whose question is TIME-INDEXED: it answers where a row's
bytes are AT THE COMMIT THE CALLER NAMES, through the leg that commit pins,
while the `retired:` block is read from the WORKING TREE's manifest and says
nothing about when the deletion landed. A guard would apply today's retirement
to every commit ever asked about and would break the property
`hermes_runtime_validation/release.py` is built on — verifying an OLDER commit
reads the leg THAT commit pinned, where the member is present and the read is
correct. At a commit whose pinned leg no longer carries the file the answer is
a path with no blob and the caller's own absence finding stands (the release
inventory reports the member VANISHED; `resolve_git_object` raises). The
divergence is now a documented decision plus
`test_the_exact_commit_resolver_answers_for_a_retired_row_on_purpose`, which
also asserts `source()` refusing the same row at the same moment.

Evidence at this commit: `validate-carve-manifest.py` OK — 456 rows, 160/158/138,
4 RE-DESTINED, 0 RETIRED printed; `verify-carve-arrival.py --destination
opendox_code --dest-root <openDox-code main 8efb3cf5> --phase B --replica-at …`
OK — 119 arrived / 52 digests / 67 declared-edit rows / 4 re-destined AWAY
vacated; `pytest -q tests/carve_manifest tests/carve_arrival` → 306 passed
(303 + 3).

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

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

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

@copilot review

The review at this head (5215783335, 21:09:16Z) is the bot's own error — "Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review." — so it is not a finding set and the head has not been reviewed. Two API re-requests (21:13Z, 21:19Z) produced nothing; this is the third ask. Round 11's five suppressed findings are answered in 47261ffc and in the comment above.

Refs #656 (stays OPEN).

Copilot AI commented Sep 15, 2026

Copy link
Copy Markdown

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

@copilot review...

Re-checked the current head and did not find an additional change for me to make. The latest required PR checks visible on #1030 are green, and the targeted local carve/pin validation also passed (414 passed).

@brettheap
brettheap merged commit b3a7553 into main Sep 15, 2026
14 checks passed
brettheap added a commit to opensoft/openDox-code that referenced this pull request Sep 15, 2026
…and the vocabulary by ROLE (#21)

Lane: openxfactory-4

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5649148461. RULED Q1/Q2/Q7 by Brett Heap,
2026-09-12, at opensoft/openXfactory#656 comment `5648049748` (alongside `5648044785` and
`5648065587`).

**§ 3.4 slice S7 — parameterize class C.** openDox-spec `docs/front-end-package-boundary.md`
§ 5 row S7 and § 4.3 @ `7d12428c`: *every governance word in the fourteen class-C files and the
four declared class-A tails becomes a read of the registered domain's DISPLAY facet BY ROLE.*

**Paired with opensoft/openXfactory#1030, the row annotation RULING Q-L1 requires,
which landed FIRST** — 48 declared-edit entries, 782 lines, 33 rows, 17 of them converting
`moved_verbatim` → `moved_with_declared_edit`, plus the three admissions this leg's created files
need. Every edit in this PR falls inside a line that annotation declares; the arrival verifier
was re-run against THIS head from the landed manifest and answers OK.

**THE MECHANISM, § 4.3's five steps.** `serve.py` publishes the profile's DISPLAY facet on the
`/capabilities` payload the shell already fetches — no new route and no second fetch — beside
S5's `capabilities["views"]`; `app.js` reads it once per render and adds ONE key, `display`, to
the ctx object every core view and every contributed binding receives; a class-C module resolves
BY ROLE through `views/display.js` (`label`/`one`/`many`/`short`/`gate`/`status`/`area`/`token`/
`act`/`artifact`/`items`), never by string; and refusal is not a default — a DECLARED facet that
is malformed raises `DisplayFacetError` where the server is built, an unknown role raises
`DisplayRoleError` in the browser.

**AN ABSENT FACET GIVES openDox's OWN NEUTRAL WORDS, and that is a stated departure from § 4.3
point 5.** The note's argument for "refusal, not a default" is that a fallback to TODAY'S WORDS
is how the literals survive the refactor invisibly. `NEUTRAL_DISPLAY` is the opposite of today's
words — `sources → groups → candidates → selections → submissions → completions` — so a shell
with no host facet comes up VISIBLY un-domained rather than invisibly re-domained, which is
§ 2.1's own test for class C performed by the product rather than asserted about it. The absence
is NAMED on the payload (`host_facet: "absent"`, with the profile named through the helper and
not a dunder), and `test_a_student_install_renders_no_openxfactory_word` is the assertion.

**§ 4.5 ASSERTION 4 IS GREEN AND ITS `xfail(strict=True)` MARKER IS GONE**, removed in the commit
that closed it — which is what `strict=True` is for.

**THE FOUR ARRIVED SUITES NOBODY HAD RUN SINCE THE CARVE** (`#656` comment `5650335573` § 4) are
repaired here, in one commit, with ZERO product-file changes: `test_doc_surfaces.py`,
`test_doxbench_tile_verbs.py`, `test_doxbench_view.py`, `test_bullseye_widget.py`. In each one
the assertion is re-stated as the RULE it was always making rather than as the word or the path
it happened to spell — the stat tile found BY ROLE, the inert Save's refusal read from the
module's own declared constant, `WHEEL_ACTIONS` read by STATION INDEX, the create dialog opened
through the CONTRIBUTED column. Measured green at this head: 11 · 22 · 136 · 52 = 221, the same
counts `main` gives. They are DECLARED EDITS on this slice's row annotation, not incidental
repairs, because the three classes cannot tell a test file from a product file.

**S8's two path constants are deliberately NOT TAKEN here.** `PREVIEW_CASES_PATH` and
`test_bullseye_widget.py`'s `serve.py` path are declared on openxFactory#1025 and realized on
openDox-code#23/#19; taking them would double-declare the lines and make a landing-first
annotation false. They were applied to a THROWAWAY worktree to measure the four suites and left
alone, so the one residual red at this head is `test_the_serve_declares_the_repository_it_can_
write_to`, which #23 repairs.

**THE FORWARD MERGE OF `main` IS A GRAPH MERGE ONLY.** S5's leg B landed as a SQUASH, so `main`
and this branch shared only the pre-leg-B base and git reported nine conflicts in files where
this slice edited a region leg B also edited — every one the squash artefact, none a real
divergence. Resolved in two provable steps rather than by hand: merge the real leg-B tip first
(`git diff 5c6f762 origin/main` is EMPTY — main's squash has that exact tree), which gives the
merge its true base and yields ONE genuine conflict, `tests/fixtures/web_boundary_census.yaml`;
then merge `main`, whose result is byte-identical to its first parent (`git diff --cached HEAD`
empty at the resolution). The census conflict is resolved as the UNION and RE-MEASURED with the
suite's own census tool: both notes take leg B's, PROVED a strict superset (this branch's note is
a literal PREFIX of it); `app.js` `loc` 1618 → 1719, `views/view_extension.js` 850 → 877,
`totals.A` {25, 16961} → {26, 17883}, the 26th class-A file being this slice's admitted
`views/display.js`. Both arithmetics cross-check.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 15, 2026
… lockstep that carries the arc into the aggregation named

Slice S7 merged while this amendment was open, so § 3.4's S7 row is filled in
place at its landing:

  openxFactory #1030 -> b3a7553  21:40:25Z
  openDox-code #21   -> 1e4697130855e9695a6acc3344b7c925bb3eeb09  21:41:36Z

Q-L1's annotation-first rule holds a seventh time, by 71 seconds off the merge
clocks. Seven of the eight slices are merged; S8 is the one row still carrying
[FILL AT LANDING], and this amendment lands last and fills it.

A THIRD floor act is named beside the two already there, because it is what
carries these landings into the aggregation: pin lockstep #2, openxFactory
#1054 -> 3c614d3 (23:27:40Z). Read from that
merge commit's own diff rather than its title — contracts/opendox-pin.yaml
7cf6c143 -> 3819625e (openDox assembly root, opensoft/openDox #8, which names
code leg 1e469713, S7's own merge) and contracts/openxdox-pin.yaml
76df74c8 -> a6500141 (opensoft/openXdox #10), both gitlinks in that one commit,
which is the lockstep invariant §§ 4.2 and 5.1 already describe.

No tick moves: boxes stay 40 ticked / 31 open, and openspec validate --strict
plus proposal-support verify are both clean at this head.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 15, 2026
`origin/main` moved five commits while the fifth round was in review, so the
merge is taken here and the re-measurement WITH it — the discipline the seventh
adopted after the sixth's record was left a merge behind for a day.

  $ python3 scripts/validate-code-surface.py .     # exit 0
  code_surface: 46 active proposals, 46 declaring — 4 `none`, 34 a repository
  list, 8 named by the register, 0 outside the grammar.
    archive (read, never judged): 168 proposals, 122 declaring, 3 of them
    outside the grammar.
  $ python3 scripts/validate-scope-globs.py .      # exit 0

THE SIXTH AND SEVENTH RE-MEASUREMENTS' LINE, BYTE FOR BYTE, A THIRD TIME, and
no declaration moved at all: `git diff --name-status 79ac94b..3c614d3 --
'openspec/changes/*/proposal.md'` is EMPTY — no `A`, no `M`, no `D`, no `R`. No
carrier arrived, no entry went stale, the register stands at EIGHT untouched.
The five commits are the openDox/openXdox pin lockstep (#1054), a Q-GRC-4
§ 13.5 pre-note record and a § 3.4 slice-S7 annotation (#1030); they touch no
file this packet owns and the merge resolved ZERO conflicts.

Recorded in the three places the packet keeps this — `tasks.md` § 3's
transcript, `CLOSED_REGISTER`'s provenance comment and this register's header —
and the seventh's "as this file stands" is demoted to "at that re-measurement"
in the same edit, since a clause that means "latest" has to move every time the
latest does.

tests/code_surface 153, tests/scope_globs 99, tests/target_release 96, 348 for
the three suites, all unchanged by the merge.

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 16, 2026
SIX conflicts and TWO RED TESTS. Every conflict is a place the same figure or
the same narrative is published twice, and `docs/opendox-carve-manifest.yaml`
-- the document this act actually changes -- is NOT among them: it auto-merged
clean. The two reds are the substantive half and are recorded below.

WHY THIS MERGE AND NOT A LATER ONE FROM `main`. This branch already carried
#1032's commits. 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 -- the stacked-squash trap -- manufacturing conflicts in
exactly the files that publish one absolute. So the stack merged its own base
while that base was still a branch.

THE RULE FOR ALL SIX WAS ONE RULE: take the INCOMING side and APPEND this act's
link. Never replace a narrative, never take a side on a number.
* README.md, scripts/carve_lines.py, scripts/validate-carve-manifest.py,
  scripts/verify-carve-arrival.py -- one bare aggregate each; incoming, then
  re-derived.
* docs/opendox-cutover-runbook.md -- SEVEN 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); the
  replica-line paragraph (incoming whole, plus one sentence: this act moves one
  cell and neither replica line); the "CURRENT TO" clause (extended by one
  link); 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.
* tests/carve_manifest/test_carve_manifest.py -- the aggregate test's narrative
  chain and its pin.

RED 1 -- THE ROW DECLARED TEN LINES TWICE AND THE AGGREGATE COUNTS ENTRIES.
This act's `adapter calls` entry on
`tests/ideation-dashboard/test_staging_workbench.py` 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", its note said, "so the removed
block's extent is readable in one place". openxFactory #1030's review had since
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 the 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.
REPAIRED MINIMALLY: 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` reads a row's declarations as a SET, so the
leg is asked for exactly what it was asked before; slice S5's landed record is
untouched; and the act's honest contribution to the aggregate is +167, not
+177. The block still spans 177 carve lines and both notes still say so. This
act's OWN pin is re-cast to assert all three: its 167-line entry, slice S5's
ten, and their union as the whole removed block.

RED 2 -- § 5.5's TWO PHASE EXAMPLES, against a pin that did not exist when this
branch was cut. `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 line, elision by elision, because the runbook states what an
operator compares their own run against. Retiring two `opendox_code` rows takes
that leg's EFFECTIVE arrival from 119 to 117 -- both are
`moved_with_declared_edit`, so verbatim stands at 35 and edited falls 84 -> 82,
and phase B prints 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.

AND TWO OF THIS BRANCH'S OWN CLAIMS WERE RETIRED BY THE MERGE. It 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
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 table
is a MEASUREMENT again and this act moves its own cell -- `openxdox_code`
750 -> 917, one cell, because every declared line of this act falls on one row
of that leg and a retirement declares no line at all.

THE FIRST-USE PIN FAILED, EXACTLY AS THIS PULL REQUEST'S BODY PREDICTED, AND
THE FAILURE IS THE PIN WORKING. #1030 (slice S7) added an `adapter calls` entry
at carve line 310 to the `test_wheel_verbs_dom.py` row -- a row this act RETIRES
-- so the pin's [("path constants", [26])] is now [("path constants", [26]),
("adapter calls", [310])], written 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: the verifier drops a retired row before it asks the destination anything.

FIGURES, RE-DERIVED FROM THE MERGED DOCUMENT AND CARRIED FROM NEITHER SIDE
(`rederive-absolutes.py`, which measures the manifest and then checks all six
mirror sites): pair (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.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 16, 2026
…he manifest has to say so

openDox-code#24's Copilot review raised this twice at the leg and it applies
HERE with more force, because this block is the record that SURVIVES the
deletion. The `retired:` note on
`tests/ideation-dashboard/test_wheel_verbs_dom.py` read "8 tests, the same
instrument and the same surface: `views/intent-feed.js`". Measured in the file
itself, before it is deleted:

    $ git show <openDox-code main>:tests/test_intent_tray_dom.py | sed -n '1p'
    """DOM behaviour of the HOSTED dispose tray and the intent-feed overlay
    -- and it imports `emitIntent` from that module and passes `intent:`
       payloads throughout. The TRAY suite drove it.

    $ git show <openDox-code main>:tests/test_wheel_verbs_dom.py | sed -n '306,308p'
        # `intent-feed.js` rides along because dispose.js imports it
        # (add-ideation-intent-plane task 4.4: the tray's hosted transport). This
        # probe drives the LOCAL path only -- no `opts.intent` is ever passed -- so
    -- this one did NOT.

Saying both drove it credits this suite with coverage it never had. That is the
one error a retirement's record must not contain, and no test can catch it: the
`carve-retired-surface-live` gate checks that the named surface still reads
`not_moved`, which is true either way.

THE `surface:` FIELD IS UNCHANGED AND IS STILL RIGHT. The form asks for the
`not_moved` module the retired arrival cannot obtain, and that is
`views/intent-feed.js` for both rows -- the wheel suite's copy loop needs it
whether or not the probe drives it. What the note now adds is the SECOND
missing module: `views/dispose.js`, which this suite genuinely does drive, went
to openXdox-code at § 3.4 slice S5 and is absent at this leg too. Two absent
modules, one deletion.

And the note's own tail is corrected while it is open: this row's declared
edits are `path constants` at :26 AND `adapter calls` at :310, the second added
by the § 3.4 slice-S7 annotation (#1030) after this act was written -- the same
pair this pull request's first-use pin now asserts. Both are carried rather
than applied, which is what a retirement does to a declaration.

Green at this head: validator OK, 456 rows, 2 RETIRED; `rederive-absolutes.py`
(2621, 176) with ALL MIRRORS AGREE -- a note is prose and moves no figure.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 16, 2026
…d backwards

Both findings are real and both are fail-OPEN.

(a) tests/carve_manifest/test_carve_manifest.py -- this act's seat test was
    written `if not manifest.is_file(): assert True; return`. That is a SIXTH
    copy of an idiom #1030's review had just removed from five tests in this
    same module, reintroduced by an act authored BESIDE that cleanup rather
    than after it. `assert True` REPORTS A PASS, so a checkout that lost
    docs/opendox-carve-manifest.yaml turned this pin -- whose whole job is to
    fail the day a row carries `retired:` -- into a green no-op, which is the
    one thing the module docstring says this floor exists to refuse.

    It now reads the document through `the_landed_manifest()`, where the
    absence is a FAILURE naming the ceremony that authored the file, exactly
    as the other five do. `test_the_real_repository_answers_at_the_ruled_path`
    keeps its branch and must: there the absence IS the subject. The module
    docstring's census of the idiom moves from five to six and records that
    the sixth arrived with this act.

    PROVEN BY TAMPERING: with the manifest moved aside the test now FAILS
    naming the file; before the fix it passed. Manifest restored
    byte-identical (`git status` clean).

(b) scripts/verify-carve-arrival.py -- the paragraph explaining why this check
    uses `os.path.lexists` and not `exists` stated the semantics BACKWARDS. It
    read "a dangling symlink reads as absent", which is `exists`'s behaviour,
    inside a paragraph arguing for `lexists` -- so the sentence could be read
    as a reason to simplify the deliberate spelling away.

    Rewritten in the right direction: `lexists` answers about the ENTRY and
    `exists` about its TARGET. Under `exists` a dangling symlink reads as
    absent and the check passes over it; under `lexists` it reads as present,
    which is the answer that matters, because the leg still carries a
    directory entry at a path the ruling emptied and git would commit it. A
    symlink pointing ELSEWHERE is present under both. So `lexists` refuses
    both cases and `exists` refuses only one.

Green at this head: the five carve suites -> 481 passed; validator OK, 456
rows, 0 RETIRED.

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 16, 2026
…e tools, tests, runbook § 5.8 (#1032)

Lane: openxfactory-4

Refs #656 (stays OPEN). RULED 5656343213 — Brett Heap, 2026-09-13, by interactive multi-choice, on the
question slice S8's author put at #656 comment 5650335573 § 2. CLAIM: #656 comment 5656690570.
Precedent: PR #1011, the re_destined: form under RULED Q6, landed at 880c821.

THE FOURTH GRAMMAR EXTENSION to the carve manifest and the SECOND about PLACEMENT. Q6 moves an arrival
BETWEEN two legs; what slice S8 measured has no leg to move it to. Three suites arrived at their legs
driving views/intent-feed.js — RULED OQ-F not_moved, so the surface stayed at openxFactory and arrived at
NEITHER leg — and slice S2 replaced the surface openDox does have with views/intent-binding.js. The suites
test a surface that is not there. re_destined: cannot say so: to is held to the closed destinations: keys,
openxFactory is the SOURCE and not one of them, and re_destined: on a not_moved row refuses
carve-re-destined-not-moved. Deleting the arrived file with no form at all is the one thing this floor
exists to refuse — a file at no leg, in a row that says it arrived there, is RULING OQ-1's UNDECLARED
MOVEMENT read backwards.

    retired:
      at: opendox_code                        # the row's EFFECTIVE arrival
      at_path: tests/test_intent_tray_dom.py  # destination_path, or re_destined.to_path
      ruling: "`#656` comment 5656343213"
      surface: scripts/ideation_dashboard/web/views/intent-feed.js
      note: "..."                             # the one optional key

ZERO ROWS USE THE FORM HERE, deliberately, and it is pinned by a test. RULED Q6 landed at #1011 with the
grammar, the gates and no re-destined row; its first use (slice S5's four rows) came later, under its own
claim and its own pull request. test_the_real_manifest_carries_the_retirement_form_and_uses_it_nowhere
asserts the landed manifest's retired count is 0 and fails the day a row carries the block, so whoever
lands the first use has to come back and record which act did it — exactly as the Q6 companion records
S5's four. The first use is stacked directly on this (openxFactory#1043).

THE THREE TOOLS. validate-carve-manifest.py closes RETIRED_KEYS to five keys, four required, and raises
three OWN codes on Q6's reasoning that a caller branching on the code must be told WHICH form it is
reading, because the remedies differ — a re-destination is amended in place, a retirement is withdrawn:
carve-retired-not-moved (a not_moved row retiring an arrival it never made), carve-retired-unruled (the
citation the ruling's scope answer requires, absent) and carve-retired-surface-live (a surface: that is a
MOVED row, live at a leg, OR in no row at all — this document cannot say, and "cannot say" is not "gone").
`at` outside destinations: falls to check 5's carve-vocabulary-unknown; at/at_path disagreeing with the
row's EFFECTIVE arrival falls to check 6's carve-disposition-inconsistent, so a row re-destined by Q6 and
retired afterwards must be retired at the leg the file actually reached and the two acts compose in one
order only. Check 4 stops RESERVING a retired row's arrival: that path is empty, another row may lawfully
refill it, and two retired rows at one path do not collide. The summary counts retired apart from
re_destined and from the dispositions and prints it UNCONDITIONALLY, zero included — written that way from
the start because #1011's re_destined clause had to be repaired in review for suppressing its own zero
state.

verify-carve-arrival.py gains a seventh finding, arrival-not-retired. rows_for() drops a retired row — not
asked for, not digested, not diffed — and check_retired requires retired.at_path ABSENT by lexists BEFORE
the walk. That ordering is load-bearing, not cosmetic: with the row dropped, nothing else in the file
would ever mention it again, and where the retired row was the last row under a declared root the walk
does not even look there. A lawful refill (another row's effective arrival, or a --replica-at replica) is
excluded from the first line of the function rather than after two review rounds, which is what
check_vacated cost at #1011. The summary LISTS the retirements with surface and citation, because a
re-destination's evidence can be read off the other leg and a retirement's can be read off nothing at all.

carved_reach.py gains CarveRowRetired, a SUBCLASS of ShedModuleHasNoDestination so existing except clauses
keep working, raised by source(), module() and shed_relpath(); sources_under() OMITS the row the way it
omits deleted_at_carve. Without this the module would hand a caller a well-formed Path to a file the
arrival verifier has just finished proving absent.

THE PREDICATE IS DUPLICATED THREE TIMES AND HELD EQUAL BY A TEST, for the reason effective_arrival is:
none of the three can import either of the others. test_all_three_tools_read_the_retirement_identically
drives all three over one table, and the MIS-SHAPED rows are in it deliberately: this guard fails closed
in the OTHER direction from effective_arrival's. Half a re-destination reading as no re-destination leaves
a row owed at its original leg, where one leg still asks for the file; half a RETIREMENT read as one
SILENCES this leg's arrival check and asks nowhere. retired: {} and a block whose at_path is a list must
both read as NO retirement in all three.

DOCUMENTATION: the manifest header (A FOURTH GRAMMAR EXTENSION, beside Q6's), the runbook § 2 paragraph,
§ 2.1's findings table (six findings to seven), a new runbook § 5.8 carrying the five-step procedure, and
the README doc index for both the manifest and the runbook.

WHAT THE FORM CANNOT EXPRESS, said in § 5.8 rather than only here, because the first act to use the form
hits it. retired: retires a ROW, and a row is a FILE. A leg that must lose only PART of an arrived file —
one replay block at the end of a suite driving a retired surface, in a file whose other tests drive live
surfaces — has no retirement to declare, because the row's bytes do not stop arriving. The minimal
reading, and the one this floor already has a form for, is an ORDINARY declared edit: a
moved_with_declared_edit row whose edits[] names the removed lines under an existing class, verified by
arrival-undeclared-edit. Widening retired: to a line range would put a second line-bearing grammar beside
edits[] and give one row two readings of what its bytes are; that is a ruling's act. Three more limits are
stated so the evidence is not read wider than it is: the surface: check does NOT prove the arrived test
was the surface's only reader or that no other file should follow it; one destination is verified per run,
so a retirement at one leg says nothing about another; and nothing at the destination reads the surface
the block cites.

NINE COPILOT ROUNDS, EVERY FINDING REAL, EVERY REPAIR PROVEN BY REVERTING IT OR BY TAMPERING
WITH THE DOCUMENT IT READS. Round 2: the guard took two
keys where a placement needs four, so retired: {at, at_path} — half a block the validator refuses — would
have silenced a required arrival at a leg that had not run the validator; all four required keys are the
guard now, and test_a_half_written_retirement_leaves_the_arrival_owed is what says the absence is not
licensed in the meantime. Round 3: rows_for() dropped a row on READABILITY alone while retired_rows(),
keyed on retired.at deliberately, selected it only at the leg the BLOCK named, so a block whose at/at_path
disagreed with its own row was checked as NEITHER an arrival nor a retirement; retired_arrival() now asks
the PLACEMENT question before the row is dropped, and retired_at() itself is untouched so the three-tool
equality still holds. Round 4: a block SELECTED at a leg is not yet a block that leg has READ. Round 5:
check_retired EXCLUDES a retired path a lawful refill occupies — right, and built in from its first line —
but the summary then reported EVERY retirement as "verified absent", including the one case where a file
really IS at the retired path; the repair is a RETURN VALUE, not a second reading, and _retired_record
gains absence: verified|refilled with refilled_by. Round 6, three suppressed findings and all three real:
the predicate did not enforce the CLOSED key set its own docstring claimed; sources_under() omitted a
not_moved row carrying a malformed retirement, disagreeing with source() and silently dropping a RETAINED
file; and declared_roots(rows) lost a directory whose LAST arrival was retired, so retirement suppressed
the rest of the tree with it. Round 7: the optional note: was read as a TYPE while the grammar writes it
as PROSE — _check_retired_shape refuses a PRESENT blank note and the three predicates accepted note: "",
which is the fail-OPEN direction arriving through the one key the form makes optional; all three now carry
the grammar's own rule, ABSENT OR PROSE, and
test_the_note_is_prose_or_absent_in_the_grammar_and_in_all_three_readers holds the readers to the GRAMMAR
rather than only to each other, because three copies can agree and all three be wrong about the document
they read. Round 8: sync-notebooklm-books.py::_dashboard_module() calls module() and
translates nothing, and fifteen of its sixteen call sites sit under no try at all — measured with
ast, the sixteenth being the one the review named, which is the one that IS inside
except Exception; the translation is still not owed because the refusal is UNREACHABLE there (three
names, every one a MOVED row no ruling has retired), and because "unreachable" is a claim about the
MANIFEST rather than about the code,
test_no_module_the_notebook_sync_asks_for_is_retired derives the names from the source with ast
and fails the day an act retires one, naming the file and the remedy. Round 9: retired_rows()
selected on a destination KEY as a string, the last selector in this file still comparing LABELS
after #1025 made every other one compare resolved {repository, leg} identities — so a run invoked
with the other spelling of one real leg skipped the retirement entirely, the absence was never
required, and the file left at the retired path fell through to the walk, which refuses
arrival-undeclared-file, whose sentence tells the operator to DECLARE a file a ruling ordered
DELETED. retired_rows now resolves both sides exactly as its Q6 sibling vacated_rows already did;
resolving is not re-keying, and at still decides which placement is asked.
Round 10, two suppressed comments and both fail-OPEN: this act's seat test was written
assert True; return, a SIXTH copy of the idiom #1030's review had just removed from five tests in this
same module — an act authored beside that cleanup rather than after it — and assert True REPORTS A PASS,
so a checkout without the manifest turned the "used nowhere" pin into a green no-op; it now reads through
the_landed_manifest(), where absence is a FAILURE, the module docstring's census says six, and the tamper
proves both directions. And the lexists paragraph in check_retired argued for lexists by describing
exists — "a dangling symlink reads as absent" is exists' behaviour, stated inside the paragraph that
exists to justify not using it, which is a standing invitation to simplify the guard away; rewritten in
the right direction, lexists answers about the ENTRY and exists about its TARGET. Round 11 is ANSWERED
and not fixed, on a MEASUREMENT: retired_rows() does not drop a retirement whose at is an undeclared key,
because _resolved_destination degrades such a key to a 1-tuple of the key ITSELF — a shape that can never
equal a resolved 2-tuple, and is nevertheless equal to itself — so the row is selected at exactly the leg
the block names and declined only at legs it does not; where the block names a placement the row does NOT
make, which is the shape a typo in at actually produces, retired_arrival returns (None, None), rows_for
KEEPS the row at its real leg and the deleted file refuses arrival-missing, which is round 3's repair
holding; and a row whose own destination is undeclared is owed at no declared leg WITH OR WITHOUT a
retired: block, measured against its own control. What remains true is the division of labour rather than
a gap: no run can be invoked at an undeclared leg at all (--destination refuses arrival-unreadable before
any selection), so an undeclared retired.at is a retirement with no leg to ask it at, and the tool holding
the document refuses it by name — check 5's carve-vocabulary-unknown, in a sentence THIS act wrote for
this failure mode, proven by tampering the real manifest. A preflight here would make retired.at the one
closed vocabulary this file re-decides, when it membership-tests none of the other six.

MEASURED AND DELIBERATELY NOT SWEPT: effective_arrival (RULED Q6, landed at #1011) reads re_destined.note
not at all and does not close its key set. That is looser and deliberate, in the OTHER direction — half a
re-destination leaves the row owed AT ITS ORIGINAL LEG, so exactly one leg still asks for the file, where
half a retirement read as one asks nowhere. Registered for a later declared act rather than moved here.

EVIDENCE, RE-DERIVED AT 39bb1dc AND NOT TRANSCRIBED: scripts/validate-carve-manifest.py OK, 456 rows at
b075fd9 (opendox-carve-0), 143 moved_verbatim / 175 moved_with_declared_edit / 138 not_moved, 318 digests recomputed, 456 files in the declared surface with none
undeclared, 319 shed rows absent at source, 4 RE-DESTINED by ruling (Q6) and 0 RETIRED by ruling
(5656343213) — the zero this act is pinned to. scripts/verify-carve-arrival.py --destination opendox_code
--dest-root <openDox-code@0b4e8bbf> --phase B --replica-at
tests/ideation-dashboard/conftest.py=tests/conftest.py OK, 119 rows arrived, 35 digests verified, 84 declared-edit rows within their lines, 1 unapplied, 1 of 1 declared replica verified, 149 files with none undeclared, 0 re-destined here and 4 away verified vacated, 21 declared admissions used; no retirement clause printed at
the leg, which is the zero state by design. pytest -q over the five carve suites (carve_manifest,
carve_arrival, carve_conformance, opendox_pin, openxdox_pin) -> 481 passed.

Plain gate: pytest-suite run 35104732206 SUCCESS at 39bb1dc, 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); 12 threads / 0 unresolved. Rule 6
does not apply: this pull request's file list is thirteen files, none under openspec/changes/, and its
only README hunk is the doc-index pair for the carve manifest and 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
…hree figures given one answer

NINE findings across two reviews (`72f1f202` six suppressed, `e1f29401` four
suppressed and one thread). Every one real; every one fixed here.

A SEVENTH `assert True; return` SEAT, on the worst test it could have been on.
`#1030`'s review took that idiom out of five landed-document tests; `#1032`'s
round 10 took it out of a sixth, authored beside that cleanup; this act --
authored beside BOTH -- arrived carrying it a seventh time, on
`test_carved_reach_refuses_the_two_landed_retired_rows`, the test that reads
the FIRST USE of the whole form. `assert True` reports a pass, so a checkout
without the manifest turned that pin into a green bar meaning "the check did
not run". It reads through `the_landed_manifest()` now. The old lines bound
nothing else, and that was CHECKED before deleting them -- dropping a binding
after a scan that stopped at the wrong boundary is what cost a `NameError` at
the round-10 merge. Proven by tampering: with the manifest moved aside the test
FAILS naming the file where it used to report `1 passed`; restored
byte-identical. The module docstring's census runs five -> six -> seven and
says WHY it keeps happening: the idiom is read off the neighbouring test that
still legitimately branches, so every act adding a landed-document pin re-makes
the cleanup until the seat test is the only branch left to copy.

A SEVENTH AGGREGATE MIRROR, AND THE TOOL THAT MISSED IT.
`tests/carve_arrival/test_verify_carve_arrival.py:3329` states what the manifest
pin IS rather than what it once was, and still said `(2454, 176)`. Corrected to
`(2621, 176)` -- and `rederive-absolutes.py` gained the site, because a tool
that checks six of seven places leaves the seventh stale in the next act exactly
as it did in this one. Seven sites now; ALL MIRRORS AGREE.

177, 167 AND 196 ARE THREE ANSWERS TO THREE QUESTIONS. The manifest header and
runbook § 2 both called this act's declaration "`adapter calls`, 177 lines".
Measured from the landed row: four entries, 196 line entries over 196 DISTINCT
lines, zero repeats -- 12 `import rewrites`, 7 `path constants`, slice S5's 10
and this act's 167. The block SPANS 177; the ENTRY declares 167; the ROW
declares 196. Both documents now carry all three and say which is which, and
the patch asserts the four numbers off the document before editing a byte.

AND THE SAME CONFLATION HAD SURVIVED INTO § 5.8's TRANSITION WINDOW, which is
pre-dedupe text that outlived the repair: when the entry still carried all 177
the row DID have 206 entries over 196 lines and the overlap was deliberate.
The dedupe removed the divergence and left the explanation of it standing. The
paragraph 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. The ASK-7 provenance comment called
`(1761, 159)` the current aggregate and the shared line-number docstring called
1761 "today", three lines from an assertion enforcing 2621. A dated figure kept
beside the current one is the point of both comments, so the repair names the
chain: `(1422, 158)` at RULED Q-L8 (c), `(1761, 159)` at RULED Q-L7 (a),
`(2621, 176)` today.

Green: five carve suites 482 passed; `validate-carve-manifest.py` OK, 456 rows,
4 RE-DESTINED (RULED Q6), 2 RETIRED (RULED 5656343213); `rederive-absolutes.py`
(2621, 176) with all seven mirrors agreeing; both legs re-measured at their own
current heads -- `opendox_code` @ openDox-code#24 `e2d5ac4` OK, 117 arrived, 2
RETIRED here and verified absent; `openxdox_code` @ openXdox-code#20 `15e8115`
OK, 96 arrived, 85 declared-edit rows within their lines.

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 pushed a commit that referenced this pull request Sep 16, 2026
…emediation that misdescribes an expected window

Three suppressed comments, and two of them are statements this act would have
LANDED as true.

"TWO FIGURES, AND THEY ARE NOT THE SAME ONE" -- written by round 14 in the
manifest header, and the sentence then names THREE: the removed block SPANS 177
carve lines, this act's ENTRY declares 167 of them, and the ROW declares 196.
Round 14's own comment called them "three answers to three questions" and its
own patch asserted three numbers off the document; the header said two. Now
THREE FIGURES, AND NO TWO OF THEM ARE THE SAME.

AND THE PULL REQUEST'S OWN DESCRIPTION -- which is this commit message -- still
said the ten lines S5 declares "are declared twice so the removed block's
extent is readable in one place". True of an earlier draft of this act and
false since the de-duplication: `#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.
The paragraph now states the invariant (a line is declared once per row; 177 is
the UNION of S5's ten and this act's 167; the row declares 196 distinct) and
keeps the earlier design as history, pointing at the merge-forward record.

THE THIRD IS THE REMEDIATION PRINTED ON EVERY `arrival-not-retired`, and it
told an operator the wrong thing at exactly the moment it is read. It ended
"the deletion and the block land together or not at all" -- true of the ACT,
false as an instruction, because the two cannot land in one commit at all: they
are in different repositories and cutover runbook 5.8 lands the block FIRST on
purpose. An operator meeting this refusal is in the EXPECTED state of that
window, and the string now says so and names the remedy: the leg's own pull
request, never an edit to the manifest.

That is three carriers in one round -- a header, a pull-request body and a
diagnostic -- which is the same lesson this act has now taken nine times.

Green: five carve suites 482 passed; `validate-carve-manifest.py` OK.

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
…x` (#1067)

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

CLAIM: 5699629780
RULED: Q-R1..Q-R4 — #656 comment 5701772032 (Brett Heap, 2026-09-16, by interactive multi-choice; every RECOMMENDED answer adopted — each is what this PR and openDox-code #25/#26 already do).
Refs #656 (stays OPEN).

# Admit the ten openDox runtime files under the walked root `src/opendox`

`docs/opendox-carve-admissions.yaml` gains ten `created:` rows under `opendox_code`, for the `src/opendox/runtime/` subpackage that `split-opendox-two-layer-product` § 3.5 and § 3.6 add at the leg.

**This PR lands FIRST**, per RULED Q-L1 and the precedent every existing row in this file follows: the leg PRs it serves are [openDox-code `build/3-5-runtime`](https://github.com/opensoft/openDox-code/tree/build/3-5-runtime) and [`build/3-6-repository-act`](https://github.com/opensoft/openDox-code/tree/build/3-6-repository-act).

## Why exactly ten, and why not more — measured, not assumed

`scripts/verify-carve-arrival.py::declared_roots` over `rows_for(manifest, "opendox_code")` — **119 effective rows** — returns exactly `['src/opendox', 'tests']`.

So everything the two leg PRs add **outside** those two roots needs no admission and gets none:

* `migrations/` (the ordered SQL, at the root of the leg — § 3.5's own placement sentence);
* `deploy/compose/` and `deploy/kubernetes/`;
* `docs/runtime.md`, `pyproject.toml`, `.gitignore`, `.github/workflows/validate.yml`;
* and the **new** `tests_runtime/` tree — eight test modules that would each have needed a row had they gone under `tests/`. `under_roots` is segment-aware by design ("`tests_helpers/x.py` is not under `tests`, and a prefix test that says it is quietly widens the walk"), so a new top-level test directory is outside the walk. That is the single decision that keeps this diff at ten rows.

What remains is one new subpackage, and its ten modules are the ten rows.

## The `since:` shas are BRANCH commits

That is what the rows for `src/opendox/web/views/intent-binding.js` and `src/opendox/display_profile.py` already do, and for the same reason: RULED Q-L1 has this admission PR land first, so the leg commit it cites cannot yet be on the leg's `main`.

| sha | branch | files |
|---|---|---|
| `9b81cf4dcdfcaba3d51ae1f5505d4a38f086d699` | openDox-code `build/3-5-runtime` | the eight § 3.5 modules |
| `a34601a0dfcfef1d8124cbab472bb5e2d6bd114f` | openDox-code `build/3-6-repository-act` | `local_git_adapter.py`, `repository_act.py` |

## What this PR does NOT do

* It does not tick a `tasks.md` box, touch `openspec/changes/` or the README's "OpenSpec Records" block — so **Rule 6 does not apply** to it.
* It does not move a pin, a manifest row or a digest. `docs/opendox-carve-manifest.yaml` is untouched: the manifest declares what LEAVES openxFactory and never what a destination assembles (RULED OQ-C), which is why this file exists at all.
* It admits by **name**, which is what an admission is — "a name alone … admits whatever is written at it". The files' content is reviewed on the leg PRs.

## Measured

* `scripts/verify-carve-arrival.py::read_admissions` parses this file at this head and returns **31** `opendox_code` admissions, in sorted order. That function refuses an out-of-order `created:` list, a repeated `path:`, a `reason:` carrying a newline and a `since:` that is not 40 lowercase hex; all four gates pass.
* `python -m pytest -q tests/carve_arrival tests/carve_manifest` at this head: **277 passed, 4 failed**. The same four fail on the unmodified base in this checkout (`git stash` + rerun, same four names), because this clone is shallow — the carve commit `b075fd91` is not in it — and its `openDox`/`openXdox` submodules are not materialized. They are a property of the checkout, not of this diff, and they are `test_the_real_repository_answers_at_the_ruled_path`, `test_the_real_manifest_carries_the_q6_form_and_the_four_rows_s5_re_destines`, `test_carved_reach_resolves_the_four_re_destined_rows_at_their_arrival` and `test_the_real_manifests_declared_lines_are_the_floors_lines`. CI, which checks out fully and materializes both submodules, is the measurement that counts.

Precedent for the shape and the body: openxFactory #1030 § 3, which admitted three slice-S7 files the same way.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…pwire

Copilot round 2's one finding, accurate: `assert 2454 + lines == 2461` is a
PRE-Q7 base, and RULED Q7's annotation (#1068, 89 further lines on
`web/styles.css`) lands FIRST, so the merge from `main` makes 2454 -> 2543,
2461 -> 2550, and `docs/opendox-cutover-runbook.md`'s `opendox_code` cell
1667 -> 1756 -> 1763.

TAKEN AS A COMMENT AND NOT AS A LOOSER ASSERTION, because the hard-coded base
is what MAKES the re-derive compulsory. A window total in this file is "a DELTA
against the document the act found", and a form that floated with whatever the
manifest happened to sum would let the merge land silently with every
synchronized document stale — the transcription failure § 2 of the runbook
exists to end, and the one round 10 of #1030 found in the per-destination
table. The assertion now names the base, names the successor act, and names the
two figures it must become.

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]>
brettheap pushed a commit that referenced this pull request Sep 18, 2026
Self-review of `f3fb6e3f` before the review of it. The § 5 `--allow-created`
note, re-anchored in that commit, said PR #1030 "added three more entries to
it, with seven further amendments since". Measured from the same derivation
the same commit installs, PR #1030 is amendment SEVEN and the ones after it
are #1025, #1067, #1068 and this act — FOUR, not seven. Seven is the ORDINAL,
not the remainder, and putting the two in one sentence is precisely the
conflation the renumbering exists to end.

The four are named now rather than counted, so the sentence is checkable
without re-deriving it.

Gate unchanged 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. Also measured
at this head, beyond the brief: tests/carve_conformance + both pin suites
143 passed, and scripts/verify-carve-arrival.py --destination opendox_code
--phase B against openDox-code main 5c137a90 exits 0 — 117 arrived, 35
digests, 82 declared-edit rows within their lines, 1 unapplied, 4/4 replicas,
148 files none undeclared, 2 rows RETIRED and verified absent, 22 admissions
used, 11 stale.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…t leaves (#1085)

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

**The annotation of the § 3.4 slice-S7 RESIDUE pair, and it lands FIRST** — RULING **Q-L1**'s order ([`#656` comment `5628560136`](#656 (comment))). Its one leg is opensoft/openDox-code#28 (`build/s7-residue-leaf-facet`), which realizes exactly the lines this declares and nothing else. CLAIM: [`5714327188`](#656 (comment)). Refs #656 (stays OPEN).

**#1068 HAS LANDED** (RULED Q7's CSS extraction annotation, main `24f7a213`) and this branch has MERGED it: the two acts edit the same one `docs/opendox-carve-manifest.yaml`, `docs/opendox-cutover-runbook.md`, `README.md`, the three script docstrings and both carve suites, so eight files conflicted and every conflict was on a figure both acts re-state. Every absolute below is re-derived at the merged head by SUMMING the merged manifest — never by adding the two sides' deltas — and re-measured before it was written down.

## What is declared

SEVEN display-facet **leaves** that slice S7's own review found **inside the modules S7 had already parameterized at their mounts** — two threads Copilot opened on openDox-code#21 at its gated head `c7a216c7` and **five it left SUPPRESSED in review [`5192900474`](opensoft/openDox-code#21 (review) body, with zero threads opened**. The S7 LANDED note ([`5688498049`](#656 (comment))) carried them forward as owed.

| row (`opendox_code`) | class | carve lines | the leaf |
| --- | --- | ---: | --- |
| `web/views/board.js` | `adapter calls` | `82` | `brainstormCard()`'s date metadata spelled the literal `captured` beneath a heading that resolves the same status |
| `web/views/docs.js` | `adapter calls` | `37`, `39` | `docHaystack()` indexed the raw `d.stage` while the row renders `vocab.documentStageWord(d.stage)` |
| `web/views/explorer.js` | `adapter calls` | `225` | the stale-tile fallback title rendered the raw `DRILL_KINDS` seam key |
| `web/views/staging-workbench.js` | `adapter calls` | `805`, `1202`, `1204` | the nested `renderDocWheel` mounted without `display`; `runAddSection()` handed `insertSection` no `options.display` |

**SEVEN FINDINGS, FOUR ROWS, SEVEN LINES, and the arithmetic is not a slip**: `views/staging-workbench.js` carries two of the findings, and the seventh — `views/display.js`, whose `applyTokens` never cleared an earlier facet's inline `--st-*` properties — is an ADMITTED created file with no manifest row at all, so it is declared as an admission and not as a line.

**WHY THEY WERE NOT TAKEN ON #21.** Each edits a carve-commit line the landed S7 window does not declare, and that was PROVED at the time against a pristine checkout with the floor's own `verify-carve-arrival.py` (`arrival-undeclared-edit`), then registered rather than taken. It is the same disposition Act 1 gave slice S8's two path constants: measured, left alone, and owed to the act that declares them.

## What moves, and what does not

**NOTHING CONVERTS AND NO ROW COUNT MOVES.** All four rows were already `moved_with_declared_edit` and already carriers — three converted by slice S7 and `views/staging-workbench.js` by slice S5 — so the disposition counts (`143 / 175 / 138`), the carrier count (`176`) and the replica count (`20`) stand where the pre-existing `openxdox_code` annotation left them. **ONE CLASS ONLY**: every leaf is a call into the display facet, which is RULING OQ-1's `adapter calls` and neither of its other two — no import moves and no path is spelled.

**EVERY ABSOLUTE IS RE-DERIVED BY SUMMING THE APPLIED MANIFEST, never transcribed:**

| | before | after |
| --- | ---: | ---: |
| declared edit lines | 2710 | **2717** |
| `adapter calls` | 1738 | **1745** |
| `import rewrites` / `path constants` | 726 / 246 | unchanged |
| rows carrying `edits:` | 176 | unchanged |
| runbook § 2 table, `opendox_code` declared lines | 1756 | **1763** |
| the four destination figures | 2708 | **2715** (+ the replica row's two = 2717) |

The same figure is re-derived in `README.md`'s doc-index line and in the three script docstrings that state it (`scripts/carve_lines.py`, `scripts/verify-carve-arrival.py`, `scripts/validate-carve-manifest.py`). The round-10/11 tests in `tests/carve_arrival/` re-derive the runbook's tables from the manifest and were red until they moved.

**And the runbook's § 2 DATED HISTORY carries this act too** (Copilot review at the merged head, which found that history still ending at RULED Q7 with "it moves them LAST"): the history is in LANDING ORDER, so Q7's claim is qualified and the residue gets the paragraph every act on this document has — four rows, +7, nothing else moving, `2710 + 7 = 2717`, and the two of the seven findings that declare no line here with the reason for each.

**THE LINE NUMBERS ARE THE VERIFIER'S OWN, never read off a diff**: derived with `carve_lines.text_records` + `difflib` opcodes under `_check_declared_lines`'s rule (`replace`/`delete` touch carve lines `i1+1 … i2`; an `insert` is declared by EITHER neighbour, so the minimal declaration names one), against the leg's head and minus every line slice S7 or S8 already declared.

## One landed assertion was amended — by BOTH acts, independently, and the merge keeps it once

`test_the_real_manifest_carries_the_s7_display_facet_declared_edits` § 2 read a converted row's **whole** `edits` list — its own comment says *"a converted row carried no `edits:` before this act, so S7's entries are its ONLY entries"* — and that is S7's claim only while S7 is the newest act on all seventeen converted rows. **It is not, twice over:** RULED Q7 appends an eighteenth entry to `web/styles.css` and this act appends to three more (`board.js`, `docs.js`, `explorer.js`). What the conversion actually claims is that the row carried nothing BEFORE S7, and in a document appended to in landing order that is a **PREFIX**; it is read as one now, keeping every claim the equality made bar the accident of being the whole list — which belongs to whichever act annotated the row most recently and to no act permanently. This is the same amendment, for the same reason, that slice S8 made to the run directly above it.

**#1068 and this act wrote that amendment separately, in the same words**, which is what two acts finding the same defect looks like. The merge keeps **Q7's landed assertion** and **one** note, naming both appending acts — no second copy of the argument, and no change to what is asserted.

## The window has its own assertion

`S7R_WINDOW` + `test_the_real_manifest_carries_the_s7_residue_declared_edits`:

* the four keys read **off the dict literal with `ast`** (round 8's rule on #1030 — a dict literal collapses a repeated key at import, so a `len()` of the imported object counts the SURVIVORS);
* disposition and destination per row;
* the entries as a **contiguous run occurring exactly once** and **STRICTLY AFTER slice S7's own run on the same row** — the residue is what S7's review found and S7 could not take, so an entry sitting ahead of S7's would be a document telling the arrival verifier a history that did not happen;
* **row-wide line distinctness** (round 5's finding on #1030: a repeated line number is lawful to the validator and read as a SET by the verifier, so it would keep every total intact while one really edited line went undeclared);
* the totals summed, not transcribed — `(7, 4)`, `{"adapter calls": 7}`, and the HARD-CODED base that makes the re-derivation compulsory, now `2710 + 7 == 2717`. **It has fired twice, both times as designed**: `2454 + lines == 2461` went red on the merge that brought RULED 5656343213's retirement act in, and `2621 + lines == 2628` went red on this one. The comment written at the first firing PREDICTED this one exactly — base 2710, the `opendox_code` cell reaching 1763 — and the three figures were re-measured at the merged head before the line was rewritten, so the prediction is recorded as met and never used as the source. That prediction spelled the cell `1674 -> 1763`, and **1674 is not a state the landed document ever carried** (Copilot's third round, reading the runbook's history beside the comment): it was THIS BRANCH's cell before the merge — 1667 plus this act's seven, on the pre-Q7 base — while `main`'s own sequence is 1667 → 1756 → 1763. The comment now says which document each figure belongs to, because the arithmetic a merge invalidates is exactly the pre-merge branch's;
* and a **sweep over every other `*_WINDOW` in the module** proving row-disjointness. Written as a sweep and not as a named pair on purpose: RULED Q7's `Q7_WINDOW` (#1068, one row, `web/styles.css`) was named there as the next one due and **the sweep picked it up on this merge with no edit to the loop**, where `assert not (set(Q7_WINDOW) & set(S7R_WINDOW))` would have been a `NameError` until then and an unamended test after.

## Every historical aggregate in these suites is now a figure the file PINS

Four Copilot rounds at the merged heads each found one stale or mislabelled figure, and the last two were the same CLASS: a *"when this was written"* aggregate, which is checkable by nobody — including the author, one merge later. They are restated as the landing sequence the suites themselves assert: the slice-S7 window `(2366, 176)` as it landed (§ 3's own `1584 + 782` and `159 + 17`) and `(2717, 176)` today; the slice-S8 pin `(2406, 176)` (`2366 + 40`, the sum stated four hunks above it); the arrival suite's § 2 docstring 2717 / 2710 / 2621. A LANDING figure is a delta against the document that act found, so no successor can make it wrong — which is the same rule this act's own window states for its `2710 + 7 = 2717`.

## Gate, measured at this head

```
scripts/validate-carve-manifest.py
  OK — 456 rows at b075fd9 (opendox-carve-0); 143 / 175 / 138;
  318 digests recomputed; 456 files in the declared surface with none
  undeclared; 319 shed rows absent at source; 4 RE-DESTINED by ruling;
  2 RETIRED by ruling

scripts/verify-carve-arrival.py --destination opendox_code --phase B
  --dest-root <openDox-code main 5c137a90> + § 5.5's four --replica-at flags
  OK — 117 rows arrived, 35 digests verified, 82 declared-edit rows within
  their lines, 1 unapplied, 4 of 4 declared replicas verified, 148 files
  under src/opendox, tests with NONE undeclared, 0 re-destined HERE and
  4 AWAY verified vacated, 2 rows RETIRED here by ruling and VERIFIED
  ABSENT, 22 declared admissions used, 11 stale

pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance \
         tests/opendox_pin tests/openxdox_pin           483 passed
         (at the pre-merge head 71c5eea)

pytest -q tests/carve_manifest tests/carve_arrival \
         tests/carve_conformance                        446 passed
         (at this merged head)
```

**The `1 unapplied` is not this act's** and is the same one the S7 note recorded: `scripts/ideation_dashboard/doxbench_scope_types.py`'s three `adapter calls` lines, a group-3 record declared at the carve itself against open successor #838.

## What this does NOT do — residue, by name

1. **`tests/test_doc_wheel.py:393`'s 600-character window.** It finds `renderAbstract(abstract,` by reading 600 characters from `renderDocWheel(selector` — 470 apart at the leg's base — so a house-style comment block at that site turns a WIRING assertion red for a reason unrelated to wiring. Repairing the window is an edit to a carved test file at lines this annotation does not declare, so it is registered here, not taken.
2. **`views/viewer.js:262`'s `doc.stage` pill** stays a boundary-note amendment, exactly where the S7 note's register put it.
3. The **STALE admissions** the arrival run reports at `opendox_code` are eleven against main: ten `src/opendox/runtime/*` files that are openDox-code #25/#26's, declared ahead of their legs and untouched here, and **this act's own `tests/test_display_facet_leaves.py`** — declared here, introduced at the leg (`338143a3`), and used the moment openDox-code#28 lands. A declared-but-unused admission is the expected state of the window an annotation-then-leg pair opens.
4. The **`arrival-not-retired` finding this branch recorded at the previous merge is GONE**, measured: openDox-code#24 landed (`0e65b5f8`), so `tests/test_intent_tray_dom.py` is absent at openDox-code main and the phase-B run above answers `2 row(s) RETIRED here by ruling and verified absent`. It still answers against THIS act's leg branch, whose base `0b4e8bbf` predates that deletion — a fact about the leg's base, not about either window.

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


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.

3 participants