Repository navigation
DISPLAY: the completion stage's item nouns read "implemented item(s)" (RULED openxFactory#656 comment 5801057769) - #27
Conversation
… (RULED openxFactory#656 comment 5801057769) Brett Heap, opensoft/openXfactory#656 comment 5801057769 (2026-09-23T19:00:37Z), verbatim "yes, overlay implemented items too". It answers the question #26 left open, whether the completion stage's item nouns follow its name. view_extensions.DISPLAY's one stage entry gains `one` and `many`: "implemented item" / "implemented items" beside #26's `short` / `label` "implemented". `gate` stays openDox's. The comment block says where the nouns render: in the bundle of the pinned opendox, `one` renders in two sentences, both in views/wheel.js (the archived tile's `landed` title, and the empty note of the flyout it opens), and `many` renders nowhere. It also records that openxFactory #1146 (-> d52b4199) now copies these stages into its own facet, so the words reach a served page through openxFactory's pin. Tests: - tests/test_gate_loop_views.py: six of #26's twenty cases are amended in place (the value, the pinned reader, through the host, the five-leaf diff against the facet-less host, and both drop cases). The count stays at 74. - tests/test_gate_loop_probes.py: five new cases (50 -> 55) run BOTH sentences under node. - How: the declarations the sentences need are lifted verbatim out of the pinned views/wheel.js and run in the composed bundle's own views/. The vocabulary is the one readDisplay() builds from what the engineering host serves. - What they show: "implemented item" through the host; "completed item" for a host that forwards no facet and for a missing payload; and the first ruling's overlay alone leaves both sentences neutral. - One test holds each replayed shell statement to the pinned code, with comments excluded. - The host, registry fixture, serve replay and guard are imported from the views file, not copied. - Mutation sweep: 15 of 15 caught (8 over the facet value, 7 over the pinned bundle's shell statements). The control run is 129 passed. Local, validate.yml's 16-file --noconftest list: main 195276b is selected=559 passed=553 skipped=6; this head is 564 / 558 / 6. The floors are NOT moved here. Per the pin block, they rise to CI's own measurement of this PR, with the reason, in the commit that raises them. Lane: openxfactory-4 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Reviewer's GuideThe PR applies the ruling to overlay both completion item nouns—“implemented item” and “implemented items”—alongside the existing stage names, then verifies propagation through the host and rendering in both shipped wheel sentences, with neutral fallback and mutation coverage. Sequence diagram for implemented item renderingsequenceDiagram
participant Host as openxFactory host
participant App as app.js
participant Wheel as views/wheel.js
participant Page as Served page
Host->>App: readDisplay(probedCaps)
App->>Wheel: ctx.display
Wheel->>Wheel: vocab.one(COMPLETION)
Wheel->>Page: render landed title with implemented item
Wheel->>Page: render empty note with implemented item
State diagram for completion vocabulary fallbackstateDiagram-v2
[*] --> Neutral
Neutral --> Implemented: DISPLAY facet forwarded
Neutral --> Neutral: facet absent or no capabilities
Implemented --> Rendered: wheel reads vocab.one(COMPLETION)
Rendered --> [*]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…sed 558 (the five wheel-sentence probes) CI run 35913645237 (2026-09-23) measured d3b179a, this PR's first head, at selected=564 passed=558 skipped=6 failures=0 errors=0. That is margin 5 on the old floors, 559 / 553. The pin block's rule is that floors "may only RISE, and only with the reason in the commit message", and "THE NUMBERS ARE CI'S OWN", so they move to exactly that measurement: MIN_SELECTED 559 -> 564 MIN_PASSED 553 -> 558 EXPECT_SKIPPED stays 6 The +5 is the five new cases in tests/test_gate_loop_probes.py (50 -> 55), the only file on the list whose count moved. The six test_gate_loop_views.py cases this PR amends leave that file at 74. None of the five skips on a runner with node, and CI's runner has it. The pin block gains a "RAISED BY #27" paragraph beside #25's and #26's. Locally, the step run from this file is margin 0 on both floors (rc 0). With one of the five deselected it exits 1, naming both floors. Lane: openxfactory-4 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Raise the validation floors to cover the new probes.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
This PR adds “implemented item(s)” vocabulary for the completion stage and verifies rendering through the host and wheel UI.
Changes:
- Adds singular and plural completion item nouns.
- Expands host and Node-based rendering tests.
- Updates validation documentation and probe counts.
The validation floors should be raised to the measured 564 selected and 558 passed before approval.
| File | Summary |
|---|---|
tests/test_gate_loop_views.py |
Verifies facet normalization and host propagation. |
tests/test_gate_loop_probes.py |
Tests rendered completion sentences and fallbacks. |
src/openxdox/view_extensions.py |
Adds implemented item vocabulary. |
.github/workflows/validate.yml |
Documents additional probes and counts. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) READY #27 @39d8937e |
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 1 day and 14 hours by commenting @sourcery-ai review. Upgrade to get a review now.
…ft/openXdox-code#27) opensoft/openXdox-code#27 landed as 626f2c8d55a8a32111863e55c82599c5c1a88e69 (squash, merged 2026-09-23T20:17:07Z). openXdox-code main is exactly that commit, and its only parent is 195276b7. This commit re-points everything that named the pre-landing head 39d8937e, in ONE commit: - the `code` gitlink; - contracts/code-pin.yaml `commit:`; - contracts/manifest.yaml's re-measured sentence; - the three mentions in contracts/CHANGELOG.md's Unreleased entry. tree_sha256 does NOT move. The landed tree IS the branch tree: 626f2c8d^{tree} = 39d8937e^{tree} = 3dbc0f6f. That was recomputed rather than assumed. sorted-ls-tree-r-v1 over the 147 records of 626f2c8d gives f46e574092489a63f802438574d91b38ff81cb548cf583b918c4a5ddb452bae6 from scripts/repo_shape.py, from an independent ls-tree + sha256, and from repo_shape.tree_digest_from_gh. 195276b7..626f2c8d is now ONE first-parent commit, #27's squash. The CHANGELOG's closing sentence is true again as written: both legs' main are exactly the commits this root pins (code 626f2c8d, spec f088b097). Validators, as validate.yml runs them, all exit 0: - validate-repository-naming.py - validate-manifest.py - validate-pins.py ("ok code: gitlink == contracts/code-pin.yaml commit 626f2c8d55a8", "ok code: tree digest recomputes (f46e57409248…)", "pins ok") Lane: openxfactory-4 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…on stage's item nouns: "implemented item(s)") (#18) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) **STEP 1 of the forced order** recorded at `opensoft/openXfactory#656` (RULED [5767804734](opensoft/openXfactory#656 (comment)) item 5: *openXdox root pin → openxFactory nested legs → aggregation sync*). This time it serves Brett Heap's ruling at [#656 comment 5801057769](opensoft/openXfactory#656 (comment)) (2026-09-23T19:00:37Z), verbatim **"yes, overlay implemented items too"**. [opensoft/openXdox-code#27](opensoft/openXdox-code#27) overlays the completion stage's item nouns: `DISPLAY["stages"]["completion"]` gains `"one": "implemented item"` and `"many": "implemented items"`, beside #26's `short` / `label` `"implemented"`. openDox reads only the registered profile. Since openxFactory [#1146](opensoft/openXfactory#1146) (→ `d52b4199`), openxFactory's own facet copies this leg's `stages`. So the nouns reach a served page through two pins: this root's `code` pin, then openxFactory's `openXdox` pin. This PR is the first. > **#27 LANDED.** opensoft/openXdox-code#27 landed as **`626f2c8d`** (squash, merged 2026-09-23T20:17:07Z), and openXdox-code `main` is exactly that commit. `d2eff3e` pinned #27's pre-landing head `39d8937e`. `eb89dc2` re-points, in ONE commit, everything that named it: the gitlink, `contracts/code-pin.yaml` `commit:`, and every prose mention of the sha in `contracts/manifest.yaml` and `contracts/CHANGELOG.md`. `tree_sha256` does not move, because the landed tree IS the branch tree: `626f2c8d^{tree}` = `39d8937e^{tree}` = `3dbc0f6f`. That was recomputed rather than assumed. ## The lockstep, in one commit | site | before | after | | --- | --- | --- | | `code` gitlink | `195276b7` | **`626f2c8d`** | | `contracts/code-pin.yaml` `commit:` | `195276b75358…` | **`626f2c8d55a8a32111863e55c82599c5c1a88e69`** | | `contracts/code-pin.yaml` `digests.tree_sha256` | `f7b9f453…c166` | **`f46e574092489a63f802438574d91b38ff81cb548cf583b918c4a5ddb452bae6`** | No `.github/workflows/*.yml` names the code leg by `@<sha>` (as at #17), so the README's third site does not exist here. **What the leg advance carries.** `195276b7..626f2c8d` is ONE first-parent commit, #27's squash, and it adds no file: - `src/openxdox/view_extensions.py`: the facet's `one` / `many`; - `tests/test_gate_loop_views.py` and `tests/test_gate_loop_probes.py`: six cases amended, and five probes that run the two wheel sentences under node; - `.github/workflows/validate.yml`: its floors, 559 / 553 → 564 / 558, taken from CI's own run. ## The digest, three ways `sorted-ls-tree-r-v1` over the 147 records of `git ls-tree -r -z 626f2c8d`: - `scripts/repo_shape.py` `tree_digest`: `f46e5740…bae6` - an independent `ls-tree` + `sha256` re-implementation: `f46e5740…bae6` - `repo_shape.tree_digest_from_gh` (the forge's own tree listing): `f46e5740…bae6` Control: the same method recomputes the old recorded `f7b9f453…c166` at `195276b7`. ## Prose kept true in the same commit - **`contracts/manifest.yaml`.** "THE CODE LEG CONTRIBUTES NO ENTRY" is re-measured at `626f2c8d`. That leg has no `contracts/` path (`git ls-tree -r --name-only` shows 0), so none of the five entries moves. The `ab04453d` and `195276b7` readings are kept. - **`contracts/CHANGELOG.md`, `## Unreleased — 2026-09-23`.** It records the second advance beside #26's, and its closing sentence is true again as written: both legs' `main` are exactly the commits this root pins. No contract byte moves. - **No tag moves.** `xdox-v1.0` stays over `2073e3a9` (code `ab04453d`, spec `f088b097`). ## Validators, as `validate.yml` runs them (re-run at `eb89dc2`) | check | result | | --- | --- | | `python3 scripts/validate-repository-naming.py --project project.yaml` | exit 0 | | `python3 scripts/validate-manifest.py` | exit 0: `manifest ok: openXdox (openxdox), 3 legs` | | `python3 scripts/validate-pins.py` | exit 0: `ok code: gitlink == contracts/code-pin.yaml commit 626f2c8d55a8`, `ok code: tree digest recomputes (f46e57409248…)`, `ok contracts/shape-pin.yaml: 10 copied shape file(s) match their digests`, `pins ok` | ## Cannot red openxFactory `verify-opendox-pin.py` check 5 reads this root's `contracts/opendox-pin.yaml` as a blob at whatever commit openxFactory's `openXdox` gitlink names. This PR does not touch that file, and its `commit:` stays `dc7aa08f`. openxFactory keeps reading `cd2596a2` until the next step moves its gitlink. ## Landing Plain gate: this repository has no `openspec/changes/`. If this PR is squash-merged onto an unmoved `main` (`cd2596a2`), the squash commit's tree equals this head's tree. The openxFactory step then re-points its gitlink and `commit:` to the landed sha and records that tree's digest. **This PR is not merged by the actor that opened it.** 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…(s)" from openXdox (RULED #656 5801057769); openXdox pin cd2596a2 → 2f3f857d (#1148) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Realizes the openxFactory side of Brett Heap's ruling at [#656 comment 5801057769](#656 (comment)) (2026-09-23T19:00:37Z), verbatim **"yes, overlay implemented items too"**. It extends [5784683830](#656 (comment)) ("1, keep completed and overlay implemented"), which #1146 served. This is **STEP 2** of the forced order (RULED [5767804734](#656 (comment)) item 5), and both steps before it have landed: | step | PR | landed | | --- | --- | --- | | the facet's `one` / `many` | [opensoft/openXdox-code#27](opensoft/openXdox-code#27) | `626f2c8d` (squash, 2026-09-23T20:17:07Z) | | STEP 1, the openXdox root's `code` pin | [opensoft/openXdox#18](opensoft/openXdox#18) | `2f3f857d` (squash, 2026-09-23T20:26:02Z) | | STEP 2, openxFactory's openXdox pin | this PR | | openXdox `main` is exactly `2f3f857d`, and openXdox-code `main` is exactly `626f2c8d`. ## What a served page shows Measured from a real `opendox.serve.build_server()` in each assembly, `GET /capabilities`, `display` block: | | `main` `d52b4199` | this head | | --- | --- | --- | | `host_facet` / `host_profile` | `declared` / `openxfactory-engineering` | `declared` / `openxfactory-engineering` | | `stages.completion` `short` / `label` | `implemented` / `implemented` | unchanged | | `stages.completion` `one` / `many` | `completed item` / `completed items` | **`implemented item` / `implemented items`** | | `stages.completion` `gate` | `null` | unchanged | | the other five stations | openDox neutral | unchanged | In openDox's shell, `one` renders in the wheel's two completion sentences. openXdox-code#27 runs both under node through the xFactory host: `what landed: this implemented item's detail files` and `this implemented item records no detail files`. ## `_display_facet()` needs NO code change, as #1146 designed `_openxdox_stages()` copies openXdox's `stages` two levels deep, so the new nouns arrive with the pin. `scripts/profile_openxfactory.py` changes in **docstrings only**: its AST with every docstring stripped is identical to `main`'s (`ast.dump` compared). The docstrings said openXdox's entry is "one stage entry and two fields (`short`, `label`)" and cited only the first ruling. They now cite #27 (`626f2c8d`) and `5801057769`: one stage entry, four fields. ## The pin: value-only, in one commit - `openXdox` gitlink: `cd2596a2` → **`2f3f857d`** - `contracts/openxdox-pin.yaml` `commit:`: `cd2596a2…` → **`2f3f857daccce6ade3a15e0f3d0e926f9ff7c925`** - `digests.tree_sha256`: `eb367f68…` → **`149dc2cd6701abbacb635718713b01cb172e6eadb2f6a29607212016aa23d1c5`** The digest is `sorted-ls-tree-r-v1` over the root's 29 records, from `verify-openxdox-pin.py`'s own `tree_digest` and from an independent `ls-tree` + `sha256`. The control recomputes `eb367f68…` at `cd2596a2`. `2f3f857d^{tree}` = `eb89dc23^{tree}` = `c79958ac`, so #18's squash moved no byte. **No line is added or removed**: the file stays 154 lines, since a promoted spec cites it by line. **The openDox pin does not move.** openXdox's `contracts/opendox-pin.yaml` still names `dc7aa08f` at `2f3f857d`, and `verify-opendox-pin.py` reports `lockstep with openXdox confirmed`. ## Tests: `tests/test_engineering_profile_display_facet.py`, section 8 only, 30 → 31 passed Lines 1-407 are byte-identical to `main`, so active change `amend-home-adapter-scope-and-mapping-axis-count`'s `:300-303` citation holds. - **The positive predicate** (`_completion_renders_the_ruled_words`, renamed from `…_word`) requires all four words: `short` and `label` `implemented`, `one` `implemented item`, `many` `implemented items`. - **The neutral assertion** keeps the other five stations whole, and completion's `gate` only. - **No two stations share a rendered word**, now checked for `one` and `many` as well as `short` and `label`. - **The no-restate AST scan** covers the three ruled words AND every word openXdox's `stages` declares. A word openXdox adds at a later pin is therefore covered without editing the test. - **A new shortfall case:** #26's two names without #27's item nouns, which is what a pin still naming openXdox-code `195276b7` serves, fails the positive predicate. The drop test now asserts that some field fell back to openDox's word, rather than `label` in particular. **Mutation sweep over the composer**, each defect applied alone. All eleven were caught, and the control is 31 passed: | mutation | result | | --- | --- | | M1 no `stages` composed | 9 failed | | M2 the four words restated instead of copied | 11 failed | | M3 openXdox's mapping aliased | 1 failed | | M4 shallow copy | 1 failed | | M5 missing `DISPLAY` raised as `AttributeError` | 1 failed | | M6 missing `DISPLAY` degraded to no stages | 1 failed | | M7 only `short` taken | 3 failed | | M8 a second stage overlaid | 4 failed | | M9 the code leg on disk at `ab04453d` (no `DISPLAY`) | 28 failed | | M10 a malformed `DISPLAY` degraded to no stages | 4 failed | | **M11 the code leg on disk at `195276b7`** (#26's names, no nouns: an unbumped pin) | 2 failed | ## Gates **CI, like for like.** `main`'s own `push` run at `d52b4199`, against this head's `pull_request` run, which merged `af23298e` into that same `d52b4199` (merge `1b8b313f`): | check | `main` `d52b4199` | this head `af23298e` | | --- | --- | --- | | `pytest-suite` summary | `8439 passed, 6 skipped, 338 deselected, 410 subtests` (run 35910949799) | `8440 passed, 6 skipped, 338 deselected, 410 subtests` (run 35916269160) | | `pytest-suite` pinned triple | `selected=8855 passed=8849 skipped=6` | **`selected=8856 passed=8850 skipped=6`**, `failures=0 errors=0` | | freshness verifier / vector replay | passed / passed | passed / passed | | `openxdox-consumer-gate` pin suites | pull requests only; floor 105 | `105/105/0`, margin 0, four named verdicts passed (run 35916269093) | | `openxdox-consumer-gate` consumer suite | floor 1137 | `1137/1137/0`, margin 0, named verdict passed | | every other check | push-triggered on `d52b4199`: `clearing-dispatch-gate`, `signed-execution-chain-gate`, `review-lane-repin` success | SUCCESS: `clearing-dispatch-gate`, `former-id-arrival-gate`, `lane-line`, `merge-master-approval`, `openreposhape-pin`, `openspec-cli-pin`, `release-tag-gate`, `signed-execution-chain-gate`, `wallet-validation`, SonarCloud | **+1 selected and +1 passed, exactly the one new shortfall case**, with the same 410 subtests on both sides and SKIPPED at the pinned 6. **Local, at `af23298e`**, in the CI-shaped checkout, each gate running its workflow's exact command: | gate | `main` `d52b4199` | this head `af23298e` | | --- | --- | --- | | `validate-openspec-cli-pin.py --all --no-cache` | exit 0: `Totals: 110 passed, 1 failed (111 items)`, 0 UNDISPOSITIONED, 1 ACCEPTED EXCEPTION | identical | | `verify-openxdox-pin.py` | OK `cd2596a2` / `eb367f68…` | OK `2f3f857d` / `149dc2cd…`, gitlink read from HEAD | | `verify-opendox-pin.py` | OK, lockstep confirmed | OK, lockstep confirmed | | clearing-dispatch, signed-execution-chain, the wallet readers, factory-identity, former-id-arrival, release-tag, openreposhape-pin | exit 0 | exit 0 | | pin suites / consumer suite | | `105/105/0` / `1137/1137/0` | ## Rule 6 This PR touches no `openspec/changes/` path and no README OpenSpec Records line, so it is a **plain gate with no landing window**. ## Claims Sibling search at 2026-09-23T20:28:34Z: - no other open PR in `openxFactory` touches these files or pins - no PR is open in `openXdox` or `openXdox-code` ## Owed after this lands (not taken here) - **STEP 3**, the `opensoft/xFactory` aggregation pointer advance, in the forced order. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…tree (split-opendox § 8.9 residue (i)-(iii)) (#28) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) ## What this repairs The archived openxFactory `split-opendox-two-layer-product` booked three carve defects in this leg's snapshot validation at `tasks.md` § 8.9 (amendment #6, RULED Q-P3 (a), openxFactory #656 comment `5728856581`), "owed to a follow-up act with its own claim". The box took its `[~]` DEFERRED marker at the archive, by RULED `5778397686`. This PR is that act. RULED at openxFactory #656 comment [5815412869](opensoft/openXfactory#656 (comment)) (item 3, **C3**, all (a)) and claimed at [5815613524](opensoft/openXfactory#656 (comment)): - **Q-XDV1 (a):** `CONTRACTS_DIR` comes from the environment. The assembly root's export of it is a separate openRepoShape act, not this PR. - **Q-XDV4 (a):** the two new suites stay OFF `validate.yml`'s named list. The three defects: - **(i)** `scripts/validate-ideation-dashboard-contracts.py`: `SCHEMAS_DIR` resolved to `ROOT / "contracts" / "schemas"`, a directory this leg does not have, "so as carved the validator cannot run from anywhere". - **(ii)** `src/openxdox/snapshot.py`: `VALIDATOR_RELPATH` named `openxFactory/scripts/validate-ideation-dashboard-contracts.py`, which openxFactory shed at `cc4ae9d3`. - **(iii)** `find_validator` walked every parent of its start (or of the cwd) and adopted whatever enclosing checkout still carried a pre-shed copy: "a reader adopting its enclosing tree". **This lands AFTER opensoft/openXfactory#1153** (RULED Q-L1, `5642758731`: the row annotation for an edit to an arrived file lands first). **#1153 LANDED** as `1d14fee6`. Against openxFactory `main` at `1d14fee6`, `verify-carve-arrival.py --destination openxdox_code --phase B` with the six replicas answers **OK** for this head `3f32cb5d`: 96 rows arrived, 87 declared-edit rows within their lines, 3 unapplied, 135 files with none undeclared, 34 declared admissions used. Before #1153, `main`'s manifest refused this leg with `arrival-digest-mismatch` at `src/openxdox/snapshot.py`. **Land it by squash, the way #16–#27 landed.** Both admissions' `since:` is `45825ff7`, this branch's first commit, which introduced both suites (`git log --diff-filter=A` on this branch). That stays true through a squash, as it does for the 17 existing admissions that name a pre-squash branch commit. It would stop being true only if this branch's history were rewritten, so it must not be. **This does NOT discharge openxFactory#1144 (`add-neutral-product-standalone-operability`) task 7.3.** That box's FALSIFIED BY asks the INSTALLED distribution to find its own validator from a `start` outside the product. This PR's `find_validator` answers `None` for such a start. So when phase 2 realizes 7.3, it revisits `tests/test_snapshot_validator_home.py::test_a_start_outside_the_product_is_refused_not_walked`, and the holder is taking that tension to Brett as a phase-2 question. The arrived `tests/test_snapshot_validation_launch.py` belongs to the same revisit (Copilot, round 2). It still writes its stub validator at `aggregation / VALIDATOR_RELPATH` and launches from the corpus root outside this product, so under this confinement its launch would report validation SKIPPED. It cannot be collected in this repository at the base or at this head: the pinned openDox-code `5c137a90`'s `serve.py` imports `ideation_dashboard`, which is not installed here. It is also not among `validate.yml`'s named files, so no gate's outcome moves. Nothing changes for openDox-code's two live callers of `find_validator`, which are `workbench.validate_manifest` → `find_validator(path.parent)` and `cli._locate_validator` → `find_validator(written.parent) or find_validator(repo_root)`. Both pass a start outside this product. Both already get `None` at `main`, because the old relpath names the shed path. They still get `None` here. ## Before → after (re-cut on `main` `626f2c8d`; the four files are byte-identical to the helper bank's first cut `d3a90748` on `ab04453d`, and `#26`/`#27` touched none of them) | | before (`626f2c8d`) | after | | --- | --- | --- | | (ii) `VALIDATOR_RELPATH` | `openxFactory/scripts/validate-ideation-dashboard-contracts.py` (absent everywhere since `cc4ae9d3`) | `scripts/validate-ideation-dashboard-contracts.py`, relative to this product's root | | (iii) the product nested under a pre-shed openxFactory checkout | adopts the parent's validator | never looks up: the validator used is always the product's own. A dangling-edge snapshot is `not-conformant`, and `validate_or_raise` raises | | (i) validator in the openXdox assembly root (`2f3f857d`, `code` at the test tree), `CONTRACTS_DIR=$PWD/spec/contracts` | rc=2 in every case: `ERROR harness failure: … code/contracts/schemas/ideation-dashboard-snapshot.schema.yaml` not found | snapshot example rc=0; `negative/snapshot-dangling-document-edge` rc=1 (1 error); `snapshot-index` example rc=0 | | (i) the same without `CONTRACTS_DIR` | rc=2, as above | rc=2, now naming the channel: `… is not carried under …/code/contracts/schemas (this tree carries no contracts/ and CONTRACTS_DIR is not set; export it as the spec leg's contracts directory)` | | the arrived, unedited `tests/test_snapshot.py`, in that assembly root with `CONTRACTS_DIR` | 3 failed / 14 passed | **17 passed** | ## How - **(ii) and (iii).** - `product_root()` is fixed `parents[2]` arithmetic on the module's own path, confirmed by an explicit marker: the `src/openxdox/` layout and a `pyproject.toml` naming `openxdox`. - `find_validator(start=None)` keeps its signature, because openDox's `consumer_reach` binds it by name. It now CONFINES: a `start` outside the product answers `None`, a `scripts/` link that resolves out of the tree is refused, and neither the cwd nor the snapshot's own directory is a search root any more. - A validator from anywhere else must be passed explicitly (`validator=`). - **(i).** - A resolved `schemas/` that carries NONE of the ten, or none at all, is refused before any mode runs: harness failure, exit 2 (`87e627c`, Copilot round 2). Otherwise an empty registry let a directory sweep that met no recognized instance exit 0 having loaded no schema. - An own `contracts/` or `contracts/schemas/` that resolves OUT of the tree is refused before any directory is chosen, whatever it reaches: a directory with `schemas/`, one without, or nothing, since a dangling link counts too (`3f32cb5d`, Copilot round 3). Otherwise a valid `CONTRACTS_DIR` let such a link pass unread. - The validator reads this tree's own `contracts/` when the tree carries `contracts/schemas/`. That covers the pre-shed layout and openxFactory's `doxbench_contracts._composed_validator` farm, both unchanged. - Otherwise it reads the directory **`CONTRACTS_DIR`** names. That is the channel the assembly root's `AGENTS-shape.md` declares for a contract the code reads but does not own: "the code leg's tooling now takes `CONTRACTS_DIR` from the environment … rather than each script guessing at `../`". - Nothing above the script's own root is read by position. - The registry loads the family schemas the resolved directory carries; three of the ten live in openXdox-spec since the carve. An instance of any other kind is refused with exit 2 and never passed. The refusal names the missing schema and the directory it read. For a possibles-register section, whose kernel stays with openxFactory, it is the registry's own `Unresolvable` naming that schema. openXdox's root `Makefile` is a digest-pinned copy of openRepoShape's scaffold template. It does not export `CONTRACTS_DIR` today, so in the assembly root the validator still refuses by default, but it now says which variable supplies the contracts. Whether the root should carry that export is a shape question for openRepoShape (Q-XDV1 (a)), not this PR. ## Tests Two created suites, both `--noconftest`-safe, each copying the REAL module or script into a `tmp_path` layout: - `tests/test_snapshot_validator_home.py`, 12 tests. - (ii): the relpath and the own-tree answer. - (iii): none of these is ever adopted: an enclosing pre-shed validator, a pre-shed corpus, the cwd, a `start` outside the product, an installed copy, a `pyproject.toml` naming another distribution, and an escaping `scripts/` link. - The signature is kept. - `tests/test_validator_schema_home.py`, 12 tests: - runs with `CONTRACTS_DIR` (exit 0); - a dangling edge is a finding (exit 1); - an uncarried kind is refused by name (exit 2); - both carved path constants follow the declared directory; - the refusal names the channel; - a declared directory without `schemas/` is refused; - an enclosing assembly root is never read by position; - a composed family's own tree still wins over `CONTRACTS_DIR`; - an own `contracts/` that is a LINK out of the tree is refused, with or without `CONTRACTS_DIR` (added at `0a1963f8` on Copilot's review); - a real `contracts/schemas/` of LINKED files (openxFactory's composed farm) is still the tree's own (a guard, same round); - no mode passes having loaded no schema: both sweeps, `--transition` and the default, with nothing resolved or with a `schemas/` of unrelated files, all exit 2 (added at `87e627c` on Copilot's review; it fails at `0a1963f8`, where the empty sweep exits 0); - an escaping own link is refused whatever it reaches: `contracts/` dangling, `contracts/` to an outside directory without `schemas/`, and `schemas/` dangling out of a real `contracts/`, each with and without `CONTRACTS_DIR` (added at `3f32cb5d`; it fails at `87e627c`, where the dangling link with `CONTRACTS_DIR` exits 0). | measurement (python 3.12.3, pytest 8.4.2; venv from `pip install -e ".[test]"` as `validate.yml` installs, plus a second venv adding rfc3339-validator where noted) | `626f2c8d` | this head (`3f32cb5d`) | | --- | --- | --- | | **the required check replicated**: the 16 named files, `--noconftest`, no rfc3339-validator, as on the runner | 564 selected / 558 passed / 6 skipped / 0 / 0, **pin HOLDS** (floors ≥564, ≥558, ==6) | 564 / 558 / 6 / 0 / 0, **pin HOLDS** | | the two created suites, with rfc3339-validator | 21 failed / 3 passed (the residues, the two link cases, the no-schema guard and the new marker's API; the 3 passes are guards) | **24 passed** | | the two created suites, CI venv (no rfc3339-validator) | 11 failed / 1 passed / 1 skipped | 12 passed / 1 skipped (`test_validator_schema_home.py` skips at module level) | | whole `tests/`, `--noconftest`, `--continue-on-collection-errors`, per-test JUnit diff | 174 F / 830 P / 10 S / 128 E of 1142 (with the two suites copied in) | 152 F / 852 P / 10 S / 128 E of 1142. **22 outcomes change, all fail → pass**: the 21 new-suite tests that fail on the base and `tests/test_snapshot.py::test_find_validator_locates_pinned_checkout`. **0 regressions.** The 128 collection errors (`No module named 'ideation_dashboard'` / `'doc_health'`) are carve residue on both sides | ## Not in this PR - **The named list** (Q-XDV4 (a)). Both suites exercise carved modules, which RULED Q-L8 (b′) keeps off `validate.yml`'s list. `test_validator_schema_home.py` would also report as one module-level skip on a runner without rfc3339-validator (+1 against `EXPECT_SKIPPED == 6`). - **rfc3339-validator is not declared** in `pyproject.toml`, yet the validator exits 2 at its FormatChecker guard without it. That is reported here, not fixed. - **`tests/test_validate_ideation_dashboard_contracts.py`** keeps openxFactory's `parents[2]`, so it names the directory above this repository. That is another row's path constant, reported and not fixed. - **The pin moves**, which are separate owed acts in the forced order: - first, the openXdox root's code pin (the `code` gitlink, `contracts/code-pin.yaml` `commit:` and `tree_sha256`, `contracts/manifest.yaml` and CHANGELOG, in the shape of openXdox#17/#18) at this PR's LANDED sha; - then openxFactory's openXdox pin, with the consumer updates it makes due (`test_dashboard_source_seal.py` asserts the old walk; `nightly_lane.py` calls `find_validator(agg_root)`). ## Review rounds - **Round 1** (Copilot at `45825ff7`), fixed at `0a1963f8`. An own `contracts/` or `contracts/schemas/` that is a LINK out of the tree is refused with exit 2, with or without `CONTRACTS_DIR`. A real directory of linked schema files is still the tree's own. - **Round 2** (Copilot at `0a1963f8`), fixed at `87e627c`. With no schema carried, a directory sweep that met no recognized instance exited 0 having loaded nothing. `build_registry` now refuses first. This also corrects my round-1 answer, which called that exit 0 pre-existing: measured, the base `626f2c8d` exits 2 there. The launch-harness finding is answered in its thread; it belongs to the #1144 task 7.3 revisit described above, and is not a change here. - **Round 3** (Copilot at `87e627c`), fixed at `3f32cb5d`. The escaping-link check used to run only when `contracts/schemas/` was a directory, so a dangling link, or a link to an outside directory without `schemas/`, passed unread whenever `CONTRACTS_DIR` was valid. Both names are now checked as they resolve, before any directory is chosen. All eight probe cases exit 2; the composed farm still exits 0. - **No round moves openxFactory#1153's window.** Against the carve blob, the diff still touches exactly lines 14, 15, 16, 115, 116, 224, 225, 226, 230 and 1822, plus insertions beside 94 and 237. `verify-carve-arrival.py --phase B`, with the six replicas, answers `OK` for `3f32cb5d` against the LANDED `main` `1d14fee6` (87 declared-edit rows within their lines, 34 admissions used). The two admissions' `since` stays `45825ff7`, the suites' introducing commit. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
CI's own green run 36355557215 (2026-09-27, pull_request) measured 4ae1c5c, the head before this change, at openDox-code 2d116415: the named list 558 passed / 6 skipped, `integration (9.3)` 10 passed / 1 deselected, and Pin the triple selected=574 passed=568 skipped=6 failures=0 errors=0, margin 10 and 10 over 564/558. MIN_SELECTED 564 -> 574 and MIN_PASSED 558 -> 568. The +10 on both is the ten tests the integration step runs, the second report the triple sums since this PR; the named list is unchanged. EXPECT_SKIPPED stays 6: nothing in tests/integration/ skips, and the one test the step leaves out until T008 (RULED openxFactory#656 comment 5859927858) is deselected, which no report counts. A RAISED BY paragraph records it in the form #26 and #27 used. Copilot's review of f5efc75 asked for this: with the floors at 564/558, a loss of integration tests passed unnoticed. Measured with the raised floors, the pin step run from this file over CI-shaped reports: both reports, green at margin 0; the integration report missing, refused (missing, and 564/558 below the floors); one integration test lost, refused at 573/567. Arc: neutral-product-standalone-operability Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
It brings #30's main merge (the pin at 2d116415, so the pin line leaves this PR's diff), T041's tightened doc_health evidence and recursive glob, T042's docstring mend, and T042's floors, raised to CI's own reading of the two reports, 574/568. One conflict, in .github/workflows/validate.yml, resolved by keeping T043's rewrite and carrying #31's two changes into it: the floors 574/568, which may only rise and which the next commit raises again, and #31's RAISED BY paragraph, placed in the triple's history after #27's. The rest auto-merged (tests/integration/test_assembled_surface.py keeps both T042's mend and T043's step wording). Against #31 at 412ce90, the merge differs only in T043's nine files. Arc: neutral-product-standalone-operability Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…80/10 CI's run 36356408029 (2026-09-27, pull_request) measured 890a480, the head before this change, at openDox-code 2d116415: the pytest step `880 passed, 10 skipped, 1 deselected`, and Pin the triple selected=890 passed=880 skipped=10 failures=0 errors=0, refused only by the exact skip pin (`skipped 10, pinned exactly 6`). That run printed the numbers before this commit pinned them, as #25's rule asks. MIN_SELECTED 574 -> 890 and MIN_PASSED 568 -> 880: the job now collects every test file the declaration does not list. That is the sixteen the list named (564, unchanged), tests/integration/ (10, the left-out test deselected), and the eight other files under tests/ that the list never ran (316). EXPECT_SKIPPED 6 -> 10, with the reason: the four new skips are tests/test_aggregation_register_instance.py's ("aggregation checkout (seed register + pinned validator) not reachable"), and the three seam suites' six doc_health skips are unchanged. The margin is zero, as #25 set it, and restoring it is T044's (9.4). A RE-PINNED BY paragraph records it in the form #26, #27 and #31 used. The pin step, run from this file over reports shaped as CI writes them: the measured report passes at margin 0; one test fewer is refused at 889/879; one more skip is refused (skipped 11, pinned exactly 10); a missing report is refused. Arc: neutral-product-standalone-operability Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…he declared exclusion (#32) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Arc: neutral-product-standalone-operability **On `main`.** #30 (T041) landed as `5fbd188e`, and #31 (T042) as `4e16db95` at 23:11:08Z. This PR was retargeted to `main` straight after, while #31's branch still existed, and `7a3e4882` merges `main` in, with no force-push and no rebase. Plan 034 task **T043** (openxFactory `specs/034-opendox-standalone-operation/tasks.md`, read at openxFactory `main` `7af30fc5`), slice P1-J, box 9.2: **the required check runs the whole suite, less the declared exclusion.** Claimed on openxFactory#656, comment `5860269897`. It is re-verified at the final head (§ "Checks on this PR"): CI's triple and the whole-suite triage, each as before. Brett ruled its one open question (b), openxFactory#656 comment `5870594693`. F9.1's pytest line takes one `--deselect` for the help-tree test, and F9.1 so amended passes here (§ "The falsifier"). Ruled: R1Q6 (d), R1Q7 (a), R1Q22 (a), openxFactory#656 comment `5817152735`; R1Q24 (a), R1Q25 (b), comment `5850003126`; F9.1's pytest line, comment `5870594693` (§ "Ruled: F9.1 and the left-out help-tree test"). After: T019, T041, T042, T007 batches C (#1172) and F (#1178); both batches have landed. T061 stays in phase 2, so `tests/test_snapshot.py` keeps its `consumer-schemas` entry. ## What changes 1. **`.github/workflows/validate.yml`** (`0b506a92`). - The `pytest` step loses its sixteen-file list and pytest's no-conftest flag. It runs `python -m pytest -q --junitxml=pytest-report.xml` with the conftest chain in play and no path. pytest takes `testpaths = ["tests"]`, so `tests/` is collected whole, `tests/integration/` included. The root `conftest.py` (T041) leaves out `tests/declared_exclusion.yaml`'s 66 files and prints them as an open extraction. - All eight lines that named the flag are gone, comments included, because F9.1 counts them with `grep -c`. The long per-file account of the old list is replaced by a pointer to its history (`git show d84b504:.github/workflows/validate.yml`). That replacement also removes the stale `5c137a90` line at `:198`. - T042's `integration (9.3)` step folds into the whole-suite step, since the whole suite collects `tests/integration/` itself. The exclusion that step carried comes with it unchanged: the `LEFT_OUT` deselect and the `::notice::` line for RULED openxFactory#656 comment `5859927858` (the 31-entry help-tree test, out with its stated reason until T008). The guard test beside that test, and its module docstring, now name the whole-suite step (`tests/integration/test_assembled_surface.py`, three wording edits). - The triple reads one report again. Its comment names every skip it pins (§ "The triple"). - **The floors were not moved in this commit.** Its CI runs printed the numbers against the old pins and failed on the exact skip pin, as #25's rule has it ("the first commit of that pull request having printed them before this step pinned them"). `b1d127c0` then pinned what CI printed (§ "The triple"). 2. **The stale present-tense `5c137a90` pin claims** (`69646675`), in `src/openxdox/view_extensions.py`, `tests/test_dependency_direction.py` and `tests/test_gate_loop_probes.py:197`. Each is respelled to what it says at `2d116415`, measured there (§ "The sweeps"). The protected `tests/test_gate_loop_views.py` is left alone. 3. **The docstrings T043's own change made untrue** (`01fbbd98`). Six places said in the present tense that `validate` names a file or runs it with the conftest chain off: `tests/test_corpus_shape.py`, `tests/test_domain_corpus_adapter.py`, `tests/test_domain_profile.py`, `tests/test_dependency_direction.py`, `tests/test_gate_loop_probes.py` and `tests/opendox_bundle.py`. 4. **The re-pin** (`b1d127c0`): `MIN_SELECTED` 574 -> 890, `MIN_PASSED` 568 -> 880, `EXPECT_SKIPPED` 6 -> 10, from CI's own run, with a RE-PINNED BY paragraph (§ "The triple"). 5. **Two wording fixes from Copilot's rounds.** - `799a4950` names the one deselected test beside the exclusion wherever the check's scope is stated: `tests/test_dependency_direction.py`'s module docstring and `validate.yml`'s header (thread `4117373483`). - `b944104a` respells `tests/test_gate_loop_probes.py`'s call-site note, which said "`validate.yml`'s record block carries the total, 43". That block is gone since T043, so the note says it carried the total until then, and names `git show d84b504:.github/workflows/validate.yml`. The same note's "at THIS head" now names the head it meant, #21's: squashed as `2529c10`, its diff adds 37 tests there and 6 in the views file. 6. **Merges, never a rebase or force-push.** - `33937b4a` merges `main` (#29's landing, `d84b5048`), bringing only `pyproject.toml`'s pin, `5c137a90` -> `2d116415`. #31 then carried that line too. - `9a67bafb`, `4e1def2d`, `890a4809` and `88cd8d4c` merge #31 at `bd34a141`, `412ce90a`, `2d1340f8` and `44902aec`. - `4e1def2d` had one conflict, in `validate.yml`. It keeps T043's rewrite and carries #31's two changes into it: its floors, `574/568`, and its RAISED BY paragraph. - `7a3e4882` merges `main` at `4e16db95`, #31's squash. That squash's tree is `44902aec`'s (`32a04bd1`), which `88cd8d4c` had already merged, so the merged tree is this branch's own (`eb9c2396`). Its two conflicts, `validate.yml` and `tests/integration/test_assembled_surface.py`, are T043's edits of #31's lines, and both resolve to this branch's side. Against `main`, this PR changes nine files. Commits 2, 3 and 5 change only comments and docstrings. Each touched file's AST, with docstrings masked, is unchanged (checked with `ast.dump`). No protected suite is edited (the 16 of 12.5's `git grep` and the 7 of 5.4a's glob). So no respelling needs R1Q7 (a)'s allow-list, and this PR does not create `tests/protected_suite_respellings.yaml`. ## The falsifier: F9.1 (openXdox-code), as T007's batches B and F amend it, and as RULED `5870594693` amends its pytest line Quoted from #1144's `tasks.md` at openxFactory `8421603a` (`sha256 ec2acf0c…`), with the ruling's one `--deselect` added to the ratified pytest line. The amendment itself is T007's: a bookkeeping PR that another writer is authoring, which lands through a Rule 6 window. This block is the text as run (`sha256 06921b49…`): ```sh set -euo pipefail W=$(mktemp -d) # scratch space, resolved at run time (never a host path) python -m venv --clear "$W/v9" # a FRESH environment: nothing already installed stands in . "$W/v9/bin/activate" pip install ".[test]" python -m pytest -q --deselect tests/integration/test_assembled_surface.py::test_the_assembled_help_tree_is_the_31_entry_tree_the_manifest_records # NOT --noconftest, NOT a file list test "$(grep -c -- --noconftest .github/workflows/validate.yml)" -eq 0 # AND no pytest step enumerates a subset: a named file list with no # --noconftest would otherwise pass the assertion above. python - <<'EOF' import re, sys, pathlib w = pathlib.Path(".github/workflows/validate.yml").read_text() body = "\n".join(l.split("#")[0] for l in w.split("\n")) named = set(re.findall(r'tests(?:_runtime)?/test_[A-Za-z0-9_]+\.py', body)) sys.exit(0 if not named else (print("FAIL: workflow still enumerates", len(named), "test files"), 1)[1]) EOF ``` The one line it changes, against #1144's ratified text: ```diff -python -m pytest -q # NOT --noconftest, NOT a file list +python -m pytest -q --deselect tests/integration/test_assembled_surface.py::test_the_assembled_help_tree_is_the_31_entry_tree_the_manifest_records # NOT --noconftest, NOT a file list ``` - **Batch B** (R1Q6 (d), `5817152735`; recorded in plan 034 § "Ruled amendments", not yet in #1144, since it lands once T041 names its file): `python -m pytest -q` collects the whole suite less the files in T041's declared exclusion file. The falsifier asserts three things: the file's count equals its entries, every entry carries its reason, and the run prints the exclusion as an open extraction. The two `validate.yml` assertions stay. - **Batch F** (R1Q24 (a), R1Q25 (b), `5850003126`; landed as #1178): the exclusion takes three more reasons, the rail, openxFactory's contracts, and the consumer's schemas for `tests/test_snapshot.py` alone. Every entry is reported as an open extraction. **Run as amended at `7a3e4882`, the final head**, from this checkout, in a fresh venv: **exit 0**. `pip install ".[test]"` gave openDox `commit_id 2d116415159b721b55613fe20a159afc46202d1f` (read from `direct_url.json`). Python 3.12.3, pytest 8.4.2. | line | result | |---|---| | `python -m pytest -q --deselect` the help-tree test | **PASS: `880 passed, 10 skipped, 1 deselected`**, the reading of the required check's own step (CI run `36357895876` at `7a3e4882`) | | batch B: the run prints the exclusion | yes: `open extraction: the declared exclusion`, `declared exclusion: 66 files, listed in tests/declared_exclusion.yaml and left out of this run`, the four reasons with their rulings, and 66 `excluded` lines | | batch B: count equals entries; every entry carries its reason | the root conftest refuses to load otherwise, and `tests/test_declared_exclusion.py` asserts both inside this run (`test_the_count_equals_the_entries`, `test_every_entry_carries_its_reason`), both passed | | `test "$(grep -c -- --noconftest …)" -eq 0` | **PASS**, `grep -c` prints `0` | | no pytest step names a test file | **PASS**, exit 0 | **Unamended**, the ratified pytest line exits 1 on that one test alone: `1 failed, 880 passed, 10 skipped`. The failure is `ModuleNotFoundError: No module named 'doc_health'`, through `openxdox/cli_gate.py`, measured at `7a3e4882` and at `b1d127c0`. That is the question the ruling answers (§ "Ruled"). **So F9.1 as amended passes at this head.** The required check and F9.1 now leave out the same one test, each by its own `--deselect`, and T008 removes both. ## Ruled: F9.1 and the left-out help-tree test RULED `5859927858` left the help-tree test out of T042's step until T008, with its stated reason, "which is R1Q6 (d)'s kind of exclusion", and said "F9.2 is unchanged". It said nothing of F9.1. The required check carries that exclusion as a workflow `--deselect`, because T041's declaration lists whole `tests/test_*.py` files directly in `tests/`. F9.1's bare `python -m pytest -q` never sees a workflow flag, so its pytest line exited 1 on that one test. This PR put three ways to settle it: (a) the declaration carries the one test; (b) T007 amends F9.1's pytest line to deselect it; (c) F9.1 stays red on it until T008. **RULED (b)**, openxFactory#656 comment `5870594693` (Brett Heap, 2026-09-28, verbatim choice: "(b) Amend F9.1 to deselect it (Recommended)"): - "A small T007 bookkeeping amendment adds one --deselect to F9.1's pytest line for tests/integration/test_assembled_surface.py::test_the_assembled_help_tree_is_the_31_entry_tree_the_manifest_records." - "It cites 5859927858 and this comment." "It lands through a Rule 6 window." - "T008 removes it together with the workflow deselect." So this PR changes no code for it. The step's `LEFT_OUT` stays, and T041's declaration stays file-only, as T041 landed it. Copilot's thread on it (`4117316098`) is answered with the ruling in `4122573866`, and resolved. ## The whole suite at T040's pin, every red file with its class T043 first runs openXdox-code's whole suite at T040's pin, as T005 did at `e28930bf`. Each `tests/test_*.py` file is named on the command line, so the declaration hides nothing (pytest collects a file named there whatever `collect_ignore` says), and `tests/integration` is named too. The conftest chain is in play, with `--continue-on-collection-errors`. At `7a3e4882`, the final head, openDox `2d116415`: **`107 failed, 1249 passed, 10 skipped, 127 errors`**, which is **234 red results in 67 files**. The table is the same one `b1d127c0` gave. The same run at `9a67bafb`, before T043's own commits, gave the same 234 in the same 67 files, with the same classes, and 1242 passed. The classifier is T005's persisted `classify_whole_suite.py` (`sha256 3a76945d…`), with one rule added for this pin. At T027's seam (openDox-code#41), the rail's reach now fails closed as `StatusExemptionNotRegistered`, not as a missing module, so class H also takes that refusal (the extended tool's `sha256 0721b897…`): ```diff + if "StatusExemptionNotRegistered" in txt or "the status-exemption rail cannot answer it" in txt: + return "H" # T043: the rail's refusal at openDox's seam (plan 034 T027), which replaced the module reach if "rfc3339-validator" in txt: ``` | class | cause | red | files | |---|---|---|---| | A | `doc_health` | 70 | 60 (59 declared, and the ruled-out help-tree test) | | H | openxFactory's status-exemption rail, refused at openDox's seam | 87 | 3 | | I | the contract family, read outside the checkout | 75 | 5 | | J | the consumer's schemas (7.3) | 2 | 1 (`tests/test_snapshot.py`) | | B–G, M | carve residue, `rfc3339-validator` | **0** | — | | ? | unclassified | **0** | — | - **No carve residue is left at this pin.** Classes B to G and M are empty, so T043 clears none. - The layer T005 found behind `tests/test_snapshot_validation_launch.py`'s fixture, `ProfileNotRegistered`, is gone at the pin, because T016 registers the default. Its 9 cases now fail on `doc_health` (no `ProfileNotRegistered` in any message), and the file is a `doc_health` entry. - **Every red file's classes equal its declared reasons exactly.** The two-reason entries are `tests/test_doxbench_packet.py` (A 3, H 54) and `tests/test_doxbench_blank_reason.py` (A 1, I 1). No declared file is green, and the one red file that is not an entry is the help-tree test, which the ruling handles. <details><summary>All 67 red files, each with its class and its declared reasons</summary> | file | red results, by class | declared reasons | |---|---|---| | `tests/integration/test_assembled_surface.py` | A `doc_health` (1) | not an entry: RULED 5859927858 leaves it out (`LEFT_OUT`) | | `tests/test_authoring_agent.py` | A `doc_health` (1) | doc_health | | `tests/test_branch_session.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_canvas.py` | A `doc_health` (1) | doc_health | | `tests/test_completeness.py` | A `doc_health` (1) | doc_health | | `tests/test_create_document_cli.py` | A `doc_health` (1) | doc_health | | `tests/test_create_project.py` | A `doc_health` (1) | doc_health | | `tests/test_doxbench_abstract_envelope.py` | H the rail (1) | status-exemption-rail | | `tests/test_doxbench_abstract_route.py` | A `doc_health` (1) | doc_health | | `tests/test_doxbench_blank_reason.py` | A `doc_health` (1), I the contracts (1) | doc_health, openxfactory-contracts | | `tests/test_doxbench_knowledge_service.py` | A `doc_health` (1) | doc_health | | `tests/test_doxbench_mutation_boundary.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_doxbench_packet.py` | A `doc_health` (3), H the rail (54) | doc_health, status-exemption-rail | | `tests/test_doxbench_request_handling.py` | A `doc_health` (1) | doc_health | | `tests/test_doxbench_save.py` | A `doc_health` (1) | doc_health | | `tests/test_doxbench_scope.py` | A `doc_health` (1) | doc_health | | `tests/test_doxbench_share.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_doxbench_thread_wiring.py` | A `doc_health` (1) | doc_health | | `tests/test_doxbench_threads.py` | A `doc_health` (1) | doc_health | | `tests/test_doxbench_transport.py` | A `doc_health` (1) | doc_health | | `tests/test_doxbench_turns.py` | H the rail (32) | status-exemption-rail | | `tests/test_doxchat_model_intake.py` | A `doc_health` (1) | doc_health | | `tests/test_edit_action.py` | A `doc_health` (1) | doc_health | | `tests/test_edit_project.py` | A `doc_health` (1) | doc_health | | `tests/test_explorer_viewer.py` | A `doc_health` (1) | doc_health | | `tests/test_gate_console.py` | A `doc_health` (1) | doc_health | | `tests/test_gate_failure_diagnostics.py` | A `doc_health` (1) | doc_health | | `tests/test_gateway_provenance.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_generated_at_anchor.py` | A `doc_health` (1) | doc_health | | `tests/test_generator.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_grouping.py` | A `doc_health` (1) | doc_health | | `tests/test_header_value_readers.py` | A `doc_health` (1) | doc_health | | `tests/test_hermeticity_gate_verbs.py` | A `doc_health` (1) | doc_health | | `tests/test_hosted_actor.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_kickoff.py` | A `doc_health` (1) | doc_health | | `tests/test_notebook_action.py` | A `doc_health` (1) | doc_health | | `tests/test_project_action_contracts.py` | I the contracts (11) | openxfactory-contracts | | `tests/test_project_aggregates.py` | A `doc_health` (1) | doc_health | | `tests/test_project_schema_election.py` | I the contracts (13) | openxfactory-contracts | | `tests/test_readiness_gate.py` | A `doc_health` (1) | doc_health | | `tests/test_register_edit_lane.py` | A `doc_health` (1) | doc_health | | `tests/test_renderer.py` | A `doc_health` (1) | doc_health | | `tests/test_repo_root_guard.py` | A `doc_health` (1) | doc_health | | `tests/test_repo_selector.py` | A `doc_health` (1) | doc_health | | `tests/test_round_trip.py` | A `doc_health` (1) | doc_health | | `tests/test_session_commits.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_session_confinement.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_session_document_ownership.py` | A `doc_health` (1) | doc_health | | `tests/test_session_gates.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_session_lifecycle.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_session_notebook.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_session_records.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_session_runbook.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_session_snapshot.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_session_transaction.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_session_verbs.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_snapshot.py` (protected) | J the consumer's schemas (2) | consumer-schemas | | `tests/test_snapshot_determinism.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_snapshot_registry.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_snapshot_validation_launch.py` (protected) | A `doc_health` (9) | doc_health | | `tests/test_source_dot_directories.py` | A `doc_health` (1) | doc_health | | `tests/test_staging_workbench.py` (protected) | A `doc_health` (1) | doc_health | | `tests/test_trust_gaps.py` | A `doc_health` (1) | doc_health | | `tests/test_validate_ideation_dashboard_contracts.py` | I the contracts (32) | openxfactory-contracts | | `tests/test_wheel_action_contracts.py` | I the contracts (18) | openxfactory-contracts | | `tests/test_wheel_model.py` | A `doc_health` (1) | doc_health | | `tests/test_wheel_verbs_cli.py` | A `doc_health` (1) | doc_health | 67 red files. </details> **The protected suites** (12.5's 16 and 5.4a's 7): 21 are red, each only for a declared reason. 20 are `doc_health`, and `tests/test_snapshot.py` is `consumer-schemas`. 2 are green: `tests/test_gate_loop_views.py` (74 passed) and `tests/test_snapshot_validator_home.py` (12 passed). No protected suite is red for a cause no bucket takes, so nothing stops this task, and none needs a respelling. **T041's layer 2, re-run at the pin** (the holder's decision on T041's landing). `tests/test_declared_exclusion.py` with `tests/test_hermeticity_runner_seams.py` gives 212 passed. `tests/test_hermeticity_gate_verbs.py` alone stops at collection on `No module named 'doc_health'`, its declared reason. The same file, with openxFactory's `scripts/` at `7af30fc5` on `PYTHONPATH` (R1Q23 (a)'s composition), gives 2 passed. ## The whole-suite step, as `validate.yml` runs it CI's own run `36357895876` at `7a3e4882`, the final head, is green. It measured `refs/pull/32/merge` over `main` `4e16db95`, with openDox-code `2d116415`. The `pytest` step gives **`880 passed, 10 skipped, 1 deselected`**, and `Pin the triple` reads `selected=890 passed=880 skipped=10 failures=0 errors=0`, at margin 0. A local run of the same step at the same head gives the same triple. It collects 27 files: - the sixteen the list named, still 564 tests between them (the old floor exactly: 558 passed, 6 skipped); - eight more under `tests/`, 316 tests: `test_declared_exclusion.py` (207), `test_doxbench_bridge.py` (60), `test_validator_schema_home.py` (12), `test_snapshot_validator_home.py` (12), `test_register.py` (10), `test_scope_column_split.py` (6), `test_hermeticity_runner_seams.py` (5) and `test_aggregation_register_instance.py` (4, all skipped); - `tests/integration/`, 10 tests: 4 + 5, plus the guard test in `test_assembled_surface.py`, with the help-tree test deselected. `tests/test_validator_schema_home.py` runs its 12 cases now that T040 declares `rfc3339-validator`, and all 12 pass, so it adds no skip. ## The triple **Re-pinned in `b1d127c0` from CI's own reading** (#25's rule: the numbers are CI's own, printed before they are pinned). - Run `36356408029` measured `890a4809`, the head before the re-pin, at `selected=890 passed=880 skipped=10 failures=0 errors=0`. It was refused only by the exact skip pin (`##[error]skipped 10, pinned exactly 6 …`). The pytest step passed. - The pins moved: `MIN_SELECTED` 574 -> 890, `MIN_PASSED` 568 -> 880, `EXPECT_SKIPPED` 6 -> 10. 574/568 were #31's floors, which this branch took in with its base, and floors only rise. The margin is zero, as #25 set it, and restoring it is T044's (9.4). - The pin step, run from the file over reports shaped as CI writes them: the measured report passes; one test fewer is refused at 889/879; one more skip is refused (`skipped 11, pinned exactly 10`); a missing report is refused. The ten skips, all named in the workflow comment: - **six**, the three seam suites' `doc_health` pairs, two each in `test_evidence_provenance_surface_seam.py`, `test_model_scenario_workbench_seam.py` and `test_role_authority_projection_seam.py` ("doc_health reachability is BUILD-arc work (§ 3.5/3.6) ... this test will assert for real once that lands"); - **four**, all of `test_aggregation_register_instance.py` ("aggregation checkout (seed register + pinned validator) not reachable"), which the list never ran. ## The sweeps (`69646675`, `01fbbd98`, `799a4950`, `b944104a`), each measured at `2d116415` - **`src/openxdox/view_extensions.py`**: the pin names `2d116415`, where `view_extension` imports and `ViewBinding` takes `exports`. `ViewBinding`'s fields, read from each commit's own source, lack `styles` at `0b4e8bbf` and carry it at `5c137a90` and `2d116415`. At `2d116415`, `specs_for()` drops nothing: six bindings materialize, five carry sheets, and the four distinct sheets are live. - **`tests/test_dependency_direction.py`**: - There were four pin bumps, not three. - The census the file itself computes (its own `_modules`/`_census`) was run over openDox-code's `src/opendox` at every first-parent commit. It equals `OPENDOX_BACK_IMPORTS` at all 14 from `a99eba03` to `5c137a90`, and at all 29 from `5c137a90` to `2d116415`. - The note called the first range five landings. `git rev-list --count --first-parent a99eba03..5c137a90` gives 13 (#13 to #27), so it now says 13, and still names the five it named. - At `2d116415`, openDox-code's `NEUTRAL_MODULES` holds nine modules and `STILL_REACHING` is empty. `opendox.serve` and `opendox.cli` import in a venv holding that commit alone, with none of `openxdox`, `ideation_dashboard`, `doc_health` and `corpus_adapter_openxfactory` findable. So the paragraph that said they did not import (the reach T011, openDox-code#46, removed) is respelled. - **`tests/test_gate_loop_probes.py:197`**: the declared leg is `2d116415` now. - **`tests/test_gate_loop_probes.py:1635-1643`** (`b944104a`): the call-site note's record-block total is history now (§ "What changes", 5). The file gives 55 passed. - **The docstring sweep**: each place now says how the file ran until T043 and how it runs since. The standalone property each one states still holds, so it stays. - With these edits, the touched test files pass at `2d116415`: `test_dependency_direction.py`, `test_gate_loop_probes.py` and `test_gate_loop_views.py` give 145 passed. The docstring sweep's five test files give 312. **Left alone, for the holder:** - `tests/test_gate_loop_views.py` is protected (12.5). Its `:1046`, `:1146` and `:1166` still name `5c137a90` as today's pin, and its `:15` still places it "on `validate`'s explicit list". Respelling them needs an entry in R1Q7 (a)'s allow-list. - `tests/test_hermeticity_gate_verbs.py:27,59` (T041's file, #30) names `5c137a90` beside `71b631bc` as the openDox it was measured at, which is history. - `tests/integration/test_assembled_bundle.py:164` (T042's file, #31) says the relocated files "are collected `--noconftest` as top-level modules", which was openDox-code's state before its T036. Here they run with the chain in play. ## Checks on this PR - **validate**, each run CI's own, on `refs/pull/32/merge`: - `7a3e4882`, the final head, over `main` `4e16db95`: run `36357895876`, green. The `pytest` step gives `880 passed, 10 skipped, 1 deselected`, and `Pin the triple` reads `selected=890 passed=880 skipped=10 failures=0 errors=0`, margin 0. - The heads before it, all green with the same triple: `b944104a` (run `36357806519`), `799a4950` (`36357279997`), `88cd8d4c` (`36357038236`) and `b1d127c0` (`36356547905`). - The runs before the re-pin, `36356259272` at `4e1def2d` and `36356408029` at `890a4809`, each passed the pytest step and were refused only by the exact skip pin, which is the refusal working. - **SonarCloud**: green at `7a3e4882`, as at every head since `b1d127c0`. - **Re-verified locally at `7a3e4882`**: - The step as CI runs it gives `880 passed, 10 skipped, 1 deselected` and the triple `890/880/10/0/0`. - The whole-suite triage gives the same 234 red results in 67 files. Each file's classes equal its declared reasons, and the one undeclared file is the ruled-out help-tree test. - F9.1 as the ruling amends it: exit 0 (§ "The falsifier"). - **Copilot**: - `5332460299` at `01fbbd98` ("Changes recommended") found two things. On the stale floors: fixed in `b1d127c0`, answered in `4117343809` (the thread was already resolved). On F9.1 and the workflow-only deselect: answered with the measurement in `4117343892`, then with the ruling in `4122573866`, and resolved. - `5332487263` at `4e1def2d` repeats the F9.1 finding. The overviews `5332499740` at `890a4809` and `5332517512` at `b1d127c0` are answered in comment `5860616093`. - `5332550775` at `88cd8d4c` found a scope sentence that left out the deselected test. It is fixed in `799a4950`, answered in `4117377168`, and resolved. - `5332570488` at `799a4950` named "the workflow and probe comments". The workflow's is the F9.1 thread. The probe comment's was the record-block total, fixed in `b944104a`. Both are answered in comment `5860781990`. - `5332612906` at `b944104a` and `5332620490` at `7a3e4882`, the final head, raise nothing new. Their one open finding was the F9.1 thread, now ruled and resolved. - **Clean at `7a3e4882`**: the dependencies have landed, validate and SonarCloud are green, and every review thread is resolved. ## For T044 (9.4, openXdox's half) - The floors T044 inherits are this PR's: `890/880/10`, at zero margin. T044 re-pins at CI's own reading, as 9.4 and T044's text have it for openXdox, not in openDox-code's form three below CI's reading (the holder's direction, 2026-09-28). - The six `doc_health` skips live in three files that also hold passing tests. The seam suites have 10, 12 and 8 tests, 24 passing among them, and all 24 would leave with their files. - **A file that only skips cannot be declared as it stands.** `tests/test_declared_exclusion.py` holds each entry to failing alone for exactly its reasons, and a file that skips does not fail. So each skip must first become a real assertion (which fails on `doc_health` until T008). Then either its file joins the declaration, taking the 24 passing tests out with it, or its two cases move to a file of their own that joins it. Whichever it does, the counts drop, and T044 re-pins these floors in the same commit, as the workflow comment now says, before restoring the margin. - The four aggregation-register skips are not `doc_health` skips. 9.4 names only the six. They skip because the aggregation checkout (the seed register and its pinned validator) is not in a lone checkout. If T044 reads them as carrying the gap, the declaration has no reason that admits them, and a fifth reason needs a ruling first. Otherwise `EXPECT_SKIPPED` stays at least 4 after T044. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Arc: neutral-product-standalone-operability Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>




Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Realizes Brett Heap's ruling at openxFactory#656 comment
5801057769(2026-09-23T19:00:37Z), verbatim "yes, overlay implemented items too". It answers the open question #26 recorded:one/many("completed item", "completed items") stayed neutral there because they are item nouns rather than the stage's label, and "whether those become "implemented …" is a wording question for a ruling". It extends5784683830("1, keep completed and overlay implemented"), which #26 realized as195276b7.What this declares
src/openxdox/view_extensions.py: the one stage entry ofDISPLAYgains its two item nouns.display_profile._STAGE_FIELDS_REQUIREDis("one", "many", "short", "label").normalize_displayreads each one only where the entry carries it, and requires a non-empty string.gate(None) stays openDox's.oneANDmany, for the reason DISPLAY: the xFactory host labels openDox's completion stage "implemented" (RULED openxFactory#656 comment 5784683830) #26 gave forshortANDlabel, one tier down. They are the stage's two item nouns, so aonewithout itsmanywould spell the same items two ways the first time a view counts them (Display.count(role, n)).opendox(5c137a90), over every.one(,.many(and.count(read outsidedisplay.jsitself:one(COMPLETION)appears twice, both inviews/wheel.js. These are the two sentences DISPLAY: the xFactory host labels openDox's completion stage "implemented" (RULED openxFactory#656 comment 5784683830) #26 named: the archived tile'slandedverb title,"what landed: this " + d.one(COMPLETION) + "'s " + …(line 289), and the empty note of the flyout that verb opens,"this " + vocab.one(COMPLETION) + " records no " + …(line 881).many(COMPLETION)andcount(COMPLETION, …)appear nowhere.d52b4199at 2026-09-23T19:40:56Z. openxFactory's own facet now copies this leg'sstages(_openxdox_stages()), so these words reach a page through openxFactory's pin on the openXdox assembly root, with no code change on that side. The comment block aboveDISPLAYnow says that, replacing DISPLAY: the xFactory host labels openDox's completion stage "implemented" (RULED openxFactory#656 comment 5784683830) #26's "owed" paragraph, which that landing discharged.Tests
tests/test_gate_loop_views.py: six of #26's twenty cases are amended in place, and no case is added (74 passed, unchanged).…declares_one_stage_entry_and_nothing_else…conforms_to_the_pinned_readerone/manyas well…completion_stage_renders_implemented_through_the_hostgateneutral…overlay_changes_four_words_and_the_named_absence_and_nothing_else(was…two_words…)host_facetand completion'sone,many,short,labeltest_dropping_the_facet_fails_the_overlay×2onefalls back tocompleted item, and the positive predicate, which now requires all four words, refuses ittests/test_gate_loop_probes.py: five new cases (50 → 55 passed) run BOTH wheel sentences under node.What runs. The shipped text, lifted verbatim out of the pinned
views/wheel.js:display.js,helpers.jsandwheel-model.js;COMPLETION;vocaband its per-render assignment;FLYOUT_VERBS,fetchDeltaTextsandrenderLandedBody.They run in the composed bundle's own
views/, beside the modules they import from.What is replayed, and named as replayed. Neither sentence is reachable from outside
wheel.js.FLYOUT_VERBSis a module constant, andrenderLandedBodyis a closure insiderenderWheel. Reaching that closure throughrenderWheelneeds a tile focused, seated by the spring and then expanded, which is a physics harness rather than a sentence test. So the shell around the sentences is replayed:app.js'sreadDisplay(probedCaps), handed down asctx.display;verb.title(vocab);showLanded's read and render for a change with no spec delta.The host is
test_gate_loop_views.py's own, imported rather than copied: the engineering host, the registry fixture, theserve.build_server()replay, and the guard.…completion_sentences_say_implemented_item_through_the_hostwhat landed: this implemented item's detail filesandthis implemented item records no detail files, from the payload the host serves (host_facet: "declared")…completion_sentences_stay_neutral_without_the_facet×2completed itemin both sentences: for the same host forwarding noDISPLAY(host_facet: "absent"), and for no/capabilitiespayload at all (a static image,readDisplay(null))…first_rulings_overlay_alone_leaves_both_sentences_neutralshort/labelonly) is served as declared, yet both sentences still saycompleted item, which the positive probe refusestest_the_replayed_shell_statements_are_the_pinned_bundlesapp.js/views/wheel.jsand compared as code with comments dropped, so an old line kept in a comment cannot stand in for a changed live one (the finding the review ofa1eef310made on #26)Mutation sweep, each defect applied alone, then the two files run under
--noconftest. All 15 were caught, the files were restored and sha256-verified, and the control is 129 passed. B1–B7 edit the installedopendoxbundle in a private venv, standing in for an openDox pin bump that changed the shell:oneonlymanyonlyoneandmanyswappedoneis the stage wordimplementedgateoverlaid toooneoverlaidonce)shortinstead ofoneneutralDisplay()showLandedrenders a different summaryapp.jsreads no vocabulary (readDisplay(null))ctx.displayS2 passes both sentence probes, because
manyrenders nowhere. The value, the host and the five-leaf tests catch it.The required check
validate.yml's 16-file--noconftestlist, run locally exactly as the workflow spells it (fresh venv,pip install -e ".[test]", then thePin the triplescript):195276b7(local; CI's floors are 559 / 553, margin 0)d3b179a4(local)d3b179a4(CI run 35913645237), floors 559 / 553, margin 539d8937e, the head (CI run 35913837074), floors 564 / 558, margin 0+5 selected and +5 passed, the five new probe cases, and nothing skips.
The floors rise to CI's own run of
d3b179a4, in39d8937e, with the reason in its message and in aRAISED BY #27paragraph of the pin block, the way § 5.4 FLOOR PART 2 clause (d), openXdox leg: pin the collection triple on the required check #25 and DISPLAY: the xFactory host labels openDox's completion stage "implemented" (RULED openxFactory#656 comment 5784683830) #26 took theirs ("THE NUMBERS ARE CI'S OWN"):MIN_SELECTED559 → 564MIN_PASSED553 → 558EXPECT_SKIPPEDstays 6Copilot's review of
d3b179a4asked for exactly this (r4086816652, answered and resolved). Its review of39d8937ereads "Approval recommended", with no findings. Locally, the pin step read from the file is margin 0. With one of the five probes deselected it exits 1:selected 563 is BELOW the floor 564andpassed 557 is BELOW the floor 558.The workflow comment's measured account stays true:
test_gate_loop_views.pystays at 74 under its own invocation.test_gate_loop_probes.pygoes 50 → 55.grep -lnlines are unchanged.What this does NOT do
created:admission is owed in openxFactorydocs/opendox-carve-admissions.yaml.pyproject.tomlstill names openDox-code5c137a90.codepin onto this PR's landed commit, then openxFactory's openXdox pin. Each stays a draft until the PR before it lands.openspec/changes/path.🤖 Generated with Claude Code