Repository navigation
Carve manifest: declare the S3 view-registry lines on the app.js row (Q-L1; § 3.4 S3) - #1001
Conversation
…(Q-L1; § 3.4 S3)
Q-L1 of the § 3.4 slice rulings (openxFactory#656 comment 5642758731, Brett
Heap, 2026-09-12) binds every slice: "an edit to an ARRIVED file — a
`moved_verbatim` / `moved_with_declared_edit` row of
`docs/opendox-carve-manifest.yaml` — outside its declared lines is an
undeclared movement, so each slice that edits such a file pairs its leg PR
with an openxFactory row-annotation PR (the ASK-7 pattern) that lands FIRST."
Slice S3 builds the VIEW REGISTRY at openDox-code — `ViewBinding` +
`collectViewBindings` on the § 2.4 / § 4.3 seams, mirroring
`route_extension.collect_bindings` — and it edits exactly ONE arrived file:
`src/opendox/web/app.js`. This act declares the lines it edits, in the Q-L1
form ruled at comment 5628560136, and nothing else.
ONE ROW CONVERTED, `scripts/ideation_dashboard/web/app.js`,
`moved_verbatim` -> `moved_with_declared_edit`, 37 declared lines in two
RULED classes:
* `import rewrites`, line 43 — the shell's ONE direct import of a class-B
module (`import { isGateBearing, mountGateBar } from "./views/gate.js"`),
the line openDox-spec `docs/front-end-package-boundary.md` § 4.1 names by
number: "app.js stops importing class-B modules directly. Its line 43
becomes a lookup in the collected bindings, and a shell built with no gate
binding registered renders the tab strip WITHOUT the gate bar rather than
failing to load." One import statement replaced by another
(`./views/view_extension.js`), which is what the class is.
* `adapter calls`, 36 lines — the CALL SITES: 470-523 the hardcoded `TABS`
table, which becomes `CORE_VIEWS` collected through
`collectViewBindings()`; 574-640 the tab router's field reads, which stop
reading a module-global list and derive the strip from the collected
bindings; 842-844 / 865-866 / 876 the gate-bar call sites, which become
reads of the binding `resolveView()` returned and null where no gate
column is registered; 1102-1103 the one added context key, `views`. The
class is this manifest's own precedent (`serve.py`:618,
`snapshot_registry.py`:85): a site that reached a thing directly now calls
the seam that stands in for it.
`index.html` is NOT in this act and takes no annotation. A `data-region`
attribute would have been a second spelling of an id the shell already
carries, and an added attribute is in NONE of the RULED `edit_classes`
(`import rewrites | path constants | adapter calls`), so declaring it would
have meant inventing an edit class rather than using one. The region contract
is held instead by the registry's own `REGIONS` table plus a drift test
against the shell's existing ids — and the row stays `moved_verbatim`,
byte-identical, which the verifier run below confirms.
PROVED, not asserted. `scripts/verify-carve-arrival.py`'s own
`_check_declared_lines` — the carve-commit numbering, `scripts/carve_lines.py`'
records, `difflib`'s opcode mapping (RULED Q-L8 (c)) — run over every one of
the 123 `opendox_code` rows against the S3 leg branch:
src/opendox/web/app.js DECLARED
60 moved_verbatim rows byte-identical
REFUSALS 0
and the declaration is MINIMAL: all 37 declared lines are touched, none spare
(31 replace/delete lines, plus three insertions each naming both neighbours).
`scripts/validate-carve-manifest.py` OK.
NO REFERENT DIGEST MOVES. `carve_commit` and `carve_tag` are untouched,
`opendox-carve-0` stays the label, and the row keeps the `sha256` it already
carries, which is the CARVE blob's and not the destination's. The delta is
stated and the absolute totals are deliberately NOT restated in the document:
the ASK-7 declared-edit window (comment 5642614423) is in flight over `cli.py`
and `serve.py` in this same file, and two acts restating one set of absolutes
is how a count becomes wrong in a merge. This act's whole arithmetic: rows
unchanged; `not_moved` unchanged; one row `moved_verbatim` ->
`moved_with_declared_edit`; declared lines +37 (`import rewrites` +1,
`adapter calls` +36, `path constants` +0); rows carrying `edits:` +1; replicas
unchanged.
The openDox-code leg PR lands AFTER this one, per Q-L1.
Lane: openxfactory-4-opendox-extraction
Refs #656
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Reviewer's GuideThis PR records the Q-L1 annotation for S3’s view-registry migration by converting the arrived app.js row to moved_with_declared_edit and declaring exactly 37 verified lines—one import rewrite and 36 adapter calls—while preserving carve metadata and leaving unrelated rows, including index.html, untouched. Sequence diagram for view-registry-backed app shell routingsequenceDiagram
participant App as app.js
participant Registry as view_extension.js
participant Views as ViewBindings
participant Viewer as viewer.js
App->>Registry: collectViewBindings()
Registry-->>App: bindings
App->>Views: resolveView(id)
Views-->>App: binding or null
App->>Viewer: mount(view, mountGate)
Viewer-->>App: rendered document without gate bar when mountGate is null
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟡 Changes recommended
The manifest test’s expected totals are outdated, causing the test suite to fail.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Annotates the app.js carve-manifest row for the S3 view-registry integration.
Changes:
- Converts the row to
moved_with_declared_edit. - Declares 37 permitted edits.
- Preserves digests and other manifest rows.
File summaries
| File | Summary |
|---|---|
docs/opendox-carve-manifest.yaml |
Adds the S3 edit declaration for app.js. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…olutes live `tests/carve_manifest/test_carve_manifest.py::test_the_real_manifest_carries_the_ruled_q_l7_amendment` sums the landed manifest's declared lines and the rows carrying `edits:` and asserts the pair — it read (862, 150) and the S3 annotation makes it (899, 151). The suite caught it, which is the assertion working: 862 + 37 = 899 on 150 + 1 = 151 rows, exactly the delta the annotating commit states and no other number moved (`replicas` stays 20, and the 318 `sha256` values, `carve_commit` and `carve_tag` are untouched). THE DIVISION OF LABOUR IS DELIBERATE AND IS NOW WRITTEN DOWN IN THE TEST. The DOCUMENT states each act as a DELTA, because two acts restating one set of absolutes is how a count becomes wrong in a merge — the ASK-7 declared-edit window (`#656` comment `5642614423`) is in flight over `cli.py` and `serve.py` in that same file this hour. The one place the absolutes are summed is this test, and it re-derives them from the document rather than transcribing them: a transcribed count is a claim, a summed one is a measurement. The narrative comment gains the S3 act beside the three acts already recorded there. THREE SCRIPT DOCSTRINGS AND ONE TEST DOCSTRING ALSO STATED 862 as a fact about the document, and a number in prose that contradicts the document it describes is drift whether or not anything asserts it: * `scripts/carve_lines.py` — "declares 862 EDIT LINES BY NUMBER, and two tools read those numbers" * `scripts/verify-carve-arrival.py` — "the manifest declares 862 edit lines BY NUMBER, this file decides whether a diff touches only them" * `scripts/validate-carve-manifest.py` — "still bounds all 862 declared lines against them" * `test_the_line_count_is_exactly_the_expression_the_validator_carried` — "the manifest's 862 line numbers were written in the numbering this validator already used" All four now read 899. Nothing else in any of them changes: the RULED Q-L8 (c) definition of a line, the pinned expression, and every bound are untouched — only the count each sentence quotes. Local runs: `tests/carve_manifest/` 121 passed, `tests/carve_arrival/` 110 passed, `scripts/validate-carve-manifest.py` OK. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Add assertions for the app.js row disposition and its exact declared class/line mappings.
Get a fresh assessment by requesting another Copilot review.
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 1
- Review effort level: Lite
…dates (Q-L1)
A SECOND ARRIVED FILE turns out to be edited by slice S3, and Q-L1 binds it the
same way. `tests/ideation-dashboard/test_bullseye_widget.py` asserts `app.js`'s
shape by QUOTING ITS LINES BACK, so three of its quotations name the tab
router's field before the view registry renamed it:
:900 classList.toggle("lensfull", target.view === "view-lens")
:1781 storeTab(target.view);
:1785 const remembered = TABS.find((t) => t.view === storedTab());
`.view` -> `.region` in all three, and nothing else on any line. The row is
ALREADY `moved_with_declared_edit` (its `path constants` line 40), so it changes
no disposition and is not a new carrier of `edits:`; it gains one `adapter
calls` class with those three lines, on the same precedent the `app.js` row
uses — an assertion is a call site reaching a name that now comes from the
registry. Each is a single-line REPLACE at the carve numbering with no
insertion, which is why exactly three lines are declared and no neighbour is.
WHY IT IS MIGRATED RATHER THAN LEFT. That suite is red today for an unrelated
reason (it imports through `serve.py`, which still reaches the carved-away
`ideation_dashboard`) and it is not in the leg's narrowed `validate` list.
Neither fact makes a stale assertion acceptable: slice S8 re-homes those 48 test
files and un-narrows `validate`, and an assertion describing a shape that no
longer exists is exactly the rot S8 would then have to discover and date. The
migration belongs with the change that invalidated it.
THE ARITHMETIC, restated as a delta and not as absolutes (see the act's own
comment for why): declared lines +40 over TWO rows — 37 on `app.js`
(`import rewrites` 1, `adapter calls` 36) and 3 on `test_bullseye_widget.py`
(`adapter calls`) — rows carrying `edits:` +1, dispositions one row
`moved_verbatim` -> `moved_with_declared_edit`, replicas unchanged, no referent
digest moved. The summed absolutes move with it in the one place that holds
them, `test_the_real_manifest_carries_the_ruled_q_l7_amendment`: 862 + 37 + 3 =
902 on 150 + 1 = 151 rows, and the four docstrings that quote the count read 902.
PROVED: `_check_declared_lines` over all 123 `opendox_code` rows against the S3
leg branch — `src/opendox/web/app.js` DECLARED, `tests/test_bullseye_widget.py`
DECLARED, 60 `moved_verbatim` rows byte-identical, 0 refusals.
`scripts/validate-carve-manifest.py` OK; `tests/carve_manifest/` and
`tests/carve_arrival/` 231 passed.
Lane: openxfactory-4-opendox-extraction
Refs #656
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Fix the duplicate YAML keys and reconcile all stated totals and verifier output to 902.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (2)
docs/opendox-carve-manifest.yaml:308
- The PR description's “second commit” section says this act changes the total from 862 to 899 by adding only app.js's 37 lines. This diff also adds 3 lines to
test_bullseye_widget.py, so the manifest's actual delta is +40 and the test expectation is 902; please reconcile the PR description and generated summary with the two-row change.
# +40 (`import rewrites` +1, `adapter calls` +39, `path constants` +0) over
# TWO rows, 37 on `app.js` and 3 on `test_bullseye_widget.py`; rows carrying
tests/carve_manifest/test_carve_manifest.py:1947
- The PR description's stated total is inconsistent with this assertion and the manifest: it reports 862 + 37 = 899 declared lines, but this change also adds the three
test_bullseye_widget.pylines, making the checked total 902. Please correct the PR arithmetic and verifier output so the landing record does not claim 899 for a manifest that validates as 902.
assert (lines, carrying) == (902, 151), (lines, carrying)
- Files reviewed: 5/5 changed files
- Comments generated: 1
- Review effort level: Lite
There was a problem hiding this comment.
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.
origin/main moved five commits ahead of this branch's fork point, three of which touch files this PR also declares edits on: - #995 (9e43f3d, ASK-7 window): four declared lines on the cli.py and serve.py rows of docs/opendox-carve-manifest.yaml, plus the four scripts/tests files that quote the running "862" declared-line total (carve_lines.py, validate-carve-manifest.py, verify-carve-arrival.py, tests/carve_manifest/test_carve_manifest.py). - #984 (a1ef886): carve tooling/admissions hardening unrelated to the five rows this PR touches. - #997, #996, #999: no overlap with this PR's files. Conflict resolution, keeping both sides: - docs/opendox-carve-manifest.yaml: the header comment block now carries the ASK-7 window's paragraph (landed first, 2026-09-11) ahead of the § 3.4 SLICE-S3 paragraph (2026-09-12), in landing order. The S3 paragraph's own arithmetic is untouched (it was already stated as a DELTA — "+40 over two rows" — precisely so a later-landing sibling act would not need to rewrite it); only its framing of the ASK-7 window changed from "is in flight" to "already moved the running total to 866", since this merge is the event that makes ASK-7's landing a fact rather than a future one. The four ASK-7 row edits (cli.py:834, serve.py:155/725/1338) and the two S3 row edits (app.js's 37 lines, test_bullseye_widget.py's 3 lines) are all kept. - scripts/carve_lines.py, scripts/validate-carve-manifest.py, scripts/verify-carve-arrival.py: each had a single docstring line citing the running declared-line total — "866" from main (ASK-7), "902" from this branch (which assumed the pre-ASK-7 base of 862). Corrected to 906 in all three: 866 (post-ASK-7) + 40 (this act's own delta) = 906, matching the pinned test assertion. - tests/carve_manifest/test_carve_manifest.py: merged both narrative additions to test_the_real_manifest_carries_the_ruled_q_l7_amendment in landing order (ASK-7 then S3), corrected the final aggregate assertion from this branch's stale (902, 151) to (906, 151), kept main's per-row pinned ASK-7 checks (cli_row/serve_row) verbatim, and fixed their comment's citation of the aggregate from (866, 150) to (906, 151) to match the corrected assert two lines above. Also fixed a second, non-conflicting docstring in test_the_line_count_is_exactly_the_expression_the_validator_carried that still read "902". A pre-existing defect, unrelated to the conflict, found while resolving: the test_bullseye_widget.py row's two edits (already on this branch's HEAD before any merge, commit 6843a25) had a blank line splicing them apart, which left the `adapter calls` edit's `note:` key duplicated with the `path constants` edit's original note — YAML silently keeps the last of a duplicate key, so the S3 note was silently discarded and the wrong note landed on the wrong edit. Confirmed with a duplicate-key-aware loader before and after. Fixed by restoring each edit's own note; a full-document duplicate-key scan afterward finds none remaining anywhere in the manifest. Verified after resolution: - python3 scripts/validate-carve-manifest.py: OK, 456 rows, 168 moved_verbatim / 150 moved_with_declared_edit / 138 not_moved. - python3 scripts/verify-carve-arrival.py --destination opendox_code --phase B against openDox-code PR #14's head (09b42f5b): DECLARED src/opendox/web/app.js, DECLARED tests/test_bullseye_widget.py, 0 refusals (three newly-created files admitted ad hoc for this local check only: src/opendox/view_extension.py, src/opendox/web/views/view_extension.js, tests/test_view_registry.py — the governed admissions-file entries for those belong to the pin-bump PR that follows #14's own landing, not this row-annotation PR). The one "unapplied" declared-edit row the summary counts is scripts/ideation_dashboard/doxbench_scope_types.py, an unrelated pre-existing row (successor #838, open at the carve) — not S3. - pytest tests/carve_arrival tests/carve_manifest tests/carve_conformance -q: 269 passed (121 + 110 + 38). Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Row-specific declaration checks and related documentation and arithmetic corrections remain unresolved.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (2)
docs/opendox-carve-manifest.yaml:1726
- The new real-manifest check only verifies the aggregate
(906, 151); it does not pin this 37-line declaration to theapp.jsrow and its two classes (nor the three-line bullseye declaration). As the adjacent ASK-7 checks document, the aggregate would still pass if these lines moved to another row or class, so add row-specific assertions for the S3 entries.
lines: [470, 471, 472, 475, 476, 480, 481, 482, 483, 484, 489, 521, 522, 523, 574, 579, 585, 587, 590, 599, 600, 602, 603, 604, 605, 606, 631, 640, 842, 843, 844, 865, 866, 876, 1102, 1103]
tests/carve_manifest/test_carve_manifest.py:1951
- The new assertion protects only the aggregate
(906, 151). It would still pass if the 37app.jslines or the three bullseye lines were moved to different rows/classes while another declaration preserved the sum; add row-level assertions for the app.js disposition and exact edit lists and for the bullseyeadapter callslist, analogous to the ASK-7 checks below.
assert (lines, carrying) == (906, 151), (lines, carrying)
- Files reviewed: 5/5 changed files
- Comments generated: 2
- Review effort level: Lite
…y-declared-edits # Conflicts: # docs/opendox-carve-manifest.yaml # tests/carve_manifest/test_carve_manifest.py
…e by row, admit S3's new files Copilot review on openxFactory PR #1001 (three unresolved threads): - README.md + docs/opendox-cutover-runbook.md carried only the pre-S2 totals (906 declared lines / 151 edit-carrying rows). Now that #1002 (§ 3.4 slice S2, dispose.js/wheel.js) is merged into this branch too, re-derive the § 2 table and its prose from the parsed manifest for the combined S2+S3 state: 909 declared lines / 153 rows carrying `edits:` (166 moved_verbatim / 152 moved_with_declared_edit / 138 not_moved), `opendox_code` 123 rows at 58/65 verbatim/edited for 336 declared lines. Figures are computed from the landed manifest, not transcribed. - tests/carve_manifest/test_carve_manifest.py: pin the app.js and test_bullseye_widget.py rows by disposition and exact (class, lines), the same idiom the ASK-7 pins use for cli.py/serve.py, so the aggregate assertion is not the only thing standing between a passing suite and the S3 edits landing on the wrong row or under the wrong class. Also reconciles the aggregate assertion's own merge conflict against #1002 to the correct combined (909, 153). - docs/opendox-carve-admissions.yaml: `verify-carve-arrival.py --phase B --destination opendox_code` against the S3 leg's current head (opensoft/openDox-code#14 @ 28de9c3b) refuses `arrival-undeclared-file` five times over — S3's own `view_extension.py` / `view_extension.js` / `test_view_registry.py`, and S1's `test_web_boundary.py` / `tests/fixtures/web_boundary_census.yaml` (landed already via openDox-code#13; S1 touched no arrived file, so it needed no row-annotation PR of its own, but its created files were never admitted). This is the first PR to run the verifier against the merged S1+S2+S3 tree and need them declared; all five are governed admissions now, alphabetical by path, none ad hoc. Verified: `scripts/validate-carve-manifest.py` OK (166/152/138, 909/153); `scripts/verify-carve-arrival.py --destination opendox_code --phase B` against a fresh detached checkout of openDox-code#14 OK with zero ad-hoc --allow-created flags; `pytest tests/carve_manifest tests/carve_arrival tests/carve_conformance` 269 passed. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
… read 909 scripts/carve_lines.py:3, scripts/validate-carve-manifest.py:115, scripts/verify-carve-arrival.py:98 and tests/carve_manifest/test_carve_manifest.py's test_the_line_count_is_exactly_the_expression_the_validator_carried all quoted "906" — the S3-only total this branch carried before #1002 (§ 3.4 slice S2) merged in. None of the four sat inside the merge's own conflict hunks (only one side had touched each line), so git carried "906" through silently instead of flagging it. Same class of finding as the previous commit's docstring fixes, caught by re-grepping for the old total after reconciling the merge rather than trusting the merge to have caught every mention. Verified: `pytest tests/carve_manifest tests/carve_arrival tests/carve_conformance` 269 passed; `scripts/validate-carve-manifest.py` OK (166/152/138, verified at 1354d24). Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Two moderate findings and four nits remain unresolved.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (4)
docs/opendox-carve-admissions.yaml:87
- The provenance note names the Python API as
collectViewBindings, but the S3 leg's Python authority iscollect_view_bindings;collectViewBindingsis the JavaScript mirror. As written, this governed note points reviewers to a symbol that does not exist.
- path: src/opendox/view_extension.py
reason: "added by opensoft/openDox-code build/s3-view-registry (PR #14, split-opendox § 3.4 slice S3, `#656` comment `5642758731`) — the server-side view registry, `ViewBinding` + `collectViewBindings`, mirroring `route_extension.collect_bindings` (openDox-spec `docs/front-end-package-boundary.md` § 4.1); this admission PR (openxFactory #1001) lands first per Q-L1"
since: "e6c65ed757bfc3f9b6664e27c85111bfe5f0d465"
docs/opendox-carve-admissions.yaml:93
- The verification evidence in the PR description is pinned to openDox-code#14 at
28de9c3b, but that external PR's current head isa497d715after the S2 merge and the module-scope follow-up. The zero-refusal claim therefore does not cover the leg this annotation will land against; rerun phase B at the current head and update the recorded evidence before merging.
- path: src/opendox/web/views/view_extension.js
reason: "added by opensoft/openDox-code build/s3-view-registry (PR #14, split-opendox § 3.4 slice S3, `#656` comment `5642758731`) — the client-side view registry, the § 2.4/§ 4.3 seam counterpart `app.js`'s row annotation names; this admission PR (openxFactory #1001) lands first per Q-L1"
since: "e6c65ed757bfc3f9b6664e27c85111bfe5f0d465"
docs/opendox-cutover-runbook.md:210
validate-carve-manifest.pydoes not print the 909-line aggregate or the class/per-destination breakdown; it prints disposition counts, digests, and surface coverage. The aggregate is summed by the test and the per-destination figures come from arrival verification, so this attribution would mislead operators trying to reproduce the table.
same measurement
`scripts/validate-carve-manifest.py` prints and
`tests/carve_manifest/test_carve_manifest.py::test_the_real_manifest_carries_the_ruled_q_l7_amendment`
pins, computed the same way every time: a transcribed count is a claim, a
docs/opendox-cutover-runbook.md:185
- “The 909th line” reads as though the replica declaration is the final ordinal line, but the replica row occurs in the middle of the manifest. This is meant to explain why the per-destination totals sum to 908; say that one of the 909 declared lines belongs to a replica instead.
The **909th line belongs to a replica row and therefore to no destination
column below**: a replica row names no destination at all, so the per-leg
declared-line figures still sum to 908, and the extra line is owed by every leg
- Files reviewed: 8/8 changed files
- Comments generated: 2
- Review effort level: Lite
…unbook's dated self-contradiction Second Copilot re-review on openxFactory PR #1001, two new threads: - tests/carve_arrival/test_verify_carve_arrival.py: test_the_committed_admissions_file_keeps_the_ruled_seed_and_stays_well_formed pinned the RULED openxdox_code seed and the RULED Q5 opendox_code S2 entries by presence + exact `since`, but the five entries this PR's previous commit added (S3's view_extension.py/.js/test_view_registry.py, S1's test_web_boundary.py/web_boundary_census.yaml) were covered only by the generic shape checks — a future deletion or a swap to another valid 40-hex commit would have passed. Added the same presence+since pin for all five, on the same footing as the S2 block it follows. - docs/opendox-cutover-runbook.md: § 2's totals paragraph now states the CURRENT computed totals, but the very next sentence still said "the row and line totals above are the file AS AMENDED on 2026-09-10 under RULING Q-L1" — true when that sentence was written, false now, and a direct contradiction of the new "Measured directly against the landed manifest, 2026-09-12" paragraph a few lines below. Reworded it to say what it now is: history of amendments in landing order, not a claim about the present total. Also fixed the one live "794 declared lines" reference in § 4's line-definition section to state both the historical figure at that ruling's own landing and the current one (909), rather than reading as a live count. Verified: pytest tests/carve_manifest tests/carve_arrival tests/carve_conformance 269 passed; scripts/validate-carve-manifest.py OK (166/152/138, 909/153, verified at d83a0d8). Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Two moderate destination-assertion findings and one metadata naming nit remain unresolved.
Review details
Suppressed comments (3)
Previously missed (1) — in code that hasn't changed since the last review.
tests/carve_manifest/test_carve_manifest.py:2021
- This S3 assertion selects the new edit by its line set but does not verify that the existing row still targets
opendox_code. A destination reassignment could therefore leave the test green while moving the annotation out of the S3 leg; add the same destination check used for the S2 rows.
docs/opendox-carve-admissions.yaml:86
- The admission reason describes the Python file
src/opendox/view_extension.pyas exposingcollectViewBindings, but that is the JavaScript mirror's camelCase name; the Python API iscollect_view_bindings. Please use the actual symbol name so this governed metadata does not point reviewers to a non-existent server-side API.
reason: "added by opensoft/openDox-code build/s3-view-registry (PR #14, split-opendox § 3.4 slice S3, `#656` comment `5642758731`) — the server-side view registry, `ViewBinding` + `collectViewBindings`, mirroring `route_extension.collect_bindings` (openDox-spec `docs/front-end-package-boundary.md` § 4.1); this admission PR (openxFactory #1001) lands first per Q-L1"
tests/carve_manifest/test_carve_manifest.py:2011
- The S3 row pin checks the disposition and edit payload but not the destination. It would still pass if this source row were reassigned away from
opendox_code, even though the annotation is specifically for the openDox-code leg; the existing S2 pins assert this field. Add the destination assertion.
assert app_js_row["disposition"] == "moved_with_declared_edit", app_js_row
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
… on the test_doc_surfaces.py row (Q-L1; § 3.4 S3, extended) openDox-code PR #14 (branch `build/s3-view-registry`) landed a Copilot re-review fix round after this PR's own declaration, now at head e176947dd3691fa96b285575910989ed77e09181. Running `scripts/verify-carve-arrival.py --destination opendox_code --phase B` against that head refuses: `tests/test_doc_surfaces.py` was edited at carve-commit line 290, which the row for `tests/ideation-dashboard/test_doc_surfaces.py` did not declare. The fix round's other two changes need no new declaration: `app.js`'s gate-bar `mountGate` fix falls inside lines already declared on that row (`adapter calls` 842-844/865-866/876), and the new `test_app_js_mounts_the_gate_bar_through_its_declared_entry` lives in `tests/test_view_registry.py`, an admitted (S3-created) file outside the arrived surface. The one real gap: `test_the_doc_tab_is_wired_to_the_one_cross_view_jump` quoted `app.js`'s pre-S3 block-boundary marker, `'{ tab: "tab-docs"'`, which no longer exists once the `app.js` row's own declared `TABS` -> `CORE_VIEWS` edit lands. Migrated to the registry shape, `'{ id: "docs.list", control: "tab-docs", region: "view-docs",'` — the same one-token-class migration `test_bullseye_widget.py`'s three quoted lines already took in this PR, and the same `adapter calls` class (an assertion is a call site reaching a name that now comes from the registry). `docs/opendox-carve-manifest.yaml`: the row is ALREADY `moved_with_declared_edit` (it carries `path constants` at line 39), so this adds a SECOND `edits:` entry rather than converting the disposition, on the `test_bullseye_widget.py` row's own precedent for a row gaining a second class. `test_doc_surfaces.py` is therefore not a new carrier of `edits:` — rows carrying `edits:` stays 153, and declared lines move by exactly the one new line: re-derived from the manifest (never typed), `sum(len(lines) for edits) == 910` on `153` rows carrying them (was 909/153). `carve_commit`, `carve_tag` and every `sha256` are untouched. `tests/carve_manifest/test_carve_manifest.py`: pin the new `(adapter calls, [290])` entry on the `test_doc_surfaces.py` row by its own lines, the same idiom the `test_bullseye_widget.py` and `serve.py` pins already use; move the aggregate assertion and its two comment citations of it to `(910, 153)`; narrate the amendment in the running history above the assertion. README.md, `docs/opendox-cutover-runbook.md` § 2 (the landed total, the `opendox_code` per-destination row: verbatim/edited 58/65 unchanged, declared lines 336 -> 337, `adapter calls` 65 -> 66) and the four docstrings quoting the running total (`scripts/carve_lines.py`, `scripts/verify-carve-arrival.py`, `scripts/validate-carve-manifest.py`, the line-count test) move to 910. Verified: `python3 scripts/validate-carve-manifest.py` OK (unchanged: 456 rows, 152 moved_with_declared_edit); `verify-carve-arrival.py --destination opendox_code --phase B` against a fresh clone of openDox-code at e176947dd3691fa96b285575910989ed77e09181: 123 rows arrived, 64 declared-edit rows within their lines, 1 unapplied (`doxbench_scope_types.py`, pre-existing and unrelated), 0 refusals; `python -m pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance`: 269 passed. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Review comments identify stale arithmetic and summary claims that must be reconciled with the landed 910-line, 337-line opendox_code totals.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (1)
docs/opendox-cutover-runbook.md:221
- The PR description's fix-round summary still reports
opendox_codeas having 336 declared lines, but this landed manifest includes the additionaltest_doc_surfaces.py[290]declaration and this table correctly reports 337. Please update the description's per-destination figure so its arithmetic matches the repository state.
| `opendox_code` | 123 | 58 / 65 | 337 | `src/opendox`, `tests` |
- Files reviewed: 9/9 changed files
- Comments generated: 2
- Review effort level: Lite
…opilot) The § 3.4 SLICE-S3 ANNOTATION paragraph in docs/opendox-carve-manifest.yaml described only the original two-row act (app.js + test_bullseye_widget.py, +40 lines) even though this branch's own tip commit (2c2400c) already extended the same act with a third row's catch-up edit (test_doc_surfaces.py:290, +1 line). Copilot's re-review caught the resulting contradiction: the paragraph's own "+40 over two rows, adapter calls +39" no longer matched the landed document, which the aggregate test, the runbook and README all already state as 910 declared lines / 153 rows (re-derived, not typed). Re-derived directly from the manifest (never by hand-summing the prose): sum(len(edits[].lines)) == 910, count(rows with edits) == 153, per-class totals import rewrites 679 / path constants 165 / adapter calls 66. Against the S2 baseline (869 / 152, adapter calls 26), this act's delta is +41 lines (not +40) over THREE rows (not two): 37 on app.js, 3 on test_bullseye_widget.py, 1 on test_doc_surfaces.py; adapter calls +40 (not +39); rows carrying edits: +1 (app.js is the only new carrier — the other two rows already carried an edits: list before this act). Added a short "A THIRD ROW TAKES ONE LINE..." paragraph, matching the existing two-row narration's own voice, so the arithmetic paragraph's reference to a third row has a corresponding row description; then corrected the arithmetic paragraph itself to +41 / THREE rows / adapter calls +40 / "the second and third rows already carried one". Comment-only change: YAML still parses, scripts/validate-carve-manifest.py still reports the same 456 rows / 166-152-138 split, and python -m pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance still passes at 269 (unchanged — no row data touched, only the manifest's own prose). The PR description was audited against the same re-derivation and found already consistent (all of its own 909/902/862/906/336 mentions are explicitly framed as dated history, e.g. "EDIT, post-merge:" / "EDIT, #14 fix-round catch-up:" / "they briefly read 902, then 906, then 909" — none asserts a stale figure as the current state); no PR-body edit was needed. Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
…branch Lane: openxfactory-4-opendox-extraction Refs #656 Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Three manifest pins do not assert the opendox_code destination, leaving the S3 arrival contract insufficiently protected.
Review details
Suppressed comments (4)
docs/opendox-carve-admissions.yaml:86
- This admission reason is for the Python module, but
collectViewBindingsis the JavaScript symbol; the cited S3 commit defines Python'scollect_view_bindings. The governed provenance text therefore points reviewers to a nonexistent Python API name; use the snake_case symbol here.
reason: "added by opensoft/openDox-code build/s3-view-registry (PR #14, split-opendox § 3.4 slice S3, `#656` comment `5642758731`) — the server-side view registry, `ViewBinding` + `collectViewBindings`, mirroring `route_extension.collect_bindings` (openDox-spec `docs/front-end-package-boundary.md` § 4.1); this admission PR (openxFactory #1001) lands first per Q-L1"
tests/carve_manifest/test_carve_manifest.py:2025
- This new per-row pin does not assert the row's destination. If
destinationis retargeted away fromopendox_code, the exact disposition and 37 declared lines still pass here even though the S3 arrival proof would no longer validate this file on the intended leg. The neighboring S2 pins assert their destination; add the same invariant for this row.
assert app_js_row["disposition"] == "moved_with_declared_edit", app_js_row
tests/carve_manifest/test_carve_manifest.py:2035
- This pin selects the new edit by line numbers but never asserts that the existing row still arrives at
opendox_code. A destination drift would leave the assertion green while moving the S3 annotation to the wrong leg; the S2 row checks immediately above pindestinationexplicitly. Add that destination assertion here.
bullseye_row = rows["tests/ideation-dashboard/test_bullseye_widget.py"]
tests/carve_manifest/test_carve_manifest.py:2048
- The catch-up pin has the same gap: it only finds
[290]and does not verify that this row is still assigned toopendox_code. A retargeted row would make this exact-line assertion pass but would not protect the S3 arrival contract. Add the destination check, as the adjacent S2 pins do.
doc_surfaces_row = rows["tests/ideation-dashboard/test_doc_surfaces.py"]
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Bookkeeping only. `origin/main` moved 177ba81 -> f663b37: PR #1007 archived `decide-disposition-reading-per-family` (its proposal directory moved to `openspec/changes/archive/2026-09-12-decide-disposition-reading-per-family`, promoting its `## MODIFIED` block into `openspec/specs/doc-health/spec.md`), and #1001 (a split-opendox carve-manifest change) landed after it. This merge auto-resolved with NO conflict: the archive REMOVED the active `decide-disposition-reading-per-family` row this packet's earlier merges (db20851, 32e57bd) had kept ahead of its own row, rather than inserting another row beside it, so there was nothing left to reconcile on the same heading this time. `tests/sequenced_after/corpus-ledger.yaml` auto-merged with both sides' rows intact; the carve-manifest, carve-arrival and carve-lines test/script changes from #1001 came in from main unmodified by this merge. The packet's own gate re-run on the merged tree: exit 0 — 44 active proposals, 44 declaring, 20 `implemented`, 3 a named release, 21 named by the register, 0 outside the vocabulary (down one active/`implemented` from the pre-merge head, and archive up to 164: the #1007 archive moves `decide-disposition-reading-per-family` out of the active population this gate judges and into the archive it only reads). `pytest tests/target_release -q` 86 passed, unchanged. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
…n) into the S4 declared-edits branch
… (sixth) origin/main moved to f663b37 via PR #1001 (carve manifest: declare the S3 view-registry lines on the app.js row) -- a disjoint packet in the split-opendox-two-layer-product carve arc, touching docs/opendox-carve- manifest.yaml, docs/opendox-carve-admissions.yaml, docs/opendox-cutover- runbook.md, three carve/verify scripts and their tests, plus one line of README.md (the cutover-runbook bullet's declared-line total, 794 -> 910). Verified disjoint from this packet: it touches neither this packet's own change directory, openspec/specs/doc-health/spec.md, nor scripts/doc_health/modified_block_currency.py. README.md auto-merged clean (git reported "Auto-merging", no conflict markers): PR #1001's one-line edit sits in the "Core domain-neutral docs" bullet list near the top of the file, nowhere near this packet's own row in the ## OpenSpec Records block further down. tests/sequenced_after/ corpus-ledger.yaml and tests/doc-health/test_modified_block_currency_self_ gate.py are untouched by PR #1001, so neither was at risk of conflict and neither changed. refs #955 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…and serve_projection.py rows (Q-L1; § 3.4 S6) (#1009) Lane: openxfactory-4-opendox-extraction Refs #656 (stays OPEN). CLAIM: #656 comment 5647354329. § 3.4 SLICE S6 (RULED Q4, `#656` comment 5642758731): the read-only `/source` pass-through returns from a CONTRIBUTED binding (openXdox-code's `serve_projection.py`) to a FIXED core arm of the neutral product (openDox-code's `serve.py`). Two rows, both already `moved_with_declared_edit`, each gain one new `adapter calls` entry: `scripts/ideation_dashboard/serve.py` (destination `opendox_code`) 10 lines `[161, 162, 304, 305, 515, 516, 921, 922, 949, 950]`, the five INSERTIONS (registration-modes record, the two route constants, the `resolve_source_path` containment entry point, the two FIXED core arms in `_route`, and `_keyed_source`/`_serve_source`/ `_refuse_bare_source`); `scripts/ideation_dashboard/serve_projection.py` (destination `openxdox_code`) 122 lines, the matching DELETIONS. One new admission, `tests/test_source_core_arm.py` under `destinations.opendox_code.created`, `since: b00fbd920a019e2cee816b4936f921ceeab67a8c` (the leg commit that adds the file — corrected during this PR's review from an initial `since` that named a later commit which only edits it; see the resolved review threads). Totals re-derived from the manifest, never typed: `tests/carve_manifest/test_carve_manifest.py::test_the_real_manifest_carries_the_ruled_q_l7_amendment` → 910 → 1042 declared edit lines (+132: 10 + 122, both `adapter calls`), 153 rows carrying `edits:` unchanged. Verifier against fresh read-only leg clones: `verify-carve-arrival.py --destination opendox_code --dest-root <openDox-code @ 7dd0ba5a, build/s6-source-core-arm> --source-repo . --phase B` → ok, 0 refusals (one pre-existing, unrelated `declared_edits_unapplied` already recorded in #1001, not S6's); `--destination openxdox_code --dest-root <openXdox-code @ 00b69de7, build/s6-source-route-to-opendox>` → the one refusal present (`gate_console.py`) belongs to § 4.4 RULING C2's own unlanded work, recorded verbatim and left undeclared here. Gate evidence: pytest-suite run 34712833841 SUCCESS at head e74454b (`python3 scripts/validate-carve-manifest.py` → OK, 456 rows; `python3 -m pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance` → 269 passed). Review threads 3/0 (2 Copilot findings on the admission's `since` fixed and resolved this round; the pre-existing amendment-history thread was already resolved before this lander picked the PR up). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
… (eighth) origin/main moved to 468371d via PR #1009 (carve manifest: declare the S6 /source re-home lines on serve.py and serve_projection.py, Lane openxfactory-4-opendox-extraction) -- the same carve-manifest declared-edit pattern as the two prior merges (#1001, #963's own follow-on), touching docs/opendox-carve-*, three carve/verify scripts and their tests, and the same single README.md bullet (the cutover-runbook declared-edit total, 910 -> 1042). Verified disjoint from this packet via the commit's own --stat: touches neither this packet's own change directory, the self-gate test, tests/sequenced_after/corpus-ledger.yaml, nor openspec/specs/doc-health/spec.md or scripts/doc_health/ modified_block_currency.py. README.md auto-merged clean (git "Auto-merging", zero conflict markers) -- the same single-line edit as the prior two carve-manifest merges, nowhere near this packet's own OpenSpec Records row. refs #955 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…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]>



Lane: openxfactory-4-opendox-extraction
Refs #656 (stays OPEN).
The ruling. Q-L1 of the § 3.4 slice rulings — #656 comment
5642758731,
Brett Heap, 2026-09-12 — binds every slice: "an edit to an ARRIVED file (a
moved_verbatim/moved_with_declared_editrow ofdocs/opendox-carve-manifest.yaml) outside its declared lines is an undeclaredmovement — each slice that edits such a file pairs its leg PR with an
openxFactory row-annotation PR (the ASK-7 pattern) that lands FIRST." The FORM
of the annotation is the Q-L1 form ruled at comment
5628560136.
Slice S3 builds the VIEW REGISTRY at openDox-code —
ViewBinding+collectViewBindingson the § 2.4 / § 4.3 seams, mirroringroute_extension.collect_bindings(openDox-specdocs/front-end-package-boundary.md§ 4.1). It edits exactly ONE arrived file,src/opendox/web/app.js. This PR declares the lines it edits and nothing else.The lines, and what maps to what
One row converted —
scripts/ideation_dashboard/web/app.js,moved_verbatim→
moved_with_declared_edit— 37 lines in two RULED classes.import rewritesimport { isGateBearing, mountGateBar } from "./views/gate.js"→import { collectViewBindings, contributedViewBindings, manifestRoutes, resolveView } from "./views/view_extension.js". § 4.1 names this line by number. One import statement replaced by another, which is what the class is.adapter callsTABStable →CORE_VIEWS, the same seven asViewBindings (plus the gate bar), collected throughcollectViewBindings(); therender:keys becomemount:.adapter callst.tab/t.view/target.renderbecomecontrol/region/mount.adapter callsgateContext'sisGateBearing(...)andrenderViewer'smountGate:become reads of the bindingresolveView()returned, and null where no gate column is registered — whichviews/viewer.jsalready renders as a document with no gate bar (`const mountGate = o.mountGateadapter callsviews, handing the collected registry to every view so an OPTIONAL contributed panel is asked for by id.…plus three
adapter callslines on a second row, and one more on a third,below.
adapter callsis this manifest's own precedent for the class (serve.py:618,snapshot_registry.py:85): a site that reached a thing directly now calls theseam that stands in for it.
index.htmlis NOT in this act and takes no annotation. Adata-regionattribute would have been a second spelling of an id the shell already carries,
and an added attribute is in NONE of the RULED
edit_classes(
import rewrites | path constants | adapter calls) — declaring it would havemeant inventing an edit class rather than using one. The region contract is
held instead by the registry's own
REGIONStable and a drift test against theshell's existing ids, and the row stays
moved_verbatim, byte-identical.A second row: the three bullseye lines
tests/ideation-dashboard/test_bullseye_widget.pyassertsapp.js's shape byquoting its lines back, so three of its quotations name the tab router's
field before the view registry renamed it —
:900,:1781,:1785,.view→.region, and nothing else on any line. The row is alreadymoved_with_declared_edit(itspath constantsline 40), so it changes nodisposition and is not a new carrier of
edits:; it gains oneadapter callsclass with those three lines, on the same precedent the
app.jsrow uses — anassertion is a call site reaching a name that now comes from the registry. Each
is a single-line REPLACE at the carve numbering, so exactly three lines are
declared and no neighbour is.
Why migrate rather than leave it. That suite is red today for an unrelated
reason (it imports through
serve.py, which still reaches the carved-awayideation_dashboard) and is not in the leg's narrowedvalidatelist. Neitherfact makes a stale assertion acceptable: slice S8 re-homes those 48 test files
and un-narrows
validate, and an assertion describing a shape that no longerexists is exactly the rot S8 would then have to discover and date. Copilot found
two of the three on the leg PR; a diff of every
app.jsquotation in the legagainst base and head found the third, and no others.
A third row: the doc-surfaces line
tests/ideation-dashboard/test_doc_surfaces.pyis the same kind ofsource-grep suite as
test_bullseye_widget.py: it locatesapp.js's docs-tabblock by quoting the block's own boundary marker back,
'{ tab: "tab-docs"'— the pre-S3
TABSentry shape this PR'sapp.jsrow retires. Found not bythis PR's own leg work but by the openDox-code #14 fix round's Copilot
re-review, after this PR first landed and after the leg's head moved to
e176947dd3691fa96b285575910989ed77e09181: runningverify-carve-arrival.py --destination opendox_code --phase Bagainst thathead refuses —
test_doc_surfaces.pywas edited at carve-commit line 290,which the row did not declare.
The row is already
moved_with_declared_edit(itspath constantsline39, unrelated and pre-dating this PR), so — on exactly the
test_bullseye_widget.pyrow's own precedent above — it changes nodisposition and is not a new carrier of
edits:; it gains oneadapter callsclass with that one line. The migration itself:block = app.split('{ tab: "tab-docs"', 1)...becomesblock = app.split('{ id: "docs.list", control: "tab-docs", region: "view-docs",', 1)...— the same one-token-class migrationtest_bullseye_widget.py's three quotations already took, on the samereasoning: an assertion is a call site reaching a name that now comes from
the registry. One carve-numbered line, REPLACED (it wraps to two lines at
the destination by line length) — exactly one line is declared and no
neighbour is.
app.jsitself needs no further declaration. The #14 fix round's othertwo changes — the gate-bar
mountGateadapter reading the binding'sdeclared
entryinstead of a hardcoded export name, and a newtest_app_js_mounts_the_gate_bar_through_its_declared_entryregression test— both fall inside lines this PR's
app.jsrow already declares(
adapter calls842-844/865-866/876) or outside the arrived surface entirely(
tests/test_view_registry.pyis an admitted, S3-created file, not a carverow).
verify-carve-arrival.py --phase Bruns clean forapp.js.Verifier output
scripts/verify-carve-arrival.py's own_check_declared_lines— carve-commitnumbering,
scripts/carve_lines.pyrecords,difflibopcode mapping (RULEDQ-L8 (c)) — run over every one of the 123
opendox_coderows against the S3leg branch
build/s3-view-registry:and the declaration is MINIMAL — all 37 declared lines are touched, none spare
(31 replace/delete lines, plus three insertions each naming both neighbours,
which is the tightest statement the line-numbered grammar makes about an
insertion):
scripts/validate-carve-manifest.py:Arithmetic, stated as a delta on purpose
NO REFERENT DIGEST MOVES:
carve_commitandcarve_tagare untouched,opendox-carve-0stays the label, and the row keeps thesha256it alreadycarries — the CARVE blob's, not the destination's.
The absolute totals are deliberately not restated in the document: the
ASK-7 declared-edit window (#656 comment
5642614423)
is in flight over
cli.pyandserve.pyin this same file, and two actsrestating one set of absolutes is how a count becomes wrong in a merge. This
act's whole arithmetic: rows unchanged;
not_movedunchanged; one rowmoved_verbatim→moved_with_declared_edit; declared lines +41 overTHREE rows — 37 on
app.js(import rewrites+1,adapter calls+36), 3 ontest_bullseye_widget.py(adapter calls), and 1 ontest_doc_surfaces.py(
adapter calls, the openDox-code #14 fix round's catch-up, declared afterthis PR first landed) — rows carrying
edits:+1 (the second and third rowsalready carried one); replicas unchanged.
The second commit: the absolutes
pytest-suitecaught the half of this act that is not in the document.tests/carve_manifest/test_carve_manifest.py::test_the_real_manifest_carries_the_ruled_q_l7_amendmentsums the landed manifest's declared lines and the rows carrying
edits:and asserts the pair. EDIT, post-merge: the PR as first opened read
(862, 150)and stated(902, 151)here, computed against the branch'sOWN pre-merge baseline — but
#1002(§ 3.4 slice S2, dispose.js/wheel.js)landed on
mainfirst and this branch has since merged it, so the realbaseline this act lands on top of is
(869, 152), and the correct total is869 + 37 + 3 = 909 on 152 + 1 = 153 rows (the bullseye row already
carried an edit, so it is not a new carrier), with
replicasstill 20 andevery
sha256,carve_commitandcarve_taguntouched — the assertionitself,
docs/opendox-carve-admissions.yaml,README.mdand the runbook's§ 2 table were all reconciled to
(909, 153)(Copilot review).EDIT, #14 fix-round catch-up: openDox-code #14's own further Copilot
re-review fix round (head
e176947dd3691fa96b285575910989ed77e09181) editedtests/test_doc_surfaces.pyonce more, outside its declared lines;verify-carve-arrival.py --phase Brefused against that head, and the onenew line is declared on the row's existing
edits:list (a second class,not a new carrier — see "A third row" above). The reconciled total moves to
909 + 1 = 910 on the same 153 rows, and the assertion,
README.mdand the runbook's § 2 table (including the
opendox_coderow's declared-linecount, 336 → 337) now read
(910, 153), re-derived from the manifest.The division of labour is deliberate and is now written down in the test: the
document states each act as a DELTA (two acts restating one set of
absolutes is how a count becomes wrong in a merge — the ASK-7 window is in
flight over
cli.pyandserve.pyin that same file), and the one place theabsolutes are summed is this test, which re-derives them rather than
transcribing them.
Four docstrings also quote the running total as a fact about the document —
carve_lines.py,verify-carve-arrival.py,validate-carve-manifest.pyandtest_the_line_count_is_exactly_the_expression_the_validator_carried— andall four now read 910 (they briefly read 902, then 906, then 909, in
between; see the edits above). Nothing else in any of them changes: the RULED Q-L8
(c) definition of a line, the pinned expression and every bound are
untouched, only the count each sentence quotes. Local:
tests/carve_manifest tests/carve_arrival tests/carve_conformance269passed.
Landing order
The openDox-code leg PR lands AFTER this one, per Q-L1. Landing order among
the three § 3.4 slices is S1 → S2 → S3, the lane merging main into each before
landing. The lane lands both; this branch does not merge itself.
Fix round (Copilot review)
main(brings in#1002, § 3.4 slice S2) and reconciled the twoparallel manifest-header narrations and the aggregate test assertion to
the combined truth: 909 declared lines / 153
rows carrying
edits:(166moved_verbatim/ 152moved_with_declared_edit/ 138not_moved), all re-derived from themerged
docs/opendox-carve-manifest.yaml, never typed by hand.app.jsandtest_bullseye_widget.pyrows intests/carve_manifest/test_carve_manifest.pyby disposition and exact(class, lines), not just the aggregate.README.mdanddocs/opendox-cutover-runbook.md(§ 2 table, theper-destination table, and the surrounding prose) to the same computed
totals, including the
opendox_coderow (58/65 verbatim/edited, 336declared lines).
note:key Copilot found earlier was alreadyfixed by an earlier commit on this branch (thread resolved; re-checked
the landed YAML directly — one
note:per edit, no action needed here).862 → 902; the merged truth is869 → 909) and the four docstringsthat briefly read
906(the branch's pre-merge-only total) instead of909.opendox_code's five undeclared-but-legitimate files indocs/opendox-carve-admissions.yamlsoscripts/verify-carve-arrival.py --destination opendox_code --phase Bruns clean against the S3 leg's current head
(
opensoft/openDox-code#14@28de9c3b) with zero ad-hoc--allow-createdflags: S3's ownview_extension.py/view_extension.js/test_view_registry.py, and S1'stest_web_boundary.py/tests/fixtures/web_boundary_census.yaml(landed already via
openDox-code#13, which touched no arrived file andso needed no row-annotation PR of its own — this is simply the first PR
to run the verifier against the merged S1+S2+S3 tree).
Extension: the openDox-code #14 fix round's catch-up
openDox-code #14 (
build/s3-view-registry) landed a further Copilotre-review fix round after this PR first landed, now at head
e176947dd3691fa96b285575910989ed77e09181.verify-carve-arrival.py --destination opendox_code --phase Bagainst that head refused: one moreundeclared edit, on
tests/test_doc_surfaces.py(§ "A third row" above).adapter calls) on thetest_doc_surfaces.pyrow's existingedits:list — not a newdisposition, not a new carrier.
app.jsneeded no new declaration: the fix round's other two findings —the gate-bar's declared-entry mount in
app.js(plus its new regressiontest) and an unrelated
test_view_registry.pyisolation-fixture fix —fall inside lines already declared on that row, or outside the arrived
surface (
tests/test_view_registry.pyis admitted, S3-created, not acarve row).
(adapter calls, [290])entry intests/carve_manifest/test_carve_manifest.py, the same idiom thetest_bullseye_widget.pypin uses; moved the aggregate assertion andits own citation of the tuple to
(910, 153), re-derived from themanifest, never typed.
README.md,docs/opendox-cutover-runbook.md(§ 2 table, theopendox_codeper-destination row: 58/65 verbatim/edited unchanged,336 → 337 declared lines,
adapter calls65 → 66) and the fourrunning-total docstrings to 910.
validate-carve-manifest.pyOK (unchanged: 456 rows, 152moved_with_declared_edit); a fresh clone of openDox-code ate176947dd3691fa96b285575910989ed77e09181,verify-carve-arrival.py --destination opendox_code --phase B: 0refusals, all three of this PR's declared rows (
app.js,test_bullseye_widget.py,test_doc_surfaces.py) confirmed withintheir declared lines, plus one pre-existing and unrelated
unappliedrow (
doxbench_scope_types.py, lawful per the tool's own documentedreasoning — its declared edit simply has not been applied at this leg
yet);
pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance: 269 passed.Lane: openxfactory-4-opendox-extraction
Refs #656 (stays OPEN).
🤖 Generated with Claude Code
Summary by Sourcery
Declare the S3 view-registry migration and reconcile carve admissions, validation coverage, tests, and documentation with the resulting manifest changes.
Enhancements:
Documentation:
Tests: