Repository navigation
Pin lockstep: openDox and openXdox advance to the S4/S6 landings - #1020
Conversation
Lane: openxfactory-4-opendox-extraction Refs #656 (stays OPEN). CLAIM: 5647338637. Two direct upstreams, both advanced in one commit (RULED Q7, the lockstep invariant `scripts/verify-opendox-pin.py` checks): `openDox` gitlink + `contracts/opendox-pin.yaml` move `8ec3036c` -> `7cf6c143`; `openXdox` gitlink + `contracts/openxdox-pin.yaml` move `eca0b597` -> `76df74c8`. `tests/openxdox_pin/test_openxdox_pin_verifier.py::test_ruling_q7_two_direct_upstreams_in_lockstep` carries the same commit literal as its own assertion and moves with it (precedent: #984's own file list moved this exact test alongside the two pin files and two gitlinks; `tests/opendox_pin`'s own verifier test has no such literal and is unchanged, also matching #984's precedent). openDox (opensoft/openDox#7) carries: S4, the § 3.4 route-tail split (opensoft/openDox-code#17: thirteen gate-route constants move from lens-model.js/repo-selector.js/staging-workbench-model.js to the class-B bindings that call them); its S3 fail-closed follow-up (opensoft/openDox- code#18, landed via #22 after a base-branch retarget correction: requireRouteShape() refuses a malformed contributed-routes entry); and S6 (opensoft/openDox-code#16, RULED Q4: /source becomes openDox's own fixed core arm). openXdox (opensoft/openXdox#9) carries: S6 (opensoft/openXdox-code#17, the paired leg: the /source pair leaves serve_projection.py, which now carries only /snapshot-index.json and the three /projections/* routes), and its own `contracts/opendox-pin.yaml` copy advancing in lockstep with openDox's bump above. Tests run: `python3 scripts/verify-opendox-pin.py` and `python3 scripts/ verify-openxdox-pin.py` (both OK, lockstep confirmed); `python3 -m pytest tests/opendox_pin tests/openxdox_pin` (105 passed); `python3 scripts/validate-carve-manifest.py` (OK, 456 rows verified). Co-Authored-By: Claude Sonnet 5 <[email protected]>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR completes the pin lockstep by advancing openDox and openXdox gitlinks, contract commits, and tree digests to their coordinated S4/S6 landing states, updates the lockstep test literal, and verifies digest integrity, cross-repository consistency, tests, and carve-manifest cleanliness without other source changes. Sequence diagram for verifying the coordinated pin advancessequenceDiagram
participant Maintainer
participant Factory as openxFactory
participant DoxVerifier as verify-opendox-pin.py
participant XdoxVerifier as verify-openxdox-pin.py
participant Tests as Pin tests
Maintainer->>Factory: Update openDox and openXdox gitlinks
Maintainer->>Factory: Update both pin YAML commits and tree_sha256 values
Maintainer->>Factory: Update lockstep test literal
Maintainer->>DoxVerifier: verify-opendox-pin.py
DoxVerifier-->>Factory: Verify openDox commit, gitlink, digest, and lockstep
Maintainer->>XdoxVerifier: verify-openxdox-pin.py
XdoxVerifier-->>Factory: Verify openXdox commit, gitlink, and digest
Maintainer->>Tests: pytest tests/opendox_pin tests/openxdox_pin -q
Tests-->>Maintainer: 105 passed
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
Refresh the stale migration verification evidence in contracts/opendox-pin.yaml.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Advances the openDox and openXdox pins to the S4/S6 landing revisions with updated digests and lockstep verification.
Changes:
- Updates both pin manifests and verified tree digests.
- Updates the lockstep test’s expected openDox commit.
- Preserves cross-repository pin verification.
File summaries
| File | Summary |
|---|---|
tests/openxdox_pin/test_openxdox_pin_verifier.py |
Updates the lockstep commit assertion. |
contracts/openxdox-pin.yaml |
Updates the openXdox commit and tree digest. |
contracts/opendox-pin.yaml |
Updates the openDox commit and tree digest; migration evidence still references the previous revision. |
Review details
- Files reviewed: 5/5 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.
… consumer break Lane: openxfactory-4-opendox-extraction Refs #656 (stays OPEN). CLAIM: 5647338637. Two fixes on the pin-lockstep PR (#1020), both real breakage the CI run and Copilot's review found: 1. `contracts/opendox-pin.yaml`'s MIGRATION DECLARATION comment still cited the PREVIOUS pin's evidence (RE-CHECKED at code `a99eba03` from assembly `8ec3036c`). Re-ran the actual recheck this pin's own bump requires: `git ls-tree -r 05bbde80f91a870f23aaa762fc03e40635ccbffd | grep -i migration` on opensoft/openDox-code's own checkout returns nothing, so the `not_yet_deployed` sentinel still holds — the comment now cites that real output at the new leg/root pair, chaining the previous reading behind it rather than replacing it silently. 2. `tests/ideation-dashboard/test_route_extension.py` failed to even COLLECT: `from openxdox.serve_projection import SOURCE_PREFIX` — S6 (opensoft/openXdox-code#17) removed that name from its module entirely, since RULED Q4 moved `/source` to a FIXED core arm in `opendox/serve.py`. Fixed at the same two places the test's own docstrings already promise to read from "the owner": the import now reads `BARE_SOURCE_ROUTE` from `opendox.serve`; the in-tree profile's collected-binding count drops from 9 to 7 (the /source pair left `ROUTE_EXTENSIONS` for the fixed arm, so it no longer contributes two bindings) with the docstring explaining why; and the BUILD-time overlap-refusal test's `SOURCE_PREFIX` parametrize case is replaced with a dedicated test proving the property that is now actually true — the build no longer refuses a contributed `/source` binding (nothing left in the profile for it to collide with), but a real request still never reaches it, because the fixed core arm runs first (proven at the repository that owns that arm now: opensoft/openDox-code's own test_source_core_arm.py::test_the_arms_are_fixed_and_cannot_be_shadowed_by_a_contribution). Verified: `python3 scripts/verify-opendox-pin.py` and `verify-openxdox-pin.py` (both OK); `python3 -m pytest tests/opendox_pin tests/openxdox_pin` (105 passed); `python3 scripts/validate-carve-manifest.py` (OK); the fixed file alone (54 passed); `python3 -m pytest tests/ -q --collect-only -m "not postgres"` (7099/7437 collected, 0 errors — was 1 collection error before). Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
A critical companion test update is unresolved, and the stated five-file scope needs correction.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (1)
tests/ideation-dashboard/test_route_extension.py:558
- The PR description's stated
git diff origin/main --stat: exactly 5 filesand five-path scope are no longer accurate: this patch also changestests/ideation-dashboard/test_route_extension.py(including this hunk). Please update the file-count/scope statement, or remove this file if it is unintended, so the claimed no-residue audit matches the actual diff.
assert len(profile) == 7, (
"the in-tree profile no longer collects, or its binding count moved "
"for a reason other than the documented S6 /source shed — either is "
"worth a second look before touching this number again")
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Lite
…in bump Lane: openxfactory-4-opendox-extraction Refs #656 (stays OPEN). CLAIM: 5647338637. The full pytest-suite run (round 1's fix only patched collection; the suite itself then ran to completion and found these) named three more places where openxFactory's own tests characterized code that S4/S6 legitimately moved: 1. `tests/ideation-dashboard/test_lens.py`'s `_REQUEST_HARNESS` imported `LENS_SAVE_ROUTE`/`LENS_CLUSTER_ROUTE` from `./lens-model.mjs` — S4 (opensoft/openDox-code#17) moved both to the new `gate-lens.js` (RULED Q3: "a route constant travels with the binding that calls it"; `recipeRequest`/`clusterRequest` themselves did not move and are still read from `lens-model.mjs`). Fixed by also copying `gate-lens.js` and its own `helpers.js` dependency into the node harness's tmp_path (verbatim, under their real names, since `gate-lens.js` imports both by exact relative path) with a minimal `package.json` so Node parses the plain-`.js` copies as ESM, and importing the two route constants from `./gate-lens.js` instead. `gate-lens.js` is a CREATED file with no carve- manifest row, so it is addressed via `carved_reach.MOUNTS` directly rather than `carved_source()`. 2. `tests/ideation-dashboard/test_serve_column_split.py` characterized `/source`+`/source/` as part of the CONTRIBUTED dispatch table (`CONTRIBUTED_BINDINGS`, `MOVED_HANDLERS`) and pinned their exact-before- prefix consult order as a property of `collect_bindings`. S6 (RULED Q4) moved both back to a FIXED core arm in `opendox/serve.py` — a second, later move than the one this file's own docstring describes ("PR 3 moved four read arms and five write arms"). `CONTRIBUTED_BINDINGS` drops to seven, `MOVED_HANDLERS` drops the three source methods, and `test_the_exact_source_binding_is_consulted_before_the_prefix_one` is removed — its subject left this file's domain for `opensoft/openDox-code`'s own `tests/test_source_core_arm.py`, which proves the identical ordering/unshadowability property at the repository that can now break it. `test_a_bare_source_request_still_answers_the_same_refusal` needed no assertion change (the wire-level answer is unchanged by design — a route-ownership correction, not a behaviour change) and only had its docstring's self-reference repointed. 3. `tests/ideation-dashboard/test_extension_point_parity.py`'s `ROUTE_ARMS` pins `_route`'s fixed core dispatch "narrowed once, by § 2.4 PR 3." S6 is a second, later narrowing it did not yet know about: two new core arms, `path == BARE_SOURCE_ROUTE` and `path.startswith(SOURCE_PREFIX)`, both the new LAST arms before the § 2.4 contributed consult (measured directly via this file's own `core_arms("_route")` AST walk, not typed by hand). `DO_POST_ARMS` is unchanged — S6 added no POST arm. Verified: the three files' own tests (46 passed combined); the whole `tests/ideation-dashboard/` directory (1124 passed, 13 skipped — same skip count as before, no new skips); full-tree `--collect-only` (7095/7433, 0 errors); `verify-opendox-pin.py` / `verify-openxdox-pin.py` (both OK); `pytest tests/opendox_pin tests/openxdox_pin` (105 passed); `validate-carve-manifest.py` (OK). Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
There was a problem hiding this comment.
🟡 Changes recommended
Reconcile the file-set/no-residue description and update inaccurate parity-test documentation.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (2)
tests/ideation-dashboard/test_extension_point_parity.py:126
- The PR description says this bump changes exactly five paths (two gitlinks, two pin YAMLs, and one test literal), but this PR also changes four
tests/ideation-dashboardmodules, including this route-parity update. Please reconcile the file-set/“no residue” claim with the actual S4/S6 test changes, or remove them if they are not intended.
("path == BARE_SOURCE_ROUTE", ("_refuse_bare_source",)),
("path.startswith(SOURCE_PREFIX)", ("_serve_source",)),
tests/ideation-dashboard/test_extension_point_parity.py:126
- These newly added arms make the existing
test_the_core_dispatch_table_is_unchanged()documentation below inaccurate: it still says every arm matches0f9361e0and that this PR only adds the extension clause, even though S6 deliberately adds these two fixed arms. Update the docstring and failure text so the test's baseline and intentional change are not misrepresented.
("path == BARE_SOURCE_ROUTE", ("_refuse_bare_source",)),
("path.startswith(SOURCE_PREFIX)", ("_serve_source",)),
- Files reviewed: 9/9 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 1 day and 14 hours by commenting @sourcery-ai review. Upgrade to get a review now.
…rant-grc-0003 Re-level onto main 5488529 (openDox/openXdox pin lockstep #1020, the engineering DISPLAY facet #1021, gate-code-surface-declarations #1018). Zero conflicts; none of the three touches governance/review-authority/ or openspec/changes/register-gate-rules-council-seats/. Lane: hermes-wallet-exercise Co-Authored-By: Claude Fable 5.1 <[email protected]>
Keeps this branch current with #1022's landing and the #1020 pin lockstep. No carve-floor file moves in either direction. Lane: openxfactory-4-opendox-extraction Co-Authored-By: Claude Opus 5 <[email protected]>
…1054) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs #656 (stays OPEN). CLAIM: 5656720756. Third and final leg of pin lockstep #2, after opensoft/openDox#8 and opensoft/openXdox#10. Precedent #1020 -> 5488529: two gitlinks, two pin YAMLs, one test literal. openDox gitlink + contracts/opendox-pin.yaml 7cf6c143 -> 3819625e digests.tree_sha256 46f49679 -> 40c6216c openXdox gitlink + contracts/openxdox-pin.yaml 76df74c8 -> a6500141 digests.tree_sha256 a0a4a22f -> 47a420da tests/openxdox_pin/...::test_ruling_q7_two_direct_upstreams_in_lockstep 7cf6c143 -> 3819625e Nine files, not five: the five pin mechanics above plus FOUR consumer files the bump forces - three edited, one deleted. (1) tests/ideation-dashboard/test_lens.py - GATE_LENS_JS re-homed from the opendox_code mount to the openxdox_code one, because S 3.4 slice S5 (RULED Q5) moved views/gate-lens.js to openXdox-code where it ships as package data. The dead `shutil.copy(LENS_MODEL_JS, tmp_path / "lens-model.js")` goes with it: RULED counterpart Q6 removed that static import. Measured 1124 passed/13 skipped before, 2 failed without the fix, 1124 passed/13 skipped with it. (2) tests/test_engineering_profile_display_facet.py, plus the DELETION of tests/fixtures-opendox-display-facet-schema.yaml. This one was NOT found by the pre-PR rehearsal - it was found by pytest-suite failing on this PR at `15d0a9e9` (run 35028710746: one failed, 7409 passed, 6 skipped), and this message said "six files" until it did. The rehearsal ran tests/ideation-dashboard, tests/{opendox,openxdox}_pin, tests/carve_manifest and tests/carve_arrival and concluded "no OTHER consumer breaks"; that held only for the directories it ran. A rehearsal proves the scope it covers. The failing test was PLANTED to fail here - "If this starts failing because `from opendox import display_profile` now succeeds, that is GOOD NEWS (the pin advanced past #21) and the fix is to delete the vendored fixture and simplify the test above to the live path only". Verified in the pinned checkout's own object store, not inferred: src/opendox/display_profile.py is ABSENT at `a99eba03` and `05bbde80`, PRESENT at `1e469713`, with normalize_display at :445. Not a pre-existing red: pytest-suite run 35026939157 at main `b3a75537`, this branch's own base, concluded success. The replacement is stronger than what it replaces - the fallback validated the facet against a vendored COPY of #21's schema, which can drift; the live path hands it to openDox's real normalize_display, so #21's refusals are enforced by the module that owns them. Measured after: that file's 16 remaining tests pass at the new pin. (3) scripts/profile_openxfactory.py, and (4) a second docstring inside the same test file. Both were found by COPILOT, in rounds 2 and 3 on this PR, and both were the same class: prose stating what IS pinned, made false by the bump. `_display_facet` still said the schema is "NOT YET PINNED" and named `a99eba03`; the identical-object test still said `opendox.view_extension.host_profile_name()` "is not importable at this repository's PINNED openDox commit" - measured, it IS importable at the new leg. Round 2 caught a third: the module docstring left describing the fallback the seventh-file commit had just deleted. After round 3 the whole repository was swept for `a99eba03` rather than fixing only the flagged lines. About ten more mentions were found and every one was deliberately LEFT: they are HISTORY, not claims about the current pin - where a BUILD slice sat, the carve manifest's measurement notes and the admissions file's `since:` fields, "the proxy landed as openDox-code #11 (`a99eba03`)", the tasks.md landing record, and this commit's own MIGRATION DECLARATION chain. Rewriting those would falsify the record, not repair it. SO THE COUNT MOVED THREE TIMES - six, then seven, then nine - and each move was a review round finding a consumer the round before had not. That is the same shape #1020 landed with ("Nine files, not the five ... plus four consumer-test fixes the bump's own CI run forced across two follow-up rounds"), and the same total. The lesson is recorded as residue on #656: a pin bump's consumer surface is whole-repo, so the rehearsal that clears it must be whole-repo, and run in a whole-repo CLONE. Plain gate: pytest-suite run 35034584514 SUCCESS at `0d40d23c35d7d54c7d33690ed000fb3338fa0312`; all required checks green; 2 thread(s) / 0 unresolved. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
… 48 declared lines, and the fourth row the replica reading hid (#1031) Lane: openxfactory-4 Refs #656 (stays OPEN). CLAIM: #656 comment 5656688910. RULED Q-L1 binds every § 3.4 slice to a row annotation that lands first (#656 comment 5642758731); this act is the OTHER half of that rule — the edits that landed BEFORE it existed and that no slice ever owned. openXdox-code #14 (`3840c167`, § 4.4 RULING C2, 2026-09-11 20:41Z) and #16 (`17384c07`, the DRAFT_STATUS/STAGED_STATUS late resolution, 2026-09-12 00:21Z) both landed before the § 3.4 clause, and openxFactory #1023 (slice S5's annotation) § 5 LISTED the refusals they leave and deliberately did not absorb them — "this PR does not invent declared-edit notes for work this lane did not do". This is that declaration, and the refusal is measured, not recalled: at `main` in a throwaway worktree, `verify-carve-arrival.py --destination openxdox_code` answers `arrival-undeclared-edit — src/openxdox/gate_console.py` over the same 26 lines, byte for byte. FOUR ROWS, FORTY-EIGHT LINES, AND THE FOURTH IS THE ONE THE REPLICA READING HID. Three moved rows take 26, 17 and 4 lines, named by the source paths their rows are keyed on — `scripts/ideation_dashboard/gate_console.py` 8 -> 34 (it arrives at `src/openxdox/gate_console.py`), `scripts/ideation_dashboard/generator.py` 4 -> 21, `tests/ideation-dashboard/test_generator.py` 4 -> 8 — and the forty-eighth line is `:271` on the `tests/ideation-dashboard/conftest.py` REPLICA row, openXdox-code#14's 27-line § 4.4 pytest fixture. A replica row names no destination and carries `edits:` as a PERMISSION at every replica and an OBLIGATION at none, which is why a reading that counts only destinations could not see it: openXdox-code takes `:271`, openDox-code does not, and openDox-code's arrival run answers OK all the same. By class the act is +44 `adapter calls`, +4 `import rewrites`, +0 `path constants`; no disposition converts, no row becomes a carrier, no referent digest moves, and no row is re-destined. THE READING IS THE LANDED DOCUMENT'S OWN, MEASURED RATHER THAN ASSERTED. 26/17/4 is the BOTH-neighbours convention: an inserted block declares the line above it and the line below. Measured at THIS head against openXdox-code `0a0265f7` and openDox-code `0b4e8bbf`: `both_free` 51, `both_forced` 0, `min_only` 51, `undeclared` 0, and five single-neighbour blocks, all five declared. The same measurement over `main`'s manifest and the same two trees reads 45 / 0 / 51 / 6, with one of the five single-neighbour blocks undeclared — and those seven undeclared blocks are exactly this act's three moved rows. `both_forced` — a second neighbour forced by a neighbouring `replace`/`delete` range rather than chosen — is ZERO at both, so the convention is exercised and not an artifact of the diff. The minimal reading (25/14/2) would pass the same arrival run and read (2448, 176). THE AGGREGATE IS A DELTA ON TWO ACTS THAT LANDED WHILE THIS ONE WAS AT THE GATE. `main` `cb2d3a2c` — the § 3.4 slice-S7 annotation and slice S8's `e5896455` both in it — reads (2406, 176); this act reads (2454, 176): `import rewrites` 726, `path constants` 246, `adapter calls` 1482, the 176 carriers unmoved because all four rows already carried `edits:`. Re-derived from the merged document by `test_the_real_manifest_carries_the_ruled_q_l7_amendment`, which SUMS rather than quotes, and carried across from neither side. THE PER-DESTINATION CELL MOVES, AND THAT IS A CHANGE OF KIND. When this act was written, the runbook's § 2 table was stale and the act REGISTERED it as stale, reserving the redistribution for "one later act" because slices S7 and S8 were in flight over the same cells. Slice S7 IS that act — it re-derived every cell and pinned all five columns with `test_the_runbook_per_destination_table_is_the_manifests_own_sum` — so the registration is retired and this act MOVES the cell it owes: `openxdox_code` 703 -> 750, 47 of its 48 lines falling on three rows that leg already edits. The four destination cells sum to 2452; the replica row's two lines, which name no destination, make 2454. ONE MERGE, SIX CONFLICTED FILES AND FOURTEEN BLOCKS, RESOLVED BY NAME. `main` `cb2d3a2c` merged at `6c0ba63c` — the single merge this branch reserved for landing. Replayed in a throwaway worktree at landing to count it rather than recall it: `README.md` 1 block, `docs/opendox-cutover-runbook.md` 8, `scripts/carve_lines.py` 1, `scripts/validate-carve-manifest.py` 1, `scripts/verify-carve-arrival.py` 1, `tests/carve_manifest/test_carve_manifest.py` 2. Every conflicted file is a site that mirrors the document's TOTAL. Three helpers do the resolutions and each REFUSES rather than guesses: a number-only resolver that PROVES the two sides are the same text but for the number, a per-block resolver for the manifest suite, and a named-block resolver for the runbook's eight. Two test pins the merged document outgrew were re-derived rather than relaxed (a hard-coded `total - 1` that assumed ONE replica line, and an assertion pinning the per-destination cell's old wording), and a SILENT auto-merge defect — § 2's lead sentence merging to OURS with no marker, leaving a "the cells are STALE" paragraph directly above S7's paragraph asserting the opposite — was caught by reading and repaired. THIRTEEN COPILOT ROUNDS, and the last three repair the FLOOR'S OWN PROSE rather than this act's rows. Round 11: § 2 asserted that an applied line's text "is the same at every replica of this row" while § 5.5 and `test_two_legs_may_apply_one_replicas_line_differently` record that two legs which applied one declared line differently would BOTH pass — restated as the placing leg's claim, with the shared depth kept as the reason it holds here; and § 2 introduced the per-destination table as "the numbers each leg's arrival run must report", which is false of the two legs RULED Q6 touches, so the sentence now names its basis and the marker literal the summing test bounds that block by moved in the same commit. Round 12: the round-11 repair itself named a figure NO RUN PRINTS. Round 13: the surviving half of the same sentence had the same shape — "four fewer declared-edit rows (84)" reads as the verifier's output, while § 5.5's own phase-B example for that leg states `85 declared-edit row(s) within their lines, 0 unapplied` and a live run at `0b4e8bbf` prints 84 because one declared edit is not yet applied. There are THREE bases: this table's column (88 / 83), the EFFECTIVE count after Q6 (84 / 87), and the verifier's printed `declared_edits_diffed`, which drops the `unapplied` rows and adds a declared replica whose row declares lines. The paragraph now compares ARRIVED rows — 119 against 123, 96 against 92 — names the effective counts as effective, and leaves the printed counter to § 5.5. Copilot's round at `76fdebbf` and this lane's own re-run of both arrival verifications reached the round-12 finding independently, within minutes of each other. RESIDUE REGISTERED, NOT DISCHARGED: the re-destination paragraph's comparisons — 119 and 96 arrived, 84 and 87 effective — are transcribed prose that nothing reads, while the table above it is pinned cell by cell by `test_the_runbook_per_destination_table_is_the_manifests_own_sum` and § 5.5's example figures by `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces`. That paragraph is the one place in § 2 where these numbers are typed rather than summed, and pinning it is a carve-floor act's work, not an annotation's. EVIDENCE, RE-DERIVED AT `46c6dbdf` AND NOT TRANSCRIBED: `scripts/validate-carve-manifest.py` OK over 456 rows (143 moved_verbatim, 175 moved_with_declared_edit, 138 not_moved; 318 digests recomputed; 4 rows RE-DESTINED). Arrival at `openxdox_code` against openXdox-code `0a0265f7` — 96 rows arrived, 9 digests verified, 85 declared-edit rows within their lines, 4 unapplied, 2 of 2 declared replicas, 124 files with none undeclared, 23 declared admissions used and none stale. Arrival at `opendox_code` against openDox-code `0b4e8bbf` — 119 arrived, 35 digests, 84 within their lines, 1 unapplied, 1 of 1 replica, 4 rows re-destined away and verified vacated. Five suites — `tests/carve_manifest`, `tests/carve_arrival`, `tests/carve_conformance`, `tests/opendox_pin`, `tests/openxdox_pin` — 424 passed. Pair (2454, 176). `audit-declared-lines.py` is BYTE-IDENTICAL to the run at `6c0ba63c`: the three prose rounds after the merge moved no declared set. Gate: pytest-suite run 35100738192 SUCCESS at `46c6dbdf`, with clearing-dispatch-gate, former-id-arrival-gate, lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, release-tag-gate, signed-execution-chain-gate and wallet-validation all SUCCESS (SonarCloud advisory SUCCESS, Sourcery SKIPPED on budget); 6 threads / 0 unresolved; merged with --admin because openxFactory's ruleset asks one approval nobody in this lane can give (precedent #1011, #1020, #1021, #1023, #1025). Rule 6 does not apply: eight files, none under openspec/changes/, and the one README hunk is the doc-index line for the cutover runbook, not the OpenSpec Records block. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…c, amend the packet figure, and account for 4.1's residue (#1035) Amendment #3 of `split-opendox-two-layer-product`'s `tasks.md` — the third in the series (#991 → `1f068646`, #1005 → `a72f0a76`). Claim: `#656` comment `5656686020`. TWO BOXES, and no other line of the file is touched. **§ 3.4 — INVENT the front-end package boundary — is TICKED**, judged met at this amendment's own landing rather than at its authoring: the boundary was INVENTED as `openDox-spec` `docs/front-end-package-boundary.md` (landed `#8` → `a44ac06d`, amended `#9` → `61866d29`, `#10` → `7d12428c`, and `#11` → `54e910735b97b326d05250100104b3af07d3f5ae`, this arc's last act, merged 2026-09-16T13:24:51Z) and REALIZED in an eight-slice arc, every leg pull request paired under RULED Q-L1 with the openxFactory row annotation that lands FIRST — only S1 has none, correctly, because it creates files and edits no carved row. The slice table carries all three pull requests and merge shas per slice, **ALL EIGHT rows now final**: S7 and S8 were placeholders when this amendment was authored and each was filled IN PLACE at its own landing — S7 (`#1030` → `b3a75537`, `#21` → `1e469713`, the SIXTH holding, by 71 seconds) and S8 (`#1025` → `e5896455`, `#19` → `0a0265f7`, `#23` → `0b4e8bbf`, the SEVENTH and last — one per ANNOTATED slice, S1 alone exempt; ten by annotation→leg pairing, all ordered right, the two ordinals corrected at openDox-spec #11's fix round 18). Named with the arc, each its own claim and none a condition of the box: RULED Q6's `re_destined:` row form (`#1011` → `880c821c`), the `retired:` row form with the retirement of the three intent-feed suites under it, and the pin lockstep that carries the landings into the aggregation (`#1054` → `3c614d34`). **THE PACKET FIGURE IS AMENDED HERE**, where the boundary note defers it — *"a packet figure is amended in the packet"*. This box's own *"40 files, 30,410 lines"* is a design-time reading no tree in the arc reproduces: the carve commit `b075fd91` held 43 blobs / 31,068 lines (41 hand-authored / 31,066), and `views/intent-feed.js` (483 lines) did not travel — RULED `not_moved` under OQ-F — which leaves **40 files** on the nose and **30,583** lines, so the packet's line count is **173** short of what arrived and **656** short of what the carve held. The FILE count was right all along, and the table's last row — openDox-code `main` `0b4e8bbf` at 42 blobs / 31,955 lines, 40 hand-authored / 31,953, read at this amendment's own landing — is the CHECK that the arc ended where `#21`'s head said it would. Four further occurrences in the packet's LIVE documents are named and NOT edited, because a ratified document is amended by the act that claims it; a fifth, in `review/ratification-2026-09-05.md`, is named as a RECORD no later act amends. **§ 4.1's residue is accounted for down to the last import, and the box STAYS OPEN.** All 23 of `design.md` § D3's inventoried outbound `doc_health` imports now have a position — 12 at openXdox-code, 5 at openDox-code, 1 RULED to stay at openxFactory, and **5 DISCHARGED at the § 2 seam before the carve ever ran**, which the carve commit itself proves: `scripts/ideation_dashboard/` carried 21 sites there, and 12 + 4 + 1 + 1 = 18 = 23 − 5, 18 + 3 = 21, closing both ways. What the seam discharged is the outbound import SITE and not the dependency: the `authoring` pair's now sits behind the § 2.2a seam at `scripts/corpus_adapter_openxfactory/home.py`:59, which is lawful and is the whole of DQ-1. The § 3.4 arc moved none of them. **What the arc did NOT close is named**, so no later reader takes the tick for more than it is: the fifth class-A tail's realization, `views/lens.js`'s standing `?`, the FULL un-narrowing both legs still wait on, the THREE floor acts (RULED Q6's `re_destined:` form and the pin lockstep, both landed, and the `retired:` row form, which is not), and the packet's own README entry — overtaken, not corrected here, and cited by its sentence rather than by a line number, because the README OpenSpec Records block moves under every archival act. FOURTEEN fix rounds are recorded in the pull-request description, every one of them from a Copilot finding and every one accurate; rounds 6 to 12 are corrections this amendment made to text an earlier round of its own had added, and rounds 13 and 14 go back to the accounting the draft itself carried. They run: a residue clause that named four citations and listed a different four; both `STATUS —` headers dated `2026-09-14` flat while the paragraph they head records landings of 2026-09-15 and 09-16 (labelled AUTHORING SNAPSHOTS rather than re-dated, so no reader loses which statements predate the slices they record) and a slice count the arc had overtaken; a packet-figure table that stopped at a head the arc had passed; a re-verification claim that named no re-run (re-run at the final heads, every count unchanged, one line number moved and named) and a box with two incompatible exit conditions; four precision defects in rounds 6 to 8's own text; and at round 10 five more — a miscount of the review history itself, a merge clock the sentence promised and did not give (openDox-spec `#11` at 13:24:51Z), an item counting two floor acts where the paragraph above it names three, and two claims wider than the measurement under them; and at round 11 an instrument this amendment's own prose had broken — the fifth-occurrence paragraph's "greps for 30,410 and finds five", where a grep of the packet now returns TWELVE lines (seven of them this file's own), so the grep is named with its SCOPE and the twelve decomposed, the five it counts being every occurrence outside the box's own text. Every figure re-derived from the trees at the head that carries it, never re-read from the draft. One review finding is ANSWERED AND REGISTERED rather than taken: the packet's README OpenSpec Records entry is not corrected here, and the file now names the precedent for correcting one in place — `add-declared-former-id`'s entry, amended by lane `openxfactory-1` at its own realization landing on Brett Heap's word of 2026-09-15 ("Amend the row in #1041", `#1003` comment `5686628685`) — which is exactly why it is not taken here: that is its own act, on its own ruling and its own claim, landing on the one block a Rule 6 window exists to serialize. Round 12 closes the series on the review that recommended approval anyway: the authoring-snapshot parenthetical still claimed a clock for EACH act it dates, and it dates twelve while carrying four — the claim is now what it measures (dates for the arc; a clock only where the ordering turns on one; every other clock beside its own act; S1, S3, S4, S5 and S6 named as date-only), because narrowing a claim is not the same as measuring it. Round 13 then measured three of § 4.1's own draft statements against the trees: `scripts/ideation_dashboard/` is NINE `.py` modules plus the `web/` directory (ten `git ls-tree` entries), not "10 files"; the DISCHARGED row's `serve` cell cited the SURVIVING `doc_health.corpus.RealGit` reach at the carve's `serve.py`:618 as if it evidenced a discharge, and named openDox-code's own `from opendox import consumer_reach` beside it, which is not a `doc_health` site at all (the carve file does not contain the string) — both corrected, the row's 5 and the box's 23 unchanged; and "either module is openxFactory" now names the two candidate homes rather than implying them. Every number § 4.1 states survived its own re-measurement; what moved is which line each number is attached to. Round 14 took three more: the pin-lockstep paragraph cited § 5.1 as describing the two-pin invariant when § 5.1, ticked under RULING F, says openxFactory declares only its direct upstreams and closes "No contracts/opendox-pin.yaml and no second gitlink exist anywhere in the tree" — a sentence the TREE has since overtaken (measured at `main` `b1df95ee`: that pin file exists with its own `commit:` and `git ls-tree -r` returns four gitlinks, openDox among them), so the citation now names § 4.2 alone and § 5.1's staleness is REGISTERED for the act that claims that box rather than corrected inside this landing; `__init__.py`:32 is a forwarding wrapper importing `.home` on the call at `:39`, not a re-export, and the lateness is the § 2.2a seam's own point; and round 13's "travels to the leg" is measured — `src/opendox/serve.py` arrived at openDox-code with the Tranche-B adoption commit `30c6baf`, not in the arc, which moved only its line number, so "the § 3.4 arc moved none of them" stands. Box count 40 ticked / 31 open — a filled placeholder is not a tick. REGISTERED FOR AMENDMENT #4 (#1058, open and stacked on this branch), answered on #1035 and not carried here: § 5.1's stale "No contracts/opendox-pin.yaml and no second gitlink exist anywhere in the tree", measured false at `main` `b1df95ee` (that pin file exists with its own `commit:`; `git ls-tree -r` returns four gitlinks, openDox among them) and ALREADY RULED by R-5 (Brett Heap, 2026-09-16, #656 comment 5690428146: "§ 5.1's 'no second gitlink exists' is stale for the same reason and takes the same amendment"), whose own consequences line names amendment #4 as the carrier - so no new claim is needed. This amendment corrects what it wrote and registers what it does not claim, which is the division it applies to design.md, to proposal.md and to the packet's README entry. Gate at 18e33d3: fifteen check-runs, every one completed success or skipped (pytest-suite run 104881522133), threads 8 of 8 resolved, and Copilot fifteen review rounds - fourteen taken as fix rounds, the last two findings measured false and answered on the pull request. Landed under the Rule 6 window opened 2026-09-16T16:44:21Z, with --admin on the lane precedent of #1011, #1020, #1021 and #1023. Refs #656 (stays OPEN). Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…the opendox dependency bump (#1084) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs #656 (stays OPEN). CLAIM: 5699629088. Third and final leg of pin lockstep #3, after opensoft/openDox#9 -> c4c5014d and opensoft/openXdox#11 -> 88a1047e. Precedent #1054 -> 3c614d3 (lockstep #2, LANDED note 5689609863): two gitlinks, two pin YAMLs, one test literal. openDox gitlink + contracts/opendox-pin.yaml 3819625e -> c4c5014d digests.tree_sha256 40c6216c -> f7b9b023 openXdox gitlink + contracts/openxdox-pin.yaml a6500141 -> 88a1047e digests.tree_sha256 47a420da -> cdbe7573 tests/openxdox_pin/test_openxdox_pin_verifier.py (the lockstep literal) 3819625e -> c4c5014d WHAT THE TWO ADVANCES CARRY. openDox 3819625e -> c4c5014d moves `code` 1e469713 -> 0b4e8bbf: S 3.4 slice S8 leg B (openDox-code#23), six pre-carve path constants repaired, that leg's validate list 10 -> 27 files and 283 -> 694 tests. openXdox a6500141 -> 88a1047e moves `code` c1ad341a -> 2529c10a, crossing TWO landings because lockstep #2 stopped at c1ad341a deliberately, before #19 existed: S 3.4 slice S8 leg A (openXdox-code#19 - 44 of the 46 root spellings across 31 files read openDox's bundle through the PIN instead of a directory that leg does not have) and the `opendox` dependency bump (openXdox-code#21 -> 2529c10a, LANDED note 5714326926 - pyproject.toml pins openDox-code 0b4e8bbf; that leg's validate reads 360 passed / 6 skipped at its landed head, of which the bump alone is 317 / 6 and the rest is the 43 direct tests of the PEP 610 provenance guard its thirty review rounds asked for). THIS IS THE LOCKSTEP THAT CLOSES THE LOOP THE LAST ONE LEFT OPEN. Copilot's suppressed finding on #1054 was that the pinned openXdox code declared an `opendox` OLDER than the lockstep contract named, so that leg's materialization assertions SKIPPED rather than ran. It is answered here by the object pinned, not by prose: openXdox-code's pyproject.toml now names the same 0b4e8bbf that contracts/opendox-pin.yaml reaches through the openDox assembly. THE MIGRATION DECLARATION is a CHAIN ADVANCE, not a schema change, and the sentinel was RE-MEASURED rather than assumed: `git ls-tree -r 0b4e8bbf | grep -i migration` on openDox-code's own checkout returns nothing, so `not_yet_deployed` still holds. The sentence now names 0b4e8bbf under c4c5014d, keeping 1e469713 under 3819625e, 05bbde80 under 7cf6c143 and a99eba03 under 8ec3036c as the chain (#1020's shape, carried by #1054). THE CONSUMER SURFACE, and the baseline it is read against. This branch was cut from main at a93d268, and main's OWN pytest-suite run at that exact commit - 35219872882 - concluded SUCCESS (2026-09-17T12:13Z). That is the baseline the runbook requires before any red here is called a regression. Measured at the head: scripts/verify-opendox-pin.py and scripts/verify-openxdox-pin.py both OK, with the cross-repository lockstep confirmed; pytest tests/opendox_pin tests/openxdox_pin -q -> 105 passed; validate-carve-manifest.py OK (456 rows, 143/175/138, 318 digests recomputed, none undeclared, 4 RE-DESTINED by RULED Q6); and the whole consumer surface lockstep #2 needed three review rounds to clear - tests/carve_manifest, tests/carve_arrival, tests/carve_conformance, tests/opendox_pin, tests/openxdox_pin - 481 passed at the same pin values. TWO CONSUMER FILES MOVED, and they are prose rather than behaviour: scripts/profile_openxfactory.py::_display_facet and tests/test_engineering_profile_display_facet.py described 1e469713 as the code leg this repository pins, which this commit makes stale. Both now name the CHAIN - 1e469713 is where the live import path became possible, 0b4e8bbf is the leg pinned now - each live claim re-measured in the pinned checkout's own object store (git ls-tree -r 0b4e8bbf names src/opendox/display_profile.py with normalize_display at :445, and src/opendox/view_extension.py with host_profile_name). Copilot's review of 268a6fe found them; that test file reads 16 passed after the edit. The openspec/changes tasks.md hits on the same sha are slice S7's record and are deliberately left alone. NOT DONE HERE, by name. (1) opensoft/openXdox's own contracts/opendox-pin.yaml MIGRATION DECLARATION still says "checked at da8aae96, the commit this root's own code pin currently names" while that root's code pin is 2529c10a. It is a COMMENT no verifier reads - check 5 reads that blob's commit: field, which is c4c5014d and which the verifier confirms in lockstep - and it was already stale at the previous pin a6500141 (root code c1ad341a), so this act neither introduced it nor is the first to carry it; correcting it needs an openXdox root PR and a re-pin, which is a fourth leg mid-lockstep for a comment. REGISTERED for the declared act on that file. (2) The xFactory aggregation re-sync - four sites in one commit - becomes owed the moment this lands and Brett admin-lands it under RULING R-5 (#656 comment 5690428146). (3) openXdox-code README.md:40-43's "validate runs only the scaffold's shape assertions" is stale since slice S8 and still owed to a later declared act. GATE EVIDENCE, MEASURED AT THE LANDED HEAD 96f52cc: ALL ELEVEN checks SUCCESS - pytest-suite (run 35222985270), lane-line, clearing-dispatch-gate, former-id-arrival-gate, merge-master-approval, openreposhape-pin, openspec-cli-pin, openxdox-consumer-gate, release-tag-gate, signed-execution-chain-gate and wallet-validation. pytest-suite's own floor line reads `floors: selected>=7050 (margin 1074) passed>=7044 (margin 1074) skipped==6` - CHARACTER-FOR-CHARACTER the line main's own run 35219872882 printed at the base commit a93d268, which is the baseline this branch is read against. Copilot's review 5235818601 at this head: "Approval recommended - No unresolved review issues remain", files reviewed 7/7, comments generated 0, with NO suppressed-comments section; 0 review threads / 0 unresolved. The one round this pull request took is recorded in its description. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>



Lane: openxfactory-4-opendox-extraction
Refs #656 (stays OPEN). CLAIM: 5647338637.
Third and final leg of the pin lockstep (after opensoft/openDox#7 and
opensoft/openXdox#9). Precedent: openxFactory#984, followed for the pin
mechanics (the file set here — two gitlinks, two pin YAMLs, one test
literal — mirrors #984's own six-file list minus the one file #984 itself
left unchanged; #984 additionally carried unrelated § 4.3/§ 4.4 feature
code this bump does not need).
openDoxgitlink +contracts/opendox-pin.yamlcommit:8ec3036c…7cf6c143e65e0bde799a5135dfde2dd66df5d495contracts/opendox-pin.yamldigests.tree_sha25671b97c8b…46f49679e721e1d6c0d43c1aad370feec34c56bc5bbb2fffc88fa680734ecbc8openXdoxgitlink +contracts/openxdox-pin.yamlcommit:eca0b597…76df74c8fd32db9aa71448c0ddac185c019b97fbcontracts/openxdox-pin.yamldigests.tree_sha256c6d1078d…a0a4a22f2d1729f655a8be499a375b61808f9ad1659d1b3c606143693b6f414dtests/openxdox_pin/…::test_ruling_q7_two_direct_upstreams_in_lockstep8ec3036c…7cf6c143…What each advance carries:
openDox(opensoft/openDox#7) movescode(opensoft/openDox-code)a99eba03→05bbde80: § 3.4 S4 (#17, the thirteen gate-routeconstants split from
lens-model.js/repo-selector.js/staging-workbench- model.jsto the class-B bindings that call them), its S3 fail-closedfollow-up (#18, landed via #22 after a base-branch retarget correction —
requireRouteShape()refuses a malformed contributed-routes entry insteadof coercing it), and S6 (#16, RULED Q4:
/sourcebecomes openDox's ownfixed core arm).
specunchanged.openXdox(opensoft/openXdox#9) movescode(opensoft/openXdox-code)af15f712→d6e7bbe3: S6 (#17, the paired leg — the/sourcepairleaves
serve_projection.py, which now carries only/snapshot-index.jsonand the three/projections/*routes), and its owncontracts/opendox-pin.yamlcopy advances to match openDox's bump above(the cross-repo lockstep
scripts/verify-opendox-pin.pychecks).specunchanged.
Verifier results, verbatim:
git diff origin/main --stat: 9 files, not 5 (Copilot review, round 3 —accurate, fixed here). The pin mechanics proper are the five #984's precedent
predicts (two gitlinks, two pin YAMLs, one test literal); the other four are
tests/ideation-dashboard/consumer fixes the bump's own CI run forcedacross two follow-up rounds — real breakage in openxFactory's own
characterization of code the S4/S6 legs legitimately moved, not scope creep,
so kept rather than reverted:
test_route_extension.py— the in-tree profile's collected-binding countdrops 9 → 7 (S6 moves
/source+/source/offROUTE_EXTENSIONSonto afixed core arm) and the
SOURCE_PREFIXimport moves fromopenxdox.serve_projection(the name S6 removed) toopendox.serve.test_serve_column_split.py—_keyed_source/_serve_source/_refuse_bare_sourceleaveMOVED_HANDLERS,/source+/source/leaveCONTRIBUTED_BINDINGS(nine → seven), and the ordering test they carriedis removed here and proven instead at
opensoft/openDox-code's owntests/test_source_core_arm.py— the repository that now owns the arm.test_extension_point_parity.py—ROUTE_ARMSgains the two new fixedcore arms S6 places ahead of the § 2.4 contributed consult.
test_lens.py— S4 movedLENS_SAVE_ROUTE/LENS_CLUSTER_ROUTEfromlens-model.jsto the newgate-lens.js; the node harness now alsocopies
gate-lens.js+ itshelpers.jsdependency (both post-carvecreations with no manifest row, addressed via
carved_reach.MOUNTSdirectly rather than
carved_source()) alongsidelens-model.js.Full narrative for each: the two fix-round commits on this branch
(
a56932df,0b141931) and #656's S4/S6 landing noteslinked below. RE-VERIFIED (not re-typed from those commits' own messages):
the four files together (114 passed, 1 skipped), the whole
tests/ideation-dashboard/directory (1124 passed, 13 skipped), and thepin/parity suites and
validate-carve-manifest.pyin the block above, allre-run fresh at this PR's current head.
Full narrative and residue arithmetic for S4/S6: #656's
landing notes (S6:
#656 (comment),
S4:
#656 (comment)
— the latter also records a landing-error correction on #18, out of scope
for this pin PR but relevant to why the
codehead cited above is05bbde80and not#18's own merge sha).🤖 Generated with Claude Code
Summary by Sourcery
Advance the openDox and openXdox pins to their final lockstep S4/S6 landings and align the associated verification coverage.
Enhancements:
/sourceownership moving into openDox’s fixed core routing while preserving dispatch, shadowing, and wire-level behavior checks.Tests: