Skip to content

Carve manifest: declare the S4 split's route-tail lines on seven rows and admit its four files (Q-L1; § 3.4 S4) - #1010

Merged
brettheap merged 23 commits into
mainfrom
chore/s4-split-declared-edits
Sep 12, 2026
Merged

brettheap merged 23 commits into
mainfrom
chore/s4-split-declared-edits

Conversation

@brettheap

@brettheap brettheap commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction

Refs #656 (stays OPEN).

UPDATE 2026-09-12 19:25Z: #1009 (the S6 annotation) has ALSO LANDED, on
main as squash commit 468371dc (following #1001's own f663b379). This
branch has been merged with current main (merge commit ae03b678) and the
stack has fully collapsed: no longer stacked on any open PR — this diff
is S4's own act, directly on top of the now-landed S3 + S6 annotations.
Resolving the merge required re-deriving every manifest-header/aggregate
conflict rather than picking a side by hand: docs/opendox-carve-admissions.yaml
and its regression pin in tests/carve_arrival/test_verify_carve_arrival.py
took main's in-review fix (the tests/test_source_core_arm.py admission's
since corrected to b00fbd920a019e2cee816b4936f921ceeab67a8c, the commit
that actually adds the file) together with S4's own four-admission addition
that follows it in the same list; every other total in
docs/opendox-carve-manifest.yaml, docs/opendox-cutover-runbook.md,
README.md and the three scripts' docstrings was re-summed from the merged
manifest (python3 scripts/validate-carve-manifest.py → OK; a standalone
re-derivation script over doc["rows"] cross-checked every figure below
before it was kept) rather than assumed from either side.

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
outside its declared lines is an undeclared movement, so each slice's leg PR
pairs with an openxFactory row-annotation PR that lands FIRST. RULING Q3,
same comment: "a route constant travels with the binding that calls it,
never with the model that happens to declare it."

CLAIM: #656 comment
5647338637.

UPDATE 2026-09-12 ~20:05Z: round 2 of Copilot review, at head a9b82e43.
One thread + two suppressed comments, all investigated:

  1. (the one open thread, now resolved) the "Four admissions" section
    below stated all four admissions share since: 8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808; the committed file was
    already correct (fixed last round, b50344d3: each admission its own
    introducing commit, 031edc9b... for the three view modules,
    2e842178... for the test file) — only this PR description was stale.
    Corrected below; no code change.
  2. (suppressed, fixed, commit a9b82e43) the manifest's app.js
    adapter calls note said "the four relocated routes" while naming only
    three in the same parenthetical (the fourth,
    ACTIONS_APPLY_REGISTER_EDITS_ROUTE, is REMOVED, not relocated, per
    the same sentence's own next clause). Changed to "three".
  3. (suppressed, declined) a claim that the manifest's "Realized at
    ... 8fdc6ac4..." provenance citations are unreproducible because
    openDox-code#17 has since advanced to b9126d94123edd2035fab365d340408f633d90f9.
    Checked against GitHub's own API: 8fdc6ac4 still resolves (present,
    not rewritten-away), and compare/8fdc6ac4...b9126d94 is a clean
    4-commit fast-forward touching only tests/conftest.py,
    tests/fixtures/web_boundary_census.yaml and
    tests/test_web_boundary.py — none of S4's seven rows or four
    admissions. A "Realized at" note pins the commit verified against,
    the same convention this file already uses for carve_commit: and the
    admissions file's since: — that commit remains valid, so there is
    nothing to correct. Verifier re-run at the two points for the record:
    --dest-root <leg @ 8fdc6ac4> → OK (as originally reported below);
    --dest-root <leg @ b9126d94> → refuses arrival-undeclared-file on
    tests/conftest.py alone, an EARLIER slice's admitted-created file
    that PR Document content cleanup decision #17 has since further edited via a separately-tracked merge
    (fix/conftest-repo-root-depth Add live factory runtime OpenSpec change #19, runbook § 5.5) unrelated to any
    row or admission this PR declares — out of scope here, not a defect in
    this PR's own claims.

python3 scripts/validate-carve-manifest.py → OK, 456 rows unchanged.
python3 -m pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance → 269 passed.

Seven rows, thirteen route tails

row destination disposition change new entries
app.js opendox_code already carrier +1: adapter calls, 4 lines — the gate.lens/gate.projects bindings' routes: declarations
lens-model.js opendox_code verbatim → declared_edit path constants, 5 lines — LENS_SAVE_ROUTE/LENS_CLUSTER_ROUTE removed
lens.js opendox_code verbatim → declared_edit import rewrites 1 line + adapter calls 120 lines — one import repoint + its two call sites
repo-selector.js opendox_code verbatim → declared_edit path constants 16 lines + adapter calls 202 lines — four routes leave (one to projection-index.js, two to gate-projects.js, one LEAVES THE BUNDLE per RULING DQ-1), one stays (ACTIONS_REFRESH_ROUTE)
staging-workbench-model.js opendox_code already carrier +2 entries: path constants 14 lines + adapter calls 12 lines — six routes leave to swb-create.js/swb-session.js
swb-create.js opendox_code verbatim → declared_edit import rewrites 2 lines + path constants 1 line — CREATE_ROUTE arrives
swb-session.js opendox_code verbatim → declared_edit import rewrites 2 lines + path constants 1 line — five routes arrive

Five new carriers, two already-carrier rows gain another entry — +380
declared lines over +5 rows carrying edits:
.

repo-selector.js:46's ACTIONS_APPLY_REGISTER_EDITS_ROUTE leaves the
bundle entirely
rather than moving to a class: RULING DQ-1 keeps
openxFactory's own adapter lanes at openxFactory, which no class here may
own, so the constant and everything that called it (the header's "apply N
pending" button, its handler, its one call of onRefreshed) are declared
gone, not relocated. views/lens.js itself stays classified ? in the
web-boundary census (assertion 1's one declared, ruled-later exception) —
this act only repoints one of its imports to follow a sibling file's split.

All line numbers are the arrival verifier's own refusal output
(verify-carve-arrival.py::_check_declared_lines, carve-commit numbering,
RULED Q-L8 (c)), taken from a fresh read-only clone of openDox-code
build/s4-split-route-tails @ 8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808 —
not copied from the S4 author's own reference files
(annotated-manifest.yaml / annotated-admissions.yaml, explicitly
reference-only and built against an older manifest). Re-verifying caught one
discrepancy: the reference payload's repo-selector.js adapter calls
range (rng(64,77)) included line 68, which the arrival verifier's diff
does not actually touch (an equal opcode — 68 is unchanged text sitting
inside an otherwise-edited region, not part of the edit). Corrected to the
exact 202-line set the refusal names, which moves the S4 leg's own
previously-claimed delta from +381/+5 to the verifier-measured +380/+5.

Four admissions

docs/opendox-carve-admissions.yaml, destinations.opendox_code.created,
alphabetical, each since its own introducing commit inside
opensoft/openDox-code#17 (build/s4-split-route-tails, tip
8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808) — never the leg's tip commit,
per the provenance contract at docs/opendox-carve-admissions.yaml:43
("since is the 40-hex LEG commit that introduced it"). Correction: a
Copilot finding on this PR caught all four pinned to the leg's tip commit
instead of each file's own adding commit; the committed file was already
right (fixed in the prior round, commit b50344d3) — this paragraph was
the stale one, now matching the file:

  • src/opendox/web/views/gate-lens.js — the lens gate's class-B module (since: 031edc9b4268d9898c296b2e9bb3951a78642fb6)
  • src/opendox/web/views/gate-projects.js — the project gate's class-B module (since: 031edc9b4268d9898c296b2e9bb3951a78642fb6)
  • src/opendox/web/views/projection-index.js — the snapshot-index fetch, reached through a dynamic import() (not a ViewBinding; § 4.2) (since: 031edc9b4268d9898c296b2e9bb3951a78642fb6)
  • tests/test_split_route_tails.py — 29 node-driven assertions, on validate.yml's explicit list (since: 2e842178b2bceaee9a45441b7d70d797fe1205cf)

Verification against a fresh read-only clone of the S4 leg

python3 scripts/verify-carve-arrival.py --destination opendox_code \
    --dest-root <clone of openDox-code @ 8fdc6ac, build/s4-split-route-tails> \
    --source-repo . --phase B
=> OK — 123 row(s) arrived, 53 digest(s) verified, 69 declared-edit row(s)
   within their lines, 1 unapplied; 18 declared admission(s) used, 1 STALE
   (declared but not needed): tests/test_source_core_arm.py

Zero refusals. The one STALE admission is expected, not a defect: this
leg carries S3 and S4 (plus the fix round) but not S6 — S6's own
opendox_code row (serve.py) is verified separately, in the S6 PR
(#1009), against S6's own leg. Running the verifier here confirms only the
S3 + S4 rows resolve at this leg, exactly as the two slices' independent
work predicts.

Totals, re-derived from the manifest and never typed

tests/carve_manifest/test_carve_manifest.py::test_the_real_manifest_carries_the_ruled_q_l7_amendment:
1042 → 1422 declared edit lines (+380: import rewrites +5, path constants +37, adapter calls +338), 153 → 158 rows carrying edits:
(+5 new carriers). Disposition counts move 166/152/138 → 161/157/138.
README.md, docs/opendox-cutover-runbook.md § 2 (the summary line, the
disposition table, the "Nth line belongs to a replica" arithmetic, the
per-destination table's opendox_code 58/65/347 → 53/70/727 cells, the
"794 … now" sentence, and the "Measured directly" narrative) and the four
docstrings quoting the running total move with it. New row-specific pins
added to the aggregate test for all seven S4 entries (the S3 app.js pin
converted from full-equality to picked-by-lines, since app.js is no
longer a single-act row), and a new "FIFTH BUMP" presence+since pin added
to test_the_committed_admissions_file_keeps_the_ruled_seed_and_stays_well_formed
for the four new admissions.

Verification

  • python3 scripts/validate-carve-manifest.py → OK … 456 row(s) … 161 moved_verbatim, 157 moved_with_declared_edit, 138 not_moved.
  • python -m pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance → 269 passed.
  • git diff --name-only origin/main...HEAD carries no openspec/changes/
    path (plain gate).

Landing order

#1001 and #1009 have both landed (f663b379, 468371dc). This branch is
based directly on main (merge commit ae03b678) and is ready to land on
its own, last in the § 3.4 annotation sequence. This branch does not merge
itself.

Refs #656 (stays OPEN).

🤖 Generated with Claude Code

Summary by Sourcery

Annotate the S4 route-tail split in the carve manifest and admit its four destination files with updated documentation and verification coverage.

New Features:

  • Declare S4 route-tail edits across seven openDox carve manifest rows, covering route constants, imports, and adapter call sites.
  • Admit three new class-B view modules and the associated route-tail test file for the openDox destination.

Enhancements:

  • Update carve manifest, admissions, runbook, README, and validation metadata to reflect the new S4 declarations and provenance.
  • Expand manifest regression coverage to pin the seven annotated rows, four admissions, and updated aggregate totals.

Documentation:

  • Update carve documentation and operational totals for 1,422 declared edit lines across 158 edited rows.

Tests:

  • Add regression assertions for S4 line annotations and admissions while preserving shared line-count validation.

brettheap and others added 14 commits September 11, 2026 22:59
…(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]>
…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]>
…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]>
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]>
…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]>
…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]>
… 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]>
…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]>
…and serve_projection.py rows (Q-L1; § 3.4 S6)

Lane: openxfactory-4-opendox-extraction

Refs #656 (stays OPEN).

RULING Q4 (`#656` comment 5642758731, Brett Heap, 2026-09-12), under the
Q-L1 paragraph that binds every § 3.4 slice: 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`). Both rows are already `moved_with_declared_edit`
and each gains one new `adapter calls` entry — 10 lines on `serve.py` (five
insertions: the registration-modes record, the two route constants, the
containment entry point, the two `_route` arms and the three handler
methods) and the matching 122 deletions on `serve_projection.py` — so this
act carries no new row into `carrying`.

One admission: `tests/test_source_core_arm.py` under `opendox_code.created`
(the runnable half of the /source re-homing, 25 shape assertions), since
7dd0ba5a07484a2fb2715d1de4e08e7c4b68be08 (opensoft/openDox-code#16's head).

Verified against fresh read-only clones of both legs: opensoft/openDox-code
`build/s6-source-core-arm` @ 7dd0ba5a — `verify-carve-arrival.py
--destination opendox_code --phase B` returns `ok` (zero refusals; the
row's declared-edits-unapplied count of 1 is the pre-existing, unrelated
`doxbench_scope_types.py` finding #1001 already recorded). opensoft/openXdox-code
`build/s6-source-route-to-opendox` @ 00b69de7 — the same command against
`openxdox_code` still refuses on `src/openxdox/gate_console.py`, but that
refusal is § 4.4 RULING C2's own unlanded work, not S6's — recorded here
verbatim and left undeclared.

Totals, re-derived from the manifest and never typed: 910 -> 1042 declared
edit lines (+132: 10 + 122, both `adapter calls`), 153 rows carrying `edits:`
unchanged (neither row is a new carrier). `README.md`,
`docs/opendox-cutover-runbook.md` § 2 (the summary line, the "Nth line
belongs to a replica" arithmetic, the per-destination table's `opendox_code`
347 / `openxdox_code` 659 cells, and the "794 ... now" sentence) and the four
docstrings quoting the running total (`scripts/carve_lines.py`,
`scripts/verify-carve-arrival.py`, `scripts/validate-carve-manifest.py`, and
`tests/carve_manifest/test_carve_manifest.py::test_the_line_count_is_exactly_the_expression_the_validator_carried`)
move with it. New row-specific pins added to
`test_the_real_manifest_carries_the_ruled_q_l7_amendment` for both S6
entries, and a new "FOURTH BUMP" presence+since pin added to
`test_the_committed_admissions_file_keeps_the_ruled_seed_and_stays_well_formed`
for the new admission, on the same precedent PR #1001/#995/#1002 established.

Verification: `python3 scripts/validate-carve-manifest.py` -> OK, 456 rows,
same disposition counts as base. `python -m pytest -q tests/carve_manifest
tests/carve_arrival tests/carve_conformance` -> 269 passed. `git diff
--name-only origin/main...HEAD` carries no `openspec/changes/` path (plain
gate).

STACKED on #1001 (branch `chore/s3-view-registry-declared-edits`) and lands
after it.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
… and admit its four files (Q-L1; § 3.4 S4)

Lane: openxfactory-4-opendox-extraction

Refs #656 (stays OPEN).

RULING Q3 (`#656` comment 5642758731, Brett Heap, 2026-09-12): "a route
constant travels with the binding that calls it, never with the model that
happens to declare it." S4 splits the three RULED `SPLIT` files
(`lens-model.js`, `repo-selector.js`, `staging-workbench-model.js`),
declaring the thirteen gate-route constants' travel to the class-B modules
that call them.

Seven ARRIVED rows edited: `app.js` (already a carrier, +1 entry, 4 lines —
the `gate.lens`/`gate.projects` bindings' `routes:` declarations);
`lens-model.js`, `lens.js`, `repo-selector.js`, `swb-create.js` and
`swb-session.js` (five NEW carriers, `moved_verbatim` -> `moved_with_declared_edit`);
`staging-workbench-model.js` (already a carrier, +2 entries). `views/lens.js`
stays classified `?` in the web-boundary census (assertion 1's one declared,
ruled-later exception) — S4 only repoints one of its imports.
`ACTIONS_APPLY_REGISTER_EDITS_ROUTE` (repo-selector.js:46) LEAVES THE BUNDLE
entirely per RULING DQ-1 (openxFactory's own adapter lane), rather than
moving to a class.

Four new files admitted at `opendox_code.created`: `views/gate-lens.js`,
`views/gate-projects.js`, `views/projection-index.js` and
`tests/test_split_route_tails.py`, since 8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808
(opensoft/openDox-code#17's head).

Line numbers are the arrival verifier's own refusal output, taken verbatim
against a fresh read-only clone of openDox-code `build/s4-split-route-tails`
@ 8fdc6ac — NOT copied from the S4 author's own reference files (explicitly
marked reference-only, built against an older manifest), which were
re-verified in the process: `repo-selector.js`'s `adapter calls` range
`rng(64,77)` included line 68, which the arrival verifier's diff does not
actually touch (an `equal` opcode, not part of the S4 edit) — corrected to
the exact 202-line set the refusal names, dropping the S4 leg's own
previously-claimed delta from +381/+5 to the verifier-measured +380/+5.

`python3 scripts/verify-carve-arrival.py --destination opendox_code
--dest-root <fresh clone of openDox-code @ 8fdc6ac> --source-repo . --phase B`
returns `ok`: 123 rows, zero refusals. `tests/test_source_core_arm.py` (S6's
own admission) reports as one STALE/unused declared admission, exactly as
expected — this leg carries S3 and S4 but not S6.

Totals, re-derived from the manifest and never typed: 1042 -> 1422 declared
edit lines (+380: `import rewrites` +5, `path constants` +37, `adapter
calls` +338), 153 -> 158 rows carrying `edits:` (+5 new carriers). Disposition
counts move 166/152/138 -> 161/157/138. `README.md`,
`docs/opendox-cutover-runbook.md` § 2 (the summary line, the disposition
table, the "Nth line belongs to a replica" arithmetic, the per-destination
table's `opendox_code` 58/65/347 -> 53/70/727 cells, the "794 ... now"
sentence, and the "Measured directly" narrative) and the four docstrings
quoting the running total move with it. New row-specific pins added to
`test_the_real_manifest_carries_the_ruled_q_l7_amendment` for all seven S4
entries (the S3 `app.js` pin converted from full-equality to
picked-by-lines, since app.js is no longer single-act), and a new "FIFTH
BUMP" presence+since pin added to
`test_the_committed_admissions_file_keeps_the_ruled_seed_and_stays_well_formed`
for the four new admissions, on the precedent PR #1001/#995/#1002/(this
branch's own S6 commit) established.

Verification: `python3 scripts/validate-carve-manifest.py` -> OK, 456 rows,
161 moved_verbatim / 157 moved_with_declared_edit / 138 not_moved. `python -m
pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance`
-> 269 passed. `git diff --name-only origin/main...HEAD` carries no
`openspec/changes/` path (plain gate).

STACKED on the S6 annotation (this repo's `chore/s6-source-declared-edits`,
PR #1009) and on #1001 (`chore/s3-view-registry-declared-edits`); lands
after both, in that order.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 12, 2026 18:36
@sourcery-ai

sourcery-ai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Reviewer's Guide

This stacked S4 annotation updates the carve manifest to declare the verifier-measured edits for thirteen route tails across seven arrived rows, relocates route ownership into binding-specific modules (while removing the openxFactory-only apply lane), admits four new destination files, and updates the associated provenance tests, totals, and runbook documentation. Review the S3/S6 base ordering first, then verify the exact row/class line annotations and the intentional removal versus relocation decisions; the PR reports zero arrival refusals, 269 passing tests, and must land after #1009 and #1001.

Sequence diagram for S4 binding-owned route dispatch

sequenceDiagram
    participant User
    participant App as app.js registry
    participant Gate as Binding module
    participant Model as View model
    participant API as OpenDox API
    User->>App: activate gate view
    App->>Gate: resolveView()
    Gate-->>App: routes
    App->>Model: dispatch view action
    Model->>Gate: read binding-owned route
    Gate->>API: POST route
    API-->>Gate: response
    Gate-->>Model: result
Loading

Flow diagram for relocated and removed repository routes

flowchart TD
    Selector["repo-selector.js"] -->|project routes| Projects["gate-projects.js"]
    Selector -->|snapshot index| Index["projection-index.js"]
    Selector -->|refresh route remains| Refresh["ACTIONS_REFRESH_ROUTE"]
    Selector -->|apply-register-edits route removed| OpenFactory["openxFactory adapter lane"]
Loading

File-Level Changes

Change Details Files
Annotates the S4 route-tail split across seven manifest rows, moving route constants and their consumers into binding-owned modules while removing the openxFactory-only apply-register-edits lane.
  • Converts five arrived files from verbatim to declared-edit and adds S4 entries to two existing carriers.
  • Moves thirteen route tails into gate-lens, gate-projects, projection-index, swb-create, and swb-session ownership, including the dynamic projection-index import.
  • Removes the apply-register-edits route, UI affordance, handler, and callback rather than relocating them.
  • Uses verifier-measured carve line sets and adds row-level manifest assertions for all S4 edits.
docs/opendox-carve-manifest.yaml
tests/carve_manifest/test_carve_manifest.py
scripts/ideation_dashboard/web/app.js
scripts/ideation_dashboard/web/views/lens-model.js
scripts/ideation_dashboard/web/views/lens.js
scripts/ideation_dashboard/web/views/repo-selector.js
scripts/ideation_dashboard/web/views/staging-workbench-model.js
scripts/ideation_dashboard/web/views/swb-create.js
scripts/ideation_dashboard/web/views/swb-session.js
Admits the four files introduced by the S4 destination leg and pins their provenance and ordering metadata.
  • Adds three class-B/projection modules and the route-tail test to the opendox_code created-file allowlist.
  • Extends the committed admissions test to require the exact paths, since commits, reasons, uniqueness, and alphabetical ordering.
docs/opendox-carve-admissions.yaml
tests/carve_arrival/test_verify_carve_arrival.py
Re-derives and documents the expanded manifest totals and destination measurements.
  • Updates declared-line, edited-row, disposition, and per-destination totals to 1422 lines and 158 edit carriers.
  • Documents the measured S4 delta and stacked landing context in the runbook and README.
README.md
docs/opendox-cutover-runbook.md
scripts/carve_lines.py
scripts/validate-carve-manifest.py
scripts/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.

🔵 Needs a closer look

The stacked, cross-repository carve changes are broad and warrant final human review.

Pull request overview

Records the S4 route-tail carve, admits four destination files, and refreshes manifest totals and verification coverage.

Changes:

  • Declares 380 edit lines across seven manifest rows.
  • Adds four opendox_code admissions.
  • Updates documentation, totals, and regression assertions.
File summaries
File Description
tests/carve_manifest/test_carve_manifest.py Pins S4 rows and updated totals.
tests/carve_arrival/test_verify_carve_arrival.py Validates admissions and provenance.
scripts/verify-carve-arrival.py Updates verifier documentation.
scripts/validate-carve-manifest.py Updates validator documentation.
scripts/carve_lines.py Updates declared-line documentation.
README.md Refreshes documented totals.
docs/opendox-cutover-runbook.md Updates carve measurements.
docs/opendox-carve-manifest.yaml Declares S4 edits and row changes.
docs/opendox-carve-admissions.yaml Adds four governed admissions.
Review details

Suppressed comments (1)

docs/opendox-cutover-runbook.md:200

  • This provenance sentence anchors the current totals to the S3/#1001 annotation, but the same paragraph and the table include the later S6 and S4 annotations (lines 207-213). That makes the operator-facing measurement point inaccurate/ambiguous; anchor it to the latest S4 annotation or explicitly say it is after all listed annotations.
the § 3.4 SLICE-S3 row annotation (`#656` comment `5642758731`, openxFactory
PR #1001) merged with every row annotation since RULED Q-L7 (a) above —
  • Files reviewed: 9/9 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

brettheap and others added 4 commits September 12, 2026 14:43
…view)

Lane: openxfactory-4-opendox-extraction

Refs #656 (stays OPEN).

Copilot review on PR #1009 (suppressed comment, docs/opendox-carve-manifest.yaml:1675):
the manifest's own header narrative ("what follows is the file's history of
amendments in landing order") stopped at the S3 paragraph; this commit's own
S6 declarations were added to `rows:` but never narrated in that history,
leaving the governed artifact's own amendment log looking like S3 was the
latest act. Appends the S6 paragraph, on the same DELTA-only discipline the
S3 paragraph above it states (no absolute restated; the aggregate test is
the one place absolutes are summed).

No behavior change: `scripts/validate-carve-manifest.py` reads `rows:` only,
never this header comment. `python3 scripts/validate-carve-manifest.py` -> OK,
456 rows, same disposition counts. `python -m pytest -q tests/carve_manifest
tests/carve_arrival tests/carve_conformance` -> 269 passed.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
…dent as S6's Copilot fix)

Lane: openxfactory-4-opendox-extraction

Refs #656 (stays OPEN).

Proactively applying the same fix Copilot's review asked for on the S6
annotation (PR #1009): the manifest's own header narrative now gets the S4
paragraph too, on the same DELTA-only discipline. States RULING Q3, the
seven edited rows (two already carriers, five converting moved_verbatim ->
moved_with_declared_edit), the four new admissions, and the delta
(+380 lines / +5 carrying rows), including the note that repo-selector.js's
line count was corrected from an earlier reference computation's 203 to the
verifier-measured 202 (line 68 is not actually touched).

No behavior change: `scripts/validate-carve-manifest.py` reads `rows:` only.
`python3 scripts/validate-carve-manifest.py` -> OK, 456 rows, same
disposition counts. `python -m pytest -q tests/carve_manifest
tests/carve_arrival tests/carve_conformance` -> 269 passed.

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

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

The broad stacked manifest and tooling changes warrant final human review, with one manifest wording nit remaining.

Review details

Suppressed comments (1)

docs/opendox-carve-manifest.yaml:2075

  • The note says the call sites fetch or POST “the four relocated routes,” but the parenthetical identifies only the three routes that actually move to new modules (SNAPSHOT_INDEX_ROUTE and the two project-gate routes). ACTIONS_APPLY_REGISTER_EDITS_ROUTE is explicitly removed from the bundle rather than relocated, so this evidence should say “three relocated routes” to keep the manifest's provenance description accurate.
        note: "§ 3.4 SLICE S4, the same act and ruling as the `path constants` lines above — the call sites that fetch or POST the four relocated routes (the snapshot-index read, both project-gate commissions) and every site that read or handled the removed apply-register-edits affordance (the button's render guard, its click handler, its POST, its status line, the `apply.disabled` re-arm), now gone or rewritten to reach the new class-B modules through S3's registry rather than a static import. `views/projection-index.js` is reached through a dynamic `import()` inside `fetchIndex`, resolved once and cached, null when absent — the narrower guard S2's optional binding established, since an index fetch mounts no panel and occupies no region (§ 4.2). The `.applybtn` CSS rule in `styles.css` (class C, an ARRIVED `moved_verbatim` row) is deliberately left in place and takes no annotation of its own. Realized at opensoft/openDox-code `build/s4-split-route-tails`, `8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808` (DRAFT PR opensoft/openDox-code#17, stacked on S3's #14)."
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

# Conflicts:
#	README.md
#	docs/opendox-carve-admissions.yaml
#	docs/opendox-carve-manifest.yaml
#	docs/opendox-cutover-runbook.md
#	scripts/carve_lines.py
#	scripts/validate-carve-manifest.py
#	scripts/verify-carve-arrival.py
#	tests/carve_arrival/test_verify_carve_arrival.py
#	tests/carve_manifest/test_carve_manifest.py
Copilot AI review requested due to automatic review settings September 12, 2026 19:36

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

Admission provenance pins and related assertions require correction.

Review details

Suppressed comments (9)

docs/opendox-carve-admissions.yaml:90

  • since is documented as the leg commit that introduced the admitted file, but 8fdc6ac4... is only the later two-mount fix (its diff touches app.js and the census); commit 031edc9b... is the commit that actually adds gate-lens.js. This records the wrong provenance and should use the introducing commit (with the matching assertion updated below).
        since: "8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808"

docs/opendox-carve-admissions.yaml:93

  • This since value has the same provenance problem: 8fdc6ac4... is a later fix commit, while openDox-code commit 031edc9b... is where gate-projects.js is added. The governed admission should identify the introducing commit, not the later verification snapshot.
        since: "8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808"

docs/opendox-carve-admissions.yaml:99

  • projection-index.js is also added by openDox-code commit 031edc9b...; 8fdc6ac4... only changes existing app.js/census files. Because the admissions contract defines since as the commit that introduced the file, this pin is an inaccurate provenance record.
        since: "8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808"

docs/opendox-carve-admissions.yaml:123

  • The test file was introduced by openDox-code commit 2e842178..., not by 8fdc6ac4... (the latter only updates app.js and the census). Pinning the admission to the later commit makes its since provenance false.
        since: "8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808"

docs/opendox-carve-manifest.yaml:1853

  • This new note says all thirteen route constants move out of the three split files, but the same S4 annotation accounts for only 12 moved constants (2 lens + 4 repo-selector + 6 staging-workbench) and explicitly says ACTIONS_REFRESH_ROUTE remains in repo-selector.js at line 34. Please distinguish the 13 constants covered from the 12 that actually leave the bundle.
        note: "§ 3.4 SLICE S4, RULED Q3 (`#656` comment `5642758731`, Brett Heap, 2026-09-12): \"a route constant travels with the binding that calls it, never with the model that happens to declare it.\" Two of the thirteen gate-route constants S4 moves out of the three RULED `SPLIT` files sit on `app.js`'s own two `ViewBinding` entries, the same registry S3's row above already declares: 514-515 the `gate.lens` binding gains a `routes:` declaration naming `LENS_SAVE_ROUTE` / `LENS_CLUSTER_ROUTE`, now imported from the new `views/gate-lens.js` (an admitted, created file — see `docs/opendox-carve-admissions.yaml`) instead of `views/lens-model.js`; 1137-1138 the `gate.projects` binding gains the matching declaration for `ACTIONS_CREATE_PROJECT_ROUTE` / `ACTIONS_EDIT_PROJECT_ROUTE`, imported from the new `views/gate-projects.js`. Class `adapter calls` on this row's own S3 precedent: a binding's `routes:` declaration is a call site reaching the seam that now supplies the constant. Realized at opensoft/openDox-code `build/s4-split-route-tails`, `8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808` (DRAFT PR opensoft/openDox-code#17, stacked on S3's #14)."

docs/opendox-cutover-runbook.md:213

  • The new runbook sentence says the thirteen route constants travel out of the three split files, but S4 leaves ACTIONS_REFRESH_ROUTE in repo-selector.js; only 12 constants move. This should say twelve leave and one remains, otherwise the operator-facing summary contradicts the row annotation's own route accounting.
(RULED Q3, `#656` comment `5642758731`) declaring the thirteen gate-route
constants' travel out of the three RULED `SPLIT` files, over seven rows (two
already carriers, five new) and four admitted new class-B modules. Rather than

tests/carve_arrival/test_verify_carve_arrival.py:2678

  • This assertion freezes the same non-introducing 8fdc6ac4... pin for all three new modules. Once the admissions use the commits that actually add them (031edc9b...), this check will fail; update the expected pin with the admission fix.
        assert opendox_seed[path]["since"] == (
            "8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808")

tests/carve_arrival/test_verify_carve_arrival.py:2684

  • The expected since for tests/test_split_route_tails.py must match its introducing commit, 2e842178..., rather than the later 8fdc6ac4... snapshot. Otherwise correcting the admission's provenance leaves this regression pin inconsistent.
    assert opendox_seed["tests/test_split_route_tails.py"]["since"] == (
        "8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808")

tests/carve_arrival/test_verify_carve_arrival.py:2553

  • This new test docstring says the three newly admitted class-B modules receive all thirteen route tails, but the manifest assigns only five to them (two to gate-lens.js, two to gate-projects.js, and one to projection-index.js); six arrive in the existing SWB modules and the apply-register route is removed. Please correct the description so the admission test does not document the route ownership inaccurately.
    new class-B modules the thirteen route tails travel to
    (`views/gate-lens.js`, `views/gate-projects.js`,
    `views/projection-index.js`) and their own `tests/test_split_route_tails.py`
  • Files reviewed: 9/9 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

… from 13 counted route constants

Copilot review on PR #1010 (9 suppressed findings, all confirmed against
the read-only leg clone opensoft/openDox-code build/s4-split-route-tails):

1. Four `opendox_code` admissions (gate-lens.js, gate-projects.js,
   projection-index.js, test_split_route_tails.py) had `since` pinned to
   8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808 — the leg branch's later tip
   commit ("Read the DECLARED entry for S4's two mounts"), which only
   edits app.js and the web-boundary census. `git log --diff-filter=A`
   against the leg clone shows the three views/*.js files are actually
   added by 031edc9b4268d9898c296b2e9bb3951a78642fb6 ("split the three
   RULED SPLIT files") and the test file by
   2e842178b2bceaee9a45441b7d70d797fe1205cf ("measure the three new
   bindings"). Repointed both the admissions and their regression pins
   in tests/carve_arrival/test_verify_carve_arrival.py to the correct
   introducing commits — the same provenance contract, and the same
   class of correction, as PR #1009's own since-sha fix (e74454b).

2. Several docstrings/notes/prose said "the thirteen gate-route
   constants['] travel out of the three RULED SPLIT files", overclaiming
   for all 13: `repo-selector.js`'s own row (and the PR body's own table)
   already states one of them, ACTIONS_REFRESH_ROUTE, STAYS in place —
   only twelve actually leave (2 lens + 4 repo-selector + 6
   staging-workbench, per Copilot's own correct breakdown). Reworded the
   runbook sentence, the two test docstrings, and the admissions file's
   own reason text to say "counts across" / distinguish the twelve that
   move from the one that stays, rather than "travel out" for all
   thirteen. Also corrected the manifest's app.js row note, which named
   FOUR constants (LENS_SAVE_ROUTE/LENS_CLUSTER_ROUTE,
   ACTIONS_CREATE_PROJECT_ROUTE/ACTIONS_EDIT_PROJECT_ROUTE) while saying
   "Two of the thirteen" — an internal inconsistency independent of the
   12-vs-13 point, caught while fixing it.

The manifest's own § 3.4 SLICE-S4 header paragraph already stated this
correctly ("four routes leave, one stays, one leaves the bundle entirely")
and needed no change.

Verified: python3 scripts/validate-carve-manifest.py -> OK (456 rows,
disposition counts unchanged). python3 -m pytest -q tests/carve_manifest
tests/carve_arrival tests/carve_conformance -> 269 passed.
verify-carve-arrival.py --destination opendox_code --dest-root
<leg-s4-opendox @ 8fdc6ac4> --source-repo . --phase B -> OK, unchanged
(since-sha is provenance metadata only, does not affect arrival result).

Refs #656

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 12, 2026 19:53
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxfactory-4-opendox-extraction

Copilot's 2026-09-12T19:40:19Z review (9 suppressed findings, no blocking thread opened) raised two real issues, both confirmed against the read-only leg clone and fixed in b50344d3:

  1. Wrong since provenance on four admissions. gate-lens.js, gate-projects.js, projection-index.js and test_split_route_tails.py were pinned to 8fdc6ac4... (the leg branch's later tip, which only edits app.js/the census) instead of their actual introducing commits — 031edc9b... for the three views/*.js files, 2e842178... for the test file (git log --diff-filter=A against the leg clone confirms both). Same class of error, and same fix, as PR Carve manifest: declare the S6 /source re-home lines on the serve.py and serve_projection.py rows (Q-L1; § 3.4 S6) #1009's own since-sha correction. Repointed both the admissions and their regression pins.
  2. "Thirteen constants travel out" overclaimed for all 13. repo-selector.js keeps ACTIONS_REFRESH_ROUTE in place — only twelve of the thirteen counted route constants actually leave (2 lens + 4 repo-selector + 6 staging-workbench, matching Copilot's own breakdown). Reworded the runbook sentence, both test docstrings, and the admission's reason text to distinguish the twelve that move from the one that stays. Also fixed an independent inconsistency the same manifest note carried (it said "two" constants sit on app.js's two ViewBinding entries but then named four) while correcting it.

Verified: python3 scripts/validate-carve-manifest.py → OK, 456 rows, disposition counts unchanged. python3 -m pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance → 269 passed. verify-carve-arrival.py --destination opendox_code against the S4 leg → unchanged OK (since-sha is provenance metadata, does not affect the arrival result).

No review thread was opened for these (all nine were GitHub's "suppressed comments"), so there is nothing to resolve here — recording the fix on the PR for the record.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Resolve the unreproducible provenance SHA and the remaining documentation discrepancies.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (2)

docs/opendox-carve-manifest.yaml:2075

  • This note says there are four relocated routes, but the parenthetical lists only SNAPSHOT_INDEX_ROUTE and the two project-gate routes; ACTIONS_APPLY_REGISTER_EDITS_ROUTE is explicitly removed from the bundle rather than relocated. Please change this count to three so the manifest's audit description matches the declared route movements.
        note: "§ 3.4 SLICE S4, the same act and ruling as the `path constants` lines above — the call sites that fetch or POST the four relocated routes (the snapshot-index read, both project-gate commissions) and every site that read or handled the removed apply-register-edits affordance (the button's render guard, its click handler, its POST, its status line, the `apply.disabled` re-arm), now gone or rewritten to reach the new class-B modules through S3's registry rather than a static import. `views/projection-index.js` is reached through a dynamic `import()` inside `fetchIndex`, resolved once and cached, null when absent — the narrower guard S2's optional binding established, since an index fetch mounts no panel and occupies no region (§ 4.2). The `.applybtn` CSS rule in `styles.css` (class C, an ARRIVED `moved_verbatim` row) is deliberately left in place and takes no annotation of its own. Realized at opensoft/openDox-code `build/s4-split-route-tails`, `8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808` (DRAFT PR opensoft/openDox-code#17, stacked on S3's #14)."

docs/opendox-carve-manifest.yaml:452

  • This provenance note names 8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808, but that object is not currently present in the linked opensoft/openDox-code repository (the S4 commit is 031edc9b... and PR #17 currently heads at b9126d9...). A fresh clone of that repository therefore cannot reproduce the stated arrival run or line derivation; please correct the SHA to a reachable leg commit and rerun the verification.
# `build/s4-split-route-tails`, `8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808`
  • Files reviewed: 9/9 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread docs/opendox-carve-admissions.yaml Resolved
Copilot review on PR #1010 (round 2: 1 unresolved thread + 2 suppressed
comments, all investigated against source):

1. `app.js`'s `adapter calls` note (docs/opendox-carve-manifest.yaml:2075)
   said "the call sites that fetch or POST the four relocated routes
   (the snapshot-index read, both project-gate commissions)" — but the
   parenthetical names exactly three (the index read + the two
   project-gate commissions). `ACTIONS_APPLY_REGISTER_EDITS_ROUTE` is
   handled by the SAME sentence's own next clause ("every site that read
   or handled the removed apply-register-edits affordance") as REMOVED,
   not relocated — the sentence's own "path constants" precedent note
   (line 2066) already gets this right ("four... leave", three relocated
   + one removed). Changed "four relocated routes" to "three relocated
   routes"; the parenthetical is unchanged (already correct at three).

2. (No manifest/code change — recorded on the PR, not here.) A second
   suppressed comment claimed the manifest's per-row "Realized at
   ... 8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808" provenance citations are
   unreproducible because openDox-code#17 now heads at
   b9126d94123edd2035fab365d340408f633d90f9. Checked against GitHub's own
   API: `GET /repos/opensoft/openDox-code/commits/8fdc6ac4...` resolves
   (200, valid html_url) — the commit is present and fetchable, not
   rewritten history. `compare/8fdc6ac4...b9126d94` shows a clean
   4-commit fast-forward (ahead_by 4, behind_by 0) touching only
   tests/conftest.py, tests/fixtures/web_boundary_census.yaml and
   tests/test_web_boundary.py — none of S4's seven manifest rows or four
   admitted files. Since a manifest "Realized at" note pins the SPECIFIC
   commit the verification ran against (this file's own established
   convention, matching `carve_commit:` and the admissions file's
   `since:` contract), and that commit remains valid and reachable, there
   is nothing to correct — declined, evidence posted on the PR.

The one real unresolved thread (the PR description's stale claim that all
four admissions share one `since`) is a PR-description-only fix, made via
`gh pr edit`, not a commit — the committed admissions file was already
correct (fixed in the prior round, b50344d).

Verified: python3 scripts/validate-carve-manifest.py -> OK (456 rows,
disposition counts unchanged). python3 -m pytest -q tests/carve_manifest
tests/carve_arrival tests/carve_conformance -> 269 passed.

Refs #656

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 12, 2026 22:20
@brettheap

Copy link
Copy Markdown
Contributor Author

Round 2 Copilot review (2026-09-12 19:57:41Z) also carried two SUPPRESSED
comments (no thread, so recorded here rather than via thread reply/resolve):

1. Fixed, commit a9b82e43. docs/opendox-carve-manifest.yaml's
app.js adapter calls note (the views/repo-selector.js row) said "the
call sites that fetch or POST the four relocated routes" while its own
parenthetical named only three (SNAPSHOT_INDEX_ROUTE + the two
project-gate routes). The fourth constant named earlier in the same
sentence, ACTIONS_APPLY_REGISTER_EDITS_ROUTE, is REMOVED, not relocated
— the sibling path constants note two rows above already gets this
right ("four... leave" = three relocated + one removed). Changed "four
relocated routes" to "three relocated routes"; nothing else in the
sentence, or elsewhere in the manifest/runbook/README, repeats the
overclaim (checked). validate-carve-manifest.py → OK (456 rows,
disposition counts unchanged); the three carve suites → 269 passed.

2. Declined, evidence below. A claim that the manifest's per-row
"Realized at ... 8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808" provenance
citations are unreproducible, since opensoft/openDox-code#17 now heads
at b9126d94123edd2035fab365d340408f633d90f9. Checked directly against
GitHub, not assumed:

$ gh api repos/opensoft/openDox-code/commits/8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808 --jq '{sha,url:.html_url}'
{"sha":"8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808","url":"https://github.com/opensoft/openDox-code/commit/8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808"}

$ gh api repos/opensoft/openDox-code/compare/8fdc6ac4e8f39c6ad8604689aba16e9aa8a1c808...b9126d94123edd2035fab365d340408f633d90f9 --jq '{ahead_by,behind_by,files:[.files[].filename]}'
{"ahead_by":4,"behind_by":0,"files":["tests/conftest.py","tests/fixtures/web_boundary_census.yaml","tests/test_web_boundary.py"]}

8fdc6ac4 is present and resolves on GitHub's own API (not force-pushed
away — behind_by: 0 means it is a proper ancestor of the current tip),
and the four commits since it touch only three files, none of which are
among S4's seven declared rows or four admissions. A manifest "Realized
at" note pins the specific commit the verification ran against — the
same convention this file already applies to carve_commit: and the
admissions file's own since: contract (docs/opendox-carve-admissions.yaml:43,
"the 40-hex LEG commit that introduced it, so the claim is falsifiable")
— so citing a commit that is no longer the branch's tip, but remains a
real, reachable, unaltered ancestor, is not a defect. Re-ran the verifier
at both points for the record:

$ python3 scripts/verify-carve-arrival.py --destination opendox_code --dest-root <leg @ 8fdc6ac4> --source-repo . --phase B
=> OK — 123 row(s) arrived, ... (as reported in the PR body)

$ python3 scripts/verify-carve-arrival.py --destination opendox_code --dest-root <leg @ b9126d94> --source-repo . --phase B
FAIL ... arrival-undeclared-file — tests/conftest.py ...

The second run's refusal is real but out of scope here: tests/conftest.py
is an EARLIER slice's admitted-created file (S1), and PR #17 has since
taken a separately-tracked depth fix for it
(fix/conftest-repo-root-depth #19, referenced by the runbook's own
§ 5.5) through a Merge origin/main commit on the leg branch — unrelated
to any row or admission this PR (#1010, S4) declares. Fixing it, if it
needs fixing, belongs to whichever PR lands that fix's own row/admission,
not this one.

Lane: openxfactory-4-opendox-extraction

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

Two documentation nits remain in the manifest and cutover runbook.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (1)

docs/opendox-cutover-runbook.md:215

  • This sentence counts the test file as a class-B module, but the S4 admissions contain only three class-B modules (gate-lens.js, gate-projects.js, and projection-index.js) plus tests/test_split_route_tails.py. Please describe these as four admitted files, three of them class-B modules, so the runbook does not misstate the admission scope.
four admitted new class-B modules. Rather than
  • Files reviewed: 9/9 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread docs/opendox-carve-manifest.yaml Resolved
@brettheap

Copy link
Copy Markdown
Contributor Author

Round 3 Copilot review (2026-09-12 22:23:57Z, 5188309944) at head
a9b82e43 carried 1 open thread (replied above, left OPEN) and 1
SUPPRESSED comment:

docs/opendox-cutover-runbook.md:215. Confirmed accurate: the sentence
says "... over seven rows (two already carriers, five new) and four
admitted new class-B modules," but only three of the four S4 admissions
(gate-lens.js, gate-projects.js, projection-index.js) are class-B
modules — the fourth, tests/test_split_route_tails.py, is a test file,
not a class-B module. Same species of count/category conflation as the
"four relocated routes" defect this round already fixed (a9b82e43).

Stopping here per the lane brief's round cap. PR #1010 already spent
its two allotted Copilot-fix rounds this session (round 1 b50344d3,
round 2 a9b82e43); this recount (a third Copilot pass, on the head the
round-2 fixes produced) surfaced two more findings of the same
prose-accuracy species. Per the brief: reply with evidence (done, both
above and here) and stop rather than push a third fix commit — gh pr ready / gate-land are deliberately NOT run this turn. Both remaining
items are documentation-wording nits only (no manifest data, line
numbers, disposition, or digest changes) — validate-carve-manifest.py
and the three carve suites are green at a9b82e43 (confirmed this
round), and pytest-suite passed at this head (run 34722479281,
SUCCESS). Reported to the lane for a decision: a round-3 exception, or a
follow-up PR.

Lane: openxfactory-4-opendox-extraction

…be misread as six

Round-3 Copilot recount on PR #1010 (authorized by the lane orchestrator
for wording-only findings), two more of the same species already fixed
this PR:

1. docs/opendox-carve-manifest.yaml's § 3.4 SLICE-S4 header paragraph
   said, of `repo-selector.js`: "four routes leave, one stays, one leaves
   the bundle entirely per RULING DQ-1" — a flat three-item list with no
   nesting marker, so a literal read counts 4 + 1 + 1 = 6 outcomes
   against a file with only five route constants. Reworded to state the
   five explicitly and without addable clauses: "of its five route
   constants, three relocate to the new class-B modules and one
   (`ACTIONS_APPLY_REGISTER_EDITS_ROUTE`) leaves the bundle entirely per
   RULING DQ-1; the fifth (`ACTIONS_REFRESH_ROUTE`) stays" — matches
   `docs/opendox-carve-admissions.yaml`'s own row-level note, which
   already nested this correctly, and the manifest's own per-row note at
   the `repo-selector.js` row (fixed last round, commit `a9b82e43`, "the
   three relocated routes").

2. docs/opendox-cutover-runbook.md's § 2 measured-totals paragraph said
   "... over seven rows (two already carriers, five new) and four
   admitted new class-B modules" — but only three of the four S4
   admissions (`gate-lens.js`, `gate-projects.js`, `projection-index.js`)
   are class-B modules; the fourth, `tests/test_split_route_tails.py`, is
   a test file. Reworded to "four admitted files, three of them class-B
   modules" (Copilot's own suggested phrasing, precise and accurate).

Nothing else touched — no line numbers, digests, dispositions, or row
data changed.

Verified: python3 scripts/validate-carve-manifest.py -> OK (456 rows,
disposition counts unchanged). python3 -m pytest -q tests/carve_manifest
tests/carve_arrival tests/carve_conformance -> 269 passed.

Refs #656

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI review requested due to automatic review settings September 12, 2026 22:44
@brettheap

Copy link
Copy Markdown
Contributor Author

Round 3 also fixed the matching suppressed finding (no thread to reply
to): docs/opendox-cutover-runbook.md's § 2 measured-totals paragraph
said "four admitted new class-B modules" — only three of the four S4
admissions are class-B modules (gate-lens.js, gate-projects.js,
projection-index.js); the fourth, tests/test_split_route_tails.py, is
a test file. Reworded to "four admitted files, three of them class-B
modules" (Copilot's own suggested phrasing). Commit 78eceb0e, same as
the header-paragraph fix on the now-resolved thread above. No line
numbers, digests, or row data changed;
validate-carve-manifest.py -> OK; the three carve suites -> 269 passed.

Round 3 authorized by the lane for wording-only findings (per orchestrator
decision); waiting on pytest-suite + a fresh Copilot pass on this head
next.

Lane: openxfactory-4-opendox-extraction

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

The broad manifest, tooling, documentation, and admission changes warrant final human review.

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

@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap marked this pull request as ready for review September 12, 2026 23:04

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

@brettheap
brettheap merged commit bcde157 into main Sep 12, 2026
13 checks passed
brettheap added a commit that referenced this pull request Sep 12, 2026
…prose-tagging-to-pinned-capabilities proposal) into archive/gate-realization-axis-vocabulary

Auto-merged clean, no conflicts: README.md (both incoming PRs add/adjust rows
in the Active changes block; this branch's own edit sits in the Archived
changes block, a disjoint hunk) and tests/sequenced_after/corpus-ledger.yaml
(incoming adds a row for the new active proposal; disjoint from this
packet's own archived-row change made two commits ago).

Verified after merging:
- `git diff 97ec853 HEAD -- openspec/changes/archive/2026-09-12-gate-realization-axis-vocabulary/ openspec/specs/release-realization/spec.md`
  empty — this packet's own archived content and promoted requirement
  untouched by the merge.
- This packet's own archived-row fix (165 -> 166) still reads correctly at
  README.md's gate-realization-axis-vocabulary row.
- `scripts/validate-target-release.py .`: 44 active/44 declaring (up 1, the
  incoming #994 proposal), 166 archived/61 outside vocabulary (unchanged by
  this merge — #1010/#994 are active-side changes, not archive-side).
- `scripts/validate-sequenced-after.py . --ledger-diff`: consistent with the
  corpus (210 rows, up 1 for the incoming active proposal), exit 0.
- `scripts/proposal-support.py . verify`: ok, exit 0.
- `scripts/validate-scope-globs.py .`: passed, exit 0.
- `find openspec/changes/archive -name proposal.md | wc -l` = 166, unchanged
  by this merge.

refs #956

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

FOUR findings, all measured FACT before they were taken.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants