Skip to content

Brainstorm: topic compilation tree + linked supporting docs - #36

Merged
brettheap merged 1 commit into
mainfrom
idea/topic-compilation-tree
Jul 19, 2026
Merged

brettheap merged 1 commit into
mainfrom
idea/topic-compilation-tree

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Captures Brett's 2026-07-19 idea (verbatim intent preserved): shared supporting docs referenced by link (1-to-many) instead of copied per packet, plus a generated per-topic compilation doc with a three-level tree (index line → abstract → full-doc link). Brainstorm stage — contradiction legal, no contracts changed.

🤖 Generated with Claude Code

…026-07-19)

One-to-many docs↔packets: link from staging folders instead of copying,
and per topic build a tree-structured compilation doc (one-line index →
per-passage abstract → deep link to source). Captured with verbatim
intent; open questions on curation, placement, origin-contract delta,
anchoring, and archive durability.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings July 19, 2026 23:43
@brettheap
brettheap merged commit badac42 into main Jul 19, 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 ✨

@brettheap
brettheap deleted the idea/topic-compilation-tree branch July 19, 2026 23:43

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

Adds a new brainstorm note capturing the “topic compilation tree” idea for openxFactory: supporting docs should be linked (1-to-many) rather than copied per packet, and each topic should have a generated 3-level compilation/digest doc (index → abstract → source link) built from passage discovery.

Changes:

  • Introduces a new brainstorm document describing the linked supporting-doc model and the generated compilation-tree artifact.
  • Documents how this proposal relates to existing mechanisms (possibles derivation lane, cataloging worker shape, anchoring, dashboard rendering).
  • Captures open questions and a potential exit path toward staging/promoted work.

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

Comment on lines +15 to +16
inside OTHER topics' docs (`ideation-dashboard.md`, 37 mentions;
`cluster-combining-gui.md`, 16; three lens docs in passing). The packet

Status: brainstorm
Kind: architecture
Summary: Supporting documents relate to features one-to-many, so packets should LINK to docs in a general home instead of copying them — and for each topic we want a generated, tree-structured compilation doc: a one-line-summary index that opens to per-passage abstracts, each linked to the full source doc.
> passages into a single long doc with those links as a sort of index.
> in fact we want an index that is built, then we take abstracts and make
> the expanded doc. This can be one doc with tree structure. so it has a
> oneline summary index. that opens to abstract and is linked to the full
@sonarqubecloud

Copy link
Copy Markdown

brettheap pushed a commit that referenced this pull request Jul 26, 2026
…leet + temp workers

Exit 1 of the worker-enrollment-broker staged topic, from Brett's seven
binding rulings of 2026-07-26. Ratifies the neutral CONTRACT before any of
its three realizations are built, resolving the registration-credential
decision parked at Worker Host App PRs #36/#37.

ADDED capability worker-enrollment-broker (10 requirements):
- one enrollment point, two authentication modes — fleet hosts by per-host
  identity in an Opsx key vault (broker ACCESS, never minting), volunteer
  workstations as the ENGINEER by device code with no standing secret ever
  written to the machine; identical request/response shapes
- enrollment grants a LEASE (id, TTL, trust tier, runner group) plus a
  short-lived single-use registration token that is never persisted
- minting authority (the opsxfactory administration-tier App key) lives only
  in the broker under the ratified credential-contracts custody shapes;
  remove-token brokering for drift repair rides the same authority and audit
- renewal on a cadence, every response carrying the current minimum app
  version; below-floor, refused, expired, or revoked workers FAIL CLOSED
  (runner services stop, heartbeat reports update_required)
- revocation is refusing the next renewal — no reach into the machine
- estate package split: fleet hard-pins version + sha256 with self-update off
  and bumps ride manifest rollouts; temp workers self-update, observed version
  informational
- temp workers segregated into a dedicated runner group with a trust tier
  lanes can decline; a standing-lane request is refused, not downgraded
- every enrollment, renewal, refusal, and revocation audited by a record shape
  in which no token or key value can appear
- published as a versioned additive bundle the three realizations pin

Code surface is openxFactory only: six schemas under contracts/worker-enrollment/,
packaged positive/negative examples, and scripts/validate-worker-enrollment.py.
The broker SERVICE, the Omnigent-Install registration/renewal integration, and
the OpsxFactory custody/policy/runner-group/eligibility work are named successor
changes; the heartbeat/readiness projection is deliberately excluded and left to
a coordinated three-places change.

design.md carries the seven rulings as decided context and all ten of the
topic's open questions as decisions D1-D10 with recommendations; D1 (broker home
and hosting) blocks the first realization. tasks.md is phased 1 contract (this
change) / 2 broker service / 3 Omnigent-Install / 4 OpsxFactory / 5 acceptance —
the volunteer-workstation end-to-end on Brett's machine, doubling as the
NT SERVICE fact-check.

Validation: openspec validate add-worker-enrollment-broker --strict and
--all --strict both green (46 passed, 0 failed); validate-ideation-cross-reference
0 errors, 0 warnings. README OpenSpec Records, the staged topic, and the staging
INDEX row/section updated to Proposed 2026-07-26.

Co-Authored-By: Claude Fable 5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 2, 2026
…, with openXdox's governed projection registered by the host (plan 034) (#1215)

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

Plan 034, task **T064** (slice P2-H): phase 2's consumer pins (T090 steps 5–6), `specs/034-opendox-standalone-operation/tasks.md` at openxFactory `main` `80217a92`. The precedent is T047 (opensoft/openXdox#20, then #1181).

- **Landing order, done:**
  - T066 (#1213) has landed as `80217a92`. openxFactory already holds at both pin sets, and the plan's T064 text already reads "the one host line" (holder decision (a), 2026-09-30).
  - opensoft/openXdox#21 has landed, squashed to `f257e021`.
- **Holder decisions in force:**
  - (a) the plan-text correction rode in T066;
  - (b) T092's phase-2 `edits[].note` annotations ride in T063's checkpoint, NOT here;
  - (c) the three candidate-pin reds with no both-pins form are answered in this PR.
- It stays a DRAFT until the holder marks it READY.

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

| pair | gitlink | pin file `commit:` | `digests.tree_sha256` |
| --- | --- | --- | --- |
| openDox | `663ac683` → **`d5098297`** | same (`contracts/opendox-pin.yaml`:118) | `ec826603…9d5d` → **`2815ca2353d1cd4c220b5391e1c0bc45c2cabfec9aa196cee1e0a4bcc9e857cc`** (28 records) |
| openXdox | `57e2b8f2` → **`f257e021`** | same (`contracts/openxdox-pin.yaml`:109) | `e52c1383…6390` → **`52f0598edb8517dce7be3acc7637c9552020a4e2e1716be7bb8a1f352d406959`** (29 records) |

- `d5098297` is openDox root `main`, three commits ahead of `663ac683`:
  - #14 (`52005213`, T053) cuts `dox-v1.1`. The annotated tag `851a28e9` is over `52005213`, and the spec leg moves `8fe8c4c7` → `f7ee3c76`.
  - #15 changes only `contracts/CHANGELOG.md`.
  - #16 (T062) moves `code` `2d116415` → `047bb4fa`.
- **`f257e021` is opensoft/openXdox `main`, where #21 squash-landed.** It moves `code` `6158151e` → `6a3b93b9`, which is openXdox-code `main` after #34–#36 (T060, T059, T061). It also moves `contracts/opendox-pin.yaml` `663ac683` → `d5098297` (T090 step 5).
- Every digest was recomputed three ways, with controls on the old values: `repo_shape.tree_digest`, an independent `ls-tree` + `sha256`, and the forge's tree listing.
- **Why one commit and not "one commit each" (T090 step 6).** #21 changes the openDox pin that `verify-opendox-pin.py` check 5 reads through the openXdox gitlink. So moving the openXdox pair alone would fail check 5, and the runbook's § 3 step 8 moves the openDox pair *"in the SAME commit"*. Each pair still moves as one unit (box 9.5). **The holder decided the single commit on 2026-09-28.** This PR therefore deliberately departs from T090 step 6's "one commit each".
- Both pin files are edited in place, keeping their line counts. The openDox `migration:` block keeps `range` and `reversible`, because no migration path changes over `2d116415..047bb4fa`. Its `runbook` names the new code leg `047bb4fa`, and the block is identical to openXdox's derived copy, which `tests/opendox_pin` asserts.
- **Gates.** `verify-openxdox-pin.py` prints `OK openxdox-pin verified: openXdox@f257e021…, gitlink read from HEAD`, with digest `52f0598e…`. `verify-opendox-pin.py` prints `OK … openDox@d5098297…, lockstep with openXdox confirmed`.

## What else it carries

| commit | what | F11.1 surface |
| --- | --- | --- |
| `47e47c69`, `5663b4ed` | **The host line.** `scripts/opendox_host.register_openxfactory()` calls `openxdox.projection_contributions.register()` once openDox answers this host's profile, and before `register_seams()` (`5663b4ed`, on Copilot's finding at `d6c47f4f`). A profile openDox refuses is refused before any seam is written, so openDox's unread defaults stay where they were. The contribution call is all or none on its own, and its refusal leaves the profile registered and no host seam written, as a refusal inside `register_seams()` leaves the profile. The docstring says why openxFactory makes the call itself (it registers with openDox alone), and why its order differs from `openxdox.domain_profile.register()`'s. `tests/domain_profile/test_host_registers_openxdox_projection.py`, 9 cases, covers registration, a fresh interpreter (nothing before the call, everything after), the order, idempotence, both refusal directions (one with openDox's entry-point defaults preinstalled and unread), the process's pre-held contributions, and a mutation. Three planted breaks are each caught: the line removed fails 5 cases, moved before the profile 4, and moved after the seams 2. | HOST, HOST_TESTS |
| `47e47c69` | Items C2 and C3 of #1213: the host line's import puts `projection_contributions.py` in the render unit's by-name imports, so the lane's `RENDER_LEG_MODULES` and the seal test's `RENDER_UNIT_IMPORTS` gain it. The seal carries a leg's whole `src/`, so no sealed artifact changes. | ADMITTED_ARC_EDITS (both paths) |
| `4859bfa5` | Item C1 of #1213: `test_ruling_q7_two_direct_upstreams_in_lockstep`'s snapshot literal moves `663ac683` → `d5098297`, as its comment says it does on every bump. | ADMITTED_ARC_EDITS |
| `d6c47f4f` | **129 `created:` admissions** in `docs/opendox-carve-admissions.yaml`, pinned in `tests/carve_arrival` by path, `since` and count, as T047's 37 are. They cover every file a leg added since its last pin, under the destination's declared roots, that no row places. Each `since` is the leg's own squash landing (`git log --diff-filter=A`), and each path is present at the new pin. | ADMITTED_ARC_EDITS (both paths) |

The 129 admissions:

- **`openxdox_code`, 13**: #34 (T060) 1, #35 (T059) 5, #36 (T061) 7, among them `src/openxdox/projection_contributions.py` and the packaged `src/openxdox/contracts/`.
- **`opendox_code`, 80**: #53 (T050) 9, #54 (T052) 3, #56 (T051) 3, #57 (T054) 2, #58 (T057) 54, #59 (T055) 5, #66 (T056) 2, #68 (T058) 1, #70 (T055 follow-up) 1.
- **`opendox_spec`, 36**: openDox's spec leg moved with `dox-v1.1` (`8fe8c4c7` → `f7ee3c76`). 35 come from openDox-spec #16 (T053), and one is older: `docs/front-end-package-boundary.md` (#8), which the spec walk already refused at `8fe8c4c7` and no earlier bump admitted. With all 36, `verify-carve-arrival.py --destination opendox_spec --phase B` prints OK at `f7ee3c76`.
- **Derived, not run green, for the `-code` legs**, as at T047. At both new pins `--phase B` still refuses `arrival-undeclared-edit` before it reaches the created-file walk.

## Review

| Copilot at | verdict | threads | answered in |
| --- | --- | --- | --- |
| `d6c47f4f` | Changes recommended | Taking the contributions back after a refused profile emptied each seam, which does not restore an unread openDox default they had replaced. A boolean cannot tell a partly pre-existing set apart either. | `5663b4ed`: the call moves after the profile and before the host's seams, so a refused profile writes no seam and no rollback is needed. Copilot's case is a test, with the defaults preinstalled. No openXdox API change is needed. The thread is answered and resolved. |

## 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)` (exit 0, over the arc's landings through `5663b4ed`: T047's `f56c87c6` and this PR's five commits)

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`;
- HOST_TESTS: `tests/domain_profile/test_host_registers_openxdox_projection.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: T092's phase-2 notes go to T063, on decision (b).

## The falsifiers, at the COMMITTED pins

T047's falsifiers, with the consumer gate's suite at its floors. Each local run is the gates' own steps: both verifiers, then the pin suites, then `tests/ideation-dashboard`, then `pytest tests/ -q -m "not postgres"`. They run with Python 3.12.3, the hash-pinned lock, node 24, the pinned OpenSpec CLI 1.12.0, and `PINNED_CORE_CHECKOUT` at codexFactory `b21f0100`. Each runs in a checkout named `openxFactory`, with every gitlink at the committed pins and recursively initialized: openDox/code `047bb4fa`, openDox/spec `f7ee3c76`, openXdox/code `6a3b93b9`, openXdox/spec `f088b097`.

| run | head | verifiers | pin suites (floor 105/105/0) | `tests/ideation-dashboard` (floor 1137/1137/0) | `pytest-suite` |
| --- | --- | --- | --- | --- | --- |
| **CI** | `5663b4ed` | OK, OK, lockstep confirmed (run `37065541361`) | **105/105/0** | **1481/1481/0** | **8927 passed, 6 skipped, 0 failed**: `selected=9345 passed=9339 skipped=6 failures=0 errors=0`, margin 2295, `skipped==6` (run `37065541376`). All 12 checks pass. |
| F1 | `5663b4ed` | OK, OK | 105/105/0 | 1481/1481/0 | 8928 passed, 5 skipped, 0 failed |
| R1 (rehearsal) | the same edits before `5663b4ed`, over the candidate root `bfd0c5a2` | OK, OK | 105/105/0 | 1481/1481/0 | 8926 passed, 5 skipped, 0 failed |

- **#1213's red list is empty at the committed pins.** All three of its T064-owned items (C1-C3) pass, and so do the 187 that the host line answers.
- The consumer suite has 1481 cases, one more than #1213's 1480, because the seal's by-name-module refusal is parametrized over `RENDER_UNIT_IMPORTS`, which gained `projection_contributions.py`. The whole suite has 8933 tests (local XML) against #1213's 8923: the host-line file adds nine and the seal adds that one.
- `validate-carve-manifest.py` prints OK (456 rows), and `validate-former-id-arrival.py --base origin/main --head HEAD` passes.
- A local run skips 5 where CI skips 6, for the reason #1213 states: the work tree sits inside an aggregation checkout, so the aggregation ignore-file case runs and passes there.
- In the openXdox root, `make pins` and `make validate` exit 0 at #21's head.

## 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 → `d5098297a5c262f9977193305210bccb4ec51e89`;
- the root `openXdox` gitlink → `f257e021399288f430cc89cc0f23cc2cd62be9a7`;
- the root `openxFactory` gitlink → this PR's landed sha, with `.github/clearing/openxfactory/PIN.yaml` in the same commit (CLAUDE.md rule 2).

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) <[email protected]>
brettheap added a commit that referenced this pull request Oct 5, 2026
…and staging-workbench-model.js row (bookkeeping) (#1244)

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

**Plan 034, the single-writer table in `plan.md`: two rows that the landed history no longer shows (bookkeeping).** openxFactory#1235's writer recorded both under "Not done here" and left them for the holder. This is release-1 follow-on slice C, on Brett Heap's word (#656 comment 6000582654, "openDox-code follow-ons first"). It carries no Arc trailer.

The diff is two table cells in `specs/034-opendox-standalone-operation/plan.md` (one commit, 2 insertions, 2 deletions). No other line of `plan.md` and no other file changes.

## What changes

**1. openXdox-code's declared exclusion file.** The chain read `T041 → T043 → T044 → T061`. It now reads `T041 → T043 → T044 → T059 → T061 → T086`, with each new link carrying its effect on the file:
- T059 (`tests/test_seam_assembly_beside_gate_and_projection.py`'s entry leaves, 67 → 66)
- T086 (`tests/test_column_contributions_governed.py` joins under `doc_health`, 65 → 66)

**2. openDox-code `src/opendox/web/views/staging-workbench-model.js`.** The row read `T102 → T104 (the console token's reader)`. It now names T102 alone, the one phase-3 slice that edits the file, and says where T104's reader went: `web/views/notebook.js` instead (openDox-code#84), so no writer follows T102 here.

## Every fact, checked against tasks.md and the landed PRs

The file named by row 1 is `tests/declared_exclusion.yaml` in openXdox-code. Its history on `main` (the GitHub commits API for that path, newest first) lists exactly five commits. The first created the file with 66 files (its message, and tasks.md's landing note), and the patches of the other four (T044, T059, T061, T086) move it as the third column says. T043's PR (#32) is not in that history: it moved no entry, as the row already said.

| task | openXdox-code PR → commit | what it did to the file | tasks.md says |
|---|---|---|---|
| T041 | #30 → `5fbd188e` | created it: 66 files, four reasons | "66 files under all four reasons" |
| T043 | #32 → `4610bca5` | not in the file's history | "a re-run at T040's pin, which moved no entry" (the row's own words, kept) |
| T044 | #33 → `6158151e` | `count` 66 → 67; `tests/test_seam_assembly_beside_gate_and_projection.py` joins under `doc_health` | "the declaration holds 67 files" |
| T059 | #35 → `839492d9` | `count` 67 → 66; that same entry leaves | "(67 → 66), and T059 joined that file's single-writer chain, T044 → T059 → T061" |
| T061 | #36 → `6a3b93b9` | `count` 66 → 65; `tests/test_snapshot.py` leaves, and its `consumer-schemas` reason with it | "(66 → 65)" |
| T086 | #37 → `56e1c238` | `count` 65 → 66; `tests/test_column_contributions_governed.py` joins under `doc_health` | "65 → 66, Q9 (a)" |

Row 2. openDox-code's history for `src/opendox/web/views/staging-workbench-model.js` ends at T102 (#81 → `0116293a`); T104 (#84 → `32943cbf`) is not in it. The same API read for `src/opendox/web/views/notebook.js` lists #84 as its only edit since the adoption. tasks.md's T104 landing note says the same: "`web/views/notebook.js`, the one reader the PR edits … `app.js`, `edit.js` and the staging workbench's JS, which the task text names as the readers, are untouched". I also read the neighbouring `lens.js` row (T088 → T102). It agrees with the history (#65 → `d0d3cee6`, then #81 → `0116293a`), and I left it.

## Plan tools, before and after

The seven tools are lane 4's copies (`depcheck`, `chaincheck`, `chaindirect`, `arrowcheck`, `phasecover`, `sharedfiles`, `qcheck`, with `aftergraph.py` and `qmap.py`), run from the feature directory, `specs/034-opendox-standalone-operation/`, at `main` `12753f27` and at this head `4847b890`, each in a full clone. `qcheck` takes `qmap.py` as its argument.

| tool | `main` `12753f27` | head `4847b890` |
|---|---|---|
| `depcheck` | `tasks: 96 nodes: 108 … edges: 270`, `cycles: none`, `cycles with the Lands-with groups merged [['T011', 'T030'], ['T031', 'T036'], ['T045', 'T046', 'T047']] : none` | byte-identical |
| `chaincheck` | `single-writer chain gaps: 0` | byte-identical |
| `chaindirect` | 42 lines, including `openXdox-code exclusion file T044->T061: transitive ['T061', 'T059', 'T052', 'T049', 'T047', 'T044']` | byte-identical |
| `arrowcheck` | `arrow mismatches: 0`, `arrows checked: 83` | byte-identical |
| `phasecover` | `phase 1 → T049: 32 tasks; not before the checkpoint: []; after it: ['T048']`; `phase 2 → T063: 17 tasks; not before the checkpoint: []; after it: []`; `phase 3 → T089: 29 tasks; not before the checkpoint: []; after it: ['T099']`; T095, T096, T097 each `ancestors include T076? True`, `T089? True` | byte-identical |
| `sharedfiles` | 87 lines: 82 `ordered`, 5 `NOT ORDERED` (P1-A/P1-B, P1-A/P1-D, P1-B/P1-D, P1-H/P1-G, P3-I/P3-E); `P3-S edit and chat by scope [T102] vs P3-C the console token [T104] share ['staging-workbench-model.js']: ordered A<B` | byte-identical |
| `qcheck` | `headers checked: 27 of 27; mismatches: 0` | byte-identical |

Each of the seven outputs was compared with `cmp`, and each is identical. That is the expected reading, and it is the reason this section carries two more checks below, because none of the seven can see the two rows:
- `chaincheck.py` and `chaindirect.py` hold their chains as literals in a `CHAINS` dict (the exclusion file's is still `["T041", "T043", "T044", "T061"]`), so they test tasks.md's After graph against a copy of the plan's chains, never against `plan.md`'s table;
- `depcheck`, `phasecover`, `sharedfiles` and `qcheck` read `tasks.md` and `clarify-questions.md` only;
- `arrowcheck` reads `plan.md`'s `## Dependency graph` section, which ends before `## Parallel slices`, where the table sits.

So the stale spots cannot leave a tool's output, and the unchanged outputs show that this edit moved nothing the tools read. Two supplementary runs, from copies kept outside the repository, test the new rows themselves:

1. **`chaincheck` and `chaindirect` with the exclusion chain set to the new row's `["T041", "T043", "T044", "T059", "T061", "T086"]`** (the one literal changed in a copy of each). `chaincheck`: `single-writer chain gaps: 0`. `chaindirect`, the five exclusion-file pairs:
   ```
   T041->T043: DIRECT
   T043->T044: DIRECT
   T044->T059: transitive ['T059', 'T052', 'T049', 'T047', 'T044']
   T059->T061: DIRECT
   T061->T086: DIRECT
   ```
   Every pair is ordered by the After graph. T044 → T059 is transitive (T059's After list does not name T044), and the order holds through T052 ← T049 ← T047 ← T044. That is an ordering the graph already carried, not a new edge, and tasks.md's T059 note states the pair.
2. **A row check** (`rowcheck.py`, a short script of mine that reads the two rows straight from `plan.md` and tests the exclusion row against the After graph and against the order of the landed commits above):
   ```
   main 12753f2                                             head 4847b89
   chain in plan.md: T041 -> T043 -> T044 -> T061            T041 -> T043 -> T044 -> T059 -> T061 -> T086
   equals the landed order: False                            True
   chain gaps: 0                                             0
   staging row names T104 as a following writer: True        False
   writers named before the colon: ['T102', 'T104']          ['T102']
   ```

## Gates, at `main` `12753f27` and at this head `4847b890`

Each in its own full clone named `openxFactory`, with the `openXwallet`, `openXdox` and `openDox` submodules initialized recursively as `pytest-suite` does. The venv was built by CI's own `pip install --require-hashes -r requirements/hermes-runtime-contracts.lock`; Python 3.12.3, node v24.21.0, the pinned OpenSpec CLI 1.12.0, `LANG=C.UTF-8`, every `GIT_*` and `XF_*` variable unset.

| gate | `main` `12753f27` | head `4847b890` |
|---|---|---|
| `python3 scripts/validate-openspec-cli-pin.py --all --strict`, and CI's form `--all --no-cache` | rc 0 each: `Totals: 110 passed, 1 failed (111 items)`; `every target validated --strict with 0 UNDISPOSITIONED failures`; 1 accepted exception (`add-chain-attestation`, accepted by Brett Heap 2026-09-05) | identical, but for the clone path in the CLI's command line |
| `scripts/doc-health.py --single-repo . --as-of 2026-10-05` | rc 0: `Findings: 31 critical, 26 error, 69 warning, 20 info. New regressions vs previous report: 0.` | identical, byte for byte but for the clone path |
| the validators `.github/workflows/` invokes on a pull request: `validate-former-id-arrival.py`, `validate-clearing-dispatch.py`, `validate-factory-identity.py`, `validate-signed-execution-chain.py --require-pinned-wallet-vocabulary` | rc 0 each | identical |
| `validate-release-tag-gate.py` | rc 0: `no release surface change: none of the 2 changed path(s) between 8a37a08 and 12753f2 …` | rc 0, the same verdict over this PR's range: `none of the 1 changed path(s) between 12753f2 and 4847b89 …` |
| the repository's other validators, run directly: `validate-sequenced-after.py --ledger-diff`, `validate-code-surface.py`, `validate-target-release.py`, `validate-pin-registrations.py`, `validate-document-catalog.py`, `validate-scope-globs.py` | rc 0 each | identical |

`openreposhape-pin-gate` needs a checkout of its own pin and is left to CI. The one output line that differs between the two columns is the release-tag gate's own commit range.

The doc-health reading depends on how far the submodules are materialized, and the same on both sides. With the nested legs initialized (`git submodule update --init --recursive openXdox openDox`, as `pytest-suite` does) it reads 26 errors, at `main` and at this head. Without `openXdox/spec` it reads 22, at both, because `release-inventory-drift` then skips its comparison and the four extra findings (`scripts/hermes_runtime_validation/catalog.py`, `…/release.py`, `scripts/validate-hermes-runtime-contracts.py` and `scripts/validate-ideation-dashboard-contracts.py`, each "bytes differ from the digest 'contract-v4.0' records") do not appear. They are on `main` already, and this PR touches none of those files.

## pytest

**CI's `pytest-suite` at the exact head** (run 37358868274): completed, success. `selected=9376 passed=9370 skipped=6 failures=0 errors=0`; `floors: selected>=7050 (margin 2326) passed>=7044 (margin 2326) skipped==6`; the freshness verifier and the vector replay both `passed`.

**My own full run**, CI's command (`python3 -m pytest tests/ -q -m "not postgres"`, with `GIT_CONFIG_GLOBAL=/dev/null` and `GIT_CONFIG_NOSYSTEM=1` set as `pytest-suite.yml`'s header describes, and no other `GIT_*` or `XF_*` variable), once at `main` `12753f27` and once at this head `4847b890`, in the two clones above:
- both read `1 failed, 8956 passed, 7 skipped, 338 deselected, 9 warnings, 391 subtests passed` (2235 s at `main`, 2231 s at this head);
- the one failure is the same node at both: `tests/domain_profile/test_hermeticity_probe_routes.py::test_the_bare_unittest_route_is_detected_as_unguarded` (`assert 0 != 0`). It is an artifact of how I ran: the test makes its child "bare" by stripping the `PATH` entries under the system temp directory, and I had put pytest's `--basetemp` beside `TMPDIR` instead of under it, so the guard's shim directory stayed on the child's `PATH`. Re-run alone with `--basetemp` under `TMPDIR`, it reads `3 passed` at `main` and `3 passed` at this head. CI, with the default basetemp, reads 0 failures.

## Observations, not changed

The brief limits this change to exactly these two spots, so these stay as they are, for the holder:
- `plan.md` line 190 (the "Source layout" map, outside the single-writer table) still lists `src/opendox/web/app.js, web/views/edit.js, staging-workbench-model.js` against T104. It is the plan's statement of the surface T104 was cut to edit. tasks.md's P3-C row and T104's landing note record the divergence.
- The tools' `CHAINS` literals carry the old exclusion chain, as above. They are lane 4's copies and I did not edit them.
- The ratchet row (`tests/test_dependency_direction.py`, `T040 → T059 → T086`) is about the ratchet's values, and I read the two other edits of that file in the history, T043 (#32, docstring and comment text) and T061 (#36, a census of scripts under `src/`). Neither moves a ratchet value, so I left the row.

## Review

CI, read from the check-runs API at the exact head `4847b890`: every check-run listed is `completed` and `success`: `SonarCloud Code Analysis`, `clearing-dispatch-gate`, `copilot-pull-request-reviewer`, `former-id-arrival-gate`, `lane-line`, `merge-master-approval`, `openreposhape-pin`, `openspec-cli-pin`, `openxdox-consumer-gate`, `pytest-suite`, `release-tag-gate`, `signed-execution-chain-gate` and `wallet-validation`. (`lane-line` runs again on each edit of this description, so the API lists it more than once.)

Copilot: the repository's `copilot_code_review` ruleset (`review_on_push`, `review_draft_pull_requests`) requested it when the draft opened, and a GraphQL read of the PR's `reviewRequests` already listed `copilot-pull-request-reviewer` before I made any request, so I made none. Its review is at the exact head `4847b890`, state `COMMENTED`: "Approval recommended", "Both documentation corrections match the recorded task outcomes, with no unresolved issues", `Findings: None`. It left 0 inline comments and the PR has 0 review threads, so there was nothing to classify under the convergence rule (#656 comment 5988818366) and no thread to act on.

Main moved after this branch's base: `12753f27` → `0d143582` (#1211, the doc-health catalog's probe-error handling: `scripts/` and `tests/` only, no `specs/` file). The strict-up-to-date policy is off in the ruleset (`strict_required_status_checks_policy: false`) and GitHub reports the PR mergeable, so I did not merge main, and every result above is at the base it names.

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


Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants