Skip to content

Propose add-project-merged-projection (dashboard-project-scoping exit 2) - #78

Merged
brettheap merged 1 commit into
mainfrom
change/project-merged-projection-proposal
Aug 6, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/project-merged-projection-proposal

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Exit 2 of dashboard-project-scoping: the D1 true merged view, shaped by Brett's 2026-08-06 exit-2 decision round (topic decisions D9–D11):

  • D9 — merged-view cluster identity is a view-side union by topic tail; the ratified per-repo namespacing in the composition stays untouched, so edges and every existing consumer keep exact semantics.
  • D10 — composed views are read-only plus one jump: every gate verb hides (a gate verb binds to one served checkout; a composed view has none); tiles offer "open in <repo>", the ratified reload-per-switch posture. Per-tile binding remains exit 3.
  • D11 — project aggregates derive from the register (one per project, members = resolvable repositories at the default ref; hand-declared aggregates win id collisions), so a commissioned project gains its merged view at fulfilment with zero authoring.

Key scoping discovery: the composition substrate already exists and is ratified (compose_aggregate/compose_snapshots: namespaced ids, repository badges, composed_from freshness, app-shell member-key resolution) — this change is three view/serving additions with no contract growth.

Packet: proposal + design (D9–D11 + the D-f topic-tail derivation) + tasks (3 phases) + ADDED ideation-dashboard requirements (project merged view, merged-view cluster union, composed read-only + jump). openspec --all --strict 53/53. Ratification pending — realization starts on Brett's word.

🤖 Generated with Claude Code

Brett's exit-2 decision round (2026-08-06) locked three rulings, recorded
as topic decisions D9-D11: the merged view's cluster identity is a
VIEW-SIDE UNION by topic tail (the ratified per-repo namespacing in the
composition stays untouched); composed views are READ-ONLY plus one
navigation verb, "open in <repo>" (per-tile binding stays exit 3); and
project aggregates DERIVE from the register automatically, so a
commissioned project gains its merged view the moment its fulfilment
lands.

The proposal builds on the discovery that the heavy substrate already
exists and is ratified — snapshot_registry.compose_aggregate/
compose_snapshots with namespaced ids, repository badges, composed_from
freshness, and app-shell member-key resolution — so the change is three
view/serving additions with NO contract growth. Strict validation
53/53; README + INDEX record the active change; ratification pending.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 6, 2026 15:02
@brettheap
brettheap merged commit 2436c20 into main Aug 6, 2026

@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.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

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.

Pull request overview

This PR introduces the OpenSpec change packet for add-project-merged-projection (Exit 2 of dashboard-project-scoping), documenting the decision round outcomes (D9–D11) and adding the corresponding requirements/design/tasks artifacts while updating the staging index and root OpenSpec records list.

Changes:

  • Add the add-project-merged-projection change packet: proposal, design, tasks, and an ideation-dashboard spec delta capturing the new requirements.
  • Update README.md “Active changes” to include the new proposed change.
  • Update the dashboard-project-scoping staging topic index/notes to record Exit 2 proposal status and D9–D11 rulings.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
README.md Adds the proposed change link/summary to the “Active changes” list.
openspec/changes/add-project-merged-projection/tasks.md Defines implementation tasks for project-derived aggregates, merged-view union, composed read-only + jump, and verification.
openspec/changes/add-project-merged-projection/specs/ideation-dashboard/spec.md Adds new ideation-dashboard requirements for project merged view, cluster union, and composed read-only + jump behavior.
openspec/changes/add-project-merged-projection/proposal.md Introduces the change proposal (why/what/non-goals/impact) for Exit 2.
openspec/changes/add-project-merged-projection/design.md Documents the design decisions D9–D11 and D-f keying rule.
ideation/staging/INDEX.md Updates the staging topic summary entry to reflect Exit 2 proposal and D9–D11.
ideation/staging/dashboard-project-scoping/dashboard-project-scoping.md Records decisions D9–D11 in the staging topic narrative.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
register-DERIVED project aggregates (a commissioned project gains its
merged view at fulfilment), the all-repos selection, the view-side
same-topic cluster union (composition namespacing untouched), the
composed read-only plane with the "open in <repo>" jump, and the
declared ones (no schema growth — `aggregates[]` already carries
them); the composed-snapshot route resolves a derived aggregate id.
- [ ] 1.3 Selector wiring: with a project scoped, the roster offers
"all repositories in <project>" mapped to the project's aggregate;
the same path.
- [ ] 2.2 Composed-view verb gating: every gate-bearing affordance hides
when `generation.composed_from` is present; the expanded tile mounts
the one navigation verb "open in <repo>" (store key + reload — the
snapshots; jump key resolution.
- [ ] 3.3 Live browser check: scope a multi-repo project, select "all
repositories", the merged wheel renders with union tiles and repo
badges, gate verbs absent, "open in <repo>" jumps; zero page errors.

#### Scenario: A project offers its all-repos view
- WHEN a project is scoped in the selector
- THEN the roster offers "all repositories in <project>" backed by the project's derived aggregate
project yields its merged view the moment its fulfilment lands; no
hand-declared upkeep.
- ADD the all-repos selection: with a project scoped, the selector offers
"all repositories in <project>" — the project's derived aggregate — and
other consumer sees exactly what it sees today.
- ADD the composed-view interactivity posture (D10): on a composed
snapshot every gate verb hides; expanded tiles offer one navigation verb,
"open in <repo>", which switches the active snapshot to that tile's
checkout. Rather than mixing planes ahead of exit 3, every gate-bearing
affordance hides when the rendered snapshot is composed (the
`generation.composed_from` block is the signal — no new flag), and the
expanded tile offers exactly one navigation verb: "open in <repo>", which
Comment thread ideation/staging/INDEX.md
| [context-compression-runtime](#context-compression-runtime) | ADDED `context-compression-runtime` (worker-lane compression stage + RAM-only local-store rule + upstream-exclusion obligation + three-tier audit model + per-domain egress-capture knob) | 1 | Ready to iterate — design + headroom v0.32.0 source audit locked with Brett 2026-07-25/26 (RAM-only CCR, audit moved to envelope/transcript/egress tiers); exit gated on the codexFactory-lane pilot in Omnigent-Install producing measured savings |
| [dashboard-repo-selector](#dashboard-repo-selector) | MODIFIED `ideation-dashboard` (repo selector, (repository, ref) snapshot source, runtime fetch + baked fallback, refresh affordances, dispatchable publication) + ADDED snapshot-index contract; later ADDED runtime capability (neutral install-shipped ideation surface, DTN path) | 1 | **Proposed 2026-07-26** as `add-dashboard-repo-selector` (exit 1) — twelve decisions locked with Brett 2026-07-25/26 (runtime plane is the goal, planes separate, per-repo snapshots + index, sparse wheels, bake the app not the snapshot, baked snapshot demoted to fallback, two refresh bindings, off-cycle publication is CI-only, (repository, ref) keying, displayed freshness, branch snapshots never published); neutral-vs-override fork + data-source ratification deliberately open; exit 2 (runtime plane) still staged |
| [dashboard-project-scoping](#dashboard-project-scoping) | MODIFIED `ideation-dashboard` (create-project commission, project-scoped selection, merged cross-repo projection, per-tile repository binding); additive gate-intent / gate-action-record growth | 1 | **Decision round complete 2026-08-06** — D1–D8 locked with Brett, ZERO open questions: true MERGED all-repos view (D1), register writes via COMMISSION (D2), L3 per-tile binding PROCEEDS as its own change (D3), projects only (D4), local register dev-authoritative then derived cache under the tenant-catalog twin (D5), THREE sequenced exits (D6: `add-project-scoped-selection` → `add-project-merged-projection` → `add-project-tile-repository-binding`), register split by role (D7 — core/domains/medx-clinical/installs), repository membership MULTI-PARENT (D8, ruled during exit-1 realization — a repo may live in many projects; snapshot keeps a first-declaring PRIMARY + additive `projects` list; MedxFactory joins medx-clinical). **Exit 1 proposed, RATIFIED, and REALIZED 2026-08-06 as `add-project-scoped-selection`** |
| [dashboard-project-scoping](#dashboard-project-scoping) | MODIFIED `ideation-dashboard` (create-project commission, project-scoped selection, merged cross-repo projection, per-tile repository binding); additive gate-intent / gate-action-record growth | 1 | **Decision round complete 2026-08-06** — D1–D8 locked with Brett, ZERO open questions: true MERGED all-repos view (D1), register writes via COMMISSION (D2), L3 per-tile binding PROCEEDS as its own change (D3), projects only (D4), local register dev-authoritative then derived cache under the tenant-catalog twin (D5), THREE sequenced exits (D6: `add-project-scoped-selection` → `add-project-merged-projection` → `add-project-tile-repository-binding`), register split by role (D7 — core/domains/medx-clinical/installs), repository membership MULTI-PARENT (D8, ruled during exit-1 realization — a repo may live in many projects; snapshot keeps a first-declaring PRIMARY + additive `projects` list; MedxFactory joins medx-clinical); merged-view rules D9–D11 (view-side cluster union by topic tail; composed views read-only + "open in <repo>" jump; project aggregates derived from the register). **Exit 1 proposed, RATIFIED, and REALIZED 2026-08-06 as `add-project-scoped-selection`; exit 2 proposed 2026-08-06 as `add-project-merged-projection` (awaiting ratification)** |
merged tile whose membership lists each repository's contribution.
- **D10 — The merged view is READ-ONLY plus a jump (Brett, 2026-08-06).**
Every gate verb hides on a composed view; each tile offers
"open in <repo>", which switches the active snapshot to that tile's
@brettheap
brettheap deleted the change/project-merged-projection-proposal branch August 21, 2026 23:57
brettheap added a commit that referenced this pull request Oct 5, 2026
Lane: openxfactory-4 (openXfactory-4-openDox_extraction)

**Plan 034's phase-3 ticks, the third.** It ticks T076, T086, T087, T101 and T104, which landed in opensoft/openDox-code, opensoft/openDox and opensoft/openXdox-code, in `specs/034-opendox-standalone-operation/tasks.md`, in the form #1221 and #1226 used: the box, and a "Landed" bullet drawn from the landed PR's own body.

- **Based on `main` `ba6bb870`** (#1230, batch P), merged up to `ca1c1486` (#1234). If `main` moves again, I merge it in (no rebase, no force-push).
- **Four commits and a merge.** `9a27b080` ticks the five tasks. `eee9e38f`, `252ef9f8` and `3f1790ee` each answer Copilot's findings at the head before (see "Review"). `3991b3a8` merges `main` `ca1c1486` (#1234, a tests-only PR with no `tasks.md` change) as a merge commit, never a rebase.
- **Bookkeeping only.** It edits one file. `git diff origin/main --stat` shows `tasks.md` alone, 374 insertions and 7 deletions: five box flips, five bullets, and one cell each of the P3-X and P3-C slice rows (below). Nothing under `openspec/` changes, so there is no Rule 6 window.
- **No `Arc:` trailer** (R1Q20 (a)), and no closing keyword in the commit message or in this body (both scanned with `/usr/bin/grep`).
- **Claim:** #656 comment `5994472613`.
- **T099 is NOT ticked.** The PyPI publish has not run. T101 is "T099's release step", and its bullet says what stays for T099.
- It stays a DRAFT until the holder marks it ready.

## The ticks, each with its evidence

Each sha is the merge commit of the named PR, read from the forge with `gh pr view <n> -R <repo> --json state,mergeCommit,baseRefName` (all six `MERGED`, base `main`), then checked in a bare clone of its repository. Each is a single-parent squash on `main`'s first-parent line. Each squash's tree equals its PR's final head's tree (`b92a2aa0` for openDox-code#84 at `c5fcdfa4`, `027edaf6` for #78 at `07cc8f36`, `0b1a2abc` for openDox#18 at `f451f68c`, `8b175f71` for openDox#17 at `4fddf62f`, `78ef1ed1` for openXdox-code#37 at `57bebd8b`). #79 is the one exception, as it must be: its head `9519cd8e` is `main` `651c35fe` plus the bump, so its tree lacks #78, which landed first. The squash's diff against its parent is the head's diff against `651c35fe`: `pyproject.toml` alone, 6 insertions and 1 deletion. The table is in landing order.

| task | landed | note |
|---|---|---|
| T104 | openDox-code#84 → `32943cbf` (2026-10-05T02:56Z) | The console token travels in the opened URL, not `/capabilities`, on a standalone plane only. The private copy at `<OPENDOX_STATE_DIR>/console/<port>.html`, its safe write, the two-way served-root boundary, the page's fragment reader, and the limits the holder and Brett accepted (B3's hint line, B7, the stale tab). The bullet also records what the composed hosts show, for T086 and T094. |
| T101 | openDox-code#78 → `d59f3f26` (11:41Z) and #79 → `dede32b4` (11:50Z) | #78 is the release workflow, with its hash-locked tools and `tests/test_release_workflow.py`. #79 is the version bump to 0.1.0, the last phase-3 openDox-code landing. The bullet records the pin and environment gates, the artifact checks, the publishing order and the accepted limits, and says that T099 keeps its box. |
| T087 | openDox#18 → `e1e3a3c3` (11:58Z) | The openDox root's code gitlink and `contracts/code-pin.yaml` move from `047bb4fa` to `dede32b4`, in one commit (two files). |
| T076 | openDox#17 → `504324de` (12:07Z) | The root README's "Install and run" section: the two lines, the browser limit, and the dated paragraph for the first line until T099 publishes. The bullet states what the tick means. |
| T086 | openXdox-code#37 → `56e1c238` (12:23Z) | openXdox's four governed columns at openDox's seams, the two route columns through the facet, `OPENDOX_BACK_IMPORTS` at `(0, 0)` and the pin at `dede32b4`, with F5.2's three repairs and the host-plane stand-in. |

Each task also carries a `**Landed**` bullet in `tasks.md`. The facts in each come from the landed PR's body, and where a bullet states a falsifier outcome I re-ran the falsifier at the merge sha (the next section but one). With these five, 83 of the 96 boxes are ticked (78 on `main`).

**Left as they are:** T002, T007, T089, T090 to T093, T094, T095, T096, T097, T098 and T099.

**What the T076 and T101 ticks mean.** Both bullets say so in `tasks.md`, as T088's does. T076's falsifier is review, and AT-R1 step 4 follows the README literally, but the first line, `pip install "opendox[local]"`, cannot be followed literally until T099 publishes. PyPI and TestPyPI both answered 404 for `opendox` when I read them (2026-10-05T12:38Z), the repository has no tag and no release, and `release.yml` has never run. So T076's box is the landing of a README that meets the review's criteria, and AT-R1 step 4, run at T095 and T096, keeps its own falsifier. T101's box is the landing of the release workflow and the version bump. T099, the publish, keeps its box.

## T086's files outside its slice row (Q7 (a))

- **Whose list this is.** Only openXdox-code#37's body carries one ("Files outside T086's slice row (Q7 (a)), to record in the next plan bookkeeping round"). The bodies of openDox-code#84 (T104), #78 and #79 (T101), openDox#18 (T087) and openDox#17 (T076) carry no such list: I read all five for "outside", "slice row", "bookkeeping round" and "single-writer", and for any list of files. Q7 is T086's prep question 7, which the holder ruled (a) on 2026-10-02: *"T086 also touches … recorded in the next plan bookkeeping round"*.
- **Checked against the forge.** `gh pr view 37 -R opensoft/openXdox-code --json files` lists 18 files. All 13 the body names are among them (12 edited, one created). Four of the 12 are already in the P3-X row since #1225: `tests/test_session_snapshot.py`, `tests/protected_suite_respellings.yaml`, `tests/integration/test_assembled_surface.py` and `.github/workflows/validate.yml`'s `LEFT_OUT`. The other five of the 18 are in the row (`pyproject.toml`, `tests/test_dependency_direction.py`) or are its "gate and projection contributions" and their tests.
- **The precedents I found, and used.** (1) #1225 rewrote the P3-E row's files cell to record what T075 did outside it: *"T075 (openDox-code#73, landed) edited `pyproject.toml`'s package data … and its tests; no server module."* (2) Landed bullets name the files a task touched beyond its row: T059's records that it joined the declared exclusion file's single-writer chain, and T075's lists the four files its PR changes. So the nine files not yet in the row are recorded in **both**: T086's `**Landed**` bullet, and the P3-X row's files cell, in P3-E's form (`T086 (openXdox-code#37, landed) also edited, outside the files above (Q7 (a)), … and created …`). The cell also says T086 edited neither route harness the row names, since the stand-in host in `tests/conftest.py` serves T104's token. That is true of the 18 files.
- **What the row edits do to the tools.** `sharedfiles` gains one file name on one line, `conftest.py` in P1-J against P3-X, which stays `ordered A<B`. The P3-C edit moves nothing, because the row keeps the three names. No other tool output moves (see Validation). If the holder would rather leave the row alone, it is one cell to revert, and the bullet keeps the list.
- **Not done here.** `plan.md` is outside this PR's file. Its single-writer table names openXdox-code's declared exclusion file as T041 → T043 → T044 → T061, and does not name T086's addition to it (65 → 66, `tests/test_column_contributions_governed.py`); T059's addition (67 → 66) was recorded in `tasks.md` only too. I noticed it and left it for the holder.
- **A T104 observation, not a list.** T104's body says the one page reader the PR edits is `web/views/notebook.js`, not the three files the task text and the P3-C row name (`app.js`, `edit.js`, `staging-workbench-model.js`), which are untouched. The T104 bullet says so. Copilot's first finding (below) asked for the P3-C row to say so too, and `eee9e38f` does, in P3-E's form: `T104 (openDox-code#84, landed) edited `src/opendox/web/views/notebook.js` instead, … and created `src/opendox/console_access.py``. `plan.md`'s single-writer row for `staging-workbench-model.js` (T102 → T104) still names T104, and I left it with the other `plan.md` item.

## Review

Copilot's reviews, each answered and each thread resolved (3 inline findings in all, 0 open):
- **At `9a27b080`** (2 findings, low). **r4184226463, the P3-C row** still named the three readers T104 did not edit: fixed in `eee9e38f`, as above. **r4184226530, `plan.md`'s single-writer chain** for openXdox-code's declared exclusion file ends at T061 and omits T086 (and T059): an accepted limit, since this PR is `tasks.md` alone and `plan.md` is the holder's to order. It is the "Not done here" item above, and the reply says so.
- **At `eee9e38f`** (no inline finding; two "previously missed" items on my T101 bullet): the release tag `v0.1.0` is made at the openDox-code commit T087 pins (`dede32b4`), not at T087's own commit in the openDox root, and the digests are recorded right after the artifact checks, before the wheel smoke test, not "before any third-party code" (the hash-locked tools and the package's own build have run by then). Both fixed in `252ef9f8`.
- **At `3991b3a8`** (1 finding, r4184414419): the T101 bullet's preflight sentence read as if a yanked file were an exception. Fixed in `3f1790ee`: the preflight tolerates only a verified file at its verified digest and refuses any other file of the version, and any yanked one.

## Re-run at each merge sha

My own runs, one sha at a time, each in a detached worktree of a bare clone, with a fresh venv per sha installed as that repository's `validate.yml` installs it (openDox-code: `pip install --only-binary :all: -c constraints-cpython312-linux.txt -e ".[runtime,test]"`; openXdox-code: `pip install -e ".[test]"`, which takes `opendox` from git at `dede32b4`). Python 3.12.3, pytest 8.4.2, node v24.21.0, `LANG=C.UTF-8`, run under `env -i` (no `GIT_*`, `XF_*`, `PG*` or `OPENDOX_*` variable inherited), an empty scratch `HOME`, and `TMPDIR` and pytest's `--basetemp` under `~/.cache/ticks-p3c-tmp`, outside `/workspace/projects/xFactory` (`git rev-parse` fails there). T104's red-first run was repeated with both under `~/.local/state/ticks-p3c/tmp` and read the same. There was no PostgreSQL service. I published, dispatched and approved nothing: my only calls to the forge and the indexes were reads (`gh pr view`, `gh run list`, `gh release list`, and two `GET`s of the indexes' JSON APIs).

| task | at | what I ran | result |
|---|---|---|---|
| T087 | `e1e3a3c3` | `make pins`, then `make validate`, in the openDox root with both legs initialised (`git submodule update --init`) | both rc 0. `make pins` prints `ok  code: gitlink == contracts/code-pin.yaml commit dede32b4b6f3`, `ok  code: tree digest recomputes (c2672463b4d8…)`, the same two lines for `spec` (`f7ee3c763b3a`, `e81f8530d93e…`), `ok  contracts/shape-pin.yaml: 10 copied shape file(s) match their digests`, and `pins ok`. `make validate` adds `manifest ok: openDox (opendox), 3 legs`. The commit changes `code` and `contracts/code-pin.yaml` only (2 files, 3 insertions, 3 deletions) |
| T076 | `504324de` | `make validate` in the openDox root, legs initialised | rc 0, the same output as above. The commit changes `README.md` alone (82 insertions) |
| T076 | `504324de` | the README's two lines, byte for byte, against batch H's 10.3 addendum in the ratified change's `tasks.md` at `ba6bb870` (`openspec/changes/add-neutral-product-standalone-operability/tasks.md:1535-1537`), extracted by a script | the addendum's commands are `pip install "opendox[local]"` and `opendox generate-and-open --local …`. Each is a README line exactly equal, once. The `…` is `e2 80 a6` (U+2026), after one ASCII space |
| T076 | now | **the published-package caveat.** `GET https://pypi.org/pypi/opendox/json` and `https://test.pypi.org/pypi/opendox/json`; `gh release list` and the tags of opensoft/openDox-code; `gh run list --workflow release.yml` | 404 and 404 (2026-10-05T12:38Z); no release; 0 tags; no run. So the first line cannot be followed literally today, and the README's dated paragraph names the stand-in, `pip install "./code[local]"` from a recursive clone. I did not run the stand-in, nor the README's start |
| T101 | `d59f3f26` | `tests/test_release_workflow.py` (the falsifier: "in the required check"), alone | `129 passed in 35.65s`. It is the only test the PR added |
| T101 | `dede32b4` | `pyproject.toml`'s version | `version = "0.1.0"` (line 23), against `0.0.0` at `d59f3f26`. `readme = "README.md"` is there too |
| T104 | `32943cbf` | `tests/test_console_token_delivery.py` and `tests/test_console_token_view.py` (the falsifier: "its PR's test, on the standalone serve"), alone, in one invocation | `166 passed in 87.97s` (the second file runs its node cases) |
| T104 | `38d3350e` (#84's base: the commit before the squash) | the same two test files and `tests/standalone_child.py` (the helper #84 extends), taken from `32943cbf`, run against the base's own tree in a venv installed there. The task text does not ask for this run. I made it as #1226 did for T103 | `158 failed, 1 passed, 7 errors` in 128s, of the 166. The one pass is `test_a_server_outlives_no_killed_run`, a case of the tests' own server helper, which does not touch the product. The 7 errors are the node file's. Two cases hang at the base, and I cut each at 60s with `pytest-timeout` 2.4.0, which I added to that venv only. My first run, without it, hung at the 23rd case and I killed it |
| T086 | `56e1c238` | `validate.yml`'s `pytest` step, lone: `python -m pytest -q --junitxml=pytest-report.xml --deselect "$LEFT_OUT"` with `LEFT_OUT` the 32-entry node, then the step's own triple script over the report | `1095 passed, 4 skipped, 1 deselected`. Triple: `selected=1099 passed=1095 skipped=4 failures=0 errors=0`; pins `selected>=1099 (margin 0) passed>=1095 (margin 0) skipped==4` |
| T086 | `56e1c238` | `tests/test_dependency_direction.py`, alone | `17 passed` |

**Not re-run, and why.**
- **The whole openDox-code suite at any sha**, and so the whole-suite numbers in the T101 and T104 bullets (`4005 passed, 11 skipped` and the like). They are the PRs' own, read from their bodies. They need PostgreSQL and hours.
- **T101:** the workflow itself. I ran none of its jobs or steps, its linters, its mutants, or its live reads (the environment and approval steps). The falsifier's other half, the `build` job over the pinned commit, is T099's. Nothing was dispatched.
- **T104:** the PR's 90 mutants, its Chromium run, and its composed runs against openxFactory and openXdox-code (they need those checkouts composed with `scripts/`).
- **T086:** F5.2 whole, F9.1's other readings, and the composed runs (F5.2's seven suites, the declared-excluded files, 12.5's governed set, the two harness modules as #84 ran them, the 32-entry digest). I tried F5.2's pytest loop composed with `scripts/` from my openxFactory clone, and all seven suites stop at collection (`corpus_adapter_openxfactory.adapter: the pinned openDox corpus-adapter interface is not at …`), because the clone's nested openDox leg is not initialised. I did not pursue it: F5.2 closes at T089. So the bullet's composed numbers are the PR's own.
- **T087:** the PR's three other digest recomputations, and its half-move experiments. `make pins` recomputes the tree digest itself.
- **T076:** the PR's fresh-venv install and start of the stand-in, and its checks against the pin (the bundled PostgreSQL's lifecycle, the `Host` check, the printed lines).

## Validation

- **`python3 scripts/validate-openspec-cli-pin.py --all --strict`**, the pinned CLI 1.12.0, from the openxFactory root, at this head and at `main` `ca1c1486`: both rc 0, `Totals: 110 passed, 1 failed (111 items)`, `0 UNDISPOSITIONED failures`. The one failure is the accepted exception for `add-chain-attestation` (Brett Heap, 2026-09-05). The two outputs are identical line for line but the working directory in the third.
- **The plan-graph tools** (`depcheck`, `chaincheck`, `chaindirect`, `arrowcheck`, `phasecover`, `sharedfiles`, `qcheck`, from the lane's `plantools`), this branch against `main` `ca1c1486`: the output is identical except two things. The box count moves, 78 ticked of 96 on `main` and 83 here. And one `sharedfiles` line gains `conftest.py` from the P3-X row edit (above): `P1-J … vs P3-X … share ['.github/workflows/validate.yml', 'conftest.py', 'test_assembled_surface.py', 'validate.yml']: ordered A<B`. Both read 96 tasks, `cycles: none`, `single-writer chain gaps: 0`, `arrow mismatches: 0` (83 arrows), and `qcheck` reads `headers checked: 27 of 27; mismatches: 0`.
- **Tests that read plan 034's `tasks.md`:** none. `git grep -nE 'specs/034|opendox-standalone-operation' -- tests scripts .github` finds nothing, and this PR touches no code.
- **Every 8-character sha in the added text resolves** with `git rev-parse` in openDox-code, openDox, openXdox-code or openxFactory: 17 of 19. The other two, `c2672463` and `97536dbe`, are tree digests, and I read both in the openDox root's `contracts/code-pin.yaml` (at `e1e3a3c3` and `d5098297`).
- **The open PRs that edit the same file.** None edits `specs/034-opendox-standalone-operation/`. `git merge-tree --write-tree` of the head before the merge of `main` (`eee9e38f`) with each open PR's head reported no conflict (rc 0), and `main` has since taken #1234, which touches four test files only. The open PRs now are #1233 (T097's DRAFT, which edits the openspec change's `tasks.md`, not this file), #1211, #1209, #1138, #594 and #518.

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

🤖 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 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>
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