Skip to content

§ 3.4 slice S8 row annotation: fourteen declared path constants over thirteen rows, one admission, and the resolved-identity reading of to != from - #1025

Merged
brettheap merged 7 commits into
mainfrom
chore/s8-test-rehome-declared-edits
Sep 15, 2026
Merged

brettheap merged 7 commits into
mainfrom
chore/s8-test-rehome-declared-edits

Conversation

@brettheap

@brettheap brettheap commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction

§ 3.4 slice S8 row annotation: fourteen declared path constants entries, one admission, and the resolved-identity reading of to != from.

Refs #656 (stays OPEN). RULED Q-L1's own paragraph binds every § 3.4 slice (#656 comment 5642758731); the FORM is the Q-L1 form ruled at 5628560136. CLAIM: #656 comment 5649985838. Pairs with openDox-code #23 and openXdox-code #19, and lands FIRST. Stacked behind #1023 (S5's annotation). DRAFT — the lane does not merge; the orchestrator lands.


1. S8 carries NO re_destined: row, and that is a measurement

The slice is "re-home the 48 test files and un-narrow validate", and § 6 Q6 built the re_destined: form directly for it. Measured at both leg heads on 2026-09-13: not one of the 48 may lawfully change leg.

§ 1.2(d) names the defect in its own words — "the carve's import rewrites edit class rewrote the path constant and pointed the tests at the wrong leg" — and then § 5's S8 row infers that the files must move. An ast walk of every module-level Import/ImportFrom in the 23 files at openxdox_code says the inference holds for none of them: every one imports a real openxdox module — generator, snapshot_registry, gate_console, gate_routes, doxbench_scope, round_trip. RULED OQ-G's TEST HOMES rule, the rule at the head of this very manifest, places a mixed file there for exactly that reason: "lawful there, because openXdox pins openDox; unlawful in openDox, which pins nothing."

So OQ-G's placement stands, the path constant is the whole defect, and re-destined 0 is what validate-carve-manifest.py goes on printing for this document. The S5 annotation's four rows (#1023) stay the form's only uses. A new assertion pins that rather than leaving it to the summary line.

RULED, 2026-09-13 — #656 comment 5656343213 (Brett Heap, by interactive multi-choice, on the question this PR's § 1 put in #656 comment 5650335573): "the path constant moves, the file does not." S8 re-points 44 of the 46 root spellings across 31 files at openXdox-code to read openDox's bundle through the PIN — slice S5's tests/test_gate_loop_probes.py::_opendox_bundle is the landed precedent at that leg — re-homes 0 files, and carries 0 re_destined: rows. Two of the 46 stay, correct as they stand and named rather than silently skipped: tests/test_gate_console.py:58, because S5 leg A places gate.js at that leg, and tests/tools/playwright-smoke.py:282, a tool outside validate's list rather than a suite. § 5's S8 row and § 1.2(d)'s inference do NOT stand as written; boundary-note amendment #3 rewrites both to this reading and re-measures 48 → 43. That amendment is a later act at openDox-spec and not this PR's; what this PR owes it is the measurement, below.

§ 1.2(d) re-measured, for amendment #3 (both leg heads, 2026-09-13):

measurement as the note landed measured now
openDox-code files naming a views/<name>.js path 25 20
openXdox-code files naming one under REPO_ROOT/"src"/"openxdox"/"web" 23 23
…of those, naming at least one bundle file openDox owns — 22
…of those, already correct after S5 with no edit (test_gate_console.py, gate.js) — 1
openXdox-code files naming that root at all (serve roots included — 9 of them, not 8: the ninth is the tool tests/tools/playwright-smoke.py) — 31 (46 root spellings, of which 44 are re-pointed; two are already correct — tests/test_gate_console.py:58, because S5 leg A places gate.js at that leg, and tests/tools/playwright-smoke.py:282, outside validate's list. Re-derived at landing against c1ad341a and 080dcfcd, reproducing openDox-spec#11's second-instrument table exactly. The round-2 "47 path sites" is left attributed rather than restated: a root spelled once can carry several derived sites, so a spelling total is never a site total and neither corrects the other)
the note's "48" 48 43

2. Thirteen rows, forty lines, no disposition change, no new carrier

leg row class lines what the carve's pass missed
opendox_code test_outline_model.py path constants 22 parents[2] resolved OUTSIDE the repository — the RULED Q-L7 (a) conftest-replica defect one file over (#19 took the other half)
opendox_code test_doxbench_view.py path constants 302, 303, 306 tests/ideation-dashboard/fixtures/ — the pre-carve fixture location
opendox_code test_doxbench_knowledge.py path constants 31, 32 pre-carve scripts/ideation_dashboard/<module>.py read
opendox_code test_doxbench_document_abstract.py path constants 44, 45 same
opendox_code test_doxbench_memory_gateway.py path constants 32, 33 same
opendox_code test_bullseye_widget.py path constants 1674 same, for serve.py
openxdox_code test_doxbench_mutation_boundary.py path constants 45, 46 the import lines the pinned-bundle import is inserted beside
openxdox_code test_doxbench_save.py path constants 524, 525, 526, 1075, 1077 two surviving pre-carve scripts/ideation_dashboard/web/views roots — the tails were rewritten, the heads were not
openxdox_code test_doxbench_scope.py path constants 27, 28 the neighbouring import lines
openxdox_code test_doxbench_mutation_boundary.py path constants 47, 48, 49, 51, 52, 55, 56, 57, 59, 60 round 1's correction to this slice's own first entry — re-running _check_declared_lines against the leg head found the four Path expressions REPLACED, not merely re-rooted
openxdox_code test_renderer.py path constants 610, 1078 round 1: the same shortfall, measured the same way
openxdox_code test_doxbench_abstract_store.py path constants 36, 46, 47 round 1: a new site, arriving with leg A's un-narrowing
openxdox_code test_doxbench_telemetry.py path constants 15, 22, 23 same
openxdox_code test_doxbench_turns.py path constants 35, 103 same

Fourteen entries over thirteen rows, forty lines, every one path constants — test_doxbench_mutation_boundary.py is the row with two, because the second corrects the first. Eleven lines land at opendox_code and twenty-nine at openxdox_code. The last five arrived in round 1 and are described again below with the measurement that found them; they are in the table so this body is the whole record and not its first half.

The other 37 edited sites across the two legs needed no new declaration. The carve's own import rewrites pass already declared the roots it rewrote, so re-pointing one a second time changes a line the row already names; and an import inserted beside an already-declared import line is declared by its neighbour — scripts/verify-carve-arrival.py::_check_declared_lines' own insertion rule.

Line numbers are the carve commit's, and they were measured. Computed with the verifier's own algorithm (carve_lines.text_records + difflib opcodes, exactly _check_declared_lines) against each leg's head minus the lines its base already changed, so a line another slice declares is not re-declared here.

Arithmetic, as a delta on the S7 annotation's totals (#1030, merged at b3a75537 2026-09-15T21:40Z, and carrying slice S5's #1023 beneath it): rows unchanged; not_moved unchanged; no disposition conversion; declared lines +40 (path constants +40, import rewrites +0, adapter calls +0); rows carrying edits: unchanged (all thirteen were already carriers); replicas stay 20; S8's own re_destined count stays 0. 2366 + 40 = 2406 on the same 176 rows — import rewrites 722, path constants 206 → 246, adapter calls 1438 — re-derived in test_the_real_manifest_carries_the_ruled_q_l7_amendment, which SUMS the merged document instead of quoting either act, and which also pins each of the fourteen entries by row, class and exact lines. Each act states a DELTA and no act restates an absolute; that one test is where the absolutes live, which is why the merge could not transcribe a figure from either side. No referent digest moves — carve_commit, carve_tag and all 318 sha256 values are untouched.

3. One admission

openxdox_code gains tests/opendox_bundle.py — a CREATED file (RULED OQ-C: the manifest declares what LEAVES openxFactory, never what a destination assembles). It resolves Path(opendox.__file__).parent / "web", the resolution slice S5 already landed at that leg in tests/test_gate_loop_probes.py::_opendox_bundle, and it builds RULED Q5's COMPOSED root for the four suites that assert across the seam.

4. The resolved-identity reading of to != from — the registered follow-up, discharged

Registered at #1011's landing ("a follow-up floor act for the S8 author to carry with the first real rows"), and carried here because S8 is the act that was to write them.

to and from are now compared on their resolved (repository, leg) bodies rather than as KEYS:

  • scripts/validate-carve-manifest.py — new _resolved_destination, used by _check_re_destined_consistency and _check_re_destined_chains;
  • scripts/verify-carve-arrival.py — the mirror, used by rows_for, vacated_rows and also_replicated_rows;
  • held equal across the two by test_both_tools_resolve_a_destination_key_identically, on the discipline effective_arrival already has (RULED Q-L8 (c)'s lesson: two tools quietly disagreeing about one definition).

Why it mattered. A destinations: key is a LABEL, never a referent. check_shape deliberately admits two keys sharing one {repository, leg} body (its own comment says why), and check_surface's duplicate-arrival map already keyed on the resolved triple for that reason. to != from was the one place still comparing labels — so an ALIAS PAIR passed the only check that is supposed to guarantee a re-destination MOVES the file, and the document it produced is unsatisfiable at the destination: the verifier would require the same bytes PRESENT (this row's arrival) and ABSENT (its vacation) at one real leg, and refuse arrival-not-vacated on a file the manifest still says that leg carries.

Seven new tests, both sides of the discriminator (an alias pair refuses; two keys whose bodies genuinely differ are a lawful re-destination; a chain spelled across two aliases refuses; an unknown key still falls to carve-vocabulary-unknown).

5. Evidence

At a94e20fb (this branch merged with origin/main @ 3c614d34, which carries the slice S7 annotation #1030):

  • python3 scripts/validate-carve-manifest.py → OK … phase post-shed, 456 row(s) at opensoft/openxFactory@b075fd91dc8f (opendox-carve-0) — 143 moved_verbatim, 175 moved_with_declared_edit, 138 not_moved; 318 digest(s) recomputed; 456 file(s) in the declared surface with none undeclared; 319 shed row(s) absent at source as declared; 4 row(s) RE-DESTINED by ruling (RULED Q6). The four are slice S5's; S8's own count is 0.
  • python3 -m pytest -q tests/carve_manifest/ tests/carve_arrival/ → 281 passed (with git submodule update --init --recursive openDox openXdox, as .github/workflows/pytest-suite.yml does).
  • Re-derived from the merged document rather than transcribed: (lines, carrying) = (2406, 176); import rewrites 722 + path constants 246 + adapter calls 1438 = 2406; dispositions 143 / 175 / 138 over 456 rows; replicas 20.
  • tests/carve_conformance/ is unrunnable in a clone without the openDox submodule initialized — pre-existing, identical at main.

6. Two things S8 cannot do, raised rather than worked around

(a) re_destined: to: openxfactory is not expressible — and the three suites that needed it are now RULED to RETIRE. Two suites at openDox-code (tests/test_intent_tray_dom.py, 23 tests; tests/test_wheel_verbs_dom.py, 8) and one at openXdox-code (tests/test_staging_workbench.py's ending-replay harness) drive views/intent-feed.js — a RULED OQ-F not_moved row present at neither leg, because slice S2 replaced that surface with views/intent-binding.js. to is held to the CLOSED destinations: keys, openxFactory is the SOURCE and not one of them, and this manifest's own "what it does not move" list names "the five destinations: keys" verbatim; re_destined: on a not_moved row refuses carve-re-destined-not-moved; and under phase: post-shed a moved row's source path is CHECKED ABSENT here. Deleting an arrived row has no form either — which is the finding that decided the sequencing.

RULED, 2026-09-13 — #656 comment 5656343213 (Brett Heap, by interactive multi-choice): retire the three at their legs as a declared act citing OQ-F, and register a retired: row form as the NEXT carve-floor act. The form lands FIRST, under its own claim and after this slice; the retirement of the three lands under it, as a declared act. So slice S8 touches none of the three: all three stay NARROWED OUT at their legs and untouched in the tree, they are named RETIRING here, in openXdox-code #19's and openDox-code #23's bodies and in the S8 note, and both acts are registered in § 7. S8 declares neither act itself, because neither is S8's.

(b) The FULL-suite un-narrowing is the BUILD arc's. Both legs' own SOURCE modules reach openxFactory-only packages at import time — src/opendox/serve.py:192 → ideation_dashboard.serve_openxfactory_lanes (1126 of openDox-code's 1188 tree errors) and src/openxdox/generator.py:66 → doc_health.corpus (57 collection errors, 873 errors past them). RULED Q-L5 (b′) and Q-L8 (b′) each say in terms that they wait on the BUILD arc (§ 3.5/3.6), and tests/test_consumer_reach.py's STILL_REACHING asserts the openDox half still fails. The note's S8 row lifts the narrowing "for the web suites", which openDox-code #23 does (283 → 691 tests) and openXdox-code #19 now does as far as its own blocker allows (154 passed/16 skipped → 301 passed/23 skipped).

7. Residue this slice REGISTERS rather than discharges

Each is named here so it is a queued act with a reason, not a thing nobody wrote down.

# act why it is not this slice's where it is recorded
1 the retired: row form — the carve floor has no way to say that an ARRIVED row's file is withdrawn at its leg the floor's forms are authored as their own acts under their own claims; S8 found the gap by needing it, which is not the same as being authorized to fill it RULED #656 5656343213: the NEXT carve-floor act — CLAIMED at #656 comment 5656690570 (2026-09-13 22:44Z)
2 the retirement of the three intent-feed suites (tests/test_intent_tray_dom.py, tests/test_wheel_verbs_dom.py at openDox-code; tests/test_staging_workbench.py's ending replay at openXdox-code), as a declared act citing RULED OQ-F it cannot be written until act 1 exists — that is the whole of the sequencing in the ruling RULED #656 5656343213; named RETIRING in this body, #19's, #23's and the S8 note; stacked behind act 1's claim 5656690570
3 boundary-note amendment #3 at openDox-spec: rewrite § 5's S8 row and § 1.2(d) to "the path constant moves, the file does not", carrying the re-measurement table in § 1 above (48 → 43) the note is openDox-spec's document and amendment #3 is already the queued act that re-derives its § 3 census and § 1.1 figure RULED #656 5656343213; CLAIMED at #656 comment 5656686020 (with tasks.md amendment #3); this PR owes it the measurement, which § 1 carries
4 carved_reach.shed_relpath() and shed_commit_object() still read raw destination/destination_path #1023 fixed source() (and sources_under()/shed_destination() through it) under its own round's authorization and registered these two. shed_commit_object() is not a one-line change: it answers an AT-A-COMMIT question, a re_destined: block is a fact about TODAY, and resolving through it would answer a pre-ruling commit with a leg that commit's gitlink does not pin #1023's 0b992975 commit message; this PR's thread PRRT_kwDOTAvnrs6h2GWE reply. Measured unreached by any live row: all four re-destined rows are views/*.js, and neither reader's callers ask about one

Refs #656

Lane: openxfactory-4-opendox-extraction

🤖 Generated with Claude Code

Summary by Sourcery

Record the S8 path-constant repairs and make carve tooling consistently validate destinations by their resolved repository and leg identities.

New Features:

  • Add the S8 carve-manifest annotation for thirteen existing rows, declaring forty additional path-constant edits without changing file dispositions or adding re-destinations.
  • Add the pinned openDox bundle admission for openXdox test suites.

Bug Fixes:

  • Resolve destination aliases by their repository and leg identities across manifest validation and arrival verification, including re-destination, replication, chain, and admissions checks.
  • Correct path references in migrated test suites so they read assets and modules from the appropriate pinned bundle.

Enhancements:

  • Keep manifest totals, destination tables, and validation assertions synchronized with the additional declared edits.
  • Strengthen coverage for aliased destinations, duplicate admissions, re-destination semantics, and exact S8 manifest entries.

Documentation:

  • Update the carve manifest, admissions record, cutover runbook, and related documentation with S8 measurements and revised edit totals.

Tests:

  • Add regression tests covering resolved destination identity, alias-based admissions and re-destinations, duplicate admissions, and S8's declared rows and line counts.

ROUND 1 (2026-09-13) — four Copilot findings, all accurate, and twenty more declared lines

24f4f0b0, then af919294 (merge of origin/main @ 9378eca5).

thread finding disposition
validate-carve-manifest.py:2146 also_replicated_to compared raw labels while this slice made the verifier compare resolved identities accurate — fixed: the check resolves through _resolved_destination, names the real destination when the two keys are aliases, and two tests pin it (the refusal, and the discriminator where the alias is a different leg)
verify-carve-arrival.py:1182 the same hole, from the verifier's side accurate — same fix; resolving in also_replicated_rows was right, the manifest gate had to follow
opendox-carve-admissions.yaml:159 the committed-admissions test did not pin this slice's own admission accurate — fixed: tests/opendox_bundle.py is the SIXTH BUMP, by presence and by since c8e4a59b (its introducing commit, not the branch tip)
opendox-carve-manifest.yaml:571 mirrored totals still said 1422 accurate — fixed: README, runbook § 2 and its two dependent paragraphs, both validator docstrings and scripts/carve_lines.py. On the landing sequence: #1023 lands first, this branch merges origin/main, and the totals are re-derived from the merged document (1584 + 40 = 1624) by the one test that sums rather than transcribes

And twenty more declared lines, which is what the round actually turned on. The first push computed its entries from the sweep's diff. Re-running _check_declared_lines' own rule file-by-file against both leg heads — replace/delete touch carve lines i1+1 … i2, an insert is declared by EITHER neighbour — found two rows short: test_doxbench_mutation_boundary.py (10 lines: the four Path expressions are REPLACED, not merely re-rooted) and test_renderer.py (2). Both are declared now, in entries that say they are corrections. Leg B measured complete. Three more sites came with leg A's un-narrowing (test_doxbench_abstract_store.py 3, test_doxbench_telemetry.py 3, test_doxbench_turns.py 2).

Manifest validates OK; 273 carve-suite tests pass.


ROUND 2 (2026-09-13) — one finding, the third face of the same stone

a21f9a0a.

thread finding disposition
verify-carve-arrival.py:1148 the readers collapse same-body destination aliases, but the governed admissions path was still selected by the RAW CLI label (read_admissions(...).get(args.destination, [])), so one checkout passed through one key and reported the file undeclared through its alias accurate — fixed: admissions_for() takes the UNION over every key resolving to the requested destination's body, with the explicit duplicate rule the review asked for — one path declared under TWO aliases of one leg is arrival-unreadable, because a file cannot have two provenances and identical duplicates are still two review decisions. Two regressions: the alias admission admits through BOTH keys; the double-alias declaration refuses

Rounds 1, 2 and 3 each found one reader comparing destinations: KEYS where the rest of the tool compares resolved {repository, leg} bodies — first to != from, then also_replicated_to, then the governed admissions selection.


ROUND 3 (2026-09-13) — two findings, and the merge the sequence was built for

5e997115, then ff7c01a6 (merge of origin/main @ ee251d6c).

thread finding disposition
verify-carve-arrival.py:1148 scripts/carved_reach.py still mounts raw destination/destination_path in source(), shed_relpath() and shed_commit_object(), so once the stacked S5 annotation lands its four re_destined rows those readers resolve at the vacated leg accurate — source() fixed on main and merged here. #1023 added carved_reach.effective_arrival() at 0b992975; source() reads mount and join path through it, and sources_under()/shed_destination() are fixed with it. Two tests pin it, one of them against all four REAL rows. shed_relpath() and shed_commit_object() are NOT fixed and are REGISTERED (§ 7 row 4), with the reason shed_commit_object() is not a one-liner spelled out in the thread and measured as unreached by any live row
validate-carve-manifest.py:2051 the docstring above _check_re_destined_chains' origins map still said the map is keyed by (destination key, path) after this slice changed it to the resolved (repository, leg) body accurate — fixed: the true sentence had been left as an inline comment BELOW the false docstring. Folded into ONE statement, in the docstring, with the reason the key cannot be read here (a chain spelled across two aliases of one leg is the same chain) and the unknown-key fallback that keeps carve-vocabulary-unknown its own refusal

And the merge this whole sequence was ordered for. #1023 landed at ee251d6c (2026-09-13T21:44Z) and this branch took git merge origin/main. Seven files conflicted, every one by construction — two acts annotating one document — and every absolute was re-derived from the merged document, never transcribed from either side:

  • test_bullseye_widget.py is the one row both acts edit; both entries are kept, in landing order (S5's adapter calls [1465, 1509-1515], then S8's path constants [1674]).
  • tests/carve_manifest/test_carve_manifest.py — S5's narrative paragraph moved to its chronological seat before S8's, S8's arithmetic re-based to 1584 + 40 = 1624 on 159 rows, and the assertion re-derived by summing the merged file.
  • The mirrored totals (runbook § 2, README, scripts/carve_lines.py, both validator docstrings) re-counted: 1624 over 159, import rewrites 708 / path constants 242 / adapter calls 674.

Also amended in 5e997115, found while fixing the docstring: three sentences across the two validators called slice S8 "the act that writes the first real re_destined: rows". Under RULED #656 5656343213 S8 writes zero; the first four are slice S5's. Corrected to "the act that first READS live re_destined: rows".

Manifest validates OK (4 rows RE-DESTINED by ruling, none of them S8's); 276 carve-suite tests pass.

ROUND 4 (2026-09-15) — the slice S7 annotation merged in, and two collisions git could not flag

origin/main at 3c614d340777cb1ff825c04dbc78d98af1dc875e carries the § 3.4 slice S7 annotation (#1030, merged b3a75537 2026-09-15T21:40Z)
and the pin lockstep (#1054, 3c614d34). S7 and S8 change the same nine files — gh api .../pulls/1030/files and .../pulls/1025/files return identical lists — so the eight conflicts this merge produced are
by construction, not by accident, and the rule applied to every one of them is the document's own ordering
convention: chronological by landing. S7 lands first, so on every contested row S7's entry goes after slice S5's and
before S8's, and then every absolute is RE-DERIVED from the merged document rather than transcribed from either side.

Two collisions git reports as clean, found by rehearsing the merge in a throwaway worktree rather than by
discovering them live:

(a) S7's window pin read its run as a TAIL. test_the_real_manifest_carries_the_s7_display_facet_declared_edits
asserted landed[-len(entries):] == entries over its thirty-three-row window, and its own docstring gives the reason —
"an annotation APPENDS to whatever the row already carried". That is exactly why the tail claim cannot survive S8:
the manifest is appended to IN LANDING ORDER, and S8 annotates three of S7's thirty-three rows —
tests/ideation-dashboard/test_bullseye_widget.py, …/test_doxbench_view.py, …/test_outline_model.py. On those three
S8's entry displaces S7's run by one and the tail read fails on a manifest in which nothing whatever is wrong
(first rehearsal run: 1 failed, 277 passed). Amended here as a declared amendment to a landed pin: the run is pinned
WHERE IT LIES and required to occur exactly once — runs = [i for i in range(…) if landed[i:i+len(entries)] == entries]; assert len(runs) == 1. Every claim the tail form made survives (these entries, these classes, this order,
adjacent, not duplicated); the only claim dropped is is last, which belongs to whichever slice annotated a row most
recently and to no slice permanently. The docstring and the section header say so, and name this PR and CLAIM 5649985838.

(b) Both acts wrote "AMENDED A SIXTH TIME". tests/carve_arrival/test_verify_carve_arrival.py's admissions
docstring is bumped by every act that admits a file; S7 and S8 each wrote "AMENDED A SIXTH TIME" and "THE SIXTH
BUMP"
. In landing order S7 is the sixth and S8 the seventh: both are kept and ours is re-numbered.

A seventh and an eighth mirror of the aggregate, neither reachable by grepping the total. The runbook's § 2
per-destination table states four DESTINATION figures that a grep for the total never finds, and S8 declares lines at
two legs (11 at opendox_code, 29 at openxdox_code, SUMMED out of the merged manifest rather than typed —
that table has been under test since S7 added test_the_runbook_per_destination_table_is_the_manifests_own_sum); and the
pair is quoted three times in PROSE inside tests/carve_manifest/test_carve_manifest.py. All are re-derived here.

Re-derived at a94e20fb, not transcribed: pair (2406, 176); import rewrites 722 +
path constants 246 + adapter calls 1438 = 2406; dispositions 143 / 175 / 138 over 456 rows;
318 moved; 20 replicas; 4 re_destined, all slice S5's; per-destination 1667 / 26 / 703 / 9 summing to
2405, plus the one replica line that names no destination = 2406. scripts/validate-carve-manifest.py OK;
pytest -q tests/carve_manifest tests/carve_arrival → 281 passed.

…ssion, and the resolved-identity reading of `to != from`

Q-L1 binds every § 3.4 slice: an edit to an ARRIVED file outside its declared lines is an
undeclared movement, so S8's two leg pull requests pair with this one and this one lands FIRST.

S8 CARRIES NO `re_destined:` ROW, AND THAT IS THE MEASUREMENT, NOT AN OMISSION. The slice is
"re-home the 48 test files and un-narrow `validate`" and RULED Q6 built the `re_destined:` form
for it. Measured at both leg heads on 2026-09-13, **not one of the 48 may lawfully change leg**.
§ 1.2(d) names the defect in its own words — "the carve's `import rewrites` edit class rewrote the
path constant and pointed the tests at the wrong leg" — and then infers that the files must move.
An `ast` walk of every module-level import in the 23 files at openxdox_code says the inference
holds for none of them: every one imports a real `openxdox` module (`generator`,
`snapshot_registry`, `gate_console`, `gate_routes`, `doxbench_scope`, `round_trip`), and RULED
OQ-G's TEST HOMES rule — the rule at the head of this very file — places a mixed file there
because it is "lawful there, because openXdox pins openDox; unlawful in openDox, which pins
nothing". So OQ-G's placement stands, the PATH CONSTANT is the whole defect, and `re-destined 0`
is what the validator goes on printing. The S5 annotation's four rows stay the form's only uses.

NINE ROWS, TWENTY LINES, NO DISPOSITION CHANGE, NO NEW CARRIER. Six at opendox_code and three at
openxdox_code, every one `path constants` and every one already carrying an edit. The other 37
edited sites across the two legs needed no new declaration: the carve's own `import rewrites` pass
already declared the roots it rewrote, and an import inserted beside an already-declared import
line is declared by its neighbour (`_check_declared_lines`' own insertion rule). The nine are the
sites that pass MISSED — two surviving pre-carve `scripts/ideation_dashboard/web/views` roots, four
pre-carve `scripts/ideation_dashboard/<module>.py` reads, one pre-carve
`tests/ideation-dashboard/fixtures/` fixture path, one `parents[2]` depth that resolved OUTSIDE the
repository (the RULED Q-L7 (a) conftest-replica defect one file over, which openDox-code #19 took
the other half of), and two rows' neighbouring import lines.

Line numbers are the CARVE COMMIT's and were computed with the arrival verifier's own algorithm
(`carve_lines.text_records` + `difflib` opcodes, `_check_declared_lines`) against each leg's head
MINUS the lines its base already changed, so a line another slice declares is not re-declared here.
1422 + 20 = 1442 declared lines on the same 158 rows; replicas stay 20; no referent digest moves.

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

THE RESOLVED-IDENTITY READING OF `to != from`, the follow-up REGISTERED at #1011's landing and
carried here because S8 is the act that was to write the first real rows. `to` and `from` are now
compared on their resolved `(repository, leg)` bodies rather than as KEYS, in
`scripts/validate-carve-manifest.py` (`_resolved_destination`, `_check_re_destined_consistency`,
`_check_re_destined_chains`), mirrored in `scripts/verify-carve-arrival.py` (`rows_for`,
`vacated_rows`, `also_replicated_rows`) and held equal across the two by a new mirror test on the
discipline `effective_arrival` already has. A `destinations:` key is a LABEL, never a referent;
`check_shape` admits two keys sharing one `{repository, leg}` body on purpose, and
`check_surface`'s duplicate-arrival map already keyed on the resolved triple for that reason. The
`to != from` check was the one place still comparing labels, and an alias pair passing it produced
a document no leg could satisfy — the same bytes required PRESENT (the row's arrival) and ABSENT
(its vacation) at one real destination, refusing `arrival-not-vacated` on a file the manifest still
says the leg carries. Seven new tests; 271 carve-suite tests pass; the real manifest validates OK.

Refs #656

Lane: openxfactory-4-opendox-extraction

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

sourcery-ai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Reviewer's Guide

S8 records 20 previously undeclared path-constant edits on nine already-carried rows, admits the pinned openDox bundle helper, and updates both manifest tools to interpret to != from by resolved (repository, leg) identity, with regression tests preserving validation behavior and confirming no new re-destinations.

Sequence diagram for resolved destination identity validation

sequenceDiagram
    participant Manifest as Manifest
    participant Validator as validate-carve-manifest.py
    participant Arrival as verify-carve-arrival.py
    participant Tests as Regression tests
    Manifest->>Validator: _check_re_destined_consistency()
    Validator->>Validator: _resolved_destination(from, destinations)
    Validator->>Validator: _resolved_destination(to, destinations)
    alt Same resolved repository and leg
        Validator-->>Manifest: Refuse carve-disposition-inconsistent
    else Different resolved destination
        Validator->>Validator: _check_re_destined_chains()
        Validator-->>Manifest: Accept destination movement
    end
    Manifest->>Arrival: rows_for(), vacated_rows(), also_replicated_rows()
    Arrival->>Arrival: _resolved_destination(key, destinations)
    Tests->>Validator: Confirm both tools resolve keys identically
Loading

File-Level Changes

Change Details Files
Annotate nine existing manifest rows with the missed path-constant edits from slice S8 without changing dispositions or re-destination counts.
  • Add 20 measured path-constant line declarations across six openDox and three openXdox test rows.
  • Admit the new pinned-bundle helper as a created destination file.
  • Assert the nine row/class/line mappings and updated 1,442-line total.
docs/opendox-carve-manifest.yaml
docs/opendox-carve-admissions.yaml
tests/carve_manifest/test_carve_manifest.py
Make re-destination validation and arrival verification compare resolved destination identities instead of destination labels.
  • Resolve destination keys to (repository, leg) bodies while preserving unknown-key vocabulary errors.
  • Apply resolved identity checks to re-destination consistency, chains, arrivals, vacations, and replicated rows.
  • Keep the resolver implementations synchronized with a cross-tool equivalence test.
scripts/validate-carve-manifest.py
scripts/verify-carve-arrival.py
tests/carve_manifest/test_carve_manifest.py
tests/carve_arrival/test_verify_carve_arrival.py
Add regression coverage for alias destinations and the S8 no-re-destination invariant.
  • Reject re-destination between aliases of the same real leg, including alias-spelled chains.
  • Allow re-destination between keys with genuinely different destination bodies.
  • Verify malformed and unknown destination handling remains safe and correctly classified.
tests/carve_manifest/test_carve_manifest.py
tests/carve_arrival/test_verify_carve_arrival.py

Tips and commands

Interacting with Sourcery

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

Customizing Your Experience

Access your dashboard to:

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

Getting Help

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Unresolved critical alias-replica findings and moderate admission and destination-validation gaps remain.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This pull request annotates carve slice S8, adds a governed bundle admission, and introduces destination-alias resolution across validation and arrival verification.

Changes:

  • Records nine path-constant annotations and updated manifest totals.
  • Adds alias-aware validation, arrival, vacation, and replica handling.
  • Adds regression tests and admits tests/opendox_bundle.py.
File summaries
File Summary and final review notes
tests/carve_manifest/test_carve_manifest.py Adds S8 and alias assertions. Nit (1 vote): the prefix-based assertion does not pin the exact expected set.
tests/carve_arrival/test_verify_carve_arrival.py Adds destination-resolution and arrival behavior coverage.
scripts/verify-carve-arrival.py Applies resolved identities to arrivals and replicas. Critical (1 vote): alias self-replicas can bypass validation. Moderate (1 vote): alias admissions may be omitted, and malformed destination entries can alias incorrectly.
scripts/validate-carve-manifest.py Adds resolved destination validation. Critical (2 votes): raw-label comparison remains inconsistent with alias resolution for replicas.
docs/opendox-carve-manifest.yaml Records S8 annotations and 1,442 declared lines. Nit (3 votes): published totals and the linked S5 landing sequence remain inconsistent.
docs/opendox-carve-admissions.yaml Adds the governed bundle admission. Moderate (3 votes): durable regression coverage does not pin the new path and provenance hash.
Review details

Suppressed comments (3)

scripts/verify-carve-arrival.py:1096

  • These helpers now treat alias labels as one physical destination, but main() still loads admissions with the raw read_admissions(...).get(args.destination) lookup (line 2349). A valid alias invocation therefore verifies the same rows but omits admissions recorded under the canonical label, causing a governed created file to be reported undeclared. Resolve the admission block by destination identity (or enforce equivalent alias blocks) and add an alias-admission test.
    here = _resolved_destination(destination, doc.get("destinations"))
    return [row for row in doc["rows"]
            if isinstance(row, dict)
            and row.get("disposition") in MOVED_DISPOSITIONS
            and _resolved_destination(effective_arrival(row)[0],

scripts/verify-carve-arrival.py:1077

  • The arrival reader only validates that the top-level destinations value is a mapping (read_manifest checks lines 692-699); it deliberately does not validate each entry. This branch treats any dict as a resolved identity, so malformed entries such as {"repository": "r"} become ("r", None) and two such labels alias; rows_for and vacated_rows can then verify rows for the wrong label instead of refusing or falling back to the label. Only resolve entries with valid string repository and leg values, and mirror that guard in the validator.
    entry = destinations.get(key) if isinstance(destinations, dict) else None
    if isinstance(entry, dict):
        return (entry.get("repository"), entry.get("leg"))
    return (key,)

tests/carve_manifest/test_carve_manifest.py:2561

  • all(...) is vacuous for this branch's zero re_destined rows and also permits arbitrary extra rows as long as their source paths share this prefix, so it does not pin the claimed S5-only set. Use an exact expected set for the composed state, or leave the four-row assertion to the S5 annotation, instead of relying on this prefix-only predicate.
    re_destined = [row["source_path"] for row in doc["rows"]
                   if isinstance(row.get("re_destined"), dict)]
    assert all(path.startswith("scripts/ideation_dashboard/web/views/")
               for path in re_destined), re_destined
  • Files reviewed: 6/6 changed files
  • Comments generated: 4
  • 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 scripts/validate-carve-manifest.py Resolved
Comment thread scripts/verify-carve-arrival.py Resolved
Comment thread docs/opendox-carve-admissions.yaml Resolved
Comment thread docs/opendox-carve-manifest.yaml Resolved
brettheap added a commit to opensoft/openXdox-code that referenced this pull request Sep 13, 2026
…, a per-test bundle skip, nine suites join

RULED Q-L8 (b′) narrowed this leg's required check to the scaffold's shape assertions "until
the BUILD arc inverts the cross-column dependencies". The note's § 5 S8 row lifts it FOR THE
WEB SUITES, and this commit lifts it as far as the measurement allows: 154 passed / 16 skipped
becomes 301 passed / 23 skipped, every file measured under the workflow's own invocation
before it was named.

THREE PRE-CARVE `MODULE_PATH` READS, the same `path constants` class the bundle sweep repaired
and the same class openDox-code#23 repaired four of at its own leg. `REPO_ROOT / "scripts" /
"ideation_dashboard" / "<module>.py"` is where these modules lived BEFORE the carve; they are
openDox's now, and this leg reads openDox through the PIN — so the path is
`pathlib.Path(<the module this file already imports>.__file__)`, which needs no skip because a
module the file imported is installed by definition. `test_doxbench_abstract_store.py` 1 failed
-> 35 passed; `test_doxbench_telemetry.py` 1 failed -> 18 passed; `test_doxbench_turns.py`
37 failed / 146 passed -> 202 passed / 32 failed / 3 skipped.

A PER-TEST BUNDLE SKIP BESIDE THE MODULE-LEVEL ONE, and `test_doxbench_turns.py` is why it had
to exist. That suite has 183 tests of which THREE read a bundle file; binding `OPENDOX_WEB` at
its top level traded 37 failing tests for 183 SKIPPED ones — a repair that silences more than
it fixes, and a required check that could go green over a suite it no longer runs.
`opendox_bundle.web()` skips only the calling test; `OPENDOX_WEB` still skips the whole module
for the thirty suites whose SUBJECT is the bundle. `OPENDOX_WEB` is now resolved in a PEP 562
module `__getattr__` rather than at this module's own import, which is load-bearing and not a
style: evaluated at top level it skipped every module that imported ANY name from the file,
`web` included, so the per-test skip could not have existed beside it.

NINE SUITES JOIN THE SIX. `tests/test_doxbench_mutation_boundary.py` is the WEB suite among
them and the one of § 1.2(d)'s 23 that can be named today: with its path repaired it COLLECTS
and skips on the stated reason (this leg's pin predates openDox's `web/**` package-data
declaration) rather than erroring on a directory this leg does not have. The other eight were
already green and had no reason left to sit outside the check.

WHAT IS STILL NOT LIFTED, MEASURED. Thirty-seven of this leg's 88 test files fail COLLECTION on
an openxFactory-only package present at neither leg — 21 `ideation_dashboard`, 16 `doc_health`
(reached from `src/openxdox/generator.py:66`) — and past collection the same two reappear
inside the pinned openDox at `opendox/doxbench_packet.py:177`. Those 32 remaining
`test_doxbench_turns.py` failures are that one import, which is why that file is not named in
the list. The BUILD arc (split-opendox § 3.5/3.6) is what Q-L8 (b′) says lifts the rest.

Q-L1: the edits to ARRIVED files are declared on their rows in the paired openxFactory
annotation (opensoft/openXfactory#1025), which lands first. `tests/opendox_bundle.py` is a
CREATED file and carries an admission there instead.

Refs opensoft/openXfactory#656

Lane: openxfactory-4-opendox-extraction

Co-Authored-By: Claude Opus 5 <[email protected]>
…ore declared lines the first push had not measured

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

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

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

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

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

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

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

Refs #656

Lane: openxfactory-4-opendox-extraction

Co-Authored-By: Claude Opus 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 13, 2026 03:13
Keeps this branch current with #1022's landing and the #1020 pin lockstep. No
carve-floor file moves in either direction.

Lane: openxfactory-4-opendox-extraction

Co-Authored-By: Claude Opus 5 <[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

Moderate findings remain around destination resolution, admissions, and incomplete regression assertions; documentation nits also remain.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (5)

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

docs/opendox-carve-manifest.yaml:583

  • The PR title and description still describe the earlier first-push result (nine rows, +20 lines, and a 1442-line total), but this branch records the corrected second-push result: +40 path-constant lines over thirteen rows and 1462 total. Please update the PR metadata and evidence commands so reviewers and automation are evaluating the same manifest state as the committed assertions.

docs/opendox-carve-manifest.yaml:598

  • The resolved-destination contract also has a third manifest consumer: scripts/carved_reach.py still uses raw row["destination"]/row["destination_path"] in source, shed_destination, and shed_commit_object. After the stacked S5 rows land, those helpers will read the four re-destined files from their from leg while these validators use to, so post-shed callers will disagree about where the files are and may report them missing. Please route this reader through the same effective-destination logic and add regression coverage before treating this follow-up as complete.
# THE RESOLVED-IDENTITY READING OF `to != from`, taken in the same act. The
# follow-up registered at `#1011`'s landing — comparing `re_destined.to` and
# `from` on their resolved `(repository, leg)` bodies rather than as KEYS — is
# implemented here, in `scripts/validate-carve-manifest.py`, its mirror in
# `scripts/verify-carve-arrival.py` and both suites. A `destinations:` key is a

docs/opendox-cutover-runbook.md:152

  • The S8 delta makes the per-destination table below stale: it adds 11 declared lines to opendox_code and 29 to openxdox_code, so the cells currently showing 727 and 659 should be 738 and 688 (the table excludes the one replica line). Operators are told to compare each leg's report against this table, so please update those cells and add a matching assertion if this mirror is meant to stay checked.
The § 3.4 slice-S8 annotation moved one figure only: +40 `path constants` lines
over thirteen rows that were already carriers, so the row counts and the carrier
count stand where slice S4 left them.

tests/carve_manifest/test_carve_manifest.py:1854

  • This setup cannot reach the chain check: beta starts with from: openxdox_code, and openxdox_code_alias is an alias of that same resolved destination, so _check_re_destined_consistency rejects it as carve-disposition-inconsistent before _check_re_destined_chains runs. To test an alias-spelled chain, alias opendox_code (the first row's from), and make alpha's to_path equal beta's original destination_path; the current alpha/beta paths do not form a chain either.
    beta["re_destined"]["to"] = "opendox_code_alias"
    beta["re_destined"]["to_path"] = alpha["destination_path"]
    combined = refuses(scratch, doc, "carve-re-destined-chain")

tests/carve_manifest/test_carve_manifest.py:2628

  • all() is vacuous when the pre-S5 manifest has no re_destined rows, and it would still pass if one of the four S5 rows were removed or replaced by any other row under this prefix. Thus this new assertion does not enforce the claim in its comment that S5's four rows are the only uses; pin the exact four source paths (or at least the exact count and set) after the stacked S5 merge.
    re_destined = [row["source_path"] for row in doc["rows"]
                   if isinstance(row.get("re_destined"), dict)]
    assert all(path.startswith("scripts/ideation_dashboard/web/views/")
               for path in re_destined), re_destined
  • Files reviewed: 9/9 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread scripts/verify-carve-arrival.py Resolved
Copilot AI review requested due to automatic review settings September 13, 2026 03:19

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 validation issues remain, and the runbook’s per-destination totals need synchronization.

Review details

Suppressed comments (3)

docs/opendox-cutover-runbook.md:151

  • The aggregate is updated to 1462, but the §2 per-destination table below still has the pre-S8 edit-line values (opendox_code 727 and openxdox_code 659), so it sums to 1421 instead of 1461 destination-owned lines; S8 adds 11 and 29 lines to those legs respectively. The paragraph that says the table is measured as of 2026-09-12/S3 also remains stale, leaving the operator-facing breakdown inconsistent with the manifest.
**318 rows move. 1462 declared edit lines**: `import rewrites` 684, `path
constants` 242, `adapter calls` 536. **158 rows carry `edits:`** — the 157
`moved_with_declared_edit` rows and, since RULED Q-L7 (a), one replica row.
The § 3.4 slice-S8 annotation moved one figure only: +40 `path constants` lines
over thirteen rows that were already carriers, so the row counts and the carrier

scripts/validate-carve-manifest.py:2146

  • The resolved-identity change still allows also_replicated_to to contain two different aliases for the same (repository, leg): _check_also_replicated_shape only rejects repeated labels, and this loop only rejects aliases of the row's own destination. also_replicated_rows() then collapses both labels to one physical destination, so the manifest claims two replicas while only one destination can be verified. Track the resolved IDs of the replica entries and reject duplicates (with a regression test), just as duplicate arrivals are keyed by resolved identity.
        own_id = _resolved_destination(own, destinations)
        for key in row.get("also_replicated_to") or []:
            if _resolved_destination(key, destinations) == own_id:

scripts/verify-carve-arrival.py:1076

  • read_manifest() only checks that destinations is a mapping and explicitly leaves entry shape to the manifest validator, so this reader can be handed entries such as {"repository": "owner/repo"}. Treating every dict as a resolved identity makes two malformed entries with the same repository (or missing fields) aliases, causing rows_for/vacated_rows to verify a row under the wrong destination instead of falling back to the key or refusing. Only return the (repository, leg) tuple when both fields are valid strings; otherwise return (key,), and keep the validator mirror/test aligned.
    if isinstance(entry, dict):
        return (entry.get("repository"), entry.get("leg"))
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…bel, not the destination

ONE THREAD, ACCURATE, AND IT IS THE THIRD FACE OF THE SAME STONE. Rounds 1 and 2 both found a
reader comparing `destinations:` KEYS where the rest of the tool compares resolved
`{repository, leg}` bodies — first `to != from`, then `also_replicated_to`, now the governed
admissions selection, which was `read_admissions(...).get(args.destination, [])` in `main`.
With two keys sharing one body and a `created:` entry filed under one of them, the SAME
CHECKOUT passed when verified through that key and refused `arrival-undeclared-file` through
its alias. A verdict that depends on which name the caller typed is not a verdict about the
tree.

`admissions_for()` takes the UNION over every key that resolves to the requested destination's
body, and the explicit duplicate rule the union needs comes with it: one path declared under
TWO aliases of one leg is `arrival-unreadable`, on `read_admissions`' own reason for refusing a
repeat within a list — a file cannot have two provenances, and the same claim spelled under an
alias is the same claim about one leg with two `since` values and no rule for which is the
file's. Identical duplicates refuse too rather than collapse: two entries are two review
decisions, and this file exists so that an admission is a one-line diff somebody read.

Two tests: an admission declared under the alias admits through BOTH keys, and the cross-alias
duplicate refuses by name. 275 carve-suite tests pass; the real manifest validates OK.

Refs #656

Lane: openxfactory-4-opendox-extraction

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

A critical destination-resolution issue and a moderate test-coverage gap remain, alongside documentation nits.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (2)

docs/opendox-cutover-runbook.md:152

  • The S8 delta updates the aggregate total, but the per-destination table below still reports 727 declared lines for opendox_code and 659 for openxdox_code. S8 adds 11 lines to the former and 29 to the latter, so those cells should be 738 and 688 (the one replica line remains outside the destination-column sum); the nearby “Measured directly” paragraph also still describes the totals as of S3. Please synchronize those runbook figures and provenance with this S8 update.
The § 3.4 slice-S8 annotation moved one figure only: +40 `path constants` lines
over thirteen rows that were already carriers, so the row counts and the carrier
count stand where slice S4 left them.

tests/carve_manifest/test_carve_manifest.py:2628

  • This assertion is vacuous when the stacked S5 annotation is absent: all(...) returns True for an empty list, so a merge that drops all four S5 re_destined rows still passes while the surrounding comment claims those four rows remain the only uses. Pin the expected four source paths (or at least len(re_destined) == 4) so the dependency is verified rather than silently omitted.
    re_destined = [row["source_path"] for row in doc["rows"]
                   if isinstance(row.get("re_destined"), dict)]
    assert all(path.startswith("scripts/ideation_dashboard/web/views/")
               for path in re_destined), re_destined
  • Files reviewed: 9/9 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread scripts/verify-carve-arrival.py Resolved
Comment thread scripts/validate-carve-manifest.py Resolved
Brett Heap and others added 2 commits September 13, 2026 21:47
…tes the first re-destination

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

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

Refs #656 (stays OPEN).

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

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

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

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

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

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

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

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

Refs #656 (stays OPEN).

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 13, 2026 21:55

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 alias-handling issues remain, along with related test and metadata corrections.

Review details

Suppressed comments (6)

docs/opendox-carve-manifest.yaml:528

  • The PR title says there are nine declared path constants entries, while this manifest adds fourteen entries (thirteen rows, with test_doxbench_mutation_boundary.py carrying two) and the description itself says fourteen. Please update the title so the review metadata matches the committed annotation.
# THIRTEEN existing rows gain a `path constants` entry — one each, and TWO for
# `test_doxbench_mutation_boundary.py`, whose first entry this act corrects —
# and NO ROW CHANGES DISPOSITION: all thirteen were already

scripts/validate-carve-manifest.py:1930

  • These checks now intentionally accept non-canonical destination labels when their {repository, leg} bodies differ, but scripts/carved_reach.py still indexes MOUNTS with the raw effective key in source() and the raw row destination in shed_relpath(). A manifest accepted here with to: openxdox_code_alias can therefore raise KeyError or resolve to the wrong mount/path for post-shed readers. Resolve aliases to a mounted destination there, or reject aliases consistently.
    entry = destinations.get(key) if isinstance(destinations, dict) else None
    if isinstance(entry, dict):
        return (entry.get("repository"), entry.get("leg"))
    return (key,)

scripts/validate-carve-manifest.py:2157

  • This now resolves each replica label against own_id, but it never tracks identities across the whole list. Two distinct aliases for the same {repository, leg} therefore pass validation, while also_replicated_rows() collapses them to one physical destination via any(...); the manifest can claim the same replica twice even though the shape contract says a replica lands once per destination. Reject duplicate resolved identities (and add an alias-duplicate regression test), not just duplicate raw labels.
        for key in row.get("also_replicated_to") or []:
            if _resolved_destination(key, destinations) == own_id:

tests/carve_manifest/test_carve_manifest.py:1824

  • This is described as the resolved-identity discriminator, but opendox_root is newly added here, so no second key shares a body with an existing destination. A raw to != from comparison would also pass, meaning this test would stay green if alias resolution were removed. Use an alias of an existing different-leg destination body so the case actually exercises key-spelling independence.
    doc["destinations"]["opendox_root"] = {
        "repository": "opensoft/openDox-code", "leg": "assembly"}
    _re_destine(doc, to="opendox_root", to_path="src/opendox/beta.py")

tests/carve_manifest/test_carve_manifest.py:2118

  • This lawful-replica discriminator has the same coverage gap: openxdox_root is a new key with no existing alias body, so comparing raw labels would produce the same result. Make the replica name an alias of the existing openxdox_code body while the row's own destination remains opendox_code, so the test proves resolved identities rather than merely different labels.
    doc["destinations"]["openxdox_root"] = {
        "repository": "opensoft/openXdox-code", "leg": "assembly"}
    row = row_named(doc, "beta.py")
    assert row["destination"] == "openxdox_code", row
    row["also_replicated_to"] = ["openxdox_root"]

tests/carve_manifest/test_carve_manifest.py:2588

  • The S8 update changes the aggregate to (1624, 159), but the following ASK-7 assertion rationale still refers to the aggregate as (1422, 158). That reference is now false and can mislead the next manifest amendment; update it to the current aggregate or explicitly label it as the historical pre-S4 figure.
    assert (lines, carrying) == (1624, 159), (lines, carrying)
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 15, 2026 23:28
@brettheap
brettheap marked this pull request as ready for review September 15, 2026 23:31

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

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

@sonarqubecloud

Copy link
Copy Markdown

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 validation gaps remain for duplicate resolved replicas and malformed destination entries, and the published totals and validation-order documentation need synchronization.

Review details

Suppressed comments (5)

docs/opendox-cutover-runbook.md:148

  • The PR description still reports the pre-S7 absolute totals (1584 + 40 = 1624, classes 708/242/674, and 160/158/138 dispositions), while this branch's updated runbook and landed-manifest assertion use the post-S7/S8 totals (2406, 722/246/1438, and 143/175/138). Please update the description/evidence to the same merged-document figures so the landing record does not contradict the code it describes.
**318 rows move. 2406 declared edit lines**: `import rewrites` 722, `path
constants` 246, `adapter calls` 1438. **176 rows carry `edits:`** — the 175

scripts/validate-carve-manifest.py:1981

  • This new contract text says check_vocabulary runs after the resolved comparison, but validate() invokes check_vocabularies(doc) at line 2228 before check_disposition_consistency(doc) at line 2229, which calls this helper. Unknown keys therefore receive the vocabulary refusal before this consistency check; please document the actual order so the fail-closed behavior is not misleading.
    `check_surface` already uses. Where either key names NOTHING in
    `destinations:` the comparison falls back to the key itself: that is
    `check_vocabulary`'s `carve-vocabulary-unknown` to refuse, it runs after
    this, and crashing here would decide its question with this check's
    information.

scripts/validate-carve-manifest.py:2157

  • The new resolved-identity handling still permits also_replicated_to: [alias1, alias2] when both keys resolve to the same (repository, leg): _check_also_replicated_shape only rejects repeated raw labels, and this loop only rejects entries matching own. also_replicated_rows() then collapses those aliases with any(...) and verifies one replica, so the manifest can claim two replicas at one real destination while only one is checked. Track and reject duplicate resolved identities (with an alias regression test), or otherwise define how the duplicate claim is represented.
        own_id = _resolved_destination(own, destinations)
        for key in row.get("also_replicated_to") or []:
            if _resolved_destination(key, destinations) == own_id:

scripts/verify-carve-arrival.py:1078

  • read_manifest() only checks that destinations is a mapping and deliberately does not validate each entry. This branch treats every mapping entry as a resolved body, so malformed entries such as {} or {'repository': ...} become (None, None) or (repo, None) and distinct labels can collapse into one identity; a re-destination between them can then make rows_for() and vacated_rows() skip the required absence check instead of refusing the malformed manifest. Only return a resolved body when both repository and leg are valid strings, and keep the mirror/helper regression in sync.
    entry = destinations.get(key) if isinstance(destinations, dict) else None
    if isinstance(entry, dict):
        return (entry.get("repository"), entry.get("leg"))

tests/carve_manifest/test_carve_manifest.py:2945

  • The committed manifest and this updated assertion now use 2406 declared lines over 176 rows, while the PR description's main arithmetic/evidence section still reports 1624 over 159 rows and class totals 708/242/674. Because that section presents those figures as re-derived from the merged document, it contradicts the code and can mislead the landing sequence; update the description to distinguish the S5 intermediate from the final merged totals.
    assert (lines, carrying) == (2406, 176), (lines, carrying)
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap

Copy link
Copy Markdown
Contributor Author

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

Copilot's review at a94e20fb — five SUPPRESSED comments, no threads, each answered here

The review left 0 new threads (the PR's seven are all resolved), so this comment is the record of its body,
read in full rather than inferred from the thread count.

1 and 5 — "the PR description still reports 1584 + 40 = 1624, classes 708/242/674, dispositions 160/158/138."
NOT the description's live claims. Those figures appear only inside ## ROUND 2 and ## ROUND 3, the dated
records of what those rounds did against the base they had (#1023's merge). The live statements all carry the
merged figures, re-derived at this very head: § 2's arithmetic is 2366 + 40 = 2406 on 176 rows, import rewrites 722 / path constants 206 → 246 / adapter calls 1438, dispositions 143 / 175 / 138, and § 5's
evidence block and the new ## ROUND 4 section state the same, at a94e20fb. The round sections are history and
stay as written — this lane does not rewrite a dated record to match a later base; ROUND 4 says in terms which
base the current figures stand on.

2 — validate-carve-manifest.py:1981, the documented order of check_vocabulary is wrong. ACCURATE. The
docstring says the vocabulary refusal "runs after this", while validate() calls check_vocabularies(doc) at
:2228 before check_disposition_consistency(doc) at :2229. The behaviour is unaffected (the fallback to the
key is a shape that can never equal a resolved 2-tuple, so the comparison is correct either way), but the sentence
states a false order. REGISTERED for the next carve-floor act rather than taken here: this PR is the row
annotation two leg PRs are stacked on, and its head is the head the landing order gates on.

3 — also_replicated_to: [aliasA, aliasB] where both aliases resolve to ONE (repository, leg) that is not the
row's own.
ACCURATE, and a real gap: _check_also_replicated_shape refuses repeated raw labels and the loop
added by this slice refuses an entry resolving to the row's own arrival, but two DIFFERENT keys resolving to one
third destination pass both, and also_replicated_rows() then collapses them, so the document claims two replicas
where one is verified. REGISTERED with the resolved-identity residue this PR already carries.

4 — verify-carve-arrival.py:1078 treats every mapping entry as a resolved body, so {} becomes
(None, None) and malformed entries can collapse distinct labels into one identity. ACCURATE and the same class:
the resolver should return a body only when repository and leg are both real strings, and fall back to the
label otherwise. REGISTERED with 3.

Findings 2, 3 and 4 change no figure, no row, no digest and no disposition in this document, and no live row
exhibits either shape — the four re_destined: rows are slice S5's and every destinations: entry in the
committed manifest carries both fields. They are hardening of the discriminator this slice introduced, and they
belong to the act that next opens these two tools, alongside carved_reach.shed_relpath() / shed_commit_object()
already registered in § 7.

@brettheap
brettheap merged commit e589645 into main Sep 15, 2026
15 checks passed
brettheap added a commit that referenced this pull request Sep 16, 2026
…t it now is

Copilot's review at 6c0ba63, two of its three suppressed comments — accurate
both, and this is the precedent S8 itself set: openxFactory #1025 updated slice
S7's window docstring from (2366, 176) to (2406, 176) when it moved the total,
rather than leaving a docstring pointing at an assertion that no longer says
that.

Re-based to (2454, 176): the S7 window's 'why the whole window and not a
sample' comment and its docstring twin, the S8 window's, and
test_verify_carve_arrival.py's account of what the Q-L7 amendment test pins.
The S7 window's closing arithmetic now names both later acts by the deltas
they carried — S8's forty to 2406 and this annotation's forty-eight to 2454 —
rather than stopping at the first.

Left alone deliberately: the ASK-7 window's , which slices S5, S7
and S8 all left as the aggregate ASK-7 found, and  /
, which are slice S7's own window assertions about the
document it found and are not claims about today's total.

tests/carve_manifest tests/carve_arrival: 281 passed.

Lane: openxfactory-4

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…ot filled, and the Q-L1 ordinal corrected with them

The two acts this amendment deliberately waited on have merged, so § 3.4's last
four fill slots are filled IN PLACE, each value read from the merged pull
request itself:

  S8 annotation  openxFactory #1025 → e589645  2026-09-15T23:50:29Z
  S8 leg A       openXdox-code #19  → 0a0265f7e53a1db30a0f51deb556231c2001285f  2026-09-16T01:11:37Z
  S8 leg B       openDox-code  #23  → 0b4e8bbf68fabfcd65d4f0d80e619c20a013e888  2026-09-16T01:23:16Z
  the note's #3  openDox-spec  #11  → 54e910735b97b326d05250100104b3af07d3f5ae  2026-09-16T13:24:51Z

The STATUS paragraph goes SEVEN of the eight → ALL EIGHT, which is what it said
it would do: the tick is written for the state this pull request lands INTO.

The Q-L1 ordinal is CORRECTED here and not merely filled. The draft called S8's
holding "an EIGHTH" and S7's "a seventh", which cannot both be true — a Copilot
finding on openDox-spec #11, taken there at its fix round 18. One holding per
ANNOTATED slice in landing order (S2, S3, S6, S4, S5, S7, S8) makes S7's the
SIXTH and S8's the SEVENTH of seven, S1 being the one slice correctly exempt;
one per annotation→leg pairing makes them the eighth and the ninth and tenth of
ten. All seventeen merge clocks were re-read from their pull requests: the
annotation is first at every slice and every pairing, so the ordering fact is
untouched — only the count was wrong.

Re-verified at this head: openspec validate --strict valid; proposal-support
verify ok; boxes 40 ticked / 31 open, unmoved, because a filled placeholder is
not a tick; grep "FILL AT LANDING" returns one line, :894, the STATUS paragraph
quoting the marker inside its own dated record of what it used to say.

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
… 48 declared lines, and the fourth row the replica reading hid (#1031)

Lane: openxfactory-4

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

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

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

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

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

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

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

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

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

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

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

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 16, 2026
The suppressed finding (verify-carve-arrival.py:1766) is real and it splits in
two. Half was closed by the merge-forward; half is this act's own function.

(a) CLOSED BY THE MERGE, NOT BY AN EDIT. `rows_for()` on main already compares
    `_resolved_destination(effective_arrival(row)[0], destinations)` -- slice
    S8's resolved-identity reading, the follow-up registered at #1011's
    landing. This branch forked before it. With main merged in, a refiller
    arriving through alias B IS in `claimed` when the run names alias A, and
    `check_retired` reports `absence: refilled` exactly as round 5 built it to.

(b) NOT CLOSED, AND IT IS THIS ACT'S OWN. `retired_rows()` still did
    `if at != destination` -- a LABEL comparison, and after (a) the only one
    left in the file. `rows_for` resolves the arrival side; `vacated_rows`, the
    RULED Q6 sibling that asks the same shape of question about a
    re-destination's losing leg, already resolves `re_destined.from`.

THE FAILURE IS NOT SILENCE, IT IS THE OPPOSITE REMEDY. Run with the other
spelling of the very leg the block names and the retirement is never selected,
the absence is never required, and the file left at the retired path falls
through to the walk -- which refuses `arrival-undeclared-file`, whose sentence
tells the operator to declare the file with `--replica-at` or `--allow-created`.
A ruling said to DELETE it. Same exit code, opposite instruction, which is why
the new test pins the CODE and not merely the failure.

THE FIX resolves both sides of the one comparison. Resolving is not re-keying:
`at` still decides WHICH placement is asked and the effective arrival still
does not, so round 3's deliberate asymmetry between this selector and
`rows_for`'s is untouched. All that changes is that two spellings of one real
leg stop being two legs here.

AND THE SWEEP, so the claim is measured rather than asserted: after this
commit `grep -nE '(==|!=) *destination\b|destination *(==|!=)'
scripts/verify-carve-arrival.py` prints NOTHING -- every selector compares a
resolved {repository, leg}. `also_replicated_rows()` was already resolved on
main by #1025; that was checked before the sentence was written, because "the
last one" is easy to claim and easy to be wrong about.

TWO TESTS, BOTH PROVEN BY REVERTING THE ONE COMPARISON:
* test_a_retirement_is_asked_at_THE_LEG_and_not_only_at_the_spelling -- the
  leg's own spelling refuses `arrival-not-retired` and always did; the alias
  must reach the SAME finding. Reverted, it reaches `arrival-undeclared-file`.
* test_a_retirement_reached_through_an_alias_reports_its_refill -- the silent
  direction: reverted, the `retired` list comes back EMPTY under the alias.

The document these tests use is one the VALIDATOR ACCEPTS:
`_check_retired_consistency` compares `retired.at` to the row's own
`destination` as strings and refuses any document that spells them
differently, so an alias never enters the document. It enters on the COMMAND
LINE, which is where nothing had checked it. That validator strictness is
fail-CLOSED and is deliberately left alone.

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
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 added a commit that referenced this pull request Sep 16, 2026
…6 to 8's own text

All four raised by Copilot on #1035 — one thread, three suppressed — and all
four accurate.

(1) § 4.1's table cited serve.py:710 as the final-head position while the
re-run three paragraphs above says :713 at main 0b4e8bbf. The cell now carries
both with the tree each belongs to; workbench.py's four are identical at both.

(2) The Q-L1 pairing ordinal could not be reproduced from its own sentence
("S6, S5 and S8 carry two legs each, they are the eighth and the ninth and
tenth"). The ten pairings are now enumerated: S2 1 · S3 2 · S6 3–4 · S4 5 ·
S5 6–7 · S7 8 · S8 9–10.

(3) The authoring-snapshot parenthetical dated all three S8 acts 2026-09-16
while its own table records the annotation #1025 merging 23:50:29Z on the
15th. Split into 2026-09-15/16 with all three clocks.

(4) The packet table's fifth row said leg B "merged after this table was
taken", which reverses the chronology for the row itself: leg B merged after
the first four rows (2026-09-14) and before the fifth, which was read at this
landing. Stated that way.

openspec validate --strict valid; proposal-support verify ok; boxes 40/31
unmoved.

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
`origin/main` moved twelve commits since the eighth re-measurement, one of
them PR #1064 archiving `add-declared-former-id`, so the merge is taken here
and the re-measurement WITH it.

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

THE SECOND RE-MEASUREMENT AT WHICH THE ACTIVE CORPUS SHRANK, and a
measurement rather than an inference: `git diff --name-status
3c614d3..b1df95e -- 'openspec/changes/*/proposal.md'` is exactly one
`R100` — `add-declared-former-id` moving to
`archive/2026-09-15-add-declared-former-id/` on its merged-plus-green
realization evidence (#1064). That carrier CONFORMS — it was one of the 34,
which is where the 33 comes from — and is NOT one of the eight, so no carrier
arrived, NO ENTRY WENT STALE (`scan().stale` is empty) and the register
stands at EIGHT untouched. The other eleven commits are PR #1064's own seven
internal commits plus three that reached `main` directly while it was in
flight (#1025, #1049, #1031) and this lane's own #1044; none besides the one
`R100` touches `gate-code-surface-declarations/`, `code_surface.py` or
`code-surface-register.yaml`, and the merge resolved ZERO conflicts. The arm
the sixth exercised once now answers a second time the same way: an
archiving packet makes its entry stale only if it has one, and this one, like
the sixth's, was never registered.

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 eighth's "as this transcript/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 added a commit that referenced this pull request Sep 16, 2026
…he sentence promised, a count that did not follow its own paragraph, and two claims wider than what they measured

Copilot's review at `d4ceec5e` (`5223703722`, 2026-09-16T14:00:24Z) generated no
new comment and carried a SUPPRESSED block of five. All five are inside this
amendment's own added text (hunks at `:880`, `+886,195` and `+1183,109` over
merge-base `cb2d3a2c`), and all five are taken.

1. The authoring-snapshot parenthetical said round 6 took "two Copilot findings,
   one raised as a thread and one suppressed". MEASURED: review `5223334808` at
   head `4355f0bd` generated 0 new comments and suppressed THREE - the STATUS
   date at `:887`, the stale "six of the eight" at `:1024`, and the pull
   request's own DESCRIPTION. The date finding had ALSO been raised as a thread
   at 13:07:18Z the round before, which is where "one a thread and one
   suppressed" came from: one finding counted twice, and the third never
   counted. The marker now states the three, their review, and where each was
   taken.
2. The same sentence gave a clock to `#1025` (23:50:29Z), to leg A (01:11:37Z)
   and to leg B (01:23:16Z), then wrote openDox-spec `#11` as a bare "on the
   16th" while claiming "each with its own clock beside it". `#11` merged at
   **13:24:51Z** (read from the merged pull request); the time is written where
   the claim is made, and the `#8`-`#11` amendment list below is named as a list
   of shas rather than of clocks, so a reader at that list is not sent looking.
3. Residue item (iv) said "the two floor acts above" after a later round named a
   THIRD floor act in the paragraph above it (the pin lockstep). All three are
   enumerated, with their landing state: `re_destined:` `#1011` -> `880c821c`
   and the pin lockstep `#1054` -> `3c614d34` have landed, the `retired:` row
   form has not.
4. Reading (iii) said five of the 23 inbound imports "no longer exist as imports
   at all", which reads as the dependency vanishing. What ended is the outbound
   import SITE: reading (ii) of the same status already places the DISCHARGED
   `authoring` pair's dependency behind the 2.2a seam at
   `scripts/corpus_adapter_openxfactory/home.py`:59 (verified here at that
   line - `from doc_health import corpus`), where importing doc-health is
   lawful and is the whole of DQ-1. Qualified to say so.
5. Reading (ii)'s headline said "`openxFactory` holds none of the residue at the
   source any more" while its own next sentences record the one import RULED to
   stay at openxFactory (`scripts/ideation_dashboard/doxbench_status_exemption.py`:63,
   measured again here). The scope was always the five inventoried source
   modules; it is now written rather than implied.

`OPENSPEC_TELEMETRY=0 openspec validate split-opendox-two-layer-product --strict`
valid; `scripts/proposal-support.py . verify split-opendox-two-layer-product` ok;
boxes unmoved at 40 ticked / 31 open; no checkbox line changes in this commit.

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 added a commit that referenced this pull request Sep 16, 2026
…c, amend the packet figure, and account for 4.1's residue (#1035)

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

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

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

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

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

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

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

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

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…ed suites and declare the ending replay's removal (RULED 5656343213) (#1043)

Lane: openxfactory-4

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

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

## What this is

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

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

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

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

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

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

## What is on the branch

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

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

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

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

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

## Landing order, and the window it opens

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

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

## Merged forward, and what the merge FALSIFIED

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants