Skip to content

T086, openXdox contributes its columns: the governed gate, scope, kickoff and register at openDox's seams, the two route columns through the facet, the direction at (0, 0) (plan 034) - #37

Merged
brettheap merged 23 commits into
mainfrom
build/034-p3x-t086-columns
Oct 5, 2026

Conversation

@brettheap

@brettheap brettheap commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Arc: neutral-product-standalone-operability

Plan 034 T086 (P3-X), in openxFactory specs/034-opendox-standalone-operation/: openXdox contributes its columns. This is the governed half of R1Q10 (a) for #1144 4.3 (the consumer half), 9.2 (the ratchet) and F5.2's three repairs.

"It contributes the gate and projection mixins, doxbench_scope and its gate primitives through the seams, as the governed half of R1Q10 (a). OPENDOX_BACK_IMPORTS becomes (0, 0) in the SAME landing that moves the pin to the openDox-code commit T087 pins, which carries T084."

Phase 3, after T087. T087 landed the openDox root at e1e3a3c3, pinning openDox-code dede32b4, and this change pins the same commit in its last commit. It stays a draft until the holder marks it READY.

The pin. pyproject.toml pins openDox-code dede32b4, the commit T087 pins the openDox root at. It is #79's squash (T099's release step, version 0.1.0), and it carries:

  • T084 (#77, e49b17c3) and T103 (#80, 390e2c27);
  • T082 (#76), T100 (#82) and its follow-on (#86, 651c35fe);
  • T104 (#84, 32943cbf) and T099's publishing (#78, d59f3f26).

The move is this change's last commit, and it changes only the pin and the comments that name it (Brett, opensoft/openXfactory#656 comment 5961364221, item 3; T090 step 3). Until T087 the branch tested at openDox-code main c4b55cc4 (the holder's ruling (a), 2026-10-04). Before that it tested at ebe0a35f, a PR-only commit: #77 squash-landed as e49b17c3, so ebe0a35f is on no branch of main.

Before T087, local dry runs only. None of them was pushed:

  • a candidate, openDox-code main c4b55cc4 merged with #76 9948dc2b, #82 e05c475c and #84 182cac76 (9069aaa8);
  • then openDox-code main 651c35fe, once #84 and #86 had landed.

The evidence below is read at dede32b4 itself.

Rulings. R1Q1 (a), R1Q7 (a), R1Q22 (a), comment 5817152735; R1Q10 (a), R1Q25 (b), comment 5850003126; F5.2's three repairs, comment 5962785556, item 1. T086's prep questions Q1 to Q9 were all ruled (a) by the holder on 2026-10-02, relayed on the lane's thread. Brett's ruling at comment 5961651355 has openDox's default scope mark a tile's own documents editable. The tree at 32: comment 5970917267.

The holder's rulings of 2026-10-04, as applied here:

  • Until T087 the testing pin was openDox-code main c4b55cc4 (ruling (a)). OPENDOX_BACK_IMPORTS is (0, 0) on the branch, and lands in the same squash as T087's pin. tests/test_edit_action.py asserts exactly (403, "invalid_host"). The candidate dry run stays local. After T087 the final commit changes only the pin literal and the comments that name it, which is how 57bebd8b landed on the branch.
  • The intake's TEST-ONLY stand-in host trust policy, plus a case for the standalone refusal (ruling (a), with an addition). It comes with mutants in both directions, and openXdox's src registers no policy (item 7c).
  • The conftest stand-in host for the sixteen token-reading suites, approved as described (item 7b).
  • The intake stand-in's record() stays MachineTrust's (ruled 2026-10-05). The stand-in is TEST-ONLY for the intake cases, and none of them asks record(). Its docstring says so.

What changes

1. src/openxdox/column_contributions.py (new). openXdox's governed columns at T084's four seams, modelled on projection_contributions (T059):

  • gate: GATE forwards gate_console's names, with gate_routes.first_edit_gate_factory beside them, read on each use, so a monkeypatch is seen and except <gate>.GateRefused holds by identity;
  • scope: the openxdox.doxbench_scope module;
  • kickoff: KICKOFF forwards kickoff's four names;
  • register: the openxdox.register module.

register() is idempotent and all or none. A refused call gives every seam it wrote back what it held, including an unread default, as a default. So one process runs on the four governed columns or on openDox's four defaults, never a mix.

The group rule (Q1 (a)). gate_console.py imports openxFactory's doc_health at module level, and openDox probes every name at registration. So the four register only where gate_console imports. Where doc_health is missing, nothing is written, SKIPPED names the reason, and openDox's defaults stand. Any other import error is raised.

domain_profile.register() calls it after projection_contributions.register(). load() still registers nothing.

2. The facet (R1Q1 (a); Q2 (a), Q3 (a)).

  • GateRoutesExtension.HANDLER_CONTRIBUTIONS = (GateRoutes,) and ProjectionRoutesExtension.HANDLER_CONTRIBUTIONS = (ProjectionRoutes,), as plain tuples.
  • ProjectionRoutes is trimmed to _serve_index. Its other four methods (_query_key, _read_snapshot, _serve_snapshot, _hosted_entry_refused) have been the core handler's own since T055, so they were dead copies, and the facet refuses a mixin that shadows the core. _serve_index reaches none of them.
  • hosted_ref_refused and hosted_index stay module functions, because openxFactory's lane column imports the first.

This closes the RouteBindingError T104's governed run found. That run had 207 of 240 failing in openxFactory's four token-reading suites at openDox-code#80's head. The cause: at #77's stack the core has no _serve_index or _handle_gate_action, and openXdox's extensions declared no mixin, so build_server refused every server that collected them. The openxFactory host side is T094's (listed below).

3. The direction, strictly (9.2). From e49b17c3, where T084 landed, _back_import_census() returns no row (measured at e49b17c3, c4b55cc4 and the candidate).

  • OPENDOX_BACK_IMPORTS is empty, and stays as the source of both totals.
  • test_the_pinned_opendox_does_not_import_openxdox_back asserts (0, 0) and an empty census.
  • test_the_ratchet_retires_itself_when_the_inversion_is_gone is deleted, as it asked. Its tick named the archived split-opendox-two-layer-product § 4.1, so the narrative cites #1144 4.3 and 9.2 instead.

4. F5.2's three pre-arc reds, repaired (tests/test_session_snapshot.py; 5962785556 item 1). There are three entries in tests/protected_suite_respellings.yaml, chained by blob for F5.2's --chains: f78c4452 → 07880533 → 345b55e6 → b606be3d.

# Test Was Edit Entry
16 test_a_session_key_is_validated_against_the_roster_before_url_composition the node probe could not find ./display.js, which the model imports since openDox-code#21 copy the sibling beside the model admitted
17 test_the_hosted_session_arrival_path_is_recorded_and_not_built IndexError: the loop named _handle_refresh_action, openxFactory's lane column, which never arrived here the loop names this leg's two routes; the lane route's check moves to openxFactory (T094, Q8 (a)) admitted
19 test_a_new_serve_process_re_registers_the_session_at_startup AttributeError on opendox.serve.SNAPSHOT_INDEX_ROUTE read serve_projection.SNAPSHOT_INDEX_ROUTE and build the serve with ProjectionRoutesExtension() respelling

5. One 12.5 respelling (Q5 (a)), entry 18. tests/test_branch_session.py::test_serve_hands_the_route_its_registry_and_repository reads GateRoutes._handle_gate_action where it lives, instead of the core handler, which no longer carries it. Its blobs are 038d72c4 → bd5116ed, and its three assertions are unchanged.

6. The launch suite's phase-3 premise (Q4 (a)), with no protected byte changed. An autouse fixture in tests/conftest.py applies to tests/test_snapshot_validation_launch.py alone. It:

  • selects the local install;
  • scrubs every OPENDOX_* setting;
  • points OPENDOX_STATE_DIR at a scratch directory, never the operator's;
  • stands in the bundled PostgreSQL.

It knows two pin shapes: neither a bundle nor an install mode (it then changes nothing), or both. It refuses a pin with one but not the other.

7. tests/test_edit_action.py's rebinding case asserts exactly (403, "invalid_host"). Since T103 the edit route checks the Host first, as /capabilities does; before T103 the console check answered first, with agent_invocation. The file is no protected suite: 12.5's git grep finds nothing in it, and it is not in F5.2's glob.

7a. Step (a): the F9.2 test reads the 32-entry tree (RULED 5970917267, "Amend to 32 (Recommended)"; T007's batch O, openxFactory#1228).

  • The node is renamed, exactly, to tests/integration/test_assembled_surface.py::test_the_assembled_help_tree_is_the_32_entry_tree_the_manifest_records. validate.yml's LEFT_OUT names it in the same commit, so the --deselect never names a missing test.
  • The recorded tree gains ideation-dashboard model-binding trust, T100's verb.
  • The digest is the 32-entry text's: 9cc6e383…. It was measured from the test's own child, with doc_health importable, at the candidate. It is stable across working directories and terminal widths.
  • With doc_health importable in its child (as F9.2 will run it after T008), the test passes at the candidate. At c4b55cc4 it fails naming the missing trust.
  • It stays deselected in F9.1 and red in F9.2 until T008 (5859927858).
  • tests/integration/ is outside 12.5's pathspec tests/test_*.py, so the file is not protected.

7b. Step (b): the suites that read the console token run on a host's plane (T104, RULED openxFactory#656 comment 5963851934).

  • From T104 the token is published on /capabilities only on a host's plane. No module of this leg registers an openDox profile, so every server its tests build was standalone.
  • At the candidate, the declared-excluded files composed show 99 new reds against main. 98 are KeyError: 'console_token', and one is a capability document missing the token. They are in eight files. One of them is tests/test_session_confinement.py, a 12.5 suite whose token helper is module-level, so it cannot be an allow-list entry.
  • So tests/conftest.py registers a stand-in host, which contributes no route and no subcommand, for each test of the sixteen suites that read the token (HOST_PLANE_SUITES), and restores the registry afterwards. That is the step's second option ("or register openXdox's profile as a host"). No protected byte changes.
  • tests/test_host_plane.py (new, lone, 3 cases) holds three things:
    • the list equals a scan of tests/test_*.py;
    • the stand-in contributes nothing the default does not;
    • the delivery rule, in both pin shapes.

7c. T100's intake, in tests/test_doxchat_model_intake.py (the holder's ruling (a), 2026-10-04). From T100 the console intake runs the broker the served repository's model-declarations.yaml names only if a host's trust policy admits it. openDox's strict default never does.

  • A fixture, stand_in_host_trust, registers a TEST-ONLY stand-in host policy for each case that expects an intake to complete, so those cases keep testing the intake flow. The holder's ruling named the first two, test_a_completed_intake_keeps_only_the_reference_and_declares_it_pending and test_the_oauth_kind_surfaces_the_brokers_refusal_and_fakes_no_dance. Copilot (r4178050937) found four more: the grep test, both approval tests and the closed-catalog test. Those four were already red at main on the approval, and now fail there again with main's own reason. The request-validation cases do not ask for it, because their refusals come before the trust check. It is a test double of openxFactory's GovernedBindingTrust (T094; RULED 5970369724, "Governance approval"): it admits the intake, and is MachineTrust for every other question, with a scratch store. openXdox's src registers no trust policy ("T086 registers no trust policy").

  • A new case, test_with_no_host_policy_the_intake_refuses_the_repositorys_broker_by_name, holds the designed standalone behaviour. With no host policy the same intake is refused INTAKE_BROKER_UNTRUSTED, naming opendox.doxbench_trust.register, and the broker never starts.

  • Each case puts the trust seam back exactly as it found it (Copilot r4178080465). The fixture and the standalone case both run inside _trust_seam_restored. It saves the seam's three fields (_registered, _is_default, _default_read) and puts them back under the seam's lock, as this leg's column and profile isolation fixtures do. So a host policy registered before, or a default some consumer had read, survives every case. A third new case, test_the_trust_seam_is_left_exactly_as_each_case_found_it, holds two things:

    • a host policy registered before is back, and current() returns it;
    • a read default is back with both flags.

    At a pin before T100 it asserts that the guard does nothing.

  • openDox-code#86's trust API (T100's follow-on, in the pin):

    • From #86 (A5) the intake surface is offered only where the registered policy answers intake_verdict itself (doxbench_trust.intake_admissible). So test_a_declared_broker_offers_both_kinds_and_the_dialect_vocabulary, which expects the intake OFFERED, asks for the stand-in too. Without it the case stopped at offered is False. With it the case is back on its own release-2 red: the offered auth kinds lack "none".
    • The standalone case also holds A5. With no host policy the surface answers offered: false, with no auth kinds, and gives INTAKE_NOT_ADMISSIBLE as its reason, naming opendox.doxbench_trust.register.
    • Its POST sentence stays INTAKE_BROKER_UNTRUSTED, because no host is registered and the basis is openDox's own. A host policy that declines would read INTAKE_HOST_NOT_ADMITTED (D3, comment 5985490378).
  • Mutants:

    • at the candidate: the fixture dropped, and both flow cases fail; the stand-in admitting by default, and the standalone case fails; a guard that only unregisters, and the restore case fails;
    • at 651c35fe: the surface case without the stand-in regresses to offered is False; intake_admissible forced true, and the standalone case fails; a stand-in with no intake_verdict of its own, and the surface case and both flow cases fail.
  • The whole file reads 10 failed and 33 passed at dede32b4, at 651c35fe, at the candidate and at c4b55cc4: the same 10 nodes, with the same reasons, each time (release 2's; the file is declared-excluded).

8. Tests (new).

  • tests/test_column_contributions.py, 20 cases, runs lone. It covers:

    • the seams' private names this module reads;
    • over stand-ins: idempotence, replacing unread defaults, a refusal giving back defaults as defaults, a read default leaving all four on the default, and unregister() taking only its own;
    • the group rule: doc_health missing, any other missing module, and an ImportError that is no missing module;
    • forwarding on use;
    • register() and not load();
    • the scope contrast: one cluster tile, with the members editable under openDox's default and not under the governed authority;
    • the facet: plain one-class tuples; each column holds only what its bindings name; it composes (GateRoutes, ProjectionRoutes) after the core; a shadowing column is refused.
  • tests/test_column_contributions_governed.py, 9 cases, where doc_health imports. It covers:

    • each seam holds openXdox's column, and gate_records_writable() is true;
    • the gate and kickoff are their modules' own names;
    • the scope seam answers the governed rule;
    • a read default refuses the governed columns;
    • a real server collecting both extensions serves /snapshot-index.json, claims the gate in /capabilities, and answers POST /actions/gate/create-document from the gate door, not unknown_action.

    Lone, it stops at import on doc_health alone, so tests/declared_exclusion.yaml lists it under that reason (Q9 (a), T044's precedent): the count goes 65 → 66.

9. Floors. validate.yml's triple moves from 1076/1072 to 1099/1095, with skipped exactly 4. The reasons:

  • +20, tests/test_column_contributions.py;
  • +3, tests/test_host_plane.py;
  • +1, the declaration's case for the governed file;
  • -1, the ratchet reminder.

The same reading holds at c4b55cc4 and at dede32b4.

Files outside T086's slice row (Q7 (a)), to record in the next plan bookkeeping round: .github/workflows/validate.yml, tests/conftest.py, src/openxdox/serve_gate.py, serve_projection.py, domain_profile.py, tests/test_session_snapshot.py, tests/test_branch_session.py, tests/test_edit_action.py, tests/test_doxchat_model_intake.py, tests/integration/test_assembled_surface.py, tests/declared_exclusion.yaml and tests/protected_suite_respellings.yaml; created: tests/test_host_plane.py.

F5.2: the 26 cases red at today's mains, each accounted for

The holder's T089 dry run (2026-10-03) found F5.2 red on 26 cases at today's mains (openXdox-code 6a3b93b9 at openDox-code c4b55cc4), not on the three the ruling names. I reproduced the same 26 nodes. With this branch, all 26 pass at c4b55cc4 and at the candidate: F5.2's seven suites read 153 passed at both.

Each part was attributed by reverting it alone in this tree and re-running at c4b55cc4. Every node goes red again under exactly the part named. Only three of the 26 needed a protected edit, and each has its R1Q7 (a) entry. The other 23 are repaired with no protected byte changed:

  • 16 by the governed columns registering (item 1);
  • 9 by the launch fixture (item 6).
# Node Red at today's mains as Repaired by (reverting that part alone turns it red again) Protected edit
1 test_session_snapshot.py::test_a_branch_with_no_worktree_is_not_live_and_reports_stale GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
2 test_session_snapshot.py::test_a_created_document_is_in_the_session_snapshot_and_absent_from_mains GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
3 test_session_snapshot.py::test_a_fresh_process_re_registers_the_live_session_and_a_write_joins_it GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
4 test_session_snapshot.py::test_a_hosted_request_naming_a_non_main_ref_refuses GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
5 test_session_snapshot.py::test_a_new_serve_process_re_registers_the_session_at_startup GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) + entry 19 entry 19
6 test_session_snapshot.py::test_a_second_actor_joining_the_session_sees_the_sessions_drafts GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
7 test_session_snapshot.py::test_a_session_key_is_validated_against_the_roster_before_url_composition GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) + entry 16 entry 16
8 test_session_snapshot.py::test_a_worktree_whose_branch_is_gone_is_not_re_registered_and_reports_stale GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
9 test_session_snapshot.py::test_every_cli_verb_bootstraps_its_own_process_registry GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
10 test_session_snapshot.py::test_publication_and_indexing_of_a_session_snapshot_refuse GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
11 test_session_snapshot.py::test_the_bootstrap_is_the_liveness_a_fresh_propose_refusal_will_read GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
12 test_session_snapshot.py::test_the_freshness_header_names_the_session_branch_as_the_active_ref GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
13 test_session_snapshot.py::test_the_hosted_session_arrival_path_is_recorded_and_not_built IndexError entry 17 entry 17
14 test_session_snapshot.py::test_the_keyed_source_returns_the_worktree_bytes_and_never_falls_back GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
15 test_session_snapshot.py::test_the_session_snapshot_regenerates_after_every_gate_action GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
16 test_session_snapshot.py::test_the_shared_surfaces_keep_rendering_main_while_a_session_is_live GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
17 test_session_snapshot.py::test_unregistering_the_entry_is_the_one_way_a_session_stops_being_live GateRecordsNotRegistered (no governed gate registered) the governed columns (item 1) none
18 test_snapshot_validation_launch.py::test_a_non_conformant_snapshot_still_blocks_and_blames_the_snapshot the hosted default: OPENDOX_OIDC_ISSUER is required the launch fixture (item 6) none
19 test_snapshot_validation_launch.py::test_a_run_dir_beside_a_checkout_still_uses_that_one_first the hosted default: OPENDOX_OIDC_ISSUER is required the launch fixture (item 6) none
20 test_snapshot_validation_launch.py::test_missing_validator_dependencies_warn_and_the_server_still_starts the hosted default: OPENDOX_OIDC_ISSUER is required the launch fixture (item 6) none
21 test_snapshot_validation_launch.py::test_strict_is_fatal_when_no_validator_is_reachable_either the hosted default: OPENDOX_OIDC_ISSUER is required the launch fixture (item 6) none
22 test_snapshot_validation_launch.py::test_strict_makes_an_unrunnable_validator_fatal the hosted default: OPENDOX_OIDC_ISSUER is required the launch fixture (item 6) none
23 test_snapshot_validation_launch.py::test_the_classifier_reads_the_exit_code_not_the_dependency_sentence the hosted default: OPENDOX_OIDC_ISSUER is required the launch fixture (item 6) none
24 test_snapshot_validation_launch.py::test_the_default_shaped_launch_validates_from_the_repo_root the hosted default: OPENDOX_OIDC_ISSUER is required the launch fixture (item 6) none
25 test_snapshot_validation_launch.py::test_the_dependency_warning_carries_the_pip_remedy_and_clears_the_corpus the hosted default: OPENDOX_OIDC_ISSUER is required the launch fixture (item 6) none
26 test_snapshot_validation_launch.py::test_when_neither_root_reaches_a_validator_the_message_names_both the hosted default: OPENDOX_OIDC_ISSUER is required the launch fixture (item 6) none

Evidence (head 57bebd8b; pin dede32b4)

Every reading is at openDox-code dede32b4, installed as CI installs it (pip install -e ".[test]"). Each is set against openXdox-code main 6a3b93b9 with only its pin literal moved to the same commit.

  • Lone, validate.yml's pytest command: selected 1099, passed 1095, skipped 4, with no failure or error. That is margin 0 on both floors, and skipped == 4. main at the same pin fails 2, and this change repairs both:

    • the declaration's case for tests/test_snapshot_validation_launch.py;
    • the ratchet.

    CI's validate at this head (run 37307785866) read selected=1099 passed=1095 skipped=4.

  • tests/test_dependency_direction.py: 17 passed. The census is empty, as it is from e49b17c3. Three ratchet mutants are killed.

  • F5.2's seven gen suites, composed: 153 passed. main at the same pin reads the 26 tabled above.

  • Every declared-excluded file, composed: 631 reds, against 996 for main at the same pin. None is red here and not on main. The 631 are the same nodes the candidate and 651c35fe read, all release 2's. One of them, tests/test_doxbench_request_handling.py::test_an_over_cap_first_edit_body_gets_an_honest_measured_size_refusal, is red on every run with a reason that varies run to run: 404 == 413, or a broken pipe. On main it fails on the console token.

  • The other files, composed (doc_health importable, nothing deselected): 2 failed. main at the same pin fails 4. Of the two:

    • the 32-entry node: its child has no doc_health, as F9.2 reads it until T008;
    • test_first_attribute_access_refuses_and_names_the_layering: it fails in composition only, and on main too.
  • The 32-entry help tree: with doc_health importable in its child, the test passes. There are 32 entries, and the digest 9cc6e383… holds at dede32b4, as at the candidate and at 651c35fe.

  • 12.5's governed set (16 files), composed: 174 reds, against 390 for main at the same pin, and none new.

    • Entry 18's case is repaired.
    • tests/test_staging_workbench.py::test_only_the_plane_postures_still_stand_as_an_inline_note (assert 5 == 3 on showPostureNote() is red on main too. It is T102's (openDox-code#81, 0116293a), not this change's. 12.5 is release 2's and informational here. The suite is protected, and T086 does not edit it.
  • T104's readers: the console token stays on /capabilities on a host's plane. The sixteen suites run on the stand-in host. In the two composed runs above they show no red that main does not read. Before #84 landed, gate_console, serve_gate, role_authority_projection and their 41 test files read identically at openDox-code main and at #84's head 182cac76.

  • The new tests:

    • 20 lone in tests/test_column_contributions.py, plus 9 composed in the governed file; nine mutants, all killed;
    • 3 lone in tests/test_host_plane.py; two mutants killed;
    • the intake cases; six mutants killed (item 7c).
  • A squash-landing simulation (a scratch squash onto main at cc07511a, then deleted):

    • F5.2's --chains admits tests/test_session_snapshot.py by entries 16, 17 and 19;
    • 12.5's call admits tests/test_branch_session.py by entry 18;
    • those two are the only protected paths the landing touches.

    The commits since touch only tests/test_doxchat_model_intake.py, which no protected set holds, along with validate.yml and pyproject.toml.

The final commit

57bebd8b is the commit after T087. It changes only:

  1. pyproject.toml:126, the pin literal: c4b55cc4702d82c7480de49cbecf515e1d7c9fdf → dede32b4b6f3d0f147d599776f83628c5af8ff3d;
  2. the two comments in validate.yml's floor note that named the testing pin:
    • line 324 now calls c4b55cc4 "the pin it was built at";
    • lines 337 to 339 name dede32b4, where the floors were read again: 1099/1095/4.

Two other comments name c4b55cc4, but only as the base of the local composition a measurement was taken at. They stay as they are:

  • tests/conftest.py:514, the 99 token reds;
  • tests/integration/test_assembled_surface.py:32, the 32-entry digest.

At dede32b4 the lone triple, F5.2 and the 32-entry digest read as they did at the candidate, so the commit is only the pin. openxFactory's phase-3 golden (the non-arc PR ahead of T094, E1 (a)) must hash to the same digest.

OPENDOX_BACK_IMPORTS is (0, 0), true from e49b17c3 on, and the squash lands it together with T087's pin, which is 4.3's "same landing".

Owed elsewhere

T094 (openxFactory's host side; listed in T086's prep §3, nothing edited there):

  • scripts/opendox_host.register_openxfactory() calls column_contributions.register() after T064's projection line (Q6 (a));
  • the module seals and the carve admissions (created: gains src/openxdox/column_contributions.py, tests/test_column_contributions.py, tests/test_column_contributions_governed.py and tests/test_host_plane.py);
  • the parity test's MRO layout and test_serve_column_split.py's four snapshot rows, which move to the core;
  • test_openxfactory_host_wiring.py's "second copy of the column" check and its contributed tuple, which now has three entries;
  • the lane route's hosted_ref_refused( check (Q8 (a));
  • the trust policy at T100's seam. openXdox registers none (the holder's answer, 2026-10-03), and Brett ruled "Governance approval" for openxFactory's policy (openDox + openXdox: two open-source layers, an installable app with users, projects and a database; domain descendants pin openXdox (Brett's ruling 2026-09-04) openXfactory#656 comment 5970369724).

12.5 (release 2, informational): tests/test_staging_workbench.py::test_only_the_plane_postures_still_stand_as_an_inline_note is red at openDox-code main from T102 (#81). It is a protected suite, so a respelling needs its own entry, in release 2's 12.5 or in a T102 follow-on.

Copilot's "previously missed" note at 57bebd8b (not a thread; the holder's call). tests/test_session_snapshot.py:691 copies display.js into a temporary directory that carries no {"type": "module"} marker. So a Node without ESM syntax detection (before 20.19 or 22.7) would read the file as CommonJS, and the probe would fail.

  • Both gates that run this suite set Node 22, which detects it: openxFactory's openxdox-consumer-gate.yml and pytest-suite.yml.
  • openXdox-code's own validate does not run it, because the file is declared-excluded.
  • Locally, Node 24 passes it at every pin above.

So it is left as it is. Adding the marker would be a fourth respelling of a protected suite, entry 20, chained after b606be3d.

T097 ticks 9.2's box from this landing (batch F's addendum). F5.2's box closes at T089 (5962785556 item 1).

🤖 Generated with Claude Code

brettheap and others added 14 commits October 2, 2026 23:41
…(pre-arc carve residue, 1 of 3)

tests/test_session_snapshot.py::test_a_session_key_is_validated_against_the_roster_before_url_composition
failed before any assertion ran: openDox-code#21 (section 3.4 S7, 1e46971)
made web/views/repo-selector-model.js import "./display.js" after the carve,
and the node probe copied the model alone. The test now copies the sibling
beside it; display.js imports nothing, so the two files are the model's whole
import closure, at openDox-code 047bb4fa and at plan 034 T084.

Entered in tests/protected_suite_respellings.yaml as an admitted edit (R1Q7
(a), openxFactory#656 comment 5817152735), on Brett's ruling at #656 comment
5962785556 item 1 ("Fix in T086, close at phase 3"). It is the first step of
this landing's chain for the suite (F5.2's --chains), from main's blob
f78c445. Independent of T084.

Composed (F5.2's environment, openxFactory scripts on PYTHONPATH), openDox
installed at the pin 047bb4fa: the case passes; the suite reads 2 failed, 21
passed, the two being the other pre-arc reds. Lone: the declared-exclusion
classifier for the file and tests/test_protected_suite_check.py, 55 passed.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…-arc carve residue, 2 of 3)

tests/test_session_snapshot.py::test_the_hosted_session_arrival_path_is_recorded_and_not_built
raised IndexError: its per-route loop split the serve surface on
"def _handle_refresh_action(", which is openxFactory's lane column
(serve_openxfactory_lanes.py, a stays_openxfactory_adapter row under RULING
DQ-1). It never arrived at this leg, and tests/conftest.py lists it in
SERVE_SURFACE_NOT_AT_THIS_LEG. The loop now names this leg's two routes; the
lane route's check moves with its owner to an openxFactory host test (plan
034 T094, the holder's ruling on T086's Q8 (a)).

Entered in tests/protected_suite_respellings.yaml as an admitted edit (R1Q7
(a), comment 5817152735), on Brett's ruling at #656 comment 5962785556 item
1. It is the second step of this landing's chain for the suite (0788053 ->
345b55e). Independent of T084.

Composed, openDox at the pin 047bb4fa: the case passes; the suite reads 1
failed, 22 passed, the one being the T084-dependent index-route case. A mutant
that drops the predicate call from the first _serve_snapshot the surface reads
fails the case. Lone: the classifier for the file and
tests/test_protected_suite_check.py, 55 passed.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ood in (Q4 (a))

From openDox-code's T070 an install is hosted unless local is selected, and a
hosted install with no identity broker refuses. From T072 a local
generate-and-open starts its bundled PostgreSQL before it serves, even with
--no-serve, and the database arrives only with the `local` extra.
tests/test_snapshot_validation_launch.py drives that verb to prove where the
snapshot's validator comes from, and neither the install mode nor the
database decides that. For that suite alone, an autouse fixture in
tests/conftest.py now selects the local install, scrubs every runtime setting
the shell may carry, and stands the bundled server in, as openDox-code's
entry-point suites do. The suite is one of F5.2's protected suites, and none
of its bytes changes. This is the holder's ruling on T086's question Q4 (a).

The fixture knows two shapes of pinned openDox. With no bundle and no
install mode (the pin 047bb4fa) it changes nothing. With both (T070 and T072
on) it does the above. A pin carrying one and not the other is refused.

Composed (openxFactory/scripts on the path):
- openDox at 047bb4fa: 9 passed.
- openDox at a local simulation of T084's final shape (T084 WIP on T073, with
  the Late bases and consumer_reach.py removed; never pushed): 9 passed.

Mutants at the simulation:
- main's conftest: 9 failed, "OIDC_ISSUER is required and is not set, and this
  install is HOSTED".
- stand-in removed: 9 failed, "PostgreSQL server is not installed".
- the suite's file name misspelt: 9 failed, the hosted refusal.
- the scrub removed, with OPENDOX_OIDC_ISSUER in the shell: 9 failed, "a
  LOCAL install has no broker". With the scrub intact and the same shell, 9
  passed.
- the bundle module deleted while the install mode is kept: 9 errors, the
  two-shape guard's assertion.

Lone: the suite is in tests/declared_exclusion.yaml (doc_health), so a lone
run does not collect it.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…here it lives (Q5 (a))

tests/test_branch_session.py::test_serve_hands_the_route_its_registry_and_repository
read openDox's core DashboardHandler._handle_gate_action. At the pin 047bb4fa
that name is a Late-base forwarder, so the source it read carries none of the
route's wiring and the test fails an assertion. From openDox-code#77 (T084)
the gate column is no base of the core handler at all, so the read raises
AttributeError. The test now imports GateRoutes from openxdox.serve_gate,
where the method has lived since the carve, and reads it there. Its three
assertions are unchanged.

Entered in tests/protected_suite_respellings.yaml as one respelling (12.5's
computed set; R1Q7 (a), comment 5817152735), on the holder's ruling on T086's
question Q5 (a). Blobs 038d72c -> bd5116e. Independent of T084's final
seams.

Composed (openxFactory/scripts on the path):
- openDox at 047bb4fa: the case fails at main's spelling (an AssertionError
  on the forwarder's source) and passes at the new one. The suite reads 5
  failed, 127 passed, against main's 6 failed, 126 passed; the other five
  are the CLI scope-flag cases (SystemExit: 2), which this commit does not
  touch.
- openDox at the local simulation of T084's final shape: the case fails at
  main's spelling (AttributeError) and passes at the new one.

Mutants at the simulation, on src/openxdox/serve_gate.py (file restored):
- the session_registry kwarg dropped: fails.
- checkout_root moved off the served root: fails.

Lone: tests/test_protected_suite_check.py, 54 passed. The suite is in
tests/declared_exclusion.yaml (doc_health).

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…code#77)

The opendox pin moves from 047bb4fa (T062's commit, phase 2) to
b333bf169ddc79157c41e6f471f5d3fbf45c2afc, the head of openDox-code#77 (T084,
4.3's last reaches, with consumer_reach.py retired). That commit carries the
four column seams this landing contributes to (opendox.column_seams), the
handler-contribution facet with no Late bases left on DashboardHandler, and
the phase-3 stack beneath T084 (T070's install mode, T072's bundle, T073's
install block).

This is a testing pin. At landing, the pin moves to the openDox-code commit
T087 pins, in this same landing (Brett, openxFactory#656 comment 5961364221,
item 3; plan 034 T090, step 3).

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…penDox's column seams (4.3, consumer half)

New module src/openxdox/column_contributions.py, the governed half of R1Q10
(a) for the four column seams T084 declares (opendox.column_seams), modelled
on projection_contributions (T059):

- gate: GATE forwards gate_console's names, with gate_routes'
  first_edit_gate_factory beside them, read on each use;
- scope: the openxdox.doxbench_scope module;
- kickoff: KICKOFF forwards kickoff's four names, read on each use;
- register: the openxdox.register module.

register() is idempotent and all or none, with put-back: a refused call gives
every seam it wrote back to what it held, including an unread default it
replaced. The four are one group (the holder's ruling on T086's Q1 (a)): they
register only where gate_console imports. Where openxFactory's doc_health is
absent (a lone checkout), nothing is written, SKIPPED names why, and openDox's
defaults stand. Any other import error is raised.

domain_profile.register() calls it after projection_contributions.register(),
so this leg's root conftest and any openXdox-only host get the governed
columns. load() still registers nothing. openxFactory makes the same call in
its host (T094, Q6 (a)).

Probed in a fresh process at openDox b333bf16: lone, register() returns ()
with the doc_health reason and no seam holds a host's; composed, all four
hold openXdox's and gate_records_writable() is true.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…r-contribution facet (R1Q1 (a))

From T084 (openDox-code#77) DashboardHandler carries no Late bases, so the two
contributed bindings would name methods the server lacks: build_server refused
every server that collected them ("route bindings name handlers the request
handler does not have: _serve_index, _handle_gate_action"; openxFactory's
four token-reading suites, 207 of 240 red, at #80's head, measured by T104's
writer). Each route extension now declares the mixin its binding's method
lives on, as a plain one-class tuple, which the facet reads off every
collected extension (the holder's ruling on T086's Q2 (a)):

- GateRoutesExtension.HANDLER_CONTRIBUTIONS = (GateRoutes,);
- ProjectionRoutesExtension.HANDLER_CONTRIBUTIONS = (ProjectionRoutes,).

ProjectionRoutes is trimmed to _serve_index (Q3 (a)). Its other four methods
(_query_key, _read_snapshot, _serve_snapshot, _hosted_entry_refused) have been
the core handler's own since T055, so these copies were dead, and the facet
refuses a mixin that shadows a core name. _serve_index reaches none of them.
hosted_ref_refused and hosted_index stay module functions (openxFactory's lane
column imports the first). The imports the trim left unused go, with sys,
which nothing read before it.

At b333bf16 the facet composes (GateRoutes, ProjectionRoutes) after the core.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… (9.2)

At openDox-code b333bf16 (T084, openDox-code#77) _back_import_census()
returns no row: the eleven deferred reaches T059 left (branch_session.py
(0, 2), serve_project.py (0, 2), serve_workbench.py (0, 7)) each ask one of
openDox's four column seams, where this leg now contributes, and the two
mixin bases are gone. So, in the same landing that moves the pin (4.3's
wording):

- OPENDOX_BACK_IMPORTS is empty and stays the totals' one source;
- test_the_pinned_opendox_does_not_import_openxdox_back asserts the totals
  (0, 0) and an empty census, naming any module that reaches back;
- test_the_ratchet_retires_itself_when_the_inversion_is_gone is deleted, as
  it asked. Its tick named split-opendox-two-layer-product § 4.1, which is
  archived, so the narrative cites #1144 4.3 and 9.2 (batch F's addendum,
  R1Q25 (b)) instead.

The NEUTRAL_MODULES sentence is brought to the pin: openDox-code's
tests/test_consumer_reach.py holds fourteen at b333bf16 (consumer_reach out,
column_seams and default_columns in), and STILL_REACHING is empty.

tests/test_dependency_direction.py at b333bf16: 17 passed. Mutants, each
restored: a deferred `from openxdox import kickoff` appended to the installed
serve_project.py fails with {'opendox/serve_project.py': (0, 1)}; an
import-time `import openxdox.register` in rfc3339.py fails with (1, 0); a row
put back in the table fails the totals.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ion column (pre-arc carve residue, 3 of 3)

tests/test_session_snapshot.py::test_a_new_serve_process_re_registers_the_session_at_startup
raised AttributeError on opendox.serve.SNAPSHOT_INDEX_ROUTE.
/snapshot-index.json left serve.py for openXdox's projection column at the
carve (§ 2.4 PR-3, openxFactory #761) and became a contributed binding;
openDox-code#10 removed the import that kept the old name alive. The test now
reads serve_projection.SNAPSHOT_INDEX_ROUTE and builds its serve with
route_extensions=(ProjectionRoutesExtension(),), in place of the shared
_serving helper, which no entry can edit. It tears the serve down the same
way. Every assertion is unchanged, and the serve still starts from an empty
registry, which is the bootstrap under test. From T084 the route's method
arrives through the facet line this landing declares.

Entered in tests/protected_suite_respellings.yaml as a respelling, the third
and last step of this landing's chain for the suite (345b55e -> b606be3;
the chain is f78c445 -> 0788053 -> 345b55e -> b606be3), on Brett's ruling
at #656 comment 5962785556 item 1 and R1Q7 (a), comment 5817152735.

Composed, openDox at b333bf16: the suite reads 23 passed, all three pre-arc
reds repaired. A mutant that drops ProjectionRoutesExtension's
HANDLER_CONTRIBUTIONS fails this case alone, with build_server's
RouteBindingError for _serve_index.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…the pin carries it

tests/test_edit_action.py::test_rebinding_host_cannot_obtain_token_or_launch_an_editor
asserted that /actions/edit refuses a rebinding Host with (403,
"agent_invocation"), the console check's code. From openDox-code's T103
(openDox-code#80, the loopback Host gate, which stacks on T084) every loopback
route checks the Host first, so the same request gets (403, "invalid_host"),
the code /capabilities already answers. The assertion is now exact for each
shape of pinned openDox: "invalid_host" where opendox.serve carries T103's
host_names_this_loopback_serve, "agent_invocation" where it does not. The
other assertions are unchanged: /capabilities refuses the host and carries no
token, and the editor never launches. The file is no protected suite.

Composed: at b333bf16 (no T103) the file reads 22 passed; at #80's head
978f2646 (T103) the case passes, main's text fails it, and the file reads 22
passed.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…half declared under doc_health (Q9 (a))

tests/test_column_contributions.py (created; runs lone, so in F9.1), 20
cases:
- the four seams are openDox's and carry the private names this module reads;
- the contributions are the governed modules and their names;
- over stand-ins carrying each seam's names: register() writes all four and
  again is a no-op; it replaces unread defaults; a host's registration at the
  third seam refuses the call and gives the two seams written back their
  unread default, as a default; a read default refuses it and leaves all four
  on the default; unregister() empties only what it holds;
- the group rule (Q1 (a)): with doc_health (or doc_health.lines) missing,
  nothing is written and SKIPPED names the reason; any other missing module,
  or an ImportError that is no missing module, is raised;
- the forwarding contributions read their module on each use, and copying or
  repr-ing one imports nothing;
- domain_profile.register() registers the columns after the projection, and
  load() registers neither; a refused column call registers no profile;
- the scope contrast for Brett's 5961651355: on one cluster tile openDox's
  default marks the members editable and the governed authority does not;
- the facet: each extension declares its one mixin as a plain tuple; the
  columns hold only the methods their bindings name; the facet composes
  (GateRoutes, ProjectionRoutes) after the core with each method the column's
  own function; a column that shadows the core is refused.

tests/test_column_contributions_governed.py (created), 9 cases, where
doc_health imports: each seam holds openXdox's column; gate_records_writable()
is true; the gate and kickoff are their modules' own names, monkeypatches
seen; the scope seam answers the governed rule; a read default refuses the
governed columns and leaves every default; and a real server collecting both
extensions serves /snapshot-index.json through the column, claims the gate in
/capabilities, and answers POST /actions/gate/create-document from the gate
door (403 agent_invocation) rather than 404 unknown_action, which a server
collecting neither still answers. Lone, it stops at its first import on
doc_health alone, so tests/declared_exclusion.yaml lists it under doc_health
(count 65 -> 66), T044's precedent; the classifier case for it passes.

At openDox b333bf16: lone 20 passed; composed 20 + 9 passed. Nine mutants,
all killed (lone | composed): register_default in place of register (4 |
8 failed); the scope seam skipped (1 | 5); the put-back dropping the default
(2 | 2); any import error skipping (2 | 2); the gate caching a copy (1 | 3);
a dead method restored to ProjectionRoutes (2 | 3); HANDLER_CONTRIBUTIONS as
a list (2 | 3); the gate's facet line removed (3 | 4); the domain_profile
hook removed (2 | 7).

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…irectory

The launch-suite fixture (Q4 (a)) scrubbed every runtime setting, so
OPENDOX_STATE_DIR fell back to the operator's own state directory
($XDG_STATE_HOME/opendox, else ~/.local/state/opendox). A local install keeps
its bundle there (T072), and openDox's per-machine binding trust will keep its
record there (T100, RULED 5962785556 item 2). The fixture now points it at a
scratch directory from tmp_path_factory, and the stood-in bundle asserts that
it was handed that directory.

Composed at b333bf16: the launch suite reads 9 passed. Without the setting,
9 failed (the stand-in's assertion).

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
validate.yml's "Pin the triple" floors move from 1076/1072 to 1096/1092, on
the reading, with skipped exactly 4. Measured at this head, openDox-code
b333bf16 (the testing pin), in the pytest step's own command: selected 1096,
passed 1092, skipped 4, failures 0, errors 0. The +20, file by file against
main 6a3b93b:
- +20, tests/test_column_contributions.py (new);
- +1, tests/test_declared_exclusion.py, which gains the case for
  tests/test_column_contributions_governed.py (new, joining the declaration
  under doc_health; its nine cases are not in these numbers);
- -1, tests/test_dependency_direction.py, whose ratchet reminder went with the
  ratchet.
The step's own script, run locally over that report: margin 0 on both floors,
skipped == 4.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ntrast over id-named edges

The testing pin moves from b333bf16 to ebe0a35f2d2ae972d9653979f809a2d3b07e242d,
#77's fix round 3: openDox's default scope now reads a group's
document_edges as document IDs and projects each by its path, as openXdox's
governed authority already does (openDox-code#77, r4171136778). The two
scope-contrast cases (tests/test_column_contributions.py and
tests/test_column_contributions_governed.py) now give their documents ids
distinct from their paths, which the snapshot contract allows. Under both
authorities the cluster's members resolve to the same paths, and only the
default marks them editable. At b333bf16 the lone case fails, since that
default read an edge's id as a path; at ebe0a35f it passes. The pin's
mentions in tests/test_dependency_direction.py and validate.yml name the new
commit; NEUTRAL_MODULES (14), STILL_REACHING (empty) and the census (empty)
are unchanged.

At ebe0a35f: lone suite, validate.yml's command, 1092 passed, 4 skipped,
1 deselected (xml 1096/0/0/4), so the floors stand; the new files read 20
lone and 20 + 9 composed; the composed protected set reads the same as at
b333bf16: 173 reds, all main's, 0 new, the four repairs green.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 3, 2026 15:39
@sourcery-ai

sourcery-ai Bot commented Oct 3, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR integrates openXdox’s governed gate, scope, kickoff, and register mechanisms through openDox’s column seams, contributes the gate and projection route mixins through the handler facet, and completes the dependency-direction migration at zero back-imports. It also updates the openDox pin, repairs phase-3 protected tests, isolates launch-suite prerequisites, and raises CI coverage floors.

Sequence diagram for atomic governed column registration

sequenceDiagram
    participant Profile as domain_profile.register
    participant Columns as column_contributions.register
    participant Gate as gate_console
    participant Seams as openDox column_seams
    participant Defaults as openDox defaults
    Profile->>Columns: register()
    Columns->>Gate: import gate_console
    alt doc_health unavailable
        Gate-->>Columns: ModuleNotFoundError
        Columns-->>Profile: return () and set SKIPPED
        Seams-->>Defaults: retain four defaults
    else gate_console imports
        Columns->>Seams: register GATE, SCOPE, KICKOFF, REGISTER
        alt any seam refuses
            Seams-->>Columns: registration refusal
            Columns->>Seams: unregister written seams and restore defaults
            Columns-->>Profile: raise refusal
        else all seams accept
            Seams-->>Columns: four seams registered
            Columns-->>Profile: return gate, scope, kickoff, register
        end
    end
Loading

File-Level Changes

Change Details Files
Adds governed openXdox column contributions through openDox’s four seams with transactional, idempotent registration and fallback behavior.
  • Introduces forwarding gate and kickoff contributions plus scope and register module contributions.
  • Enforces all-or-none registration, unread-default restoration, import grouping, and teardown isolation.
  • Hooks column registration into domain-profile registration without affecting profile loading.
src/openxdox/column_contributions.py
src/openxdox/domain_profile.py
tests/test_column_contributions.py
tests/test_column_contributions_governed.py
Moves gate and projection route behavior onto openDox’s handler-contribution facet.
  • Declares gate and projection mixins through plain HANDLER_CONTRIBUTIONS tuples.
  • Reduces ProjectionRoutes to the non-core _serve_index method and rejects shadowing core methods.
  • Adds composed-server coverage for contributed routes, capabilities, and gate actions.
src/openxdox/serve_gate.py
src/openxdox/serve_projection.py
tests/test_column_contributions.py
tests/test_column_contributions_governed.py
Completes the dependency-direction ratchet at zero back-imports and updates the pinned openDox revision.
  • Pins openDox-code to ebe0a35f and asserts an empty back-import census.
  • Removes the obsolete ratchet-reminder test and updates dependency-direction documentation.
pyproject.toml
tests/test_dependency_direction.py
Repairs phase-3 protected tests and supplies a controlled launch-suite environment for the new dependency pin.
  • Fixes JavaScript probe fixture closure, route-surface ownership, and contributed index-route setup.
  • Respells the gate handler lookup to its contributed mixin.
  • Adds local-install, environment-scrubbing, scratch-state, and bundled-database stand-ins for launch tests.
tests/test_session_snapshot.py
tests/test_branch_session.py
tests/conftest.py
tests/test_edit_action.py
tests/protected_suite_respellings.yaml
tests/declared_exclusion.yaml
Raises CI test-count floors to reflect the new coverage and repaired exclusions.
  • Adds the new test file’s 20 cases and governed-file exclusion accounting.
  • Updates selected, passed, and exact-skipped floors to 1096, 1092, and 4.
.github/workflows/validate.yml

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.

Copilot review overview

🔵 Needs a closer look

It is explicitly draft and depends on coordinated upstream and host-side pin landings requiring final human review.

Review effort: Balanced
Findings: None

What changed in this PR

Contributes openXdox’s governed columns through openDox’s seams and completes phase-three route composition and compatibility work.

Changes:

  • Adds atomic gate, scope, kickoff, and register contributions.
  • Connects gate and projection handlers through the route facet.
  • Updates dependency-direction guards, compatibility tests, and CI floors.
File Description
.github/​workflows/​validate.yml Raises validation floors.
pyproject.toml Updates the openDox testing pin.
src/​openxdox/​column_contributions.py Implements governed column registration.
src/​openxdox/​domain_profile.py Registers column contributions with profiles.
src/​openxdox/​serve_gate.py Declares the gate handler contribution.
src/​openxdox/​serve_projection.py Declares and narrows the projection contribution.
tests/​conftest.py Isolates launch-suite runtime configuration.
tests/​declared_exclusion.yaml Declares the governed suite dependency.
tests/​protected_suite_respellings.yaml Records protected-suite changes.
tests/​test_branch_session.py Updates gate-route ownership assertions.
tests/​test_column_contributions.py Tests standalone contribution mechanics.
tests/​test_column_contributions_governed.py Tests composed governed behavior.
tests/​test_dependency_direction.py Enforces zero openDox back-imports.
tests/​test_edit_action.py Covers both Host-gate pin shapes.
tests/​test_session_snapshot.py Repairs contributed-route and web-module tests.

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

brettheap and others added 5 commits October 4, 2026 13:18
…sal is invalid_host

The testing pin moves from ebe0a35f to c4b55cc4702d82c7480de49cbecf515e1d7c9fdf,
which is openDox-code main. ebe0a35f was a PR-only commit: openDox-code#77
(T084) squash-landed as e49b17c3, so ebe0a35f is on no branch of main, and a
pin must name a main commit (the holder's ruling (a), 2026-10-04). c4b55cc4
carries T084 (e49b17c3) and T103 (390e2c27). At landing the pin moves once
more, to the commit T087 pins; that final commit changes only the pin literal
and the floor note that names it.

The direction narrative in tests/test_dependency_direction.py now names
T084's landing on main, e49b17c3, from which the census is empty and
NEUTRAL_MODULES holds fourteen (measured at e49b17c3, c4b55cc4 and the local
candidate), so it does not move with the pin. OPENDOX_BACK_IMPORTS stays (0,
0): at c4b55cc4 the census is already empty, so the squash lands it with
T087's pin, which is 4.3's "same landing".

tests/test_edit_action.py's rebinding case now asserts exactly (403,
"invalid_host"). From T103 the edit route checks the Host first, as
/capabilities does; before T103 the console check answered first. The file is
no protected suite (12.5's git grep finds no open-pr, open_pr or
FakePullRequests in it; it is not in F5.2's glob).

At c4b55cc4: the lone suite, validate.yml's command, reads 1092 passed, 4
skipped, 1 deselected (xml 1096/0/0/4), so the floors stand; the floor note
names this pin. tests/test_edit_action.py composed: 22 passed.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…UT moves with it

Plan 034 T086, step (a) (RULED openxFactory#656 comment 5970917267, Brett
Heap, 2026-10-03, "Amend to 32 (Recommended)"; T007's batch O, #1228). From
phase 3's pin the assembled --help tree has 32 entries, because T100 adds
`model-binding trust`. The node
tests/integration/test_assembled_surface.py::test_the_assembled_help_tree_is_the_31_entry_tree_the_manifest_records
is renamed, exactly,
tests/integration/test_assembled_surface.py::test_the_assembled_help_tree_is_the_32_entry_tree_the_manifest_records,
and validate.yml's LEFT_OUT names the new node in the same commit, so the
--deselect never names a missing test (the holder's ruling on the plan
analyze). The step's comment says why.

The recorded tree gains its 32nd header, `ideation-dashboard model-binding
trust`, and the digest is the 32-entry text's,
9cc6e383da1bb27e450ef7d2108668c4cfefb039b7854d564798257b119666a6. Both were
measured from the test's own child, run with doc_health importable, at a
local composition: openDox-code main c4b55cc4 merged with #76 9948dc2b, #82
e05c475c (T100) and #84 182cac76. The composition was never pushed. The
digest is the same from two working directories and at COLUMNS=60 in the
parent, since the child pins COLUMNS=100. openxFactory's phase-3 golden (E1
(a), the non-arc PR ahead of T094) must hash to it, and it is read again at
T087's pin. The carve manifest's "31-entry" is quoted as it stands (9.3).

The test's body, run with doc_health importable in its child (as F9.2 runs
it once T008 lands): PASS at the composition; at c4b55cc4 it fails naming
the missing `model-binding trust` (31 against 32). The test itself stays
deselected in F9.1 and red in F9.2 until T008 (5859927858). The file is no
protected suite: 12.5's git grep pathspec is 'tests/test_*.py', which
tests/integration/ is not under. tests/integration/test_assembled_surface.py
less the node: 1 passed, 1 deselected.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… plane (T104)

From openDox-code's T104 (openDox-code#84, RULED openxFactory#656 comment
5963851934) the console token is published on /capabilities only on a host's
plane. On a standalone plane, built from openDox's own default profile, the
entry point writes it to a private copy and opens the page with it in the
URL's fragment (opendox.console_access.delivery_for). No module of this leg
registers an openDox profile, so every server these suites build was a
standalone plane. Each suite reads the token from /capabilities, through
tests/doxbench_routes_harness.py and tests/gate_routes_harness.py, or
directly.

Measured composed (openxFactory/scripts on the path, every declared-excluded
file) at a local, never-pushed composition, openDox-code main c4b55cc4
merged with #76 9948dc2b, #82 e05c475c and #84 182cac76: 99 new reds
against main, 98 of them KeyError: 'console_token' and one capability
document missing it, in eight files. One of the eight is
tests/test_session_confinement.py, a 12.5 suite, whose token helper is
module-level and so cannot be an allow-list entry.

So tests/conftest.py registers a stand-in host, for the length of each test,
in the sixteen suites that read the token (HOST_PLANE_SUITES), and puts the
registry back afterwards, as test_gate_loop_views.py's register_host does.
This is the plan step's second option ("or register openXdox's profile as a
host"). openXdox's governed columns are served only under a host. The
stand-in contributes no route and no subcommand; the default contributes no
route either, so every server serves the same table. No protected byte
changes.

New lone file tests/test_host_plane.py (3 cases):
- the list equals the scan of tests/test_*.py for a quoted console_token key
  or an import of either harness;
- the stand-in contributes nothing the default does not;
- where the pin carries console_access, the stand-in's plane keeps the
  token on /capabilities and the default's moves it to the opened URL;
  where it does not, the serve publishes the token on /capabilities whatever
  is registered.

Evidence, composed, the sixteen suites:
- At c4b55cc4: 172 reds with and without the fixture, the same nodes.
- At the composition: 271 reds without the fixture, 174 with it. That is
  main's 172 plus two cases in tests/test_doxchat_model_intake.py that T100's
  strict intake default refuses (INTAKE_BROKER_UNTRUSTED; a host's own trust
  policy may admit it). openXdox registers no trust policy (the holder's
  answer), so these two stay for the holder's decision. The file is
  declared-excluded and in no falsifier's set.
- No KeyError: 'console_token' remains at the composition.

The 41 suites that touch gate_console, serve_gate or
role_authority_projection read the same composed at main and at #84's head
182cac76 (main plus T104): 1419 passed and the same 185 reds, all main's.
These are release 2's debt in declared-excluded files. A composed host
keeps its token.

Lone, tests/test_host_plane.py: 3 passed at c4b55cc4 and at the composition.
Mutants: a suite dropped from the list fails the scan case; a route on the
stand-in fails the second case.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…n their flow; the standalone refusal held too (T100)

From openDox-code's T100 (openDox-code#82; #1144 16.3a; RULED openxFactory#656
comment 5962785556, item 2) the console intake's hand-off runs the broker the
served repository's model-declarations.yaml names only if the registered trust
policy admits it. openDox's strict default, MachineTrust, never does; a host's
own policy may. At the local candidate (openDox-code main c4b55cc4 + #76 + #82
+ #84), two cases of tests/test_doxchat_model_intake.py that complete an
intake were refused with INTAKE_BROKER_UNTRUSTED.

On the holder's ruling (a) of 2026-10-04:
- a fixture, stand_in_host_trust, scoped to those two cases
  (test_a_completed_intake_keeps_only_the_reference_and_declares_it_pending
  and test_the_oauth_kind_surfaces_the_brokers_refusal_and_fakes_no_dance),
  registers a TEST-ONLY stand-in host policy for each case's length. It is a
  test double of what openxFactory's GovernedBindingTrust (T094; RULED
  5970369724, "Governance approval") will do: it admits the intake, and is
  MachineTrust for every other question, with its store in a scratch state
  directory. openXdox's src registers NO trust policy ("T086 registers no
  trust policy").
- a new case,
  test_with_no_host_policy_the_intake_refuses_the_repositorys_broker_by_name,
  holds the designed standalone behaviour. With no host policy the same
  intake is refused INTAKE_BROKER_UNTRUSTED, naming the
  opendox.doxbench_trust.register remedy. The broker never starts, and
  nothing is stored.
- At a pin before T100 (no opendox.doxbench_trust) the fixture registers
  nothing and the new case asserts the intake completes.

Composed: the three cases pass at the candidate and at c4b55cc4. Mutants at
the candidate: the fixture dropped fails the two flow cases; the stand-in
admitting by default (autouse, every case) fails the standalone case. The
whole file reads 10 failed, 32 passed at both pins, the same 10 nodes main
reads (release 2's, declared-excluded); no new red. The file is no
protected suite (12.5's grep finds nothing; not in F5.2's glob).

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…test_host_plane.py

validate.yml's floors move from 1096/1092 to 1099/1095, and skipped stays
exactly 4. The +3 is tests/test_host_plane.py (new; step (b), the console
token on a host's plane).

The reading is the pytest step's own command at two pins:
- the testing pin c4b55cc4 (openDox-code main);
- a local simulation of the final commit, pinned at a composition of main
  with openDox-code#76, #82 and #84, the shape T087's pin will have.
Both read selected 1099, passed 1095, skipped 4, failures 0, errors 0. The
step's own script, run over each report, gives margin 0 on both floors and
skipped == 4.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 4, 2026 14:20

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.

Copilot review overview

🟡 Changes recommended

The current pin cannot satisfy the 32-entry golden, its evidence disagrees with the declared pin, and several T100 intake cases lack host trust.

Review effort: Balanced
Findings: 2 High severity · 1 Low severity

Open (3)

Comment thread tests/test_doxchat_model_intake.py Resolved
Comment thread pyproject.toml Resolved
Copilot AI balanced review requested due to automatic review settings October 4, 2026 14:26
…the stand-in host policy (Copilot r4178050937)

Copilot at openXdox-code#37 (r4178050937): four more cases of
tests/test_doxchat_model_intake.py expect an API-key intake to complete, and
at a T100-bearing pin openDox's strict default refuses it before the broker
runs:
- test_the_supplied_value_is_found_nowhere_afterwards;
- test_the_approval_writes_a_gate_record_before_the_model_becomes_available;
- test_a_second_approval_and_an_unknown_declaration_both_refuse;
- test_the_closed_catalog_entry_does_not_widen.

They now ask for stand_in_host_trust too, so they keep testing the intake
flow they were written for. The request-validation cases do not ask for it:
their refusals come before the trust check, and they pass at the candidate
without it. Neither does the standalone-refusal case. The fixture's
docstring says so.

The four were already red at openDox-code main, on the model approval
(approval_refused; release 2's, in a declared-excluded file). At the local
candidate (main + #76 + #82 + #84) they had moved to the intake refusal.
With the fixture they fail at main's own point again. The whole file reads
10 failed, 32 passed at main c4b55cc4 and at the candidate. Those are the
same 10 nodes as main's baseline, each with main's reason.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <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.

Copilot review overview

🟡 Changes recommended

The new trust-policy tests fail to restore global seam state, potentially contaminating later composed tests.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
Resolved since last review (3)
Previously missed (1)

In code that hasn't changed since last review

Low severity Update module documentation for index roster-only mixin

src/​openxdox/​serve_projection.py:14

The new “index roster only” description conflicts with the module opening, which still says this mixin carries the snapshot read and lists state used only by the deleted methods (_active_entry, _divergence_headers, and snapshot_path). Update the opening so the module documentation describes the class that now exists.

Comment thread tests/test_doxchat_model_intake.py Resolved
Copilot AI balanced review requested due to automatic review settings October 4, 2026 14:36
…it (Copilot r4178080465)

Copilot at openXdox-code#37 (r4178080465): stand_in_host_trust, and the
standalone-refusal case, ended with unregister(). That dropped a host policy
registered before, or a default some consumer had read, for every later test
of the process. Both now run inside _trust_seam_restored, which saves the
seam's three fields (_registered, _is_default, _default_read) and puts them
back under the seam's lock, as this leg's column and profile isolation
fixtures do.

New case: test_the_trust_seam_is_left_exactly_as_each_case_found_it. A host
policy registered before is back, and current() returns it; a read default is
back with both flags. At a pin before T100 it asserts that the guard does
nothing.

Composed, the whole file: 10 failed, 33 passed at main c4b55cc4 and at the
local candidate (main + #76 + #82 + #84). Those are main's 10 nodes with
main's reasons. A mutant whose guard only unregisters fails the new case.

Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <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.

Copilot review overview

🔵 Needs a closer look

The draft depends on a final cross-repository T087 pin and composed integration evidence not yet present in the submitted revision.

Review effort: Balanced
Findings: None

Resolved since last review (1)

brettheap and others added 2 commits October 5, 2026 10:37
…is offered only under a policy that answers intake_verdict)

openDox-code#86 (T100's follow-on, landed as 651c35fe) changed what the
console intake asks of the registered trust policy:
- A5: the intake surface is offered only where the registered policy
  answers intake_verdict itself (doxbench_trust.intake_admissible);
- D3: a refusal on the HOST's basis reads INTAKE_HOST_NOT_ADMITTED, and
  INTAKE_BROKER_UNTRUSTED stays the sentence on openDox's own basis.

At 651c35fe, test_a_declared_broker_offers_both_kinds_and_the_dialect_vocabulary
expects the intake OFFERED, and it now stopped early on `offered is False`.
It was red before, on its own reason: the auth kinds lack "none" (release 2's;
the file is declared-excluded). It now asks for stand_in_host_trust, as the
cases that expect an intake to complete do, and reads that reason again. The
fixture's docstring names A5.

The standalone case also holds A5 where the pin carries it. With no host
policy, the surface answers offered false, with no auth kinds, and gives
INTAKE_NOT_ADMISSIBLE as its reason, naming opendox.doxbench_trust.register.
The docstring says why the POST's sentence is INTAKE_BROKER_UNTRUSTED and not
INTAKE_HOST_NOT_ADMITTED: no host is registered, so the basis is openDox's own.

The stand-in's record() is unchanged. It is MachineTrust's, which answers a
verdict, and #86 reads that as recorded. No path these cases drive asks
record(): the intake asks intake_verdict_for, and the approval asks
registered_verdict_for. openXdox's src still registers no trust policy.

Read composed, the whole file:
- at openDox-code 651c35fe, at the local candidate 9069aaa8 and at c4b55cc4:
  10 failed, 33 passed each time;
- the same 10 nodes, with the same reasons, as before at c4b55cc4 and at the
  candidate.

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…e openDox root at (OPENDOX_BACK_IMPORTS lands at (0, 0) with it)

T087 landed the openDox root at e1e3a3c3, pinning openDox-code dede32b4. That
commit is #79's squash, release 0.1.0, and carries #78 d59f3f26, #86 651c35fe
and #84 32943cbf. This change pins the same commit, in the same landing,
which is #1144 4.3's "same landing" for OPENDOX_BACK_IMPORTS (0, 0).

Only the pin and the comments that name it change:
- pyproject.toml:126, the opendox pin literal: c4b55cc4 (the testing pin,
  openDox-code main) -> dede32b4b6f3d0f147d599776f83628c5af8ff3d;
- .github/workflows/validate.yml, the two floor-note comments that named the
  testing pin. Line 324 now calls c4b55cc4 the pin the floors were raised
  at. Lines 337 to 339 name dede32b4, where the floors were read again.

Read at dede32b4 (the readings are in the PR body):
- the lone suite: selected 1099, passed 1095, skipped 4, margin 0;
- F5.2's suites: 153 passed;
- the 32-entry help tree and its digest 9cc6e383;
- the declared-excluded files and the 12.5 set, composed, against main at
  the same pin.

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 5, 2026 12:11
@sonarqubecloud

sonarqubecloud Bot commented Oct 5, 2026

Copy link
Copy Markdown

@brettheap brettheap changed the title DRAFT (phase 3, after T063): T086, openXdox contributes its columns: the governed gate, scope, kickoff and register at openDox's seams, the two route columns through the facet, the direction at (0, 0) (plan 034) T086, openXdox contributes its columns: the governed gate, scope, kickoff and register at openDox's seams, the two route columns through the facet, the direction at (0, 0) (plan 034) Oct 5, 2026

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.

Copilot review overview

🟡 Changes recommended

The updated Node probe lacks an explicit ESM package marker and can fail on supported environments without ambiguous-file syntax detection.

Review effort: Balanced
Findings: 1 Low severity

Open (1)
Previously missed (1)

In code that hasn't changed since last review

Medium severity Add ESM package marker to the temporary Node harness

tests/​test_session_snapshot.py:691

The copied dependency is still loaded as ./display.js from repo-selector-model.mjs, but this temporary directory has no ESM package marker. display.js contains export declarations, so Node versions without ambiguous-.js syntax detection treat it as CommonJS and the probe fails before its assertions. Add a package.json containing {"type":"module"} in tmp_path (as the other web-bundle Node harnesses do), and update this protected-suite respelling entry/hash accordingly.

Comment thread pyproject.toml Resolved
@brettheap
brettheap marked this pull request as ready for review October 5, 2026 12:22
@brettheap

Copy link
Copy Markdown
Contributor Author

READY at 57bebd8 — Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

Holder: T086, openXdox contributes its columns. It is an arc landing, and T090's steps 3 and 4.

  • The pin. It is openDox-code dede32b4, the commit T087 pins the openDox root at (e1e3a3c3). It lands in the same squash that makes OPENDOX_BACK_IMPORTS (0, 0), which is 4.3's "same landing".

  • Evidence at the pin, from the body.

    • The lone suite reads 1099 selected, 1095 passed and 4 skipped, with no failure. That is margin 0 on both floors. CI's validate (run 37307785866) reads the same.
    • F5.2's seven suites, composed, read 153 passed. main at the same pin reads the 26 reds tabled in the body.
    • The 32-entry help tree's digest 9cc6e383… holds.
    • No new red appears in any composed set.
  • Gates. CI validate and SonarCloud are green. All 5 threads are resolved, and there is no closing keyword.

  • Copilot's review at the head (5414336018) says "Changes recommended". The holder judges it under the convergence rule (5988818366). Neither item is a bypass.

    • Open: "Update PR description to reflect the final dependency pin" (r4183860650). It is done. The body names dede32b4 throughout, and the thread is answered and resolved.
    • "Previously missed": the Node probe at tests/test_session_snapshot.py:691 copies display.js into a directory with no {"type":"module"} marker. The holder rules it an accepted limit:
      • both gates that run this suite set node-version: "22" (openxdox-consumer-gate.yml:250 and pytest-suite.yml:569 on openxFactory main), and that Node detects ES module syntax;
      • openXdox-code's own validate does not run the file, because it is declared-excluded;
      • adding the marker would mean a fourth respelling of a protected suite.

    This lands on that judgment, with the lander's override for Copilot's label.

  • What follows. T094's openXdox root step pins this landing's commit (T090 step 5). Then openxFactory moves both pin pairs (step 6).

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

@brettheap
brettheap merged commit 56e1c23 into main Oct 5, 2026
4 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDED — lane openxfactory-4, 2026-10-05T12:23:14Z, PR #37 → 56e1c23 (opensoft/openXdox-code main; plain gate)

Brett: phase-3 draft-ahead — land in plan order when green; the holder's convergence ruling on Copilot's label is in READY 5994358206

brettheap added a commit to opensoft/openXdox that referenced this pull request Oct 5, 2026
… (plan 034 T094, T090 step 5) (#22)

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

Plan 034, task **T094**, step 5 of **T090**'s pin procedure: *"The openXdox root moves its `code` gitlink and `code-pin.yaml`, and moves `contracts/opendox-pin.yaml` to step 2's root commit."* The plan is `specs/034-opendox-standalone-operation/tasks.md` at opensoft/openxFactory `main`. Precedent: #21 (T064), which landed as `f257e021` and was followed by opensoft/openXfactory#1215.

- **Claim:** opensoft/openXfactory#656 (comment) (it covers T087 and T094).
- **Landing word:** the holder's lander merges; this writer does not.

T094's openxFactory half is a separate PR. It re-points openxFactory's `openXdox` gitlink to this PR's LANDED sha, and moves its `openDox` pair to `e1e3a3c3` in the same commit, with phase 3's host wiring.

## The lockstep

| site | before | after |
| --- | --- | --- |
| `code` gitlink | `6a3b93b9` | **`56e1c238`** |
| `contracts/code-pin.yaml` `commit:` (line 24) | `6a3b93b93cd6…` | **`56e1c238681a7693a4d8d42a62c1523cf4d4ab91`** |
| `contracts/code-pin.yaml` `digests.tree_sha256` (line 39) | `4ef2b4f7…aeb3` | **`f4bddb506119132441637be32bc801c8ad4f95b8157a692c0a4567224c693ce3`** |
| `contracts/opendox-pin.yaml` `commit:` (line 34) | `d5098297…` | **`e1e3a3c3f8dd38214510412b71a2e858c6179532`** |
| `contracts/opendox-pin.yaml` `digests.tree_sha256` (line 40) | `2815ca23…57cc` | **`55a110f49d268e22d382d47d778dfaf9298c93b555e3c4fcb621afc99f9d011b`** |

No `.github/workflows/*.yml` names the code leg by `@<sha>` (`grep -rnE "openXdox-code[^ ]*@[0-9a-f]{40}" .github` finds nothing), so the README's third site does not exist here.

**Each gitlink and its pin file move in one commit.** `2fa15af5` moves `code` with `code-pin.yaml` (openRepoShape's `scripts/bump-leg.py`), and moves `contracts/opendox-pin.yaml`. `make pins` passes there. `db6cc2a4` changes prose only: the opendox-pin file's comments, `contracts/manifest.yaml` and `contracts/CHANGELOG.md`.

**Both moves are ancestor moves.** `6a3b93b9` is an ancestor of `56e1c238`, and `d5098297` is an ancestor of `e1e3a3c3` (`git merge-base --is-ancestor`, both exit 0). `56e1c238` is openXdox-code `main`, and `e1e3a3c3` is openDox `main`'s parent: openDox#17 (T076, the root README only) landed after it as `504324de`.

**What the code leg's advance carries.** `6a3b93b9..56e1c238` is one first-parent commit, a squash landing of plan 034's phase 3 that carries the `Arc:` trailer:

- `56e1c23`: T086, openXdox contributes its columns: the governed gate, scope, kickoff and register at openDox's seams, the two route columns through the facet, the direction at (0, 0) (plan 034) (opensoft/openXdox-code#37)

Its `pyproject.toml` pins `opendox @ git+https://github.com/opensoft/openDox-code@dede32b4…`, the openDox-code commit openDox's root pins at `e1e3a3c3`.

**What the openDox pin's advance carries.** `d5098297..e1e3a3c3` is one commit:

- `e1e3a3c`: T087, phase 3's openDox root pin: code → dede32b4 (plan 034, T090 steps 1–2) (opensoft/openDox#18)

It moves `code` `047bb4fa` → `dede32b4` with `contracts/code-pin.yaml`, and changes no other path. So openDox's `contracts/manifest.yaml`, its `spec` gitlink and `contracts/spec-pin.yaml` are byte-unchanged, and the openDox bundle this one composes over is still `dox-v1.1`.

## The digests, three ways

| tree | records | `scripts/repo_shape.py` `tree_digest` | independent `ls-tree` + `sha256` | `repo_shape.tree_digest_from_gh` (the forge's tree) |
| --- | ---: | --- | --- | --- |
| openXdox-code `56e1c238` | 191 | `f4bddb50…3ce3` | `f4bddb50…3ce3` | `f4bddb50…3ce3` |
| openDox `e1e3a3c3` | 28 | `55a110f4…011b` | `55a110f4…011b` | `55a110f4…011b` |

Controls: the same three methods recompute the recorded `4ef2b4f7…aeb3` at `6a3b93b9` (187 records) and `2815ca23…57cc` at `d5098297` (28 records).

## `contracts/opendox-pin.yaml`, edited in place

It stays at 164 lines, with every line in its position. Lines 34, 40, 55, 56, 57, 58, 143 change:

- line 34, `commit:`;
- line 40, `tree_sha256`;
- lines 55-58, the per-file paragraph. It was checked at `dc7aa08f`, `663ac683` and `d5098297`, and is unchanged at `e1e3a3c3`: `dox-v1.1` and FOUR `entries:`, all at openDox-spec `f7ee3c76`;
- line 143, the migration triple's `runbook`, which names "the pinned code leg". That is `dede32b4` now.

**The migration triple.** No migration path changes over openDox-code `047bb4fa..dede32b4`, and `migrations/` holds the same two files. So `range: "0001..0002"` and `reversible: false` stay, and only `runbook`'s leg changes. openxFactory's own `contracts/opendox-pin.yaml` takes the identical block in T094's openxFactory PR. `tests/opendox_pin/test_opendox_pin_verifier.py` asserts the two blocks are equal.

## Prose kept true in the same PR

- **`contracts/manifest.yaml`.**
  - "THE CODE LEG CONTRIBUTES NO ENTRY" now covers `56e1c238`. The leg's packaged copies under `src/openxdox/contracts/` are unchanged from `6a3b93b9` (`git diff --quiet 6a3b93b9 56e1c238 -- src/openxdox/contracts contracts` exits 0), so none of the five rows moves.
  - "WHAT THIS BUNDLE DEPENDS ON" names `e1e3a3c3` and opensoft/openDox#18, and keeps #21's advance as history.
  - The tag paragraph adds `d5098297` from #21 and `e1e3a3c3` from this commit forward.
  - The lockstep paragraph's openxFactory reading is `f257e021`, whose blob names `d5098297`.
- **`contracts/CHANGELOG.md`, `## Unreleased`.** It records the code leg's sixth advance and the openDox pin's advance. Its closing sentence is true as written: both legs' `main` are exactly the commits this root pins.
- **No tag moves.** `xdox-v1.0` stays where it is. No advance cuts a bundle.

## Validators, as `validate.yml` runs them (at `db6cc2a4`)

| check | result |
| --- | --- |
| `python3 scripts/validate-repository-naming.py --project project.yaml` | exit 0 |
| `python3 scripts/validate-manifest.py` | exit 0: `manifest ok: openXdox (openxdox), 3 legs` |
| `make pins` (`python3 scripts/validate-pins.py`) | exit 0: `ok  spec: gitlink == contracts/spec-pin.yaml commit f088b09732e2`, `ok  spec: tree digest recomputes (b7dbd5456a1a…)`, `ok  code: gitlink == contracts/code-pin.yaml commit 56e1c238681a`, `ok  code: tree digest recomputes (f4bddb506119…)`, `ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests`, `ok  openDox: pin commit e1e3a3c3f8dd digest recomputes (gh-api-tree-recursive)`, `pins ok` |
| `make validate` | exit 0 |

`make pins` passes at `2fa15af5` too.

## Falsifier

`make pins` is step 5's falsifier. Each half-move is refused, measured in a scratch clone of this branch:

| case | `validate-pins.py` |
| --- | --- |
| this head, then the lockstep commit `2fa15af5` alone | `pins ok`, exit 0, both |
| the `code` gitlink back at `6a3b93b9`, the pin files at this head | `FINDING pin-gitlink-mismatch`, exit 1 |
| the gitlink at `56e1c238`, `contracts/code-pin.yaml` back at `main`'s | `FINDING pin-gitlink-mismatch`, exit 1 |
| one hex digit of `code-pin.yaml`'s `tree_sha256` altered | `FINDING pin-digest-mismatch`, exit 1 |
| one hex digit of `opendox-pin.yaml`'s `tree_sha256` altered | `FINDING neutral-pin-digest-mismatch`, exit 1 |
| restored | `pins ok`, exit 0 |

A fresh clone of this branch from GitHub, with `git submodule update --init --recursive` (CI's own step), passes CI's three steps (naming, manifest, pins), each with exit 0.

No check here reads openDox's `main` tip: `validate-pins.py` recomputes the pinned commit's digest from the forge's tree, so `e1e3a3c3` verifies although openDox#17 (T076, the root README) has since landed as `504324de`. Step 5 pins step 2's root commit, as T090's text says.

## What this does to openxFactory

`verify-opendox-pin.py` check 5 reads this root's `contracts/opendox-pin.yaml` as a blob, at whatever commit openxFactory's `openXdox` gitlink names. This PR changes that file's `commit:` to `e1e3a3c3`. So when openxFactory's `openXdox` gitlink moves here, its own `openDox` pair must move to `e1e3a3c3` in the SAME commit (measured: with the openDox pair alone moved, `verify-opendox-pin.py` refuses `opendox-pin-lockstep-mismatch`). T094's openxFactory PR does exactly that. Until it lands, openxFactory keeps reading `f257e021`.

Measured before this PR, in an openxFactory staging clone with both pairs moved in ONE commit, over a rehearsal of these two commits whose code leg was opensoft/openXdox-code#37's last pre-squash head `69997db7`: `verify-opendox-pin.py` and `verify-openxdox-pin.py` both print OK, and openxFactory's composition, host-wiring, carve-mapping and pin suites pass (410 passed). `56e1c238` differs from `69997db7` in three files: `pyproject.toml`'s `opendox` pin (`c4b55cc4` → `dede32b4`), `tests/test_doxchat_model_intake.py` and `.github/workflows/validate.yml`. T094's openxFactory PR measures again at this PR's LANDED sha.

## Landing (forced order)

1. ~~T087, opensoft/openDox#18, lands.~~ Landed → `e1e3a3c3`.
2. ~~T086, opensoft/openXdox-code#37, lands.~~ Landed → `56e1c238`.
3. This PR lands. Squash or merge, never rebase, and the landing carries the `Arc:` line.
4. Lane openXfactory-3's ahead PR (the CLI help golden, the usage line and the rebound-Host case) lands in opensoft/openxFactory.
5. T094's openxFactory PR moves BOTH pin pairs in one commit, to this PR's LANDED sha and to `e1e3a3c3`, records the landed tree's digest, and carries phase 3's host wiring.

Plain gate: this repository has no `openspec/changes/`, so there is no Rule 6 window. **This PR is not merged by the actor that opened it.**

Arc: neutral-product-standalone-operability

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Arc: neutral-product-standalone-operability
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
brettheap added a commit to opensoft/openXfactory that referenced this pull request Oct 5, 2026
…, with phase 3's host wiring: openXdox's columns and the governed binding-trust policy (plan 034) (#1236)

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

Plan 034, task **T094**: phase 3's consumer pins (T090 step 6) with phase 3's host wiring, `specs/034-opendox-standalone-operation/tasks.md` at openxFactory `main`. The precedents are T047 (opensoft/openXdox#20, then #1181) and T064 (opensoft/openXdox#21, then #1215).

- **Claim:** #656 (comment) (it covers T087 and T094).
- **Landing order, done:**
  - T087: opensoft/openDox#18 → `e1e3a3c3` (openDox-code `dede32b4`, the 0.1.0 commit T099 publishes).
  - T086: opensoft/openXdox-code#37 → `56e1c238`.
  - T090 step 5: opensoft/openXdox#22 → `9564d5d9`.
  - Lane openXfactory-3's ahead PR (D2, non-arc: the CLI help golden, the usage line and the rebound-Host case at both pins) → #1234, `ca1c148646f1111bc8049bc9cceb3c14ef276967`. This branch merges `main` in at `9cd1bf23` (a merge, never a rebase).
- **Holder decisions in force (2026-10-05):**
  - (a) both pin pairs move in ONE commit, as in T047 and T064 (below);
  - (b) T092's phase-3 `edits[].note` annotations ride in T089's checkpoint PR (lane openXfactory-3's D3; #656 comment `5987195870`, D5), NOT here. This PR touches no manifest note;
  - (c) the stale `src/opendox/consumer_reach.py` admission is removed and asserted ABSENT;
  - (d) the 4 + 3 carve-time files the walk still names stay as T064 left them;
  - (e) the merge of `main` (`9cd1bf23`) carries the `Lane:` line and no `Arc:` line. T091's trailer belongs on realization commits and on the landing, and the squash landing writes `Arc:` from this body. On the merge, F11.1's guard would charge #1234's non-arc files to the arc.
- It stays a DRAFT until the holder marks it READY.

## The pins: both pairs in ONE commit (`caa8d377`)

| pair | gitlink | pin file `commit:` | `digests.tree_sha256` |
| --- | --- | --- | --- |
| openDox | `d5098297` → **`e1e3a3c3`** | same (`contracts/opendox-pin.yaml`:118) | `2815ca23…57cc` → **`55a110f49d268e22d382d47d778dfaf9298c93b555e3c4fcb621afc99f9d011b`** (28 records) |
| openXdox | `f257e021` → **`9564d5d9`** | same (`contracts/openxdox-pin.yaml`:109) | `52f0598e…6959` → **`11585eadf4fef2ffcb4419194fa6a52444f56759cfc427d41c352a6b8803cbd2`** (29 records) |

- **`e1e3a3c3` is opensoft/openDox#18's squash (T087), one commit above `d5098297`.** It moves `code` `047bb4fa` → `dede32b4` with `contracts/code-pin.yaml` and changes no other path, so openDox's `contracts/manifest.yaml`, its `spec` gitlink and the bundle (`dox-v1.1`) are unchanged. openDox's `main` has since moved to `504324de` (opensoft/openDox#17, T076, the root README only). Step 2's root commit is the one T090 pins, and no check reads `main`'s tip.
- **`9564d5d9` is opensoft/openXdox `main`, where #22 squash-landed** (its tree equals #22's head `db6cc2a4`). It moves `code` `6a3b93b9` → `56e1c238`, which is openXdox-code `main` after #37 (T086), and `contracts/opendox-pin.yaml` `d5098297` → `e1e3a3c3` (T090 step 5).
- Every digest was recomputed three ways: `repo_shape.tree_digest`, an independent `ls-tree` + `sha256`, and the forge's tree listing (`repo_shape.tree_digest_from_gh`). Controls: the same three methods reproduce the recorded `52f0598e…6959` at `f257e021` and `2815ca23…57cc` at `d5098297`.
- **Why one commit and not "one commit each" (T090 step 6).** #22 changes the openDox pin that `verify-opendox-pin.py` check 5 reads through the openXdox gitlink, and `docs/openxdox-pin-resync-runbook.md` § 4 prints DIFFERENT. Each split order was measured on this branch's base, and `verify-opendox-pin.py` exits 2 in both:
  - the openDox pair alone: `REFUSE opendox-pin-lockstep-mismatch: this pin names openDox@e1e3a3c3f8dd38214510412b71a2e858c6179532, but openXdox's own openXdox/contracts/opendox-pin.yaml names openDox@d5098297a5c262f9977193305210bccb4ec51e89; two direct declarations of one product's bytes disagree.`
  - the openXdox pair alone: `REFUSE opendox-pin-lockstep-mismatch: this pin names openDox@d5098297a5c262f9977193305210bccb4ec51e89, but openXdox's own openXdox/contracts/opendox-pin.yaml names openDox@e1e3a3c3f8dd38214510412b71a2e858c6179532; two direct declarations of one product's bytes disagree.`

  So "one commit each" cannot be met without an intermediate red commit. **The holder ruled the single commit for phase 3 on 2026-10-05**, as for phase 1 (T047, #1181) and phase 2 (T064, #1215, decided 2026-09-28). This PR therefore departs from T090 step 6's "one commit each" for the third time. Each pair still moves as one unit (box 9.5).
- Both pin files are edited in place, keeping their line counts (216 and 154). The openDox `migration:` block keeps `range` (`0001..0002`) and `reversible` (`false`): no migration path changes over openDox-code `047bb4fa..dede32b4`. Its `runbook` names the new code leg `dede32b4`, and the block is identical to openXdox's derived copy at `9564d5d9`, which `tests/opendox_pin` asserts.
- **Gates.**
  - `verify-opendox-pin.py`: `OK opendox-pin verified: openDox@e1e3a3c3f8dd38214510412b71a2e858c6179532, gitlink read from HEAD, sorted-ls-tree-r-v1 tree digest recomputed (55a110f4…011b), lockstep with openXdox confirmed`.
  - `verify-openxdox-pin.py`: `OK openxdox-pin verified: openXdox@9564d5d9462ffd1a3155d9177206368e5061efa8, gitlink read from HEAD, sorted-ls-tree-r-v1 tree digest recomputed (11585ead…cbd2)`.

## What else it carries

| commit | what | F11.1 surface |
| --- | --- | --- |
| `3c1c1146` | **The host wiring.** `scripts/opendox_host.register_openxfactory()` calls `openxdox.column_contributions.register()` (T086) after the projection line, and refuses by name when it registers nothing. **`GovernedBindingTrust`** (RULED #656 `5970369724`, "Governance approval (Recommended)") is the sixth `seams()` entry, before the home seam, with its take-back row. Its verdicts: a binding pending in the governed declarations is untrusted (host basis, the governed reason); an unreadable declarations document admits nothing; otherwise trusted, host basis. It answers the console intake's own question, `intake_verdict`, as plan 034's T100 entry says a host policy must. Its `record()` writes nothing and returns None, which openDox-code#86 reads as "no record" (`doxbench_trust.recording_for`; #656 `5986391296`, applied to T094 by `5988088910`), so a failed `add` or `edit` write is refused as the write's own failure and never with `REASON_NO_WITHDRAWAL`. `tests/domain_profile/test_host_registers_binding_trust.py` (new, 9 tests, 11 cases at `7e31eca1`) and `test_openxfactory_host_wiring.py` (six seams; the three columns the facet composes; each declared once) cover it. They pin openDox-code#86's final `REMEDY_NOT_BY_TRUST` and `INTAKE_HOST_NOT_ADMITTED` strings. Planted mutants, measured over the draft rounds of this same code, are each killed: M1-M3 and M5 by `test_host_registers_binding_trust.py`, the column line removed (M4) by `test_doxbench_routes`, `intake_verdict` removed or admitting everything (M6, M7), and `record()` returning the verdict, returning True, or writing MachineTrust's store (M8, M9, M11). | HOST, HOST_TESTS |
| `3c1c1146` | **Composition tests**, amended in the arc: `test_extension_point_parity.py` (the `/capabilities` arm of T073 and T103, and the MRO's T084 layout), `test_serve_column_split.py` (the snapshot arm's four handlers are the core's own after T086's trim; every column method is the column's own), and `test_doxbench_status_exemption.py` (T085's `register_default_status_exemption` joins the readers of the registered rail). | COMPOSITION_TESTS |
| `1c5f8edb` | The render lane's `RENDER_LEG_MODULES` and the seal test's `RENDER_UNIT_IMPORTS` gain `opendox/doxbench_trust.py`, `opendox/doxbench_intake.py` and `openxdox/column_contributions.py`, which the host bootstrap now imports. The seal carries a leg's whole `src/`, so no sealed artifact changes. `scripts/profile_openxfactory.py`'s note on the two openXdox columns moves to the past tense. | ADMITTED_ARC_EDITS (both paths); HOST |
| `24215223` | `test_ruling_q7_two_direct_upstreams_in_lockstep`'s snapshot literal moves `d5098297` → `e1e3a3c3`, as its comment says it does on every bump. | ADMITTED_ARC_EDITS |
| `eda75977` | **The lane route's predicate check** (T086's Q8 (a)). openXdox-code's `test_the_hosted_session_arrival_path_is_recorded_and_not_built` no longer reads openxFactory's `_handle_refresh_action` (opensoft/openXdox-code#37 narrowed its loop to the leg's own routes), so `tests/domain_profile/test_lane_route_asks_the_hosted_ref_predicate.py` (new, 2 tests) asserts it here: the route's body calls `hosted_ref_refused(` (openXdox's predicate), and on a hosted plane a refresh naming a session ref is refused with `session_unavailable` before it runs, while a ref-less one runs. Three planted mutants are each killed: the check removed, the call kept but not deciding, and the call asked as loopback. | HOST_TESTS |
| `b3a4b6e0` | **29 `created:` admissions** in `docs/opendox-carve-admissions.yaml`, pinned in `tests/carve_arrival` by path, `since` and count, as T047's 37 and T064's 129 are, **and one removed** (below). | ADMITTED_ARC_EDITS (both paths) |
| `16136990` | The admissions test's ordinal paragraph and its sixteenth-bump docstring and comment name this PR, #1236 (a follow-up commit: the number did not exist before the PR). | ADMITTED_ARC_EDITS |
| `9cd1bf23` | Merge of `main` at `ca1c1486` (lane openXfactory-3's ahead PR). It merged with no conflict, and its four files are byte-identical to the ahead commits this branch was measured over. It is not a realization commit, so it carries the `Lane:` line and no `Arc:` line (T091): F11.1's guard selects commits by that line, and walked over this branch it would otherwise charge #1234's two non-arc files to the arc. | (not on `main`'s first-parent line) |
| `7e31eca1` | **Copilot's finding at `16136990`, and the pre-review's six fix-now findings.** (Copilot) A refusal now gives back the unread defaults this call replaced: `_DEFAULTS` names the two globals and the default-registration call of each default-holding seam (T085's doxBench pair, T100's trust default). A write that replaced an unread default is recorded with it, and the take-back registers it again as the unread default, as `openxdox.column_contributions` does. The pre-review's six: (1) the no-columns refusal is tested, and no host seam is written; (2) a refusal at the trust seam is tested on fakes and on the pinned leg; (3) "five seams" becomes six where the count is meant; (4) `GovernedBindingTrust`'s docstring names the one case that changed; (5) the failed-write case skips as root; (6) `__all__` is in ASCII order and names `GOVERNED_PENDING_REASON`. The give-back case, the six-seam message and the exports case each failed before the fix. Planted mutants M12-M19 are each killed. | HOST, HOST_TESTS |

The 29 admissions, each `since` the leg's own squash landing (`git log --diff-filter=A`), each path present at the new pin, and none placed by a row or declared before:

- **`opendox_code`, 25**: #65 (T088) 1, #67 (T070) 1, #69 (T072) 1, #71 (T085) 2, #72 (T073) 1, #74 (T081) 1, #77 (T084) 9, #78 (T099) 1, #80 (T103) 1, #81 (T102) 1, #82 (T100) 2, #84 (T104) 3, #85 (T102 follow-on) 1. All are openDox-code landings over `047bb4fa..dede32b4`.
- **`openxdox_code`, 4**: #37 (T086) at `56e1c238`: `src/openxdox/column_contributions.py`, `tests/test_column_contributions.py`, `tests/test_column_contributions_governed.py` and `tests/test_host_plane.py`.
- **One leaves: `src/opendox/consumer_reach.py`** (openDox-code#9, `da8aae96`). openDox-code#77 (T084) deleted it at `e49b17c3` when it retired the reach module, so the walk at `dede32b4` never consumes the admission and the verifier would report it stale (`declared_admissions_unused`). It is removed, as split-opendox § 3.4 slice S5 removed its two re-homed modules', and `tests/carve_arrival` asserts it ABSENT. openXdox-code's own `src/openxdox/consumer_reach.py` (the RULED seed) is still at `56e1c238`, and its entry stays.
- Neither spec leg moved (`f7ee3c76`, `f088b097`), so neither admits anything.
- **Derived, not run green, for the `-code` legs**, as at T047 and T064: the walk, with every rule `verify-carve-arrival.py` applies, reports stale 0 and only the carve-time files that are unchanged since the old pins (4 at `opendox_code`, 3 at `openxdox_code`), which T064 left as well (decision (d)).

## T094's "Owed elsewhere" list from opensoft/openXdox-code#37, each item to the file that carries it

- [x] `scripts/opendox_host.register_openxfactory()` calls `column_contributions.register()` after T064's projection line (Q6 (a)): `scripts/opendox_host.py` (`3c1c1146`).
- [x] The module seals: `scripts/ideation_dashboard/dashboard_refresh_lane.py` and `tests/ideation-dashboard/test_dashboard_source_seal.py` (`1c5f8edb`). The carve admissions (`created:` gains `src/openxdox/column_contributions.py`, `tests/test_column_contributions.py`, `tests/test_column_contributions_governed.py` and `tests/test_host_plane.py`): `docs/opendox-carve-admissions.yaml` and `tests/carve_arrival/test_verify_carve_arrival.py` (`b3a4b6e0`).
- [x] The parity test's MRO layout and `test_serve_column_split.py`'s four snapshot rows, which move to the core: `tests/ideation-dashboard/test_extension_point_parity.py` and `tests/ideation-dashboard/test_serve_column_split.py` (`3c1c1146`).
- [x] `test_openxfactory_host_wiring.py`'s "second copy of the column" check and its contributed tuple, which now has three entries: `tests/domain_profile/test_openxfactory_host_wiring.py` (`3c1c1146`): `test_no_route_extension_declares_a_second_copy_of_the_column` holds each column to one declaration, and `CONTRIBUTED_COLUMNS` is `LaneRoutes`, `GateRoutes`, `ProjectionRoutes`.
- [x] The lane route's `hosted_ref_refused(` check (Q8 (a)): `tests/domain_profile/test_lane_route_asks_the_hosted_ref_predicate.py` (`eda75977`).
- [x] The trust policy at T100's seam (openXdox registers none; "Governance approval", #656 comment `5970369724`): `GovernedBindingTrust` in `scripts/opendox_host.py`, tested by `tests/domain_profile/test_host_registers_binding_trust.py` (`3c1c1146`).

## F11.1, on the real commits

`PACKET_MERGE=94b6f7f1… ARC_TIP=<this branch's head>` over the guard extracted from `openspec/changes/add-neutral-product-standalone-operability/tasks.md` prints:

> `requirement 1 holds: 0 note(s) annotated, every other path a declared surface (11.1)`

Every path this PR touches is on a declared surface:

- PIN_PAIRS: `openDox`, `contracts/opendox-pin.yaml`, `openXdox`, `contracts/openxdox-pin.yaml`;
- HOST: `scripts/opendox_host.py`, `scripts/profile_openxfactory.py`;
- HOST_TESTS: `tests/domain_profile/test_host_registers_binding_trust.py`, `tests/domain_profile/test_lane_route_asks_the_hosted_ref_predicate.py`, `tests/domain_profile/test_openxfactory_host_wiring.py`;
- COMPOSITION_TESTS: `tests/ideation-dashboard/test_extension_point_parity.py`, `tests/ideation-dashboard/test_serve_column_split.py`, `tests/ideation-dashboard/test_doxbench_status_exemption.py`;
- ADMITTED_ARC_EDITS: `scripts/ideation_dashboard/dashboard_refresh_lane.py`, `tests/ideation-dashboard/test_dashboard_source_seal.py`, `tests/openxdox_pin/test_openxdox_pin_verifier.py`, `docs/opendox-carve-admissions.yaml` and `tests/carve_arrival/test_verify_carve_arrival.py`.

The admitted list does not grow, and no manifest note is annotated here (decision (b)).

## The falsifiers, at the COMMITTED pins

| run | head | verifiers | `pytest-suite` | other checks |
| --- | --- | --- | --- | --- |
| **CI** | `16136990` | OK, OK | **`selected=9362 passed=9356 skipped=6 failures=0 errors=0`**, floors met (margin 2312), run `37315023063` | all success, `openxdox-consumer-gate` included |
| local | `eda75977` (`16136990` changes only a docstring and a comment) | OK, OK | **8943 passed, 7 skipped, 0 failed** (`pytest tests/ -q -m "not postgres"`) | the composition, `domain_profile`, carve-mapping, both pin dirs and `carve_arrival`: 569 passed |
| **CI** | `7e31eca1` | | PENDING | PENDING |
| local | `7e31eca1` | OK, OK | PENDING | `domain_profile`, the seal and the carve mapping: 626 passed; mutants M12-M19 killed |

Each local run uses Python 3.12.3, with `TMPDIR` and `--basetemp` under `~/.local/state`, outside the aggregation tree, in a checkout named `openxFactory`. A local run skips 7 where CI skips 6: the work tree sits inside an aggregation checkout, so the aggregation ignore-file case runs and passes there (#1215's reason).

- `validate-carve-manifest.py` prints OK (456 rows), and `validate-former-id-arrival.py --base origin/main --head HEAD` passes.

## Accepted limits

- A leg from before T100 now fails with an ImportError, because `seams()` imports `doxbench_trust`, rather than with `HostSeamsIncomplete` by name. The pins only move forward.
- A directory at the declarations path reads as "no document". That is openDox's own store rule (`document_present` checks for a regular file), and the change opens no new hole.
- Under the governed host, `model-binding trust` prints `trusted "m1" on this machine` although `record()` records nothing. That wording is openDox-code's (`cli_model_binding._trusted_line` ignores `recording.recorded`), and it is deferred to an openDox-code follow-on after release 1.
- The trust seam's take-back entry cannot fire today. Only the home seam follows it, and the home seam refuses nothing. Nit: `_TAKE_BACK` is keyed by the bare call name `"register"`.

## What this leaves for the aggregation

This PR does not do the opensoft/xFactory root pin-sync. When it runs, it needs:

- the root `openDox` gitlink → `e1e3a3c3f8dd38214510412b71a2e858c6179532`;
- the root `openXdox` gitlink → `9564d5d9462ffd1a3155d9177206368e5061efa8`;
- the root `openxFactory` gitlink → this PR's landed sha, with `.github/clearing/openxfactory/PIN.yaml` in the same commit (CLAUDE.md rule 2);
- `.github/workflows/dashboard-image-worker.yml`'s `RENDER_LEG_MODULES` and its mirror in `tests/test_dashboard_image_worker_contract.py` gain the same three modules as this PR's `1c5f8edb`.

Arc: neutral-product-standalone-operability

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
brettheap added a commit to opensoft/openXfactory that referenced this pull request Oct 5, 2026
…1238)

Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Authored by lane openXfactory-3, delegated by lane openxfactory-4 (#656 5984809456)

**Plan 034 T089, phase 3's checkpoint, and T092's phase-3 notes.** This PR runs every check T089 names, at the commits phase 3 pinned, and quotes each one. It also carries T092's phase-3 notes in `docs/opendox-carve-manifest.yaml`, on the holder's decision below.
- Every check passes. F5.2 whole passes after T086's repair, so **F5.2's box closes here** (RULED `5962785556`, item 1: *"F5.2's box closes at phase 3's checkpoint (T089)"*), and F4.1's box closes here too (plan 034's box map: `F4.1 → T089`). T097 ticks both in #1144; this PR ticks only T089.
- This PR is bookkeeping, so it carries no `Arc:` trailer (R1Q20 (a), `5817152735`; T091). Claims: #656 comments `5984809456` (lane openXfactory-3's D3: T098 and T089) and `5987202231` (D5: T092's phase-3 notes), delegated by lane openxfactory-4.

Ruled, as T089 cites: F5.2's close, `5962785556`, item 1. The amended forms run: batch H (F10.1, F13.1), batches M and P (F16.1), batches C, F, G and K (F5.2), batch A (F11.1's guard).

**No Rule 6 window.** This PR touches nothing under `openspec/changes/`: the checkpoint finds no record in #1144 that is wrong, so #1144's `tasks.md` is untouched.

The record is [`specs/034-opendox-standalone-operation/evidence/checkpoint-phase3.md`](specs/034-opendox-standalone-operation/evidence/checkpoint-phase3.md).
- Each falsifier in it was extracted by anchor, byte for byte, from #1144's `tasks.md` at `36908480` (sha256 `48db295594a6…`), and every extraction reproduces the sha256 the earlier records quote (F4.1 `8900b985e72f`; F10.1 `d94265449831` → `2358bd8f76ab`; F13.1 `1e1f7da5564a` → `0a47fa31f5e0`; F16.1 `fe22ec4873d1` → `619b32a955e2`; F5.2 `808619e066fa` → `4b1512c26814`; F11.1 `60beede1244b`).
- Each ran from a fresh detached worktree at the pinned commit, with an empty `git status --porcelain --ignored`, in a scrubbed `env -i` environment, in the foreground of its wrapper.

## Verdict

| # | T089's check | where | result, quoted |
|---|---|---|---|
| 1 | F4.1 | openDox-code `dede32b4` | **PASS**, exit 0: `1 passed` twice, then `no deferred reach names the consumer or the publisher` |
| 2 | F10.1, as batch H amends it | openDox-code `dede32b4`, `pip install ".[local]"` (`opendox-0.1.0`) | **PASS**, exit 0: the bundled database, migrations `['0001', '0002']`; `validation: opendox-snapshot: 0 violations`; `serving http://127.0.0.1:8080/index.html` |
| 3 | F13.1, as batch H amends it | openDox-code `dede32b4` | **PASS**, exit 0: the bundled database, migrations `['0001', '0002']`; every assertion holds, the last `grep -q OPENDOX_OIDC_ISSUER …/default.err` |
| 4 | F16.1, as batches M and P amend it, with T100's named test | openDox-code `dede32b4` | **PASS**, exit 0: `24 passed` (16.6), the dialect line, `no model configured: the catalog offers nothing`, `83 passed` (`tests/test_chat_model_configuration.py`), `532 passed` (`tests/test_model_binding_trust.py`) |
| 5 | F5.2 whole, as batches C, F, G and K amend it, after T086's repair | openXdox-code `56e1c238`, openDox-code `dede32b4` installed over it, `OPENXFACTORY` at `36908480` | **PASS**, exit 0: the seven suites pass whole (`45`, `23`, `18`, `6`, `40`, `9` and `12 passed`), `test -s` holds, and the `--chains` step prints `ok: 5 protected edit(s), each entered and holding` |
| 6 | T098's interim F11.1 | openxFactory, `ARC_TIP` at T094's landing `36908480` | **PASS**: quoted from [`f11.1-phase3.txt`](specs/034-opendox-standalone-operation/evidence/f11.1-phase3.txt) (#1237 → `20ce593e`), and re-run here with the same line, `requirement 1 holds: 0 note(s) annotated, every other path a declared surface (11.1)` |

## T092's phase-3 notes, carried here

**Where they ride, and which reaches they cover.**
- **Phase 2's decision (b)**, recorded in T064's PR (#1215): phase 2's notes rode in T063's checkpoint PR, as phase 1's rode in T049's.
- **The holder's decision for phase 3** (lane openxfactory-4's round-2 delegation, 2026-10-05, D5, recorded there and here): *"Phase 3's notes ride in phase 3's checkpoint PR, the T089 PR, not in T094's arc PR. This follows phases 1 and 2, whose notes rode in T049's and T063's checkpoint PRs on the holder's decisions (T092's text names both). The checkpoint PR carries no `Arc:` trailer, so F11.1's count of annotated notes never includes them. Run F11.1's content rule over them in that PR, as T049 and T063 did."*
- **The holder's ruling (A)** (`#656` comment `5994463071`, 2026-10-05), on lane openXfactory-3's question whether `consumer_reach.py`'s last stand-ins take notes too: *"Phase 3 reads T092 as phase 2 did. T092 asks for one `edits[].note` per closed reach. Phase 2's T055 removed ten stand-in names of the same kind, and T063's checkpoint PR noted none of them (decision (b), recorded in #1215). A stand-in's removal is therefore not counted as a closed reach. Phase 3's notes cover the reaches T084 and T086 closed, the three rows of the default patch."*

3 notes on 3 rows (2 added, 1 extended), for the eleven reaches phase 3 closed. They are #1144's 4.3 reaches into openXdox that F4.1's scan still named at phase 2's pin `047bb4fa`, and the three rows of openXdox-code's ratchet `OPENDOX_BACK_IMPORTS`. All eleven drop at T084 (opensoft/openDox-code#77 → `e49b17c3`), which also retires `consumer_reach.py`.

| entry | carve lines | reaches at `1e4a57fb` | note |
|---|---|---|---|
| `branch_session.py` `edits[0]` | 1574, 1992 | `:1587`, `:2005` | extended (phase 2's note left these two open for phase 3) |
| `serve_project.py` `edits[0]` | 246, 247 | `:246`, `:247` | added |
| `serve_workbench.py` `edits[0]` | 346, 406, 407, 543, 1214, 1664, 2606 | `:347`, `:407`, `:408`, `:544`, `:1215`, `:1665`, `:2607` | added |

Each note cites the landings that close its reaches, each re-verified at this PR's run (`closers-p3.py`, quoted in the record): T084 (opensoft/openDox-code#77 → `e49b17c3`), T086 (opensoft/openXdox-code#37 → `56e1c238`: `openxdox.column_contributions.register()`, and `OPENDOX_BACK_IMPORTS` at `(0, 0)` with its pin at T087's commit `dede32b4`), and T094 (#1236 → `36908480`: the host's call).

So the stand-ins `consumer_reach.py` still held at `047bb4fa` (`gate_console`, `serve_gate`, `serve_projection` and the two late bases) take no note, on ruling (A).

F11.1's content rule, T049's script byte for byte, over `main`'s manifest and this PR's:

```
  extended: scripts/ideation_dashboard/branch_session.py edits[0]
  added: scripts/ideation_dashboard/serve_project.py edits[0]
  added: scripts/ideation_dashboard/serve_workbench.py edits[0]
F11.1's manifest content rule holds: 3 note(s) annotated, nothing else in the manifest moved
```

With every `edits[].note` removed, the two manifests are equal, and no other line moved. The note check, the reach mapping, `scripts/validate-carve-manifest.py` (`OK`) and F4.1's scan walk are quoted in the record's last section.

## The pins

From `pins.sh` over openxFactory at `36908480`, with `openDox` and `openXdox` initialized recursively: openDox root `e1e3a3c3` (`code` → openDox-code `dede32b4`, T087's pin), openXdox root `9564d5d9` (`code` → openXdox-code `56e1c238`, T086's landing; its `contracts/opendox-pin.yaml` → `e1e3a3c3`), and openXdox-code's `pyproject.toml` pins openDox-code `dede32b4`. All six T090 equalities hold, and the runs used exactly the pinned commits.

## What changed (5 files)

- `specs/034-opendox-standalone-operation/evidence/checkpoint-phase3.md`: new, `Status: record`. It is linked from the feature 034 entry in `README.md`, beside T098's F11.1 record, and from `plan.md`'s evidence tree.
- `specs/034-opendox-standalone-operation/tasks.md`: T089 ticked, with its Run bullet (T063's form), and T092's entry gains phase 3's sentence after phase 2's (#1218's form; T092 stays unticked, since 11.1 is ticked at ARC close). The box map already names T089 for F4.1 and F5.2, and nothing moves, so it is unchanged.
- `specs/034-opendox-standalone-operation/plan.md`: the evidence tree and its prose.
- `README.md`: the checkpoint link.
- `docs/opendox-carve-manifest.yaml`: T092's phase-3 notes, `note:` lines only (2 added, 1 extended). With every note removed the manifest is unchanged.

## Validation, at the head against `main` `20ce593e`

- **`python3 scripts/validate-openspec-cli-pin.py --all --strict`** (pinned CLI 1.12.0): rc 0, `Totals: 110 passed, 1 failed (111 items)`, `0 UNDISPOSITIONED failures`; the one failure is the accepted `add-chain-attestation` exception, as on `main`.
- **doc-health `--single-repo . --as-of 2026-10-05`**, run at `main` `20ce593e` and at the head in two worktrees of one clone, each named `openxFactory`, so like is compared with like: rc 0 at both, `Findings: 31 critical, 26 error, 69 warning, 20 info. New regressions vs previous report: 0.`, and the two reports are byte-identical, a delta of zero.
- Every 8-character commit sha in the record and in this diff resolves with `git rev-parse --verify` in its own repository (openxFactory, openDox-code, openXdox-code and the two roots). The two `spec` shas in the record's pin table, `f7ee3c76` and `f088b097`, are the roots' gitlinks, read with `git ls-tree`.

## Rehearsal (2026-10-04, at that day's mains, before T086, T087, T094 and T098)

At openDox-code `38d3350e`, openXdox-code `6a3b93b9` and openxFactory `c8d80020` (ARC_TIP `fcb45380`): F4.1, F10.1, F13.1, F16.1 (`24`, `83` and `135 passed`) and F11.1 passed; F5.2 was red as expected until T086, on `tests/test_session_snapshot.py` (`17 failed, 6 passed`: 16 `SeamNotRegistered` at openDox's kickoff seam, 1 `IndexError`) and `tests/test_snapshot_validation_launch.py` (`9 failed`: T070's install-mode precondition, hosted by default and refused for no `OPENDOX_OIDC_ISSUER`), with the other five suites whole and `--chains` at `ok: 4 protected edit(s)`. opensoft/openXdox-code#37's scope covers all 26.

Host paths in the quotes are written `<workdir>`, and the user `<user>`. No closing keyword appears in this body or in any commit.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <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