Repository navigation
Consume the confined snapshot-validator locator: openXdox pin 2f3f857d → 069fe471, with its two consumers (RULED 5815412869 C3) - #1157
Conversation
…d → 069fe471, with its two consumers (RULED 5815412869 C3) C3 PR 4 of 4. The upstream order held: openxFactory #1153 declared the window (1d14fee), openXdox-code #28 landed the fix (e28930bf), and openXdox #19 re-pinned the root's code leg to it (069fe471). The pin moves by runbook § 3 (docs/openxdox-pin-resync-runbook.md, on #1154): - the openXdox gitlink, 2f3f857d → 069fe471f2ef5d23ea4461c0e0abd9f2768b6a31; - contracts/openxdox-pin.yaml :109 commit: and :127 tree_sha256, and nothing else. It stays 154 lines, the cited lines :76-79, :92-94, :106-108 and :119-121 are byte-identical, and no line names 2f3f857d any more; - tree_sha256 3ad15b727b78c5b9815a89e2e0713312534657bb44f2db625bbe5bf0c29f3b48, recomputed three ways: the runbook's step 4 command, the verifier's tree_digest, and openXdox's repo_shape.tree_digest_from_gh from the forge; - § 4: openXdox@069fe471 derives openDox dc7aa08f, equal to this repository's pin. So the openDox side does not move. The consumers. From e28930bf, snapshot.find_validator no longer walks up (split-opendox-two-layer-product § 8.9 residue (iii)). It answers only for the product's own validator, and a start outside the product's tree answers None. - scripts/ideation_dashboard/nightly_lane.py: the lane asked find_validator(agg_root). The § 5.2 shed (cc4ae9d) had already deleted the file that walk looked for, so at main the default lane skipped with "pinned openxFactory validator not found". It now defaults to _pinned_validator(): the product's own validator, composed with its schemas by doxbench_contracts._composed_validator, as delegated_semantic_validation does. The skip reason and the --validator help name the product tree. - tests/ideation-dashboard/test_dashboard_source_seal.py: the test that proved the locator walks up to the sealed validator now proves the opposite. The confined locator never adopts the sealed copy, and the copy runs when passed explicitly. - tests/ideation-dashboard/test_nightly_lane.py: two new tests. The default lane publishes with the product's own validator and never adopts a rejecting decoy placed where the old walk looked. A product without its validator skips naming the product tree, not the aggregation root. Each fails against the code it replaces (measured by mutation). This does not discharge add-neutral-product-standalone-operability task 7.3. Phase 2 revisits test_a_start_outside_the_product_is_refused_not_walked. Lane: openxfactory-4 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Reviewer's GuideThis PR advances openXdox to the validated 069fe471 snapshot, updates its tree digest, and adapts nightly dashboard validation to openXdox's confined product-local validator locator. The lane now composes the product validator with its schemas, reports accurate lookup failures, and adds regression tests proving enclosing sealed or decoy validators are never implicitly adopted while explicit validators remain supported. Sequence diagram for confined nightly snapshot validationsequenceDiagram
participant NightlyLane
participant SnapshotLocator
participant ProductValidator
participant SchemaComposer
participant SnapshotValidation
NightlyLane->>SnapshotLocator: find_validator()
alt validator found in pinned product
SnapshotLocator-->>NightlyLane: validator path
NightlyLane->>SchemaComposer: _composed_validator(found)
SchemaComposer-->>NightlyLane: composed validator
NightlyLane->>SnapshotValidation: validate_snapshot(candidate, validator=pinned, strict=strict)
SnapshotValidation-->>NightlyLane: validation result
else validator unavailable
SnapshotLocator-->>NightlyLane: None
NightlyLane->>NightlyLane: _skip(reason, rev)
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
The dependency pin and validator behavior changes warrant final human verification.
Review effort: Lite
Findings: None
What changed in this PR
Updates the openXdox pin and adapts nightly validation to the confined, product-owned validator.
Changes:
- Re-pins openXdox and its tree digest.
- Uses the composed product validator by default.
- Adds coverage for confinement and missing-validator diagnostics.
| File | Description |
|---|---|
tests/ideation-dashboard/test_nightly_lane.py |
Tests default validator selection and skip diagnostics. |
tests/ideation-dashboard/test_dashboard_source_seal.py |
Tests validator confinement and explicit overrides. |
scripts/ideation_dashboard/nightly_lane.py |
Resolves and composes the product-local validator. |
contracts/openxdox-pin.yaml |
Records the updated commit and tree digest. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
…one fail-closed chain Copilot's overview at 51fd78d (review 5308174892) read 🔵 "unresolved fail-closed error-handling issues and documentation corrections", with no finding. I re-audited every fenced block, and pasted § 3 into an interactive zsh in a real pty. Two blocks failed there: - § 3's NEW_SHA line carried a trailing `# a placeholder` comment. Interactive zsh does not treat `#` as a comment unless INTERACTIVE_COMMENTS is set. So the line printed "zsh: command not found: #" and never set NEW_SHA. The comment moves to prose. - Step 7's staging block was five separate commands, two comment lines and three trailing comments. In zsh the trailing comments became arguments to git diff and to the verifiers. A failing `git add` also printed git's own error, not the REFUSE line § 3 promises. It is now one && chain that ends in `|| { echo "REFUSE: ..." >&2; false; }`. The conditional openDox staging moves to the prose above it. - § 2's success line said `gitlink read from <HEAD|index>`. The verifier prints `HEAD` or `the index (staged, not yet committed)`, and the runbook now says so. - § 3's intro says no block carries a `#` comment, and why. Measured in the simulation clone (push disabled), fences extracted from the committed file. § 3 ran end to end in `zsh -f -i` under a pty, with NEW_SHA=069fe471: - step 3: OK; - step 4: 3ad15b72…, the digest #1157 records; - § 4: equal, dc7aa08f; - step 7: both verifiers OK, the openXdox one "gitlink read from the index (staged, not yet committed)". With openXdox checked back out at 2f3f857d, step 7 prints openxdox-pin-gitlink-mismatch and then "REFUSE: staging or a pin verifier failed; stop here", rc 1. Lane: openxfactory-4 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 15 hours and 33 minutes by commenting @sourcery-ai review. Upgrade to get a review now.
|
READY #1157 @ffcc6bbf Lane: openxfactory-4 |
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) LANDING — lane openxfactory-4, session faabad8b-8c31-4958-abd5-b35bdc9cd282@Eagle, 2026-09-24T18:19:17Z, PR #1157 into opensoft/openxFactory main |
…LED 5815412869 C4) (#1154) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) ## What this is This is D-16 of the owed-acts register. `contracts/openxdox-pin.yaml` said *"A resync runbook written for THIS consumption is owed and does not yet exist"*, and its `resync_runbook:` named openXdox's own `README.md#the-lockstep-invariant` as a stand-in. RULED at #656 comment [5815412869](#656 (comment)) (item 3, **C4, option (a)**: *"the openXdox-pin resync runbook lands as one small PR after review"*) and claimed at [5815620605](#656 (comment)). Landing word: *"land the C1, C3 and C4 PRs when green"*. The holder lands this PR. I do not merge it. ## What changes | file | change | | --- | --- | | `docs/openxdox-pin-resync-runbook.md` | **new**, `Status: draft`, `Kind: runbook`, eight sections. It started as the helper bank's draft, re-verified against `main` `dd2466ad` command by command, and then went through eight Copilot rounds (below). Every command it gives fails closed or fails fast, and every one has been run as committed. | | `README.md` | one doc-index entry, beside the openXdox dispatch-credential binding runbook | | `contracts/openxdox-pin.yaml` | `resync_runbook:` now names the runbook, and the owed-gap paragraph above it is rewritten. The paragraph above `verify_pin:` still said the verifier was *"not yet wired into any required check"*. It is corrected in the same lines (`:152-153`), because `openxdox-consumer-gate` is a required check (ruleset 23554310) and has run it on every PR since #1059. **The `commit`, the digest and the gitlink do not move.** | | `scripts/verify-openxdox-pin.py` | The `REMEDIATION` trailer now names `docs/openxdox-pin-resync-runbook.md`. `neutral-product-pin` requires every refusal to name *"the path of the pin-resync runbook"*, and the openXwallet verifier's trailer already names its own. Four stale docstring blocks are corrected in place: `:89-90`, `:99-101`, `:103-105` and `:155-157`. | | `tests/openxdox_pin/test_openxdox_pin_verifier.py` | The one assertion that pins that trailer follows it. The docstring's dirty-checkout sentence (`:859-860`) gets the same correction as the verifier's. | **No cited line moves.** - The promoted `openspec/specs/document-lifecycle/spec.md` cites `contracts/openxdox-pin.yaml:76-79,92-94` and `scripts/verify-openxdox-pin.py:257` through `:329`. - The active `add-neutral-product-standalone-operability` design cites the pin's `:106-108`. - `amend-neutral-product-pin-source-tree-digest` cites `verify-openxdox-pin.py:19`, `:158-163` and the test's `:264-265`. - `scripts/doc_health/pin_shapes.py` cites `verify-openxdox-pin.py:186-187`. All three edited files keep their exact line counts (154, 626 and 1036), and every edit is in place, so each cited line still holds the content it held. ## What the re-verification corrected in the draft - **§ 2 (the verifier).** The draft said "four checks". The verifier runs shape guards first: `_pinned_commit` refuses `openxdox-pin-tag-only`, and `_pinned_tree_digest` refuses a malformed `tree_sha256`. Then come the four ordered checks, with five refusal codes in all, plus `pin-unreadable` outside the vocabulary. Check 2 reads the INDEX when the gitlink is staged, so after `git add openXdox` the verifier reports `gitlink read from the index`. - **§ 3 (the advance).** The draft gave only a pseudo-code digest recipe. The section now has three things: - an independent recompute that can be run, reproducing the recorded digest at each of four openXdox commits; - the forced leg → root → openxFactory order, with openXdox#18's re-point from PR head `39d8937e` to landed `626f2c8d` as the precedent; - the grep for the old sha in the pin's prose, and the by-line citations that make line count and position matter. - **§ 4 (the lockstep).** This now has the exact comparison, and the measured history: openXdox `646f1dc0`, `cd2596a2` and `2f3f857d` all derive openDox `dc7aa08f`. That is why #1146 and #1148 moved this pin alone. #1084 is the `DIFFERENT` precedent. - **§ 5 (the gates).** The draft reported *"105 tests, 90 passed, 15 failed"* from an uninitialized clone. This section now gives the environment both workflows set up, then their exact command blocks, floors and named verdicts. It also records a local gotcha: a checkout under any other directory name than `openxFactory` skips 13 ideation tests. - **§ 6 (the migration triple).** The facts are re-measured, and the check is now fail-closed. The one `UNCONFIRMED` is kept as the draft stated it. ## Copilot rounds Every thread is resolved with its measurement, and each overview's other items are answered in a PR comment. | round | review at | overview | fixed at | | --- | --- | --- | --- | | 1 | `d7afc3c2` | 🟡: two threads (whether the consumer gate is required; PyYAML's failure behaviour); the digest read could pass on a failed `ls-tree`; sibling staging; stale verifier docstrings | `4a050955` | | 2 | `4a050955` | 🟡: two threads (step 3 did not fail closed; an abbreviated sha in an example); the step 5 heading contradicted its bullet | `d06bb121` | | 3 | `d06bb121` | 🟡: one thread (a failed `git` call left a traceback, not `REFUSE`); § 4 accepted two malformed equal commits as lockstep (measured: rc 0 on `"abc"` == `"abc"`) | `5ae23f96` | | 4 | `5ae23f96` | 🔵, no findings. I re-read every command against its workflow and found three § 5 mismatches, plus § 6's shell-unsafe placeholder | `3302e814` | | 5 | `3302e814` | 🟡: one thread (a host-absolute placeholder); § 6 did not validate `COMMIT` | `baddd6f3` | | 6 | `baddd6f3` | 🔵, no findings; one "previously missed" item: § 5 did not give the workflows' environment setup | `51fd78d2` | | 7 | `51fd78d2` | 🔵, no findings: *"unresolved fail-closed error-handling issues and documentation corrections"*. I re-audited every block and pasted § 3 into an interactive zsh: two blocks carried `#` comments, which zsh passes on as arguments, and § 2's success line was inexact | `db09c2c4` | | 8 | `db09c2c4` | 🔵, no findings: *"pinned-core validation, dependency handling, and migration-range comparison"*. All three were real: nothing checked the pinned core's commit; § 4 needed PyYAML before § 5's setup; § 6 checked one commit, not the bump's range | `bc36cc09` | At `bc36cc09` the overview reads 🟢 *"Approval recommended — only minor documentation nits remain, with no approval-blocking issues identified"*, with **Findings: None**. ## Measured (local full clones named `openxFactory`) The kit replicates every PR-triggered gate from `.github/workflows/*.yml`. It ran over `baddd6f3`, beside `main` `dd2466ad`, this branch's base. `51fd78d2`, `db09c2c4` and `bc36cc09` change only the runbook's text. Those changes are re-measured by doc-health and by running each changed block as committed. | gate | `main` `dd2466ad` | this branch | | --- | --- | --- | | both verifiers | `OK … openXdox@2f3f857d … (149dc2cd…)`, `OK … openDox@dc7aa08f …` | same | | the other twelve validator steps the PR gates run: openXwallet pin, clearing dispatch, release-tag, signed chain, wallet syntax and validation, factory identity, OpenSpec CLI pin `--all`, openRepoShape pin, carve manifest, sequenced-after, former-id arrival | rc 0 (the arrival gate needs a range, so it runs on the branch only) | rc 0 | | consumer gate: pin suites | 105 / 105 / 0, 4 named verdicts passed | same | | consumer gate: ideation | 1137 / 1137 / 0, named verdict passed | same | | `pytest-suite`, local | 3 failed, 8 skipped | 2 failed, 6 skipped, 0 new failures | | doc-health `--single-repo --as-of 2026-09-24` | 31 critical, 25 error, 52 warning, 20 info | identical, apart from the draft-age info line (this runbook is a new draft) | - **The local `pytest-suite` failures are not this PR's.** The two left are `test_validator_cli::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]` and `test_snapshot_equivalence::test_a_prefix_whose_path_cannot_be_resolved_is_replaced_not_raised_on`. Both fail identically at `main` `dd2466ad`. The per-test junit diff shows no test whose outcome worsened. The three that changed are network-dependent `test_pin_reachability` cases, which improved. - **CI is green.** `pytest-suite` passes at `baddd6f3`, and all twelve checks pass at `bc36cc09`. - **§ 5's blocks, run as committed** (fences extracted from the file): - the setup chain gave rc 0; - the consumer chain gave rc 0 (both OK lines, `105 passed`, `1137 passed`); - the `pytest-suite` chain with `CORE_CHECKOUT` unset stopped at its first link with rc 1; - the `pytest-suite` chain with it set ran through to the end, as it stood at `51fd78d2`, before round 8 added the pinned-core link: - the installer put `openspec` 1.12.0 on PATH, so none of the three `tests/proposal-support` tests skipped; - 8857 cases: 8850 passed, 6 skipped, 1 failed, the same local-only `test_validator_cli` failure as `main`; - both named verdicts, the freshness verifier and the vector replay, passed. - **§ 3, run end to end** in an interactive `zsh -f -i` under a pty, in a simulation clone with push disabled, with `NEW_SHA=069fe471…`: - every step gave rc 0, and the digest came out `3ad15b72…`, the one #1157 records; - with the checkout wrong, step 7's chain refused with rc 1. - **§ 5's pinned-core check**: the codexFactory core at `b21f0100` gives `OK`, rc 0. An openDox-code checkout, a directory that is not a git checkout, or an unset `CORE_CHECKOUT` each refuse with rc 1. - **§ 4 and the core check without PyYAML** each refuse with rc 1, naming the setup block. - **§ 6's range check**: - over the advance to `069fe471` it reports 0 changed and 0 present for the root (`2f3f857d` → `069fe471`), for code (`626f2c8d` → `e28930bf`) and for spec (unchanged); - over openDox-code `52b237e8` → `aca94ecb` it lists six added migration paths; - an abbreviated, empty or absent commit gives `REFUSE`, rc 1. ## Touches - **Rule 6: no landing window.** Nothing under `openspec/changes/`, and not the README OpenSpec Records block. - **The shared pin file.** C3's openXdox pin bump is open as #1157 and edits this pin's `:109` `commit:` and `:127` `tree_sha256`. This PR edits `:152-153`. `git merge-tree --write-tree` of the two heads is clean: the result keeps 154 lines, with #1157's `commit:` and digest and this PR's prose. Whichever lands second merges `main` in. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Brings in the openXdox pin 2f3f857d -> 069fe471 with its gitlink (#1157) and the openXdox pin resync runbook (#1154). Neither touches the four files this realization edits; the openXdox leg re-check is measured at the commit the pin NOW names. Refs #1150 Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A read-only Opus sweep of all seven feature files at 4d3c605 reported 28 MUST and 23 NICE findings. Each MUST was checked against the text, the packet, or the measured code, and is fixed here. So are the NICEs that were exact. Phase 1, the only authorized phase: - T036: `tests_runtime/conftest.py` fails or skips every runtime case without the `runtime` extra. So the `validate` job gets the `.[runtime,test]` install as well as the PostgreSQL service. F9.1 stays unchanged, so the `test` extra gains the runtime packages. Changing F9.1's install line instead would go to Brett. - T043: `tests/test_snapshot.py` fails on the validator lookup, not on `doc_health`, and as a protected suite it cannot be edited. T043 now comes after C3's PR 2 (openXdox-code#28, landed), and T005 records whether its three failures cleared. - T045 and T094: openxFactory's `test_serve_column_split.py` resolves six `LaneRoutes` methods on `DashboardHandler`, and T011 removes them. Batch A names it as the second composition test. T047's `pytest-suite` run finds any others. - Slices: a slice's tasks land in `After:` order, one PR each unless `Lands with:` joins them. T025 comes after T026 (`workbench.py`). T032 is the join of every lane. T045 and T046 co-land with T047. - The batch-ordering rule is now exact. Batch D carries RN-1's scenario text, only if Brett rules (a). T003's ARC_BASE is a commit before the first landing, and it covers openXdox-spec too. Everywhere else: - The box table, R1Q22's governed tasks (openXdox-code's T061 and T086), T077's R1Q16 block, T026's remedy, T044's margin and FR-006's pin citation are corrected. - T061's named test would land in a protected suite, which F5.2 refuses. That now goes to Brett with R1Q14. - The quickstart's catalog fetch now sets a git identity and presents the console token, and T095 asserts the broker's absence. - FR-007 keeps the `opendox-runtime` alias. R1Q21 is filed as a process question. Lane 4's C3 and C4 are recorded as landed (#1157, openXdox-code#28, #1154). Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…er-pinned-root (N1-N4, N6) No byte of specs/release-realization/spec.md moves, and nothing under openspec/specs/ moves. R1 takes option (a): no normative edit — the scenario at spec.md ~204 already states the strict bound and the realization's own test enforces it; only the packet's non-normative restatements were wrong. - N1 (tasks.md S 3.1(i), design.md D3, proposal.md S2): the one-hop premise "a row a pinned root admits is `pinned` and not `pin`-admitted" is false for a leg that also carries a pin of its own (the realization test's self_pinned_leg case). Reworded all three to say the hop is checked DIRECTLY: a row already carried by this shape's gitlink is refused as a further carrier whether or not it also carries a pin. - N2 (design.md D0.6, D5.4, tasks.md S 2.6): GIT_NO_LAZY_FETCH=1 does not reproduce as "ignored, fetches anyway" on this build (Ubuntu git 1:2.43.0-1ubuntu7.3, independently reproduced: exit 128 "lazy fetching disabled", blob stays absent). Named the build measured and reworded GIT_NO_LAZY_FETCH as a build-dependent extra; GIT_ALLOW_PROTOCOL=none (refused on both clones, both builds) is the guard actually relied on. - N3 (design.md D8): the sibling-grep transcript's "(nothing)" now matches this packet's own delta when run at this head; noted that. - N4 (design.md D0.2): main re-pinned openXdox after the measurement (#1157, 2f3f857d -> 069fe471, already merged in by Round A). Added a one-line re-measurement at 069fe471: same two legs, same URLs, new code leg carries 0 gitlinks, pin == gitlink; conclusion holds at main. contracts/openxdox-pin.yaml `reason:` is untouched (drafting provenance kept as authored). - N6 (README.md): added the "— " continuation-line prefix every other Active-changes bullet in the current list carries; this packet's bullet was the sole outlier among non-archived entries. Gates re-run clean after the edits: openspec strict validate, pip sequenced-after (plain + --ledger-diff, unaffected), doc-health modified-block-currency and proposal-origin (both unchanged: 0 critical/error naming this packet). Refs #1150 Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Sonnet 5 <[email protected]>
…shed path (#1158) (#1162) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) **The refresh lane's parent seal now takes the snapshot validator from the pinned openxdox product.** The validator has lived there since the split-opendox shed. Until now the seal asked the corpus for a path the shed removed. This is for #1158, which is referenced here but not closed: the holder closes it and lands this PR. - **Authority:** Brett Heap's word, recorded in the CLAIMED comment on #1158, [5819559535](#1158 (comment)). #656 carries no separate ruling for #1158. - **Design:** the lane coordinator approved it as written. It adds no parent-side generate-and-validate gate; that belongs with the child rework in #1161. - **Base:** cut from `main` at `1edbb3dd`. That commit is #1157, the openXdox re-pin this consumes. ## The defect, measured at main `1edbb3dd` `seal_source` asked `git archive` for `scripts/validate-ideation-dashboard-contracts.py`. openxFactory has not carried that file since `cc4ae9d3` (#940): ``` REFUSED: git archive failed at 1edbb3d: fatal: pathspec 'scripts/validate-ideation-dashboard-contracts.py' did not match any files ``` That is the archive call at `:1199`. The presence check at `:1221` named the same path, so no post-shed corpus could seal. ## The change - **The corpus half is exactly the baked set.** The `git archive` pathspec is `CORPUS_BAKED_PATHS`, which no longer names the shed path. The decision's scope does not move, so no recorded pin reads as a scope change. - **One resolver for the validator.** The seal uses the snapshot lane's own resolver, `nightly_lane._pinned_validator()` from #1157. That resolver returns openxdox's own validator, composed with its schemas by `doxbench_contracts._composed_validator`. It is called before anything is archived, so a refusal leaves no seal directory. - **The composed unit is sealed under a new root.** It lands as regular files under `validator/`, with `scripts/` beside `contracts/schemas/`. The validator looks for `ROOT/contracts/schemas` first, so it finds its own schemas and `CONTRACTS_DIR` can never stand in. The unit sits beside the corpus, so it is sealed but never baked. - **The parent runs the sealed copy once.** The run goes through the product's own `snapshot.validate_snapshot`, over a one-field snapshot-kind probe. The seal refuses unless the validator reached a verdict. The probe does not judge the corpus; that stays with the child's `--strict`. - **The seal still fails closed, and every refusal names its cause:** - Nothing resolves: `the pinned openxdox validator was not found (<where>) — …`. `<where>` comes from `nightly_lane._pinned_validator_missing()`. That helper was extracted from `run_lane`'s skip, and both lanes now call it. The skip text is unchanged. - The carve legs are not materialized: `the pinned openxdox validator cannot be resolved on this parent (CarveReachUnavailable: …)`. - An entry in the composed unit is not a regular file, such as a dangling link or a directory: `the composed validator unit carries <name>, which does not resolve to a regular file (…)`. The seal refuses it rather than skipping it. A skip would seal a narrower unit than the snapshot lane validates with, and the probe could not see that, because the validator asks for a family schema only when an instance needs it. - The product tree's HEAD does not read as a full revision: `could not resolve the pinned product's revision at <tree> to a commit (read …) — the sealed validator's provenance would go unrecorded`. Only a unit with no product tree at all, an injected stand-in, records a null revision. - The sealed copy cannot run: `the sealed validator could NOT RUN, …`, followed by the validator's own last line. - **Manifest.** - New fields: `validator_relpath`, `validator_revision` (the product leg's HEAD), `validator_schema_count` and `validator_probe`. - **`schema_version` moves to `2.0.0`** because the validator left the corpus. A 1.x reader therefore refuses on the major, not over a "missing" file. - `verify_seal`, the reference intake, looks for the validator only where a 2.x seal carries it, and refuses the 1.x layout. It requires the whole unit, not only the script: - at least one schema indexed under `validator/contracts/schemas/`; - `validator_schema_count` equal to the number indexed; - the snapshot schema the child validates against, among them; - `validator_probe` recording a verdict, either `validated` or `not-conformant`. It also rejects a `validator_revision` that is present but not a full revision. ## Measured over the real corpus At this head, `9f37701f`, sealing that commit's own tree: ``` SEALED: 3976 files, 45055728 bytes, tree_digest e4581177e81d1ebd0e38e1021cb021336e08c7af7d738dcfa614f4ef189ab315 schema_version: 2.0.0 validator_relpath: validator/scripts/validate-ideation-dashboard-contracts.py validator_revision: e28930bf052febff0c7bdd0463a72ce3c4f5e8fe validator_schema_count: 55 validator_probe: {"kind": "ideation-dashboard-snapshot", "outcome": "not-conformant", "returncode": 1} verify_seal: 0 problem(s) ``` The first commit, sealing main's tree at `1edbb3dd`, gave the same verdict: 3976 files and 45,039,060 bytes, with the same validator revision, schema count and probe outcome, and 0 problems. `9800caf4` gave it too: 45,053,246 bytes, 0 problems. At every head the byte difference is this PR's growth of the two baked modules; between `1edbb3dd` and `9800caf4` it is exactly 14,186 bytes. The validator unit (56 files, 546,625 bytes) and the recipe are identical in every seal. The probe is deliberately not a conformant snapshot, so `not-conformant` with exit 1 is the right verdict: it shows the validator ran against its schemas. An exit of 2, or "unavailable", would have refused the seal. **The sealed unit's verdict on the corpus.** A snapshot rendered from the sealed tree has 397 documents. The sealed unit reports the same result with and without `--strict`, over both seals: ``` ERROR [snapshot-dangling-cluster-ref] …: possible 'pos-derived-cross-domain-persona-framework-package' claiming_clusters references unknown cluster 'cl-plane-1' ERROR [snapshot-dangling-cluster-ref] …: possible 'pos-derived-cross-layer-cost-accountability-pipeline' claiming_clusters references unknown cluster 'cl-plane-1' ERROR [snapshot-dangling-cluster-ref] …: possible 'pos-derived-roster-promotion-conformance-checklist' claiming_clusters references unknown cluster 'cl-plane-1' validate-ideation-dashboard-contracts: 3 error(s), 0 warning(s) ``` These three are **#1159's data, expected, and out of scope**. This PR does not touch, suppress or disposition them. The seal does not judge corpus content, so they do not stop it sealing. The child's `--strict` is what reports them. **Production shape.** The finalize job does not mount the openXdox and openDox gitlinks. A clone without them, running `--phase seal`, gives: ``` ::warning::ideation-dashboard-refresh: NOT SEALED — the pinned openxdox validator cannot be resolved on this parent (CarveReachUnavailable: openxdox is read from a pinned carve leg, and no leg in this checkout carries it: the `openDox` and/or `openXdox` gitlinks are not materialized. […] Run `git submodule update --init --recursive openDox openXdox` from the repository root.) — the child's validator would be unreachable and --strict would fail with no finding to read; nothing dispatched, next run catches up in one hop ``` It reports `sealed: false` and creates no seal directory. ## Tests, each proven by mutation The tests are in `tests/ideation-dashboard/test_dashboard_source_seal.py`, where 87 pass. For each row, the mutation was applied to the module and the named test was run. The module was then restored, with its sha256 checked after every run against `504cbac64947`, the module at this PR's head. **All seventeen mutations were caught.** | test | mutation | how the test failed | | --- | --- | --- | | `test_a_post_shed_corpus_seals_with_the_products_own_validator` (real resolver, real legs) | main's module | `SealRefused: git archive failed … pathspec 'scripts/validate-ideation-dashboard-contracts.py' did not match any files` | | `test_a_genuinely_missing_validator_still_refuses_naming_where_it_looked` (both params: `without-its-validator`, `not-a-source-checkout`) | main's module | the refusal names the shed path, not where it looked | | same, both params | the `runnable is None` refusal removed | `TypeError` on `None` | | same, both params | the where-clause dropped | the where-clause assertion fails | | `test_unmaterialized_carve_legs_refuse_naming_the_legs` | the `ImportError` catch narrowed | a raw `CarveReachUnavailable`, not a `SealRefused` | | `test_a_sealed_validator_that_cannot_run_is_refused` (both params) | the availability gate removed | `DID NOT RAISE SealRefused` | | `test_the_one_run_is_of_the_sealed_copy_over_the_probe` | the probe runs the composed farm, not the sealed copy | the run's path assertion fails | | `test_a_unit_entry_that_is_not_a_regular_file_is_refused_by_name` (both params: `a-dangling-link`, `a-directory`) | the refusal turned back into a skip | `DID NOT RAISE SealRefused` | | `test_a_product_revision_that_cannot_be_read_refuses_the_seal` (both params: `git-fails`, `not-a-full-revision`) | the pre-review silent null restored | `DID NOT RAISE SealRefused` | | `test_verify_refuses_a_validator_revision_that_is_not_a_full_revision` | the shape check removed | the verify assertion fails | | `test_verify_refuses_a_validator_unit_that_is_not_whole` (params: `schemas-removed`, `count-disagrees`, `snapshot-schema-renamed`, `probe-unavailable`) | each of the four unit checks removed in turn (four mutations, each run against the one param it guards) | that param's exact problem list is not produced | | `test_verify_refuses_the_1x_layout_that_sealed_the_validator_in_the_corpus` | the `validator_relpath` check removed; the carriage check removed; the major left at `1` (three mutations) | its exact seven problems are not produced | The existing seal-set, decision-scope, confined-locator, bounded-seal and manifest tests now follow the new layout. `test_the_seal_speaks_only_git_and_never_builds_or_pushes` runs twice: over a stub unit and over the real resolver. ## Gates, versus main **The required `pytest-suite` check, at this head `9f37701f`, is SUCCESS.** It ran as CI run [36050592000](https://github.com/opensoft/openxFactory/actions/runs/36050592000), over merge commit `2b5e7d8f`, which is this head merged into main `138a4722`: ``` selected=8878 passed=8872 skipped=6 failures=0 errors=0 freshness verifier: passed · vector replay: passed floors: selected>=7050 (margin 1828) passed>=7044 (margin 1828) skipped==6 ``` **The same suite run locally, branch against main.** This used the CI recipe[^1], with a TMPDIR whose ancestors hold no directory named `openxFactory`. The junit reports compare as follows: | | this branch `9800caf4` | main `1edbb3dd` | | --- | --- | --- | | selected | 8874 | 8860 | | passed | 8867 | 8853 | | skipped | 6 | 6 | | failed | 1 | 1 | | freshness verifier, vector replay | passed, passed | passed, passed | - **The one failure is the same on both trees.** It is `test_validator_cli::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]`, which hit its 30-second subprocess timeout on a loaded host. It passes in CI. - **The extra 14 selected and 14 passed are this PR's new seal tests** at `9800caf4`: 83 in the seal file against main's 69. - **The head adds four more.** Those are the parameters of the intake-tamper test, so CI's 8878 is main's 8860 plus 18. `9800caf4` differs from this head only in `verify_seal` and the seal tests. - **An earlier local run is superseded.** Its TMPDIR sat beside a clone named `openxFactory`, and four "no checkout anywhere" tests found that clone by walking up. Under a load average near 60, git also failed to spawn (`EAGAIN`), and together these read as 11 failures on the branch against 7 on main. All eleven were re-run with a clean TMPDIR and gave identical results on both trees. | gate | this branch | main `1edbb3dd` | | --- | --- | --- | | `validate-openspec-cli-pin.py --all --no-cache`, locally at `17679e32` | exit 0: 0 UNDISPOSITIONED, 1 ACCEPTED EXCEPTION | exit 0, identical output | | every required check at this head `9f37701f` | SUCCESS | — | [^1]: The recipe: the checkout nested under `openxFactory/`, the venv from `requirements/hermes-runtime-contracts.lock`, the pinned openspec CLI, and `PINNED_CORE_CHECKOUT` at `b21f0100`. It runs `tests/ -q -m "not postgres"`. **SonarCloud** is advisory, and its Quality Gate passed. It raises two new code smells, which this PR does not change: - S3776: `seal_validator`'s cognitive complexity is 17, against an allowance of 15. - S5778: one `pytest.raises` block in the seal tests wraps two calls. **Targeted runs:** | at | run | passed | | --- | --- | --- | | `9f37701f` | the seal file | 87 | | `9f37701f` | the seal file, `test_nightly_lane`, `test_dashboard_refresh_lane`, `test_b4_boundary_repoint` and `test_import_direction` | 161 | | `b1774bf2` | 17 files: the 14 that read `doc-health-reusable.yml`, plus `test_dashboard_refresh_lane`, `test_b4_boundary_repoint` and `test_import_direction` | 478 | ## Commits - `17679e32` is the change. - `b1774bf2` came out of self-review before this PR opened. - `seal_validator` used to skip, silently, a unit entry that is not a regular file. It now refuses it by name, with a test and a mutation for that. - Four comments were corrected to match what was measured. One had said "~35 MB"; the corpus half at `1edbb3dd` is 44,492,413 bytes. - `9800caf4` answers Copilot's round-one finding. - A product tree whose HEAD cannot be read now refuses the seal, instead of recording a null `validator_revision`. - `verify_seal` rejects a recorded revision that is not a full one. - `9f37701f` answers Copilot's round-two finding: the intake now requires the whole validator unit, as listed under Manifest. - The round-two overview also said "Narrow the ImportError handling". That item is answered by measurement in [a PR comment](#1162 (comment)), with no code change. - Copilot's round three at `9f37701f` (review `5309433050`) reads 🔵 *Needs a closer look*, with **Findings: None**. It is answered by measurement in [a PR comment](#1162 (comment)), with no head move. All review threads are resolved. ## Not fixed here: #1161 This PR repairs the parent seal only. The refresh chain still cannot run end to end. The reasons below were measured today and are filed as #1161. 1. **The aggregation child cannot render since the shed.** In `opensoft/xFactory` `dashboard-image-worker.yml`, generate over the post-shed corpus exits 1 with `No module named ideation_dashboard.cli`. Its intake also hard-codes the 1.x layout: `openxFactory/scripts/validate-ideation-dashboard-contracts.py` and major `1`. It would therefore refuse a 2.0.0 seal on the major. That refusal is intended, because the child rework reads 2.x. 2. **Production never reaches the seal.** The `dfr-seal` step runs only when `dfr-readiness` reports ready. xFactory nightly run 35947804907 (2026-09-24) reports `SKIPPED — worker unavailable: heartbeat_labels_missing`. 3. **The finalize job does not mount openxFactory's openXdox and openDox gitlinks**, and the validator is resolved through them. Until the job mounts them, the seal step refuses and names them, as the production-shape measurement above shows. The step's comment in `doc-health-reusable.yml` now says so. So **no production outcome changes.** The seal step is still skipped. If it ran, it would still refuse, naming the unmounted gitlinks instead of the shed path. Also observed and not changed: the comment at `.github/workflows/pytest-suite.yml:153-164` cites `scripts/ideation_dashboard/snapshot.py::find_validator` and `tests/ideation-dashboard/test_snapshot.py::test_find_validator_locates_pinned_checkout`. Neither exists in openxFactory since the shed. openxdox's own `find_validator` has searched only its own product tree since `e28930bf`. ## Scope - **Four files:** - `scripts/ideation_dashboard/dashboard_refresh_lane.py` - `scripts/ideation_dashboard/nightly_lane.py` - `tests/ideation-dashboard/test_dashboard_source_seal.py` - `.github/workflows/doc-health-reusable.yml`, a comment-only change - **Touches nothing under `openspec/changes/` and not the README OpenSpec Records block**, so no Rule 6 landing window applies. - **Moves nothing else:** no pin, gitlink or carve manifest, and not the split-opendox `tasks.md`. - **Tools:** the measurement, mutation and gate tools are persisted in brett-wip at `handoffs/xFactory/attachments/lane-opendox/fix1158/`. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…d-neutral-product-standalone-operability (#1155) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) ## What this is This PR is the Speckit plan for **release 1, "standalone operation" (phases 1–3)**, of the ratified OpenSpec change `add-neutral-product-standalone-operability` (#1144). It encodes **Brett Heap's answers to the eleven questions that blocked phase 1**. It adds planning only: no code, no pin, and no OpenSpec change. It edits no file of #1144. Besides the feature directory, it changes one line: an entry in the README's Documentation index that links the feature's seven documents. Its authority comes from two comments on #656: - The ratification word, comment `5815412869`: *"ratify #1144, land the follow-ons, (a) on C1–C5"*. - The answers, comment `5817152735` (2026-09-24T15:31:46Z): *"(a) on all eleven, (d) on R1Q6"*. The ratification record landed as #1151 → `cd494e4c`. This branch is cut from it, and it merges `main` in at `1d14fee6`. The feature is `specs/034-opendox-standalone-operation/`: | file | what it holds | |---|---| | `spec.md` | User stories US1 (it runs), US2 (useful alone), US3 (installs) and US4 (the governed host unchanged). FR-001–FR-012, each mapped to a #1144 requirement and its boxes. § Clarifications, with the eleven answers as `Q: … → A: …`. The term-by-term definition of the AT-R1 acceptance test. | | `plan.md` | Technical context. Constitution Check I–VII, where the one recorded deviation is now resolved for phase 1. The five target repositories. Where each box closes. The dependency graph and the single-writer surfaces. The pin and landing order (9.5). The trailer and Rule 6 rules. **§ Ruled answers and § Ruling needed (RN-1).** In-flight overlaps. | | `research.md` | Every measurement, with the command that reproduces it (`W=$(mktemp -d)`; no host paths). Eight non-normative corrections to #1144 (R16). | | `tasks.md` | 87 tasks, T001–T098. Each task carries its repository, the boxes it realizes, its falsifier, and its `Blocked by:`, `Ruled:` and `After:` lines. **T007** records the ruled amendments in #1144, and **T008** raises the `doc_health` direction arc. **T009** and **T069** open phases 2 and 3. **§ Ruled amendments**. Box accounting (69 of 124). **The phase-1 writer slices, in parallel groups G1–G6.** | | `quickstart.md` | The AT-R1 procedure: the HTTP half (T095) and the browser half (T096). | | `clarify-questions.md` | **R1Q1–R1Q23: 11 ANSWERED, 12 OPEN** | | `checklists/requirements.md` | The spec-quality checklist. Its two open items are the constitution's own gates. | ## The answers (`#656` `5817152735`), and where they go | question | answer | carried out by | #1144 amendment (T007) | |---|---|---|---| | R1Q22 | (a) the manifest records arrival only | every carved-file task; T038 corrects `runtime/cli.py:17-19` | an 11.1 addendum (batch A) | | R1Q1 | (a) handler-contribution facet | T010, T011, T045; T084 and T086 in phase 3 | 2.2 and design.md § D4 addenda (A) | | R1Q2 | (a) named composition tests join 11.1's surfaces | T045, T094 (`test_extension_point_parity.py`) | 11.1 and F11.1 widened (A) | | R1Q3 | (a), with (i) and (ii) | T016, T022 | F3.1 line 2 and 3.2 (A); **(ii) is RN-1** | | R1Q4 | (a) openDox's own verbs; the host asserts | T015, T038, T046 | none | | R1Q5 | (a) `RuntimeSubcommand` via `SUBCOMMAND_EXTENSIONS`, with the `opendox-runtime` alias | T038, T042 | a 10.1 addendum (A) | | R1Q6 | (d) a declared exclusion with its count and its reason | T041, T043, T044; T008 (the direction arc) | F9.1 for openXdox-code, and 9.4 (B) | | R1Q7 | (a) a reviewed respelling-only allow-list | T043, T059, T086 | F5.2 and 12.5's falsifier (C) | | R1Q8 | (a) `tests_runtime/` included, with a DB service in the required job | T036 | none (F9.1 unchanged) | | R1Q9 | (a) `list_documents` in phase 1 | T025, T046 | 4.3's "four" (A) | | R1Q20 | (a) bookkeeping carries no trailer | T091, and this PR | an 11.0 addendum (A) | Each T007 batch is its own bookkeeping PR. Each lands under a Rule 6 window, with no `Arc:` trailer, before the checkpoint that runs the amended falsifier. ## RULING NEEDED **RN-1: requirement 3's fourth scenario, against R1Q3 (ii).** The scenario reads *"the registered profile replaces the default for that process"*, unconditionally. As ruled, (ii) refuses a host registration made after a parser or server was built from the default. The recommendation is (a): the scenario's WHEN gains *"before the product's parser or server has been built from the default"*, plus a scenario for the refusal. RN-1 holds no task, because the after-build refusal is today's `AlreadyRegistered` (plan.md § "Ruling needed"). ## Still open (phases 2–3, and process) - R1Q10–R1Q19 and R1Q21. Until they are answered, phases 2 and 3 are PROVISIONAL, and they authorize no implementation. - **R1Q23 is new**, raised by R1Q6 (d). Four of 5.4a's six generator suites need `doc_health`, and F5.2 does not provide it. R1Q23 asks how F5.2 runs. It blocks T059 and T063, not phase 1. - A watch item for the archive: under R1Q6 (d), requirement 9 stays an OPEN EXTRACTION for openXdox-code until the direction arc lands. ## Phase-1 fan-out (tasks.md § "Phase 1 writer slices") Before any slice runs, the holder runs T003 (ARC_BASE) and T005 (the re-measure), then T006 (round 1a's analyze), and claims the slice (T002). The groups then run in order: - **G1**: P1-A (route seam), P1-B (default profile), P1-C (home-corpus seam) and P1-E (openxFactory reaches). - **G2**: P1-D (authoring, default adapter) and P1-H (console script). - **G3**: P1-F (sweep and nine-file repair), then P1-G (whole suite in CI). - **G4**: P1-R (the openDox root pin). - **G5**: P1-I (the openXdox pin and residue), then P1-J (openXdox green alone). - **G6**: P1-K (the consumer pins and host wiring), then P1-L (T017, T018), then the T049 checkpoint. T049 also waits on T007's batches A and B, and on RN-1. A slice is one writer and one claim in one repository. Its tasks land in their `After:` order, one PR each unless a `Lands with:` line joins them. Each slice's repository, files, dependencies, falsifier and model (Opus or Sonnet) are in the table in tasks.md. ## Copilot, round 1 (review `5306611493` at `437ca764`) All five threads were answered and resolved at `85d6de45`: - **T031/T036 cycle.** T031 is now `After: T035`, and it co-lands in T036's PR. - **T040/T047 cycle, and the same in phases 2 and 3.** Each phase's pin advance is split into a root-pin task (T039, T062, T087) and a consumer-pin task (T047, T064, T094). - **SC-006.** It now reads 65 of 69 at release-1 close. - **T003.** It is no longer blocked, because R1Q20 is ruled. - **The checklist.** Its repository item is narrowed to realization tasks. ## Copilot, round 2 (review `5306959435` at `85d6de45`) All five threads were answered and resolved at `d3a33165`: - **T084 after T073.** This is `serve.py`'s single-writer order. The same audit also put T016 after T012 and T038 after T022. All six single-writer chains in plan.md are now ordered in the `After:` graph. - **The phase-2 graph** shows T050 → T051. T025 and T051 lose `[P]`. - **The quickstart's prerequisites** name R1Q12, and so does T095's `Blocked by:` line. - **The quickstart's step 1** now asserts that there is no identity broker and that no database listens. Step 2 asserts that neither repository holds a model binding. - **R0** checks out all seven repositories at the commits its table names. ## Copilot, round 3 (review `5307043972` at `d3a33165`) Both inline threads were answered and resolved at `701a4a1a`, and the three "previously missed" items were answered in a PR comment: - **The constitution's workflow gate.** Phases 2 and 3 are now PROVISIONAL. They authorize no implementation until each is re-planned on its answers and re-analyzed; since round 5 that is done by their round tasks, T009 and T069. Phase 1, the only phase the plan authorizes, has every material ambiguity resolved. - **spec.md's catalog edge case** now separates the behaviour before T085 from the behaviour after it. - **The acceptance graph** is serial: T095 → T096 → T097. - **T017 and T093** run after each phase's openxFactory landing. - **T081** runs after T085, whose validators serve its catalog route. ## Copilot, round 4 (review `5307117274` at `701a4a1a`) Both inline threads were answered and resolved at `0a5acd7c`, and the three "previously missed" items were answered in a PR comment: - **RN-1 against phase 1's close.** RN-1 now holds T049. Requirement 3 is not reported as realized until RN-1 is ruled and T016 matches the ruling. - **T076 after T087.** The README documents the command the root pins. - **T034 after T032, T047 after T007's batch A, and T059 after T007's batch C.** The same audit ordered every arrow in the plan's graph against the `After:` graph. ## Copilot, round 5 (review `5307230690` at `0a5acd7c`) Both inline threads were answered and resolved at `0ad046ba`, and the two "previously missed" items were answered in a PR comment: - **T006 waited on the open-ended T004.** T004 is now round 1a, and it is DONE. T006 is round 1a's analyze, after T003, T004 and T005. Phases 2 and 3 open with their own round tasks, T009 and T069. - **The quickstart's readiness probe.** It first checks that the port is free, and on every poll it checks that the launched PID is alive. - **Constitution row V.** It records `main`'s baseline and the accepted `add-chain-attestation` disposition, and notes that the enforced `openspec-cli-pin` gate exits 0. - **T053's trailer policy.** openDox-spec is a sixth repository of the arc only if T053 applies, and T091 then covers it. - **The same audit:** - co-landings now use a `Lands with:` line; - T026 loses `[P]`; - `serve.py`'s single-writer chain starts at T010. ## Copilot, round 6 (review `5307694574` at `0ad046ba`) Its one thread was answered and resolved at `2a57501c`: - **FR-006** now carries requirement 9's own clause for a check that runs less than the whole suite. openXdox-code declares its `doc_health` exclusion with a count and a reason, and reports it as an open extraction. - **Every other whole-suite claim** carries the same qualifier. - **9.2's close moves to phase 3**, where T086 takes the ratchet to `(0, 0)`. ## Copilot, round 7 (review `5307775377` at `2a57501c`: Findings: None) Its three "previously missed" items were answered in a PR comment and are addressed at `abb2344e`: - **T003** records openDox-spec's ARC_BASE unconditionally. - **T093 is the interim F11.1 procedure.** Each phase runs it as its own task (T018, T065 and T098), and each checkpoint depends on its run. - **Constitution row IV** records the README-index reading that every earlier Speckit feature follows. ## Copilot, round 8 (review `5307865432` at `abb2344e`) Its one thread was answered and resolved at `0a859498`: - **The README document index** (Principle IV). The README's Documentation section now carries an entry for feature 034, beside the openDox carve documents, and it links all seven documents. The entry sits outside the OpenSpec Records block, and Constitution row IV records it. ## Copilot, round 9 (review `5307941798` at `0a859498`: Findings: None) Its two "previously missed" items were answered in a PR comment and are addressed at `1522c4c7`: - **T095 against T036's PostgreSQL service.** AT-R1's HTTP half is now a harness, `acceptance/at_r1_http.py`, run by its own `acceptance` job with no database service. It is not a pytest module, so it changes neither openDox-code's `testpaths` (which T036 sets in phase 1) nor F9.1, and FR-006's "no exclusion" still holds. - **T072's falsifier** no longer names the procfs path, and the quickstart's null-device redirects are gone. The host-path scan now covers the system roots as well. `2e4f3315` then merges `main` in at `1d14fee6`. ## Copilot, round 10 (review `5308148911` at `2e4f3315`) Its two threads were answered and resolved at `34b7b2ca`: - **The harness and T036.** The plan and T095 now say the harness changes neither `testpaths`, which T036 sets in phase 1, nor F9.1. - **T073 after T055.** T073 reached T055 only through phase 2's checkpoint, and it now names T055 directly. The seven other single-writer pairs that relied on a transitive path are direct edges as well, so all 19 consecutive pairs of the six chains are direct. ## Copilot, round 11 (review `5308305662` at `34b7b2ca`: Findings: None) Its one "previously missed" item was answered in a PR comment and is addressed at `bc1bd20b`: - **T095 after T076.** AT-R1 runs the root README's documented command, so T095 now waits for T076, the task that writes that README. So does T089, which leaves no phase-3 task outside phase 3's checkpoint. - **The same check on every phase.** T049 now names T017, as the P1-L row already said. T017's `After:` line no longer lists its phase-2 and phase-3 re-runs. ## Copilot, round 12 (review `5308403738` at `bc1bd20b`: Findings: None) Its one "previously missed" item was answered in a PR comment and is addressed at `a86ced35`: - **T096 had no repository tag and no falsifier.** It now carries `[oxF]`, where its evidence lands, and names the oracle's verdict. The same check over every task found eight more gaps (T074, T077, T083, T090–T093), and each now names its repository and its falsifier. The checklist item names these classes. ## Copilot, round 13 (review `5308511992` at `a86ced35`) Its one thread was answered and resolved at `49eb53ee`: - **macOS could not run F13.1.** The plan's Target Platform now names Linux alone. 13.1 checks the "no TCP port" invariant in the Linux kernel's socket table, and no ratified falsifier covers macOS. Adding macOS would need a Darwin leg for 13.1's check and F13.1, which is an amendment to #1144 and so needs a ruling. - From the same pass: T036 now comes after T038, because both edit openDox-code's `pyproject.toml`, and T046's range skips two undefined ids. ## Copilot, round 14 (review `5308583172` at `49eb53ee`) Its one thread was answered and resolved at `e927069e`: - **T092's note versus "no field changes".** T092 and its falsifier now state F11.1's own rule. With every `edits[].note` removed, the manifest is unchanged, and an existing note may only be extended. - From the same pass: three checklist claims are now exact (FR-011 and FR-012, SC-006 and SC-007, and the edge cases). ## Copilot, round 15 (review `5308662086` at `e927069e`: Findings: None) Its one "previously missed" item was answered in a PR comment and is addressed at `9b86b920`: - **R4 and R10 ran `ci_coverage.py` with the host's `python3`.** They now use the `od` and `ox` venvs, and so do R5's, R6's and R9's runs. From the same pass, T096 now also records T095's `acceptance` job for SC-004, and spec.md's `Status` header reads `Draft`, as the sibling features' headers do. ## Copilot, round 16 (review `5308754464` at `9b86b920`) Its one thread and its one "previously missed" item were answered and are addressed at `4d3c605b`: - **US4's note condition** now admits a note added where an entry had none, as T092 and F11.1 do. - **T053's condition** is now "R1Q11 (a) or R1Q12 (b)" in the plan's graph, its phase-2 lanes and Constitution row VI, as T053 itself says. ## Copilot, round 17 (review `5308830806` at `4d3c605b`) **Findings: None**, and nothing listed as previously missed. All 23 inline threads are resolved. ## The adversarial sweep (at `4d3c605b`), folded in at `1cb01e4c` Round 17 was clean, and every check was green at `4d3c605b`. Each earlier round had still found one or two new cross-document gaps, so a read-only Opus reviewer swept all seven files, #1144 and the measured code. It reported 28 MUST and 23 NICE findings. Every MUST was verified against the text, the packet or the code, and fixed; the exact NICEs were fixed too. The PR comment at `1cb01e4c` lists them. The phase-1 ones were: - T036 gives `validate` the `.[runtime,test]` install as well as its PostgreSQL service. Without it, `tests_runtime/conftest.py` fails every runtime case under `CI`. - T043 waits for C3's PR 2, because `tests/test_snapshot.py` fails on the validator lookup, not on `doc_health`. - openxFactory's `test_serve_column_split.py` is the second named composition test. - A slice's tasks land in `After:` order, and T032 is the join of every lane. - Batch D would carry RN-1's scenario text, only on Brett's ruling. ## Copilot, rounds 18–24 | round | review | head | result | addressed at | |---|---|---|---|---| | 18 | `5309539162` | `9f799f20` | 1 thread: show T026 → T025 in the graph | `902da25b`: the single-writer table lists every phase-1 shared file (`workbench.py`, openDox-code `pyproject.toml`, `tests/test_authoring_seam.py`) | | 19 | `5309640972` | `902da25b` | 1 thread (how T035's six modules move) and 1 previously missed (`Status:` headers) | `224046c5`: each module is rewritten or re-landed by T042, and all seven files carry `Status: draft` | | 20 | `5309742955` | `224046c5` | 1 thread: T049 must accept the openxFactory destination | `53a85ed9` | | 21 | `5310503144` | `53a85ed9` | 1 thread (T006's feature context) and 1 previously missed (row V's base) | `09e81dc3`: `SPECIFY_FEATURE_DIRECTORY` and the prerequisite check; the gate is re-run on `main` at `138a4722` | | 22 | `5310581314` | `09e81dc3` | 1 thread (the T043/T061 contingency cycle) and 2 previously missed (the outline-model route, openXdox-spec) | `02b1aa30`: the contingency is caught by T005 before phase 1; openXdox-spec is a conditional seventh repository | | 23 | `5310647715` | `02b1aa30` | **Findings: None**, nothing previously missed | `243e460f`: a self-check found that T044 must re-pin openXdox's floors when a file joins the exclusion | | 24 | `5310714316` | `243e460f` | **Findings: None**, nothing previously missed | — (the head) | ## Validation (head `243e460f`) | gate | result | |---|---| | `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` | `Totals: 110 passed, 1 failed (111 items)` at the head, and the same on `main` itself at `138a4722`, which the branch merges. The one failure is `add-chain-attestation`'s ratified disposition. | | `python3 scripts/validate-openspec-cli-pin.py --all` | exit 0; `every target validated --strict with 0 UNDISPOSITIONED failures` | | the `After:` graph in tasks.md, checked by DFS | no cycle; the same check reports the three pin-advance cycles at `437ca764` | | plan.md's nine single-writer chains, each consecutive pair checked against the `After:` graph | 0 gaps; all 22 pairs are direct `After:` edges | | the 50 arrows in plan.md's graph and tasks.md's Dependencies, each checked against the `After:` graph | 0 mismatches (6 at `d3a33165`) | | every realization task outside Phase 0 names its repository and its falsifier; no `Lands with:` pair names each other on `After:` | 0 gaps | | every task of each phase before its checkpoint (T049, T063, T089), a `Lands with:` pair counting as one landing | 0 gaps; T048, the holder's F4 re-measure, follows T049 by design | | phase gates: every phase-1 task after T006, every phase-2 task after T009, every phase-3 task after T069 | 0 missing | | root pins T039, T062, T087: every openDox-code task of their phase an ancestor (a `Lands with:` pair counts as one landing) | 0 missing | | checkpoints T049, T063, T089 after their interim F11.1 runs T018, T065, T098 | all three | | question headers against the tasks' `Blocked by:`/`Ruled:` lines | 23 headers, 0 mismatches | | box table | 69 release-1 boxes, each naming defined tasks | | host-absolute path scan (home, scratch and system roots) and closing-keyword scan (files and commit messages) | 0 hits | ## Process - **No Rule 6 window is needed.** This PR touches no `openspec/changes/` directory and not the README's OpenSpec Records block: its one README line is in the Documentation index. T007's batches and T097's ticks will each need a window. - **No `Arc:` trailer.** This PR is bookkeeping, and R1Q20 (a) is now ruled. - **Sibling reads (Rule 1).** - #656: no claim on the release-1 planning object. - `gh pr list -R opensoft/openxFactory --state all --search 034-opendox`: only #1144. - `specs/034-*`: absent on `main`. - **Lane 4's in-flight acts have all landed** (plan.md § "In-flight overlaps"). - C1 landed as #1152 → `9afea8d7`. - C3's PR 1 landed as #1153 → `1d14fee6`, and its PR 2 as openXdox-code#28 → `e28930bf`. C3 overlaps 7.3 (T061) and the openXdox pin (T047). T061's `After:` condition on PR 2 is now met. - C3's openxFactory openXdox pin bump landed as #1157 → `1edbb3dd`, and C4's runbook as #1154 → `138a4722`. T090 follows the runbook. - **Persisted tools.** Everything is in `opensoft/brett-wip`, under `handoffs/xFactory/attachments/lane-opendox/r1plan/tools/`: - the four measurement scripts and the shim, at `011b1586`; - the plan-consistency checks (`qmap.py`, `qcheck.py`, `depcheck.py`, `chaincheck.py`, `chaindirect.py`, `arrowcheck.py`, `phasecover.py` and `sharedfiles.py`), to re-run after every re-plan. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>



Lane: openxfactory-4
C3 PR 4 of 4, on RULED
5815412869(Brett Heap,opensoft/openxFactory#656, 2026-09-24: "ratify #1144, land the follow-ons, (a) on C1–C5"), claimed at5815613524. Landing word: "land the C1, C3 and C4 PRs when green". The holder lands this PR. I do not merge it.The upstream order held:
1d14fee6).e28930bf).069fe471).This PR moves openxFactory's openXdox pin to that root, and fixes the two consumers the new locator makes due.
The pin: runbook § 3, one commit
This follows
docs/openxdox-pin-resync-runbook.md§ 3 (#1154, not yet landed), step by step.openXdoxgitlink2f3f857d…c925069fe471f2ef5d23ea4461c0e0abd9f2768b6a31contracts/openxdox-pin.yaml:109commit:2f3f857d…c925069fe471…6a31contracts/openxdox-pin.yaml:127tree_sha256149dc2cd…d1c53ad15b727b78c5b9815a89e2e0713312534657bb44f2db625bbe5bf0c29f3b48&&chain, printedOK: openXdox is checked out at NEW_SHA, which is on its main.scripts/verify-openxdox-pin.py'stree_digest;scripts/repo_shape.pytree_digest_from_gh, read from the forge.:76-79,:92-94,:106-108,:119-121) are byte-identical to main. No line names2f3f857dany more.openXdox@069fe471 derives openDox dc7aa08fe48c8d17b596b0daa1ce87cdc0472aca; this repository pins dc7aa08fe48c8d17b596b0daa1ce87cdc0472aca. The two agree, so the openDox side does not move.OK openxdox-pin verified: openXdox@069fe471…, gitlink read from HEAD, … (3ad15b72…);OK opendox-pin verified: openDox@dc7aa08f…, … lockstep with openXdox confirmed.The consumers
From openXdox-code
e28930bf,snapshot.find_validatorno longer walks up (split-opendox-two-layer-product § 8.9 residue (iii)). It answers only for the product's own validator. A start outside the product's tree answers None.scripts/ideation_dashboard/nightly_lane.py. The lane askedfind_validator(agg_root). That call can now never find anything. It was already finding nothing: the § 5.2 shed (cc4ae9d3) deleted the file the old walk looked for. At main,run_lanewith novalidator=skips withpinned openxFactory validator not found (openxFactory/scripts/validate-ideation-dashboard-contracts.py under <agg>). I measured that over the real corpus at1d14fee6._pinned_validator(). That is the product's own validator, composed with its schemas bydoxbench_contracts._composed_validator, asdelegated_semantic_validationalready does. Run in place from the code leg, it exits 2 (… contracts/schemas carries none of the family's 10 schemas), so composing it is required.--validatorhelp now name the product tree.tests/ideation-dashboard/test_dashboard_source_seal.py.test_the_sealed_layout_is_the_one_find_validator_walks_up_toasserted the walk. It is replaced bytest_the_confined_locator_never_adopts_the_sealed_validator, which runs the real locator over a real sealed tree and checks three things:tests/ideation-dashboard/test_nightly_lane.py, two new tests:test_the_default_validator_is_the_products_own_never_an_enclosing_copy: with novalidator=, the lane publishes. A decoy validator that rejects everything sits exactly where the old walk looked, and it is never adopted.test_a_product_without_its_validator_skips_naming_the_product_tree.Each one fails against the code it replaces. I measured that by mutation: reverting line 261 to
find_validator(agg_root)fails the first; restoring the old skip message fails the second.Gates
The kit replicates every PR-triggered gate from
.github/workflows/*.yml. It ran overffcc6bbf, besidemain1d14fee6in a second full clone. Both clones are namedopenxFactory.main1d14fee6OK … openXdox@2f3f857d …,OK … openDox@dc7aa08f …OK … openXdox@069fe471 … (3ad15b72…),OK … openDox@dc7aa08f … lockstep with openXdox confirmedpytest-suite, local--single-repo --as-of 2026-09-24pytest-suitefailure is not this PR's. It istest_validator_cli::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization], and it fails identically atmain.ffcc6bbf,pytest-suiteandopenxdox-consumer-gateincluded.release-inventory-drifterror:scripts/validate-ideation-dashboard-contracts.pybytes differ from the digestcontract-v4.0records.39b8aca7…, which is the validator at openXdox-code626f2c8d.12b54185…, which is Archive live factory OpenSpec change #28's residue fix.main:catalog.py,release.pyandvalidate-hermes-runtime-contracts.py.Copilot
The review at
ffcc6bbfreads 🔵 "The dependency pin and validator behavior changes warrant final human verification", with Findings: None and no thread.Scope
openspec/changes/nor the README OpenSpec Records block.contracts/openxdox-pin.yamlwith Write the openXdox pin resync runbook the pin said was owed (D-16, RULED 5815412869 C4) #1154, on different lines. This PR edits:109and:127; Write the openXdox pin resync runbook the pin said was owed (D-16, RULED 5815412869 C4) #1154 edits:152-153. Whichever lands second merges main in.add-neutral-product-standalone-operabilitytask 7.3. Phase 2 revisitstest_a_start_outside_the_product_is_refused_not_walked.Not changed here: found while doing it
cc4ae9d3.dashboard_refresh_lane.pyrefuses any seal that lacksscripts/validate-ideation-dashboard-contracts.py(:1221-1230, and verify at:1380). openxFactorymainhas not carried that file since the shed. Its rationale comment (:850) also still says the locator walks up. That code belongs to another lane (add-nightly-dashboard-refresh, archived), so it is reported here rather than changed.1d14fee6and this head, the result is the same: 3 ×snapshot-dangling-cluster-ref, where possibles referencecl-plane-1(defined atideation/cross-reference.yaml:8646). So, once the aggregation re-pins, the nightly lane will skip withsnapshot rejected by the pinned validator: … 3 error(s)instead ofvalidator not found. The new reason is the true one.scripts/ideation_dashboard/human_seen.py:54and:346("mirroringsnapshot.find_validator");scripts/ideation_dashboard/doxbench_contracts.py:412;scripts/verify-snapshot-equivalence.py's docstring (:112-119);src/opendox/cli.py:273's_locate_validator, at openDoxdc7aa08f.Summary by Sourcery
Consume the confined openXdox snapshot-validator locator, update the openXdox pin, and ensure dashboard validation uses the product-owned validator with appropriate coverage and diagnostics.
Bug Fixes:
Enhancements:
Tests:
Chores:
🤖 Generated with Claude Code