Skip to content

§ 3.4 S6: the /source pair leaves the projection column (RULED Q4) - #17

Merged
brettheap merged 3 commits into
mainfrom
build/s6-source-route-to-opendox
Sep 12, 2026
Merged

brettheap merged 3 commits into
mainfrom
build/s6-source-route-to-opendox

Conversation

@brettheap

@brettheap brettheap commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4-opendox-extraction

§ 3.4 slice S6, the openXdox half. Refs opensoft/openXfactory#656.

The ruling

RULED Q4 — Brett Heap, 2026-09-12, opensoft/openXfactory#656 comment
5642758731, by interactive multi-choice:

/source/ is openDox's, and openXdox's projection binding keeps only
/snapshot-index.json and the three /projections/* routes.

Reading a file out of the pinned checkout is the NEUTRAL product's own read-only
pass-through; it predates the gate loop and nothing about it is a gate act, and
under RULING OQ-2 a student runs openDox alone. The boundary note (openDox-spec
docs/front-end-package-boundary.md @ 61866d29, § 2.2 rule 1 · § 3.2 ·
§ 4.5 assertion 2 · § 5 row S6 · § 6 Q4) measured the consequence as the
census's ONE class-A breach: views/viewer.js — the read-only Markdown viewer,
the most obviously student-usable surface in the bundle — addressing a route
another column declares.

What this leg does

src/openxdox/serve_projection.py drops:

dropped was
SOURCE_PREFIX :57
BARE_SOURCE_ROUTE :58-61
RouteBinding("GET", BARE_SOURCE_ROUTE, False, "_refuse_bare_source") :382
RouteBinding("GET", SOURCE_PREFIX, True, "_serve_source") :384
_keyed_source / _serve_source / _refuse_bare_source :295-361
resolve_source_path :66-78

ProjectionRoutesExtension.routes() is now one binding: /snapshot-index.json.
The three /projections/* routes were never declared here — each travels with
the surface that answers it (evidence_provenance_surface.py,
model_scenario_workbench.py, role_authority_projection.py) — so the ruling
leaves all three untouched, exactly as it says.

The module docstring's "WHAT ARRIVES THROUGH THE SEAM AND WHAT STAYS A CORE ARM"
narrative no longer claims /source/, and the paragraph that argued "THE
/source PAIR MOVES TOGETHER" is replaced by the record of where the pair went
and what that preserves.

resolve_source_path travels too, though the brief listed only the
constants, the bindings and the handlers. It is the single-root entry point to
the containment of a route this leg no longer declares, and it has no
production reader at openXdox
— snapshot_registry.py:367 mentions it in a
docstring and nothing calls it. Its readers were already openDox's
(serve.py's re-export and notebook_action.py:52's re-check of every resolved
document before a notebook action may name a path), so leaving it here would
have left a function whose only callers are in the layer that pins this one.

What does NOT move

  • snapshot_registry.resolve_within is the containment RULE — the same rule
    applied per registry entry (task 2.2) — and it stays this column's. openDox's
    arm reaches it through the same late consumer_reach seam
    serve_workbench.py already uses at five sites.
  • hosted_ref_refused / _hosted_entry_refused are FR-048's hosted-plane
    confinement, also this column's. The route moved; the rules it consults did
    not. Q4 is "a route-ownership correction at § 4.3 of the packet, not a new
    capability", in the note's own words.
  • /snapshot.json's handler stays here with its neighbours, its arm still
    core (it tests path == self.snapshot_route, a per-server keyword a frozen
    RouteBinding.pattern cannot carry).

The order is preserved, not re-derived

collect_bindings returned every EXACT binding before every PREFIX one, so
/source answered send_error(404, "no source path") while /source/ (empty
tail) reached _serve_source("") and answered 404 with divergence headers and a
zero-length body. openDox's _route reproduces that by putting the exact arm
above the prefix arm — the property the replaced docstring paragraph existed to
protect, carried forward rather than rediscovered.

Tests

Nothing moves, and the second commit on this branch is why. The first
commit sent tests/test_source_dot_directories.py to openDox-code with the
route it is about — the one file of the 48 (§ 1.2(d)) whose whole SUBJECT is
this route (T092 acceptance sweep defect 10: /source/.git/config answering
200 with a remote's embedded PAT). docs/opendox-carve-manifest.yaml:3439-3450
gives that file a row with destination: openxdox_code, so the move is not a
declared EDIT to an arrived file — it is a RE-DESTINATION of the row, which
Q-L1's annotation form (edits: [{class, lines[], note}], classes closed at
import rewrites | path constants | adapter calls) cannot express. Left
standing it would have made verify-carve-arrival.py --destination openxdox_code refuse for a missing arrival and --destination opendox_code
refuse for a file no row places. "Fix the DESTINATION, never the manifest" is
the verifier's own remediation line, so 657c821 puts the file back.

No /source assertion here is orphaned, and that is worth stating
precisely.
Fourteen remain — that whole file plus thirteen functions across
test_renderer.py ×4, test_explorer_viewer.py ×5, test_session_snapshot.py
×2, test_doxbench_transport.py ×1 and test_repo_selector.py ×1. Every one of
them already reads from opendox import serve as serve_mod — the carve's
import rewrites class had pointed them at the leg that now owns the route —
and all six files are uncollectable at this leg (they resolve
REPO_ROOT / "scripts" / "ideation_dashboard" and src/openxdox/web, neither of
which exists here). They assert against a surface S6 preserves exactly, so they
travel with the other 42 at S8, which is the slice § 5 gives that job to.

REGISTER, for whoever plans S8: re-homing those 48 files needs an
openxFactory manifest re-destination act — a pass that moves destination /
destination_path on every affected row — and no slice has been given one. S6
found the constraint the hard way and is recording it rather than working round
it.

openDox-code#16 carries the RUNNABLE proof of this move:
tests/test_source_core_arm.py, 25 assertions on validate's explicit list,
including that the containment authority is single and unmoved — which is what
carries this file's dot-directory refusals across without re-stating them at a
leg that cannot run them.

validate

Green. The four narrowed suites (RULED Q-L8 (b′)) — test_leg_shape.py,
test_dependency_direction.py, test_domain_profile.py,
test_no_hardcoded_status_words.py — name /source nowhere, and
test_dependency_direction.py's OPENDOX_BACK_IMPORTS ratchet measures the
opendox pin (pyproject.toml: @a99eba03), which this act does not move.
Locally: 122 passed.

Pairs with

  • opensoft/openDox-code build/s6-source-core-arm — the arm's new home.
  • An openxFactory carve-manifest row annotation (Q-L1, the ASK-7 pattern):
    serve_projection.py is an ARRIVED file (openxdox_code), so these edits are
    declared lines on its row.

🤖 Generated with Claude Code

Summary by Sourcery

Reassign source-route ownership to the openDox core while keeping openXdox limited to the snapshot index and existing projection contributions.

Enhancements:

  • Move the /source and /source/ routes and their source-path resolution logic out of openXdox’s projection extension and into the openDox core arm while preserving routing behavior and containment responsibilities.

Tests:

  • Update route-seam tests to reflect the reduced projection binding set after removing the source routes.

RULED Q4 (Brett Heap, 2026-09-12, opensoft/openXfactory#656 comment
5642758731): "`/source/` is openDox's, and openXdox's projection binding keeps
only `/snapshot-index.json` and the three `/projections/*` routes." Reading a
file out of the pinned checkout is the neutral product's own read-only
pass-through; it predates the gate loop and nothing about it is a gate act, and
under RULING OQ-2 a student runs openDox alone — so a read-only Markdown viewer
that cannot load a file without the consumer layer was a route-ownership
defect. The boundary note (openDox-spec `docs/front-end-package-boundary.md`
§ 2.2 rule 1, § 4.5 assertion 2, § 5 row S6, § 6 Q4) measured it as the
census's ONE class-A breach: `views/viewer.js` addressing a route another
column declares.

This leg's half. `serve_projection.py` drops `SOURCE_PREFIX`,
`BARE_SOURCE_ROUTE`, their two `RouteBinding`s and the three methods they
reached (`_serve_source`, `_refuse_bare_source`, `_keyed_source`), together
with the single-root containment entry point `resolve_source_path` — whose only
readers outside this file were already openDox's (`serve.py`'s re-export and
`notebook_action.py`:52's re-check of every resolved document). The
`ProjectionRoutesExtension` tuple is now one binding: `/snapshot-index.json`.
The three `/projections/*` routes were never declared here — each travels with
the surface that answers it — so the ruling leaves all three untouched.

What does NOT move. `snapshot_registry.resolve_within` is the PER-ENTRY
containment rule and it is still this column's; openDox's arm reaches it
through the same late `consumer_reach` seam `serve_workbench.py` already uses.
`/snapshot.json`'s handler stays here with its neighbours, arm still core.

The ORDER is preserved rather than re-derived: an exact `/source` arm consulted
before a `/source/` prefix arm, so `/source/` still reaches `_serve_source("")`
and answers 404 with divergence headers and a zero-length body rather than an
HTML error page — the property the docstring paragraph this replaces was
written to protect.

Tests. `tests/test_source_dot_directories.py` travels to openDox-code with the
route: it is the one file of the 48 (§ 1.2(d)) whose whole subject IS this
route. The other 13 `/source` assertions here sit in five carved suites that
are uncollectable at this leg and ALREADY import `opendox.serve` — the carve's
`import rewrites` class had pointed them at the leg that now owns the route —
so S6 orphans none of them and they travel with the other 47 at S8.

`validate` stays green: the four narrowed suites (RULED Q-L8 (b′)) do not name
`/source`, and `tests/test_dependency_direction.py`'s ratchet reads the
`opendox` pin, which this act does not move.

Refs opensoft/openXfactory#656

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 12, 2026 17:23
@sourcery-ai

sourcery-ai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR applies RULED Q4 by removing /source and its resolver from openXdox’s projection bindings, leaving only the snapshot-index contribution while preserving containment, hosted restrictions, snapshot behavior, and route-order semantics for the openDox core implementation.

File-Level Changes

Change Details Files
Moves /source route ownership and source-path resolution out of the openXdox projection extension and into the openDox core arm, preserving existing routing behavior and containment boundaries.
  • Removes source route constants, bindings, handlers, keyed resolution, and the single-root resolver from the projection module.
  • Updates module and extension documentation to record RULED Q4 ownership and retain /snapshot.json as a core arm.
  • Keeps per-entry containment, hosted-plane refusal checks, snapshot handling, and the three surface-owned projection routes unchanged.
  • Preserves exact-before-prefix routing semantics for /source versus /source/ in the receiving implementation.
src/openxdox/serve_projection.py
Moves the source-route-specific regression test out of this leg with the route ownership change.
  • Deletes the suite covering source dot-directory traversal and exposed files such as .git/config.
tests/test_source_dot_directories.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

…this leg

WITHDRAWN, one commit later, on the carve floor's own rule. The previous commit
moved `tests/test_source_dot_directories.py` to openDox-code with the route it
is about. `docs/opendox-carve-manifest.yaml`:3439-3450 gives that file a row
with `destination: openxdox_code` and `destination_path:
tests/test_source_dot_directories.py`, so the move is not a declared EDIT to an
arrived file — it is a RE-DESTINATION of the row itself, which the Q-L1
annotation form (`edits: [{class, lines[], note}]`, classes closed at
`import rewrites | path constants | adapter calls`) cannot express. Left
standing it would have made `verify-carve-arrival.py --destination
openxdox_code` refuse for a missing arrival and `--destination opendox_code`
refuse for a file no row places. "Fix the DESTINATION, never the manifest" is
the verifier's own remediation line, and the destination fix here is to put the
file back.

Nothing is lost by that. The file is inert at both legs (§ 1.2(d): it resolves
`REPO_ROOT / "scripts" / "ideation_dashboard"` and `src/openxdox/web`, neither
of which exists here), it already reads `from opendox import serve as serve_mod`
— the carve's `import rewrites` class had pointed it at the leg that now owns
the route — and every refusal it measures belongs to
`snapshot_registry.resolve_within`, which this slice did NOT move. openDox-code's
`tests/test_source_core_arm.py` asserts exactly that single-authority property,
so the dot-directory refusals (T092 defect 10) are carried across the move
without being re-stated at a leg that cannot run them.

Re-homing this file is § 5 row S8's, with the other 47 — and S8 needs a
manifest act (a re-destination pass) that no slice has yet been given.
Recorded here so S8 finds it already written down.

Refs opensoft/openXfactory#656

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

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

Existing seam assertions and route-seam documentation still describe the removed /source bindings.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR moves /source ownership to openDox and narrows openXdox projection routing to /snapshot-index.json.

Changes:

  • Removes /source bindings, handlers, and resolver.
  • Removes the source dot-directory test for relocation.
  • Updates projection ownership documentation.
File summaries
File Summary
src/openxdox/serve_projection.py Removes /source handling; seam-count assertions and shared route-seam documentation still require updates.
tests/test_source_dot_directories.py Removes the source-route security test for relocation.
Review details

Suppressed comments (1)

src/openxdox/serve_projection.py:302

  • This class now records that /source left the projection column, but the shared route-seam contract in src/route_extension.py:84-110 still says SOURCE_PREFIX is an in-tree prefix and that this assembly deliberately keeps the /source plus /source/ pair. Those statements become false after this change and can mislead future route additions; update that contract documentation as part of the ownership move.
    THE `/source` PAIR IS GONE FROM THIS TUPLE and is `opendox/serve.py`'s core
    arm now. The column's OTHER three contributed routes — `/projections/evidence`,
    `/projections/workbench`, `/projections/role-authority` — were never declared
    here: each travels with the surface that answers it
    (`evidence_provenance_surface.py`, `model_scenario_workbench.py`,
    `role_authority_projection.py`), and the ruling leaves all three untouched.
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread src/openxdox/serve_projection.py Resolved
Copilot AI review requested due to automatic review settings September 12, 2026 17:27
… route

Copilot on #17 (`discussion_r3996991573`), and it is right: removing the two
`/source` bindings changes the § 2.4 assembly count, and three seam-conformance
suites assert that count as a literal with the arithmetic spelled out beside it.
`5 -> 3`, `6 -> 4`, `7 -> 5`, and the "+ 3 (projection: snapshot-index exact,
bare-source exact, source prefix)" term becomes "+ 1 (projection:
snapshot-index exact)" in each. Verifiable by inspection: every one of the five
contributing extensions — `GateRoutesExtension`,
`ProjectionRoutesExtension`, `RoleAuthorityProjectionExtension`,
`EvidenceProvenanceSurfaceExtension`, `ModelScenarioWorkbenchExtension` —
returns exactly one binding from `routes()` now.

WHY THE GREEN RUN DID NOT CATCH IT, which is the half worth recording. These
three suites are outside RULED Q-L8 (b′)'s four narrowed files, and they do not
run here for a SECOND reason besides: they error in `tests/conftest.py`'s
`declared_human_console` autouse fixture before their own `doc_health` skip
guard is ever reached — 8, 10 and 12 errors respectively, identical before and
after this branch. So the count would have sat wrong until the BUILD arc made
them runnable, and then failed as a mystery. A stale number in a suite nothing
runs is exactly the defect class § 1.2(d) is about.

The `does_not_sit_under_either_declared_prefix` checks KEEP their `/source/`
assertion and gain the reason why: since S6 that prefix is
`opendox/serve.py`'s CORE arm rather than this column's contributed binding,
which makes the check MORE necessary, not less — `collect_bindings` never sees
a core arm, so it cannot refuse a contributed route that nests under one.

`validate` still green (122 passed).

Refs opensoft/openXfactory#656

Lane: openxfactory-4-opendox-extraction
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

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

Update stale seam expectations and align the documentation and source-route test ownership.

Review details

Suppressed comments (3)

src/openxdox/serve_projection.py:309

  • This changes the extension contract from three bindings to one, but the in-repo seam tests still hard-code the old projection totals (5/6/7) and describe the /source pair as part of this extension (tests/test_role_authority_projection_seam.py:88-106, tests/test_evidence_provenance_surface_seam.py:100-120, and tests/test_model_scenario_workbench_seam.py:121-125). Once those suites are collectible, they fail; update the counts/route expectations or move those assertions with the corresponding slice.
    def routes(self) -> tuple[route_extension.RouteBinding, ...]:
        return (
            route_extension.RouteBinding("GET", SNAPSHOT_INDEX_ROUTE, False,
                                         "_serve_index"),
        )

src/openxdox/serve_projection.py:302

  • The ownership change is not reflected in the neutral seam's authoritative documentation: src/route_extension.py:84-110 still says SOURCE_PREFIX carries the in-tree containment check and that this assembly's /source + /source/ pair is intentionally legal. After this removal that description is false and can lead a future contributor to re-declare the route here; update it with this ownership change.
    THE `/source` PAIR IS GONE FROM THIS TUPLE and is `opendox/serve.py`'s core
    arm now. The column's OTHER three contributed routes — `/projections/evidence`,
    `/projections/workbench`, `/projections/role-authority` — were never declared
    here: each travels with the surface that answers it
    (`evidence_provenance_surface.py`, `model_scenario_workbench.py`,
    `role_authority_projection.py`), and the ruling leaves all three untouched.

src/openxdox/serve_projection.py:38

  • The source implementation is removed from this leg, but tests/test_source_dot_directories.py is still present here and exercises /source through opendox.serve (including serve_mod.resolve_source_path). That leaves the S6 route-security suite owned by the wrong leg and contradicts the stated move of this file to openDox-code; include the file move/removal in this change so the code-leg tests do not retain coverage for a route it no longer implements.
So `SOURCE_PREFIX`, `BARE_SOURCE_ROUTE`, their two `RouteBinding`s and the three
methods they reached (`_serve_source`, `_refuse_bare_source`, `_keyed_source`)
are now FIXED CORE ARMS of `opendox/serve.py`, together with the single-root
containment entry point `resolve_source_path` — whose only readers outside this
file were already openDox's (`serve.py`'s re-export and `notebook_action.py`'s
  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 12, 2026 17:34
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The current openDox pin lacks the replacement /source implementation, causing the routes and resolver to be unavailable.

Get a fresh assessment by requesting another Copilot review.

Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread src/openxdox/serve_projection.py Resolved

@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 1 day and 22 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap
brettheap merged commit d6e7bbe into main Sep 12, 2026
4 checks passed
brettheap added a commit to opensoft/openDox-code that referenced this pull request Sep 12, 2026
Lane: openxfactory-4-opendox-extraction

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5647354329.

**RULED Q4** (Brett Heap, 2026-09-12, opensoft/openXfactory#656 comment
`5642758731`): "`/source/` is openDox's, and openXdox's projection binding
keeps only `/snapshot-index.json` and the three `/projections/*` routes." This
leg is the openDox half of § 3.4 slice S6: `serve.py` declares
`SOURCE_PREFIX`/`BARE_SOURCE_ROUTE` and the three moved handlers as two FIXED
arms in `_route`, exact `/source` above prefix `/source/`, both above the
§ 2.4 contributed consult — the order the bindings already had, preserved
rather than rediscovered, so a contributed `/source/` binding can no longer
shadow it. `tests/test_source_core_arm.py` (CREATED, on `validate`'s explicit
list, 25 assertions, no xfail) proves the route is declared here, the column
no longer carries it, exact-before-prefix dispatch, unshadowability, and one
containment authority with no re-implementation. Census assertion 2's
residue drops from 20 to 16 sites as `views/viewer.js` and `views/wheel.js`
clear without an edit to either file. Pairs with opensoft/openXdox-code#17.

Gate evidence: destination gate; `validate` SUCCESS at `f97e6ab9` (run
34712023823); 2 review threads, 0 unresolved (one on S3's own
`view_extension.js`, left for and since resolved by its owner opensoft/
openDox-code#14; the pin/release-ordering finding on this leg's `serve.py` —
replied and registered on #656 rather than fixed here, for the same reason as
the counterpart thread on openXdox-code#17).
brettheap added a commit that referenced this pull request Sep 12, 2026
S6's /source pair landed on main (#17); leg A takes it before its own round-2
fixes so the probes and the narrowed validate measure the same tree main has.

Lane: openxfactory-4-opendox-extraction
Refs opensoft/openXfactory#656

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
brettheap added a commit to opensoft/openXdox that referenced this pull request Sep 13, 2026
…n column) and openDox pin to 7cf6c143 (S3/S4/S6 landings) (#9)

Lane: openxfactory-4-opendox-extraction

Refs opensoft/openXfactory#656 (stays OPEN). CLAIM: 5647338637.

Second leg of the pin lockstep: `code` advances `af15f712` → `d6e7bbe3` (S6),
`contracts/opendox-pin.yaml` advances `8ec3036c` → `7cf6c143` (matching
opensoft/openDox#7). `spec` unchanged.

Gate evidence: destination gate; `validate` SUCCESS (base confirmed `main`);
`scripts/validate-pins.py --pin-source openDox=<sibling clone>` recomputes
every digest (`pins ok`); `validate-manifest.py` and
`validate-repository-naming.py` also pass. 1 review thread, 0 unresolved —
Copilot's pin-ordering finding (`openXdox-code`'s own `pyproject.toml` still
depends on `openDox-code@a99eba03`), the same shape as two already-
registered findings on opensoft/openDox-code#16 and opensoft/openXdox-code#17
— replied (out of scope for an assembly-root pin bump; the remediation is
`openXdox-code`'s own separate pin-bump ceremony per
`docs/opendox-cutover-runbook.md` § 5.1, design D12, "two pin moves per
hop") and registered on #656, resolved. CLEAN/MERGEABLE, not draft.
brettheap added a commit to opensoft/openXfactory that referenced this pull request Sep 13, 2026
… 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 <noreply@anthropic.com>
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