Repository navigation
Retire the two intent-feed DOM suites at this leg (RULED openxFactory#656 comment 5656343213, citing OQ-F) - #24
Conversation
…o leg (RULED 5656343213, citing OQ-F) Lane: openxfactory-4 `tests/test_intent_tray_dom.py` (23 tests) and `tests/test_wheel_verbs_dom.py` (8) copy `views/intent-feed.js` out of the bundle and drive it under node. That file is RULED OQ-F `not_moved` — it STAYED at openxFactory and arrived at NEITHER leg — and § 3.4 slice S2 replaced the surface this leg does have with `views/intent-binding.js`. Both suites test a surface that is not there, which is why both have been narrowed out of `validate.yml`'s selection since the leg landed. RULED 5656343213 (Brett Heap, 2026-09-13, by interactive multi-choice) retires them at this leg as a DECLARED act. The declaration is the `retired:` block on each row of openxFactory's carve manifest, landing in openxFactory ahead of this commit; the deletion here is the other half of that one act, and `scripts/verify-carve-arrival.py` refuses `arrival-not-retired` until it lands (cutover runbook § 5.8 step 4). The deletion is the whole content of the commit, as § 5.8 requires. No module imports either file; five sibling suites mention them in PROSE as a precedent for the node-driven DOM-probe pattern, which the pattern's own surviving members (`test_intent_binding_dom.py`, `test_view_registry.py`) continue to carry. Refs openxFactory#656 (stays OPEN). RULED 5656343213; OQ-F at openxFactory#656 (2026-09-09). CLAIM: openxFactory#656 comment 5656690570. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…re not narrowed, they are gone Lane: openxfactory-4 THE SECOND HALF OF THE ONE ACT, per the cutover runbook § 5.8 step 4. The deletion is the commit before this one and nothing else; this commit touches not one line of test code, only the prose that named the deleted files. `.github/workflows/validate.yml` was the sentence that mattered. It explained why `tests/test_intent_binding_dom.py` is off the pytest selection "on the same footing as its narrowed siblings `test_intent_tray_dom.py` / `test_wheel_verbs_dom.py`" — and after the retirement there is no narrowed sibling to keep company with: NARROWED means present in the tree and left out of the selection, and these two are absent. The comment now gives the probe's own reason (it is a DOM probe of a `web/` view and un-narrowing that class is slice S8's job) and records the retirement beside it, so the next reader of that file learns why the names are gone instead of grepping for them. `tests/test_intent_binding_dom.py` carried the same claim twice — "mirroring `test_intent_tray_dom.py`'s and `test_wheel_verbs_dom.py`'s own DOM-shim harness" and "Every existing DOM probe of `web/` — including `test_intent_tray_dom.py`, the carried-over test of this SAME pair of views". The first is now history with a date on it; the second no longer calls a deleted file existing. `tests/test_account_menu_dom.py` said "see test_wheel_verbs_dom.py" for the minimal DOM shim: a pointer to nothing. It now points at the live carrier of the same instrument, `tests/test_intent_binding_dom.py`, and says where the original went. Three more are HISTORICAL prose and stay, with the word § 5.8 asks for so a reader knows the file is RETIRED rather than missing: `tests/test_intent_binding_shape.py` (the skipif precedent), `tests/test_view_registry.py` (the "no source-reading behaviour test" rule) and `tests/test_doxbench_tile_verbs.py` (the shared instrument — whose other example, `test_staging_workbench.py`, is at the openXdox leg and never was here). The required check is unmoved by all of it: `python -m pytest -q <the nine files validate.yml names> --noconftest` → 253 passed, 1 xfailed, byte-identical to the run before this commit. Refs openxFactory#656 (stays OPEN). RULED 5656343213; cutover runbook § 5.8 step 4. CLAIM: openxFactory#656 comment 5656690570. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Reviewer's GuideThis PR performs the leg-side half of a ruled retirement by deleting two unreferenced DOM suites for a surface that never arrived at the leg, then amends comments and docstrings so the repository no longer presents them as narrowed, active tests while preserving relevant historical references. Flow diagram for the ruled retirement of intent-feed DOM suitesflowchart LR
Manifest["openxFactory retired blocks"] --> Verify["verify-carve-arrival.py"]
Verify --> Delete["Delete intent-tray and wheel-verbs DOM suites"]
Delete --> Surviving["Keep intent-binding and view-registry probes"]
Surface["views/intent-feed.js stayed at openxFactory"] --> Delete
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…at is an undeclared edit
Lane: openxfactory-4
MEASURED, NOT ARGUED. `scripts/verify-carve-arrival.py --destination
opendox_code` over the previous commit refuses
`arrival-undeclared-edit` twice:
tests/test_account_menu_dom.py line [4] (row declares [30])
tests/test_doxbench_tile_verbs.py lines [18,19,20] (row declares [34])
Both files CAME FROM openxFactory. Their bytes here are held to their carve
manifest rows, and every line on which an arrived file differs from the carve
blob must be declared in openxFactory's row under one of RULING OQ-1's three
edit classes — `import rewrites`, `path constants`, `adapter calls`. A comment
that names a retired test file is none of those, and filing it as one would put
a false description in the floor's own record. So the repair is withdrawn at
these two files and nothing here is declared that is not true.
WHAT THAT LEAVES, stated so it is a known cost and not an oversight:
`tests/test_account_menu_dom.py:4` still says "see test_wheel_verbs_dom.py" for
the minimal DOM shim, and `tests/test_doxbench_tile_verbs.py:18-20` still calls
that file a current user of the same instrument. Both sentences are about a
file this pull request deletes. They stay until a ruling widens the class
vocabulary, or until some other act amends those rows for a reason the
vocabulary already covers.
THE REPAIR THAT STANDS is in the files this leg OWNS, where no row holds the
bytes: `.github/workflows/validate.yml` (the "narrowed siblings" sentence that
the retirement falsified outright), and the three admitted files
`tests/test_intent_binding_dom.py`, `tests/test_intent_binding_shape.py`,
`tests/test_view_registry.py` — each created at this leg under a declared
admission (`docs/opendox-carve-admissions.yaml`), so each is this repository's
own prose to keep current.
Re-proved after this commit: `verify-carve-arrival.py --destination
opendox_code --dest-root <this tree> --phase B` reports no undeclared edit, and
the workflow's own selection is still 253 passed, 1 xfailed.
Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULING OQ-1 (the closed
edit classes); cutover runbook § 5.8 step 4. CLAIM: openxFactory#656 comment
5656690570.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
Documentation claims about which DOM probes are excluded should be corrected before approval.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
This pull request retires two obsolete intent-feed DOM suites and updates related documentation while preserving surviving DOM coverage.
Changes:
- Deletes the intent-tray and wheel-verbs DOM suites.
- Updates workflow and test references to mark them retired.
- Preserves intent-binding and view-registry coverage.
File summaries
| File | Summary |
|---|---|
tests/test_wheel_verbs_dom.py |
Deletes obsolete wheel-verbs suite. |
tests/test_view_registry.py |
Updates historical harness references. |
tests/test_intent_tray_dom.py |
Deletes obsolete intent-tray suite. |
tests/test_intent_binding_shape.py |
Updates retirement rationale. |
tests/test_intent_binding_dom.py |
Updates DOM-probe documentation. |
tests/test_doxbench_tile_verbs.py |
Updates retired-instrument references. |
tests/test_account_menu_dom.py |
Points to surviving DOM-probe coverage. |
.github/workflows/validate.yml |
Updates validation documentation. |
Review details
Suppressed comments (1)
tests/test_intent_binding_dom.py:21
- This broad claim is false:
tests/test_view_registry.pyis itself a Node-driven DOM probe (see its docstring at lines 43–50) and is explicitly included invalidate.ymlat line 167. Please limit the statement to this excluded intent-binding probe instead of saying every web DOM probe is narrowed out.
NOT PART OF `.github/workflows/validate.yml`'s explicit list. Every DOM probe
of `web/` in this tree is narrowed out of the required check (RULED Q-L5 (b′))
until the BUILD arc inverts the openDox -> openXdox dependency; un-narrowing
that class of test is slice S8's job, not S2's. This file is deliberately on
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
🟡 Changes recommended
Surviving documentation still references the deleted test_wheel_verbs_dom.py suite.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (3)
tests/test_intent_binding_dom.py:11
- The deletion also leaves
tests/test_doxbench_tile_verbs.py:19saying the missingtest_wheel_verbs_dom.pyis an existing DOM instrument. Please update that historical mention or mark it RETIRED so the repository-wide documentation agrees with this retirement.
on the DOM-shim harness `tests/test_intent_tray_dom.py` and
`tests/test_wheel_verbs_dom.py` carried for this exact pair of views — both
RETIRED at this leg on 2026-09-13 (RULED `openxFactory#656` comment
5656343213, citing RULED OQ-F: they drove `views/intent-feed.js`, which
arrived at neither leg), so the instrument survives here and in
tests/test_wheel_verbs_dom.py:1
- Deleting this suite leaves
tests/test_doxbench_tile_verbs.py:19saying this file is an instrument it already uses. That statement is now false and directs readers to a nonexistent harness; please point it at a surviving probe (for exampletest_staging_workbench.py) or explicitly describe the retired file as historical.
tests/test_wheel_verbs_dom.py:1 - Deleting this suite leaves
tests/test_account_menu_dom.py:4withsee test_wheel_verbs_dom.py, which now points readers to a file that no longer exists. Please update that surviving docstring reference or mark it explicitly as a retired historical reference, as the changed documentation does elsewhere.
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Lite
… at the usage limit; unverified) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
Two unresolved documentation comments in tests/test_intent_binding_dom.py should be addressed before approval.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (1)
tests/test_intent_binding_dom.py:28
- The claim about grep is contradicted by this change: the deleted filename is still present as literal text in this docstring (and in the other updated historical references), so a repository grep will find it in the tree. Refer to the file's absence while explicitly acknowledging that its historical name remains in documentation.
probe of this SAME pair of views, `test_intent_tray_dom.py`, was one of them
until 2026-09-13 and is now RETIRED rather than narrowed (RULED
`openxFactory#656` comment 5656343213) — a reader grepping for it will find it
in openxFactory's carve manifest and in this repository's history, not in the
tree.
- Files reviewed: 8/8 changed files
- Comments generated: 1
- Review effort level: Lite
…is an undeclared edit at this leg Lane: openxfactory-4 THIS UNDOES `486edc3`, which was a SWEEP AND NOT A DECISION. That commit was made from a measurement clone pinned at `0b507ea` — one commit BEFORE the withdrawal `ebf1425` — so it re-applied, byte for byte, exactly the hunks that commit had just withdrawn: `git diff 0b507ea 486edc3 -- tests/test_account_menu_dom.py tests/test_doxbench_tile_verbs.py` is EMPTY. Nothing was reconsidered between the two; a stale tree was committed. MEASURED AGAIN BEFORE RESTORING IT, with openxFactory main's OWN verifier (`a80f0e3c`, not this lane's branch) over detached worktrees of both commits: at 486edc3 arrival-undeclared-edit — tests/test_account_menu_dom.py was edited at carve-commit line(s) [4] … it declares [30] under class(es) path constants at 486edc3 arrival-undeclared-edit — tests/test_doxbench_tile_verbs.py … line(s) [18, 19, 20] … it declares [34] … at ebf1425 neither refuses; the only findings are the two `arrival-missing` rows the openxFactory retirement annotation legalises, which is a different pull request Both files CAME FROM openxFactory. Every line on which an arrived file differs from its carve blob must be declared in its openxFactory row under one of RULING OQ-1's three CLOSED classes — `import rewrites`, `path constants`, `adapter calls`. A comment that names a retired sibling is none of the three, and filing it as one would put a false description in the floor's own record to make a comment read better. THE REQUIRED CHECK IS UNMOVED EITHER WAY, so nothing here is traded for convenience: the workflow's own selection is `253 passed, 1 xfailed` at both commits and `--collect-only` lists the same 254 test ids — neither carved file is ever collected by `validate.yml`. WHAT STAYS FALSE, stated so it is a known cost and not an oversight: `tests/test_account_menu_dom.py:4` still says "see test_wheel_verbs_dom.py" for the minimal DOM shim, and `tests/test_doxbench_tile_verbs.py:18-20` still calls that file a current user of the same instrument. Both sentences are about a file this pull request deletes. They stay until a ruling widens the class vocabulary, or until some other act amends those rows for a reason the vocabulary already covers. THE REPAIR THAT STANDS is `0b507ea`'s work in the files this leg OWNS, where no row holds the bytes: `.github/workflows/validate.yml` (the "narrowed siblings" sentence the retirement falsified outright) and the three admitted files `tests/test_intent_binding_dom.py`, `tests/test_intent_binding_shape.py` and `tests/test_view_registry.py`, each created here under a declared admission (`docs/opendox-carve-admissions.yaml`) — this repository's own prose to keep current. Seven sentences named the deleted suites; five are repaired, and the two above are the ones the floor holds shut. The rule is now written down where the next act will find it: openxFactory PR #1032 `d4ecb2ef` amends cutover runbook § 5.8 step 4 — **the repair stops at a carved file**. Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULING OQ-1 (the closed edit classes). CLAIM: openxFactory#656 comment 5656690570. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved stale references and inaccurate documentation remain.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (5)
.github/workflows/validate.yml:88
- This deletion leaves a live, unmarked reference in
tests/test_account_menu_dom.py:4: its module docstring still says “see test_wheel_verbs_dom.py”. Since that file is gone, the surviving test documentation now points readers at a nonexistent harness. Please replace the reference or mark it as historical in this retirement update.
# ITS TWO FORMER SIBLINGS ARE NOT NARROWED, THEY ARE GONE (RULED
# `openxFactory#656` comment 5656343213, Brett Heap, 2026-09-13, citing
# RULED OQ-F). This sentence used to name `test_intent_tray_dom.py` and
# `test_wheel_verbs_dom.py` as the narrowed siblings this probe keeps
# company with. Both drove `views/intent-feed.js`, which STAYED at
.github/workflows/validate.yml:92
- There is another current, unmarked reference in
tests/test_doxbench_tile_verbs.py:19: it says the shared instrument is used bytest_wheel_verbs_dom.py, but this PR deletes that file. Please remove the deleted filename or rewrite the sentence to name only an existing/local harness; otherwise the retirement leaves a broken documentation reference.
# openxFactory and arrived at NEITHER leg, so both have been RETIRED at
# this leg as a declared act — openxFactory's carve manifest carries the
# `retired:` block and this repository carries the deletion. There is no
# narrowed sibling left to un-narrow there: S8 un-narrows what remains.
tests/test_intent_binding_dom.py:11
- This intro still presents the probe as covering the retired suites and
dispose.js, but this file's own_write_treecopies onlywheel.js/intent-binding.js, while its later comments say thedispose.jsprobes moved totests/test_gate_loop_probes.py. The surviving coverage and retirement record are therefore inaccurate; describe only the modules this file actually exercises.
on the DOM-shim harness `tests/test_intent_tray_dom.py` and
`tests/test_wheel_verbs_dom.py` carried for this exact pair of views — both
RETIRED at this leg on 2026-09-13 (RULED `openxFactory#656` comment
5656343213, citing RULED OQ-F: they drove `views/intent-feed.js`, which
arrived at neither leg), so the instrument survives here and in
tests/test_intent_binding_dom.py:21
- This universal claim is false:
tests/test_view_registry.pyis a Node/DOM-backed behavior probe and is explicitly run byvalidate.yml:166-167. As written, this docstring contradicts the workflow; narrow the claim to the wheel/intent DOM probes covered by this S2 seam.
NOT PART OF `.github/workflows/validate.yml`'s explicit list. Every DOM probe
of `web/` in this tree is narrowed out of the required check (RULED Q-L5 (b′))
until the BUILD arc inverts the openDox -> openXdox dependency; un-narrowing
that class of test is slice S8's job, not S2's. This file is deliberately on
tests/test_intent_binding_shape.py:31
- The same universal rationale is incorrect here:
tests/test_view_registry.pyis a DOM-backed web-view probe in the workflow's explicit--noconftestlist. Explain why this specific intent-binding behavioral probe is excluded instead of saying that no web DOM probe is included.
open here). That file is not part of this `--noconftest` list for the reason
no DOM probe of a `web/` view is (RULED Q-L5 (b′)): it is a BEHAVIOURAL probe,
not a shape assertion, and un-narrowing that class of test is BUILD-arc work
(S8), not this slice's.
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Lite
…died at the usage limit; unverified) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
There was a problem hiding this comment.
🔵 Needs a closer look
Two retained comments still reference the deleted test_wheel_verbs_dom.py without marking it retired.
Review details
Suppressed comments (1)
.github/workflows/validate.yml:124
- The two retained source comments named here still point readers at the deleted
test_wheel_verbs_dom.pywithout saying it is retired (tests/test_account_menu_dom.py:4andtests/test_doxbench_tile_verbs.py:19). After this PR, opening either file leads to a nonexistent test and does not distinguish an intentional retirement from a stale reference, contrary to this block's stated goal of declaring the residue. Please amend those rows (or otherwise update the two comments) to mark the reference as historical/RETIRED.
# `tests/test_account_menu_dom.py`:4 sends a reader to
# `test_wheel_verbs_dom.py` for the DOM shim, and
# `tests/test_doxbench_tile_verbs.py`:19 names it as an instrument in
- Files reviewed: 6/6 changed files
- Comments generated: 0 new
- Review effort level: Lite
…until it bites Lane: openxfactory-4 None of the six was threaded; all six are real. Taken in the order they change what the document asserts. **THE FIRST-USE PIN ASSERTED TOO LITTLE.** It said `assert row["edits"]` — that a retired row still carries SOMETHING — while the sentence beside it claims the retirement leaves each row's existing declaration UNTOUCHED. A later act could rewrite either entry and a truthiness check would go on passing. Both rows now assert their exact `(class, lines)`: `path constants [30]` on the tray row, `path constants [26]` on the wheel row — the lines the LEG rewrote while the file was there, which a retirement does not reach. PROVEN BY TAMPERING: flip the wheel row's `[26]` to `[27]` in the landed manifest and this test FAILS; restore it and it passes. (The first attempt at that proof tampered a different row's identical `lines: [26]` and passed — a measurement error of mine, not a hole in the test, and re-run against the row's own block it bites.) **THREE STALE MIRRORS OF THE OLD STATE**, each now saying what is true instead: the fixture section's comment still described the landed manifest as one that "carries the form and uses it NOWHERE", which this act's own assertion contradicts three hundred lines below it; `test_the_line_count_is_exactly_the_ expression_the_validator_carried` still taught "the manifest's 1422 line numbers" with no date on the figure, and now reads "1422 AT THAT RULING — 1761 today, and every one of them still in this numbering", which is the point that docstring exists to make; and README's index line said § 2's TABLE carries 1761, which is false of the per-destination table and true only of the aggregate. **THE PER-DESTINATION TABLE NOW SAYS IT IS STALE AT THE TABLE.** The previous commit explained the deferral sixty lines above the cells, in the aggregate paragraph — and an operator who reads the cells does not read sixty lines up, which is exactly the finding. The lead sentence no longer promises "these are the numbers each leg's arrival run must report": it names the one column that is still that (`declared roots`), states that the four declared-line cells sum to 1421 with slice S5's +162 and this act's +177 both outside them and RULED Q6's four re-destinations unmoved in the row counts, and says the value to compare a run against is the run's own line. openxFactory #1031 registers the same thing at greater length and lands first; the two statements collapse into one at that merge, which is the cheapest possible conflict and the honest state in the meantime. **AND THE ADMISSIONS ENTRY WAS WRITTEN IN THE WRONG TENSE.** It said the two suites "are GONE … and opensoft/openDox-code#24 deleted them" — but #24 is a DRAFT that lands AFTER this, so on the day this lands the files are still there. What is true on that day is the RULING: both rows are retired, the floor stops asking for their arrival and requires it ABSENT, and #24 carries the deletion that answers it — until it merges, that leg's arrival run refuses `arrival-not-retired`, which is the window § 5.8 now describes. A record that claims a destination state it cannot yet see is the same defect as a manifest edited to match a tree. Evidence at this commit: five carve suites `460 passed`; `validate-carve-manifest.py` OK, 456 rows, `2 row(s) RETIRED by ruling`. Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: #656 comment 5656690570. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…deletion Lane: openxfactory-4 ONE CONFLICT, and it is the act itself: openDox-code #21 (§ 3.4 slice S7, `1e46971`) edited `tests/test_wheel_verbs_dom.py` — three lines — and this branch DELETES that file under RULED `openxFactory#656` comment 5656343213. `modify/delete` resolved by keeping the deletion: a ruling that retires an arrival is not undone by a later edit to the file it retires, and S7's own annotation says nothing about whether the suite keeps running. WHAT THAT MEANS AT THE FLOOR, stated because it is the interesting half: openxFactory PR #1030 (S7's annotation, landed at `b3a75537`) added an `adapter calls` entry at carve line 310 to THIS row, so the row now declares `path constants [26]` AND `adapter calls [310]` — and the file is about to be absent at this leg. That is lawful and is what the form is for: `verify-carve-arrival.py` drops a RETIRED row before it asks anything of the destination, so a declaration on a row whose arrival a ruling deleted is carried, not applied. The row goes on recording what the carve moved and what each ruling did to it — which is the whole reason a retirement is a field rather than a deletion of the row. Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: openxFactory#656 comment 5656690570. Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Copilot's round at the merge-forward head (
Measured, and correct. The module docstring dated its provenance measurement at § 3.4 slice S7 (openDox-code#21 → Why the stale half is the worse half. The paragraph was accurate on the date it stated, and wrong about the file this pull request is deleting — and the sentence exists precisely to record what the retired harness WAS. A dated measurement is not a defence when the act is a deletion: after it lands, this paragraph is the only description of that harness left in the tree. The repair measures at both ends and says why there are two: the list at Green at Copilot re-requested at this head. Refs openxFactory#656 (stays OPEN). RULED 5656343213. CLAIM: |
There was a problem hiding this comment.
🔵 Needs a closer look
Cross-repository retirement ordering and documentation corrections warrant final human review.
Review details
Suppressed comments (2)
.github/workflows/validate.yml:98
- The deleted suite shows that these two probes did not both drive
intent-feed.js:test_intent_tray_dom.pyexercised the hosted feed, buttest_wheel_verbs_dom.pypassed noopts.intentand copied that module only sodispose.js's static import would resolve while testing the local wheel path. Saying both drove this module overstates the retired coverage and misstates the wheel suite's dependency; describe the wheel suite as depending on the absentdispose.js(and carrying the feed only for module resolution).
# 2026-09-13, citing RULED OQ-F) RETIRED both at this leg: both drove
# `views/intent-feed.js`, which STAYED at openxFactory and arrived at
# NEITHER leg, so openxFactory's carve manifest carries the `retired:`
tests/test_intent_binding_dom.py:50
- The deleted suite shows that these two probes did not both drive
intent-feed.js:test_intent_tray_dom.pyexercised the hosted feed, buttest_wheel_verbs_dom.pypassed noopts.intentand copied that module only sodispose.js's static import would resolve while testing the local wheel path. This provenance paragraph should not attribute the wheel suite's coverage to the feed; mention its dependency on the absentdispose.jsinstead.
Heap, 2026-09-13, citing RULED OQ-F) retired both at this leg: both drove
`views/intent-feed.js`, which STAYED at openxFactory and arrived at NEITHER
- Files reviewed: 6/6 changed files
- Comments generated: 0 new
- Review effort level: Lite
…feed
MEASURED IN THE TWO FILES THEMSELVES, before they are gone, and the review is
right. An earlier draft of this paragraph said both suites "drove
views/intent-feed.js". Only the tray suite did.
$ git show origin/main:tests/test_intent_tray_dom.py | sed -n '1p;5p'
"""DOM behaviour of the HOSTED dispose tray and the intent-feed overlay
Drives the REAL `dispose.js` and `intent-feed.js` under node against the same
-- it imports `emitIntent` from that module and passes `intent:` payloads
throughout.
$ git show origin/main:tests/test_wheel_verbs_dom.py | sed -n '306,308p'
# `intent-feed.js` rides along because dispose.js imports it
# (add-ideation-intent-plane task 4.4: the tray's hosted transport). This
# probe drives the LOCAL path only -- no `opts.intent` is ever passed -- so
-- it copied the feed to make dispose.js's static import resolve, and
nothing more.
WHY THE OVERSTATEMENT MATTERS HERE MORE THAN ELSEWHERE. A retirement's record
is the only account left of what the deleted coverage WAS; after this lands,
nobody can open the file and check. Saying both drove the feed credits the
wheel suite with coverage it never had, which is the one thing a retirement's
record must not do.
AND THE RETIREMENT IS UNAFFECTED, because what makes both unrunnable here is
the harness's copy loop, not what either drove. `views/intent-feed.js` is RULED
OQ-F `not_moved` -- it stayed at openxFactory and arrived at NEITHER leg -- and
`views/dispose.js`, which BOTH suites mount, moved to openXdox-code at § 3.4
slice S5 and is not at this leg either (`find . -name dispose.js` is empty
here; it finds `src/openxdox/web/views/dispose.js` there). Two absent modules,
both suites, one deletion.
Both places that carried the sentence are corrected: `.github/workflows/
validate.yml`'s S2 paragraph and `tests/test_intent_binding_dom.py`'s
provenance paragraph -- the file that keeps the instrument, and so the file a
later reader will find first.
The workflow change is still COMMENT-ONLY: `diff` of main's file and this
head's, comment lines stripped from both, prints nothing.
Refs #656 (stays OPEN).
Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Copilot round 6 at
Measured in the two files themselves, while they are still readable. — and it imports — the wheel suite says so in its own words. It copied the feed to make a static import resolve, and nothing more. Why the overstatement matters more here than it would anywhere else. A retirement's record is the only account left of what the deleted coverage WAS: after this lands, nobody can open the file and check. Crediting the wheel suite with feed coverage it never had is precisely the failure mode a retirement's record must not have, and it is not a failure a test can catch. The retirement itself is unaffected, because what makes both unrunnable here is the harness's COPY LOOP rather than what either drove: Both carriers of the sentence are corrected: Still comment-only against Copilot re-requested at Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULED OQ-F. CLAIM: |
There was a problem hiding this comment.
🟢 Approval recommended
Only a minor documentation nit remains; no blocking issues were identified.
Review details
Suppressed comments (1)
tests/test_intent_binding_dom.py:57
- This docstring contradicts the preceding provenance paragraph and the workflow comment: only
test_intent_tray_dom.pyexercisedintent-feed.js;test_wheel_verbs_dom.pycopied it transitively becausedispose.jsimported it, while driving only the local path. Please keep the retirement statement but distinguish the tray's coverage from the wheel suite's import-only copy so the retired coverage is not overstated.
**THE TWO SIBLINGS ARE NOT OMITTED ANY MORE, THEY ARE RETIRED**, and the
deletion is in this commit. RULED `openxFactory#656` comment 5656343213 (Brett
Heap, 2026-09-13, citing RULED OQ-F) retired both at this leg: both drove
`views/intent-feed.js`, which STAYED at openxFactory and arrived at NEITHER
- Files reviewed: 6/6 changed files
- Comments generated: 0 new
- Review effort level: Lite
Round 6 corrected the PROVENANCE paragraph of tests/test_intent_binding_dom.py and left the list paragraph twenty lines below it still saying "both drove views/intent-feed.js". One file, two accounts, and the review caught the contradiction it created rather than the error it inherited -- which is the right thing to catch, because a reader of this file has no third source. The list paragraph now defers to the paragraph above it: what each suite DID with the feed differs (the tray drove it; the wheel copied it so dispose.js\snstatic, and what they SHARE is the copy loop and what it\ncannot find here -- intent-feed.js at neither leg under RULED OQ-F, and\ndispose.js, which both mount, at openXdox-code since slice S5.\n\nGreen: tests/test_intent_binding_dom.py under --noconftest, 6 passed.\n\nRefs #656 (stays OPEN).\n\nLane: openxfactory-4\nCo-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>')
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Copilot round 7 at
Round 6 corrected the provenance paragraph of that file and left the list paragraph twenty lines below it still saying "both drove The fix makes the list paragraph defer to the one above it rather than restate it: what each suite DID with the feed differs (the tray drove it; the wheel copied it so Green at Copilot re-requested. Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULED OQ-F. CLAIM: |
There was a problem hiding this comment.
🔵 Needs a closer look
One moderate documentation issue and one nit remain unresolved.
Review details
Suppressed comments (2)
tests/test_intent_binding_dom.py:49
- This docstring still claims that every
web/DOM probe was narrowed out with these siblings, but the allow-list already includedtest_view_registry.py,test_split_route_tails.py, andtest_gate_loop_contributed.py(and the shape doc above explicitly calls that broad claim false). Please qualify this history to these two retired suites so the corrected rationale is not reintroduced here.
the required check with its siblings — every DOM probe of `web/`, including
`test_intent_tray_dom.py` and `test_wheel_verbs_dom.py` — under RULED Q-L5
(b′), until the BUILD arc inverts the openDox -> openXdox dependency — and it
tests/test_intent_binding_shape.py:49
- The export assertion is not coupled to the consumers: it checks a fixed
REQUIRED_BINDING_EXPORTStuple, so removing the wheel's intent import can leave it green. Onlytest_wheel_imports_the_intent_names_from_the_bindingdetects that missing reach; please correct the claim that both assertions go red.
delete the intent reach instead of routing it through the binding and
`test_intent_binding_exports_every_name_the_views_need` and
`test_wheel_imports_the_intent_names_from_the_binding` below both go red. What
- Files reviewed: 6/6 changed files
- Comments generated: 0 new
- Review effort level: Lite
…g they described
Both are real and neither is about the deletion; both are about sentences this
act is responsible for, which is the part of a retirement nothing tests.
(a) tests/test_intent_binding_dom.py -- "every DOM probe of `web/`" was
narrowed out with these siblings. FALSE, and the workflow's own comment had
already withdrawn that broader claim before this header reintroduced it at
the merge-forward: `test_view_registry.py`, `test_split_route_tails.py` and
`test_gate_loop_contributed.py` were already ON the allow-list and all
three drive real `web/` modules under node behind a DOM stand-in of their
own. What was narrowed out was these three files, for the reason S2 gave --
the list is an allow-list admitted file by file. Qualified to that.
(b) tests/test_intent_binding_shape.py -- "delete the intent reach instead of
routing it through the binding and `test_intent_binding_exports_every_name_
the_views_need` and `test_wheel_imports_the_intent_names_from_the_binding`
below both go red". Only ONE does, and it is PROVEN BY TAMPERING: deleting
wheel.js's static import of ./intent-binding.js reds
`test_wheel_imports_the_intent_names_from_the_binding` and leaves the other
seven green, including the exports test -- which reads intent-binding.js
against a FIXED REQUIRED_BINDING_EXPORTS tuple and is blind to what the
CONSUMERS do. wheel.js restored byte-identical afterwards.
The paragraph's POINT survives and is sharper for being exact: S2's
contract has a running proof that goes red if the reach is deleted rather
than routed, which is one test and is enough. Claiming two made the seam
look better covered than it is.
Green at this head: tests/test_intent_binding_dom.py and
tests/test_intent_binding_shape.py under the workflow's own --noconftest
invocation, 14 passed.
Refs #656 (stays OPEN).
Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Copilot round 8 at (a) "every DOM probe of
|
|
There was a problem hiding this comment.
🔵 Needs a closer look
The retirement spans deletions, documentation, and cross-repository ordering, with a documentation nit remaining.
Review details
Suppressed comments (1)
tests/test_intent_binding_dom.py:52
- The PR description's Evidence section says the surviving node-driven DOM-probe pattern consists only of
test_intent_binding_dom.pyandtest_view_registry.py, but this corrected inventory (and the workflow) also identifiestest_split_route_tails.pyandtest_gate_loop_contributed.pyas active Node/DOM probes. Please qualify that sentence to the inherited intent-feed harness or update the inventory so the description does not contradict this change.
`test_wheel_verbs_dom.py`, under RULED Q-L5 (b′) — and NOT because every DOM
probe of `web/` was narrowed out, a broader claim this header used to make and
which is false: `test_view_registry.py`, `test_split_route_tails.py` and
`test_gate_loop_contributed.py` were already ON the allow-list and all three
drive real `web/` modules under node behind a DOM stand-in of their own
- Files reviewed: 6/6 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Copilot round 9 at
Right, and worth naming the pattern rather than just fixing the line: round 8 corrected the code and left the body stating the old, narrower inventory. That is the same shape as round 7 (round 6 corrected one paragraph and left its neighbour) and round 8(a) (a claim withdrawn in The Evidence line now says what it meant. Two files carry the RETIRED SUITES' OWN harness lineage: No code change: the docstring and the workflow comment already carry the four-file inventory correctly, and the body was the one place left saying two. Head unchanged at Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULED OQ-F. CLAIM: |
|
Lane: openxfactory-4 (openXfactory-4-openDox_extraction) One last carrier of the DROVE/NEEDED distinction, found by reading this pull request's own body back before landing it: the inventory TABLE. Its column read "what it drives" and its second row read "the same, for the wheel's verbs" — which credits That mattered enough to move a grammar at openxFactory — Both the pull-request body and the squash body now state NEEDS and DRIVES separately, with the reason: after the deletion, this message and the manifest's No file in the diff changed; Refs #656 (stays OPEN). RULED openxFactory#656 comment 5656343213. |
…ed suites and declare the ending replay's removal (RULED 5656343213) (#1043) Lane: openxfactory-4 **The FIRST USE of the `retired:` form, landed after the form itself** — PR #1032 at `d5dd1ca5`, the ruling's own order — and merged forward onto `main` before landing. Refs #656 (stays OPEN). RULED **5656343213** — Brett Heap, 2026-09-13, by interactive multi-choice, on the question slice S8's author put in `#656` comment 5650335573 § 2. CLAIM: #656 comment 5656690570. **PR #1032 (the form) LANDED FIRST at `d5dd1ca5`** — the ruling's own order: the form, then its first use — and this branch was merged forward onto it before being retargeted onto `main`. ## What this is The **FIRST USE** of the `retired:` form PR #1032 adds, and the openxFactory half of a three-repository act. RULED 5656343213 retires three intent-feed suites at their legs; `views/intent-feed.js` is RULED **OQ-F** `not_moved` — it STAYED at openxFactory and arrived at **neither** leg — so all three test a surface that is not there. | what | where | form | leg half | | --- | --- | --- | --- | | `tests/test_intent_tray_dom.py` (23 tests) | `opendox_code` | `retired:` block | opensoft/openDox-code#24 | | `tests/test_wheel_verbs_dom.py` (8 tests) | `opendox_code` | `retired:` block | opensoft/openDox-code#24 | | the ENDING REPLAY inside `tests/test_staging_workbench.py` | `openxdox_code` | **declared edit**, not a retirement | opensoft/openXdox-code#20 | ## The third one is not a retirement, and could not be **`retired:` retires a ROW, and a row is a FILE.** `tests/test_staging_workbench.py`'s other hundred-odd tests drive surfaces that leg HAS, so the row goes on arriving and there is nothing to retire. Widening the form to a line range would put a second line-bearing grammar beside `edits[]` and give one row two readings of what its bytes are — a ruling's act, not an author's. The minimal reading, and the one this floor already has a form for, is an **ordinary declared edit**: carve lines 1833-2006 (`_DOM_SHIM`, `_ENDING_REPLAY_HARNESS`, `_run_ending_replay()` and `test_the_ending_report_really_reaches_the_slot_the_re_render_rebuilt`) plus 2028-2030 (the docstring tail that named the removed probe as the behaviour's owner), declared under `adapter calls` — the class the S5 entry already gave those exact lines, because RULED OQ-1's vocabulary is closed and has no class for a removal. **A line is declared once per row**, so the ten lines S5 names — which sit inside the new range — are NOT repeated here: the block's **177** carve lines are the UNION of S5's ten and this act's **167**, the row declares **196 distinct** lines, and the extent is stated in both entries' notes in prose rather than by writing ten numbers twice. (An earlier draft of this act did declare them twice, deliberately, so the extent was readable in one place; `#1030`'s review landed a pin refusing any line declared twice on one row while this was open, and the merge went red on it — see the merge-forward record below.) S5's own note is AMENDED rather than rewritten, so the history stays readable. **The extent is exact, and measured with the verifier's own line machinery** rather than argued: at openXdox-code `15e8115d` the arrived `tests/test_staging_workbench.py` differs from its carve blob on **196 carve lines — 0 undeclared and 0 declared-but-untouched**. The declared set and the touched set are the same set. ## What is on the branch * `docs/opendox-carve-manifest.yaml` — the two `retired:` blocks, the new `adapter calls` entry for the ending replay, the amendment to slice S5's note on the lines the removal swallowed, **and the header paragraph that said no row carried the field**, which now names this act, its claim, its two leg pull requests and `retired 2`, plus a second paragraph on why the ruling's third suite carries no block. * `tests/carve_manifest/test_carve_manifest.py` — **the pin MOVES rather than being deleted.** `test_the_real_manifest_carries_the_retirement_form_and_uses_it_nowhere` was PR #1032's own guard that the grammar and its first use would be reviewed apart ("the day a row carries `retired:`, this assertion fails and the author must come here and say which act did it"). It is now `…_and_the_two_rows_it_retires`, asserting the two rows by `source_path` and, for each, the effective arrival, the ruling by comment id, `views/intent-feed.js` as the surface, `re_destined` absent and each row's existing declaration by exact `(class, lines)` — `path constants [30]` and `[26]`, the lines the LEG rewrote while the file was there, which a retirement does not reach — plus the claim the whole form rests on, read out of the document rather than trusted: the surface row is `not_moved` and NOT `replicated_at_destination`. `--json`'s `retired` moves 0 → 2 in the same test. **It bites, proven by tampering**: flip the wheel row's `[26]` to `[27]` and this test fails; restore it and it passes. Its Q6 sibling `…_and_the_four_rows_s5_re_destines` is the shape copied, deliberately. * **The pair, re-derived at the merged head and TWICE moved on the way there:** `(lines, carrying)` **`(2454, 176)` → `(2621, 176)`**. The bullet first said `1584 → (1761, 159)` and then `+177 lines`; slice S7, slice S8 and #1031 each moved the base under it, and the de-duplication moved the delta — **+167**, not +177, because slice S5's own entry on this row already declares ten of the removed block's lines and a line is declared once per row. The carrier count does not move (the row has carried `edits:` since S5) and the two RETIRED rows move neither figure, because `retired:` touches no `edits[]`. The act's own entry is pinned by row, class and exact lines beside the ASK-7/S3/S4/S5/S6 pins — and now asserts all three of its 167, slice S5's ten and their 177-line union, because the aggregate alone would pass just as well if those lines had landed on another row or under another class. * `docs/opendox-cutover-runbook.md` — § 2's "NO ROW CARRIES IT TODAY" → "TWO ROWS CARRY IT TODAY" and the aggregate paragraph re-derived; § 5.8 gains the **residue list** and the **two-merge window**, both measured. * `docs/opendox-carve-admissions.yaml` — the prose THIS repository owns and this act falsifies: the `tests/test_intent_binding_dom.py` entry called the two retired suites its "narrowed out of validate.yml" siblings. They are not narrowed, they are gone. * `README.md` + three tool docstrings — the four other places that publish the declared-line total (Copilot round 2). ## What this act does NOT move, said rather than left silent * ~~**The per-destination table in § 2.**~~ **WITHDRAWN — this act DOES move it, and one cell only.** That bullet was written when the table was stale and the redistribution was reserved for "one later act". **Slice S7 IS that act**: it re-derived every cell and pinned all five columns with `tests/carve_arrival/test_verify_carve_arrival.py::test_the_runbook_per_destination_table_is_the_manifests_own_sum`, so the cells are a MEASUREMENT again and an act that moves the aggregate must move them with it. Every one of this act's 167 declared lines falls on ONE `openxdox_code` row, so exactly one cell moves — `openxdox_code` **750 → 917** — and neither replica line is touched, because a retirement declares no line at all. * **Five `(DRAFT PR …)` markers in the manifest that belong to OTHER acts** — slices S3, S5 and S8 named `openDox-code#16`, `openXdox-code#17`, `openDox-code#17`, `openDox-code#23` and `openXdox-code#19` as drafts, and every one has since merged. This act found that defect in its own two notes and corrected them to name the landing ORDER instead of the draft STATE; it did not sweep the other five, because an act does not rewrite another act's record in passing and five notes edited under a retirement's claim is the undeclared edit this floor exists to refuse. * **`views/intent-feed.js`.** A retirement deletes an ARRIVAL, never a surface. This act asks nothing of that row but that it still read `not_moved` — which is the `carve-retired-surface-live` gate. * **Two stale sentences inside CARVED files at openDox-code**, `tests/test_account_menu_dom.py:4` and `tests/test_doxbench_tile_verbs.py:19`, both naming `test_wheel_verbs_dom.py`. The rows declare `[30]` and `[34]` under `path constants`; a comment naming a retired sibling is in none of OQ-1's three closed classes, so the repair is refused by name and the sentences stay. They are now listed in § 5.8 and in openDox-code#24's own `validate.yml` comment, so the cost is declared on both sides of the boundary. ## Evidence, at `338308c8` (the merged, retargeted head) * Five carve suites — `tests/carve_manifest tests/carve_arrival tests/carve_conformance tests/opendox_pin tests/openxdox_pin` → **483 passed** at the merged head (482 + Copilot round 25's pin), and `tests/doc-health` → **1826 passed** (the two suites that read anything this act changes). * `python3 scripts/validate-carve-manifest.py` → `OK … 456 row(s) … 4 row(s) RE-DESTINED by ruling (RULED Q6); **2 row(s) RETIRED by ruling (RULED 5656343213)**`. * **Leg B** — `verify-carve-arrival.py --destination opendox_code --dest-root <openDox-code#24 @e2d5ac46> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py` → `OK … 117 row(s) arrived, 35 digest(s) verified, 82 declared-edit row(s) within their lines, 1 unapplied; 1 of 1 declared replica verified; 147 file(s) with none undeclared; 0 re-destined HERE and 4 AWAY verified vacated; 2 row(s) RETIRED here by ruling and verified absent (RULED 5656343213); 21 declared admission(s) used`. Run against the leg's OWN merged head, not a scratch tree: the deletion and this manifest are one act and this is the pair being asserted. * **The gate, measured in the other direction too**: the same run against openDox-code `8efb3cf5`, where the two files are still present, refuses `arrival-not-retired` and names the ruling rather than the filename. * **The landed-rows refusal needs no materialized leg, measured with a control**: in a worktree whose `openDox` and `openXdox` directories are EMPTY, `test_carved_reach_refuses_the_two_landed_retired_rows` passes while `test_carved_reach_resolves_the_four_re_destined_rows_at_their_arrival` — RULED Q6's companion, which legitimately requires both legs — fails there, and a NON-retired moved row's `source()` raises `CarveReachUnavailable` in that same checkout. **The ORDER is not the same in the three callers the case drives** (Copilot round 25): `source()` refuses the retirement before it resolves a mount at all and `shed_relpath()` reads the row and stops, but `module()` calls `install()` FIRST and `install()` DOES probe both legs — it records a missing one on `sys.meta_path` rather than raising, deferring that error to an import. What all three share is the OUTCOME this evidence rests on: the refusal holds where the submodules were never initialized, which is the state a retained consumer is most likely to be read in. * **Leg A** — `verify-carve-arrival.py --destination openxdox_code --dest-root <openXdox-code#20 @15e8115d> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py --replica-at tests/ideation-dashboard/session_fixtures.py=tests/session_fixtures.py` → `OK … 96 row(s) arrived, 9 digest(s) verified, 85 declared-edit row(s) within their lines, 4 unapplied; 2 of 2 declared replicas verified; 124 file(s) with none undeclared; 4 row(s) re-destined HERE and 0 AWAY; 23 declared admission(s) used`. **PR #1031 has LANDED**, so this is no longer measured in a scratch tree that carries it: before that merge the run stopped on this leg's PRE-EXISTING undeclared `src/openxdox/gate_console.py` lines, which were #1031's subject and never this act's. ## Landing order, and the window it opens PR #1032 (the form) → **this** → the two legs. Between this and openDox-code#24 the leg's own arrival run REFUSES (`arrival-not-retired`), which is § 5.7's window in its other form and closes by merging the deletion, never by touching the manifest. The partial case is gentler: a declared edit not yet applied is no refusal, so until openXdox-code#20 lands the ending replay's lines simply read as not-yet-applied inside a row still within its declared lines (measured at openXdox-code `c1ad341a`: 29 of that row's 196 declared carve lines differ, none undeclared). **The gates run now, and they did not before.** Every openxFactory required check except `lane-line` and `merge-master-approval` is declared `on: pull_request: branches: [main]`, so while this targeted #1032's branch only two of them existed. #1032 landed, this was retargeted with `gh pr edit 1043 --base main` BEFORE that branch was deleted, and the full set ran. **TEN of the eleven PASS at `338308c8`** — `openxdox-consumer-gate` among them, required on `main` since ruleset 23554310 landed on 2026-09-16. **`pytest-suite` (run 35136981617) is RED, and not on this act**: `main` itself fails the same single test at `fa39141c` (run 35135352984, 18:35Z) and the failure reproduces in a clean checkout of `origin/main` with nothing of this act in it — `test_the_resolution_ordering_and_marker_classes_read_zero_over_the_real_tree`, on two ACTIVE RATIFIED writers of one `document-lifecycle` requirement that landed at 18:33-18:35Z (`scope-pinned-arm-root-naming` and `adopt-entry-grain-dispositions-form`, neither naming the other). This pull request HOLDS until `main` is green; the figures below are measured at this head either way. ## Merged forward, and what the merge FALSIFIED This branch was merged onto PR #1032's head after #1032 itself had merged `main` — one merge, not two, and deliberately so: #1043 already carried #1032's branch commits, so letting #1032 SQUASH into `main` first and then merging `main` would have given git a merge base older than both and delivered the same change by two routes. That is the stacked-squash trap, and it manufactures conflicts in exactly the files that publish one absolute. **Six conflicts and TWO RED TESTS, every conflict a place the same figure or the same narrative is published, and `docs/opendox-carve-manifest.yaml` was NOT among them** — the document this act actually changes auto-merged clean. The rule for all six was one rule: **take the incoming side and APPEND this act's link**, never replace a narrative and never take a side on a number. | file | what collided | resolution | | --- | --- | --- | | `README.md` | the doc-index runbook line | incoming, figure re-derived | | `scripts/carve_lines.py`, `validate-carve-manifest.py`, `verify-carve-arrival.py` | one bare aggregate in a docstring, three times | incoming, figure re-derived | | `docs/opendox-cutover-runbook.md` | **seven** hunks | see below | | `tests/carve_manifest/test_carve_manifest.py` | the aggregate test's narrative chain + its pin | incoming chain, this act appended, pin re-derived | The seven runbook hunks: § 2's aggregate line (re-derived); the ACT-NARRATIVE chain (**union in landing order** — S7 +782, S8 +40, the pre-existing annotation +48, and only then this act's **+167**, which is the figure the de-duplication below left it at and the figure the runbook states); the replica-line paragraph (incoming whole, plus one sentence saying this act moves one cell and neither replica line); the "CURRENT TO" clause (extended by one link, with this act at its head); the enumerated history's tail (this act added to the movers, **not** re-narrated — the paragraph's own warning is that two acts restating one set of absolutes is how a count becomes wrong in a merge); the per-destination lead sentence; and the `794 … N now` mirror. **THE MERGE FALSIFIED THREE OF THIS BRANCH'S OWN CLAIMS, and that is the substantive half.** 1. **The staleness registration is gone.** This branch said the per-destination table's cells "still sum to 1421", registered the table as history and deferred the redistribution to "one later act". **Slice S7 IS that later act**: it re-derived every cell and pinned all five columns with `tests/carve_arrival/test_verify_carve_arrival.py::test_the_runbook_per_destination_table_is_the_manifests_own_sum`. So the table is a MEASUREMENT again and this act must move its own cell rather than register the table as stale — `openxdox_code` **750 → 917**, one cell, because every declared line of this act falls on one row of that leg. The pin would have caught it; the point is that it did not have to. 2. **"The table is not moved by this act either"** went with it, in § 2's narrative chain. 3. **THE ROW DECLARED TEN LINES TWICE, AND THE AGGREGATE COUNTS ENTRIES.** This act's `adapter calls` entry carried the removed block's full **177** carve lines, ten of which slice S5's own entry on the same row already declares — *"declared twice on purpose"*, the note said, *"so the removed block's extent is readable in one place"*. Between that authoring and this merge, `#1030`'s Copilot review added a pin to `test_the_real_manifest_carries_the_ruled_q_l7_amendment` refusing ANY line declared twice on one row, and its reason governs: the published aggregate SUMS LINE ENTRIES, so a repeat states ten lines this act does not add while the row's declared SET is unchanged. **The merge went red on it, which is the pin working.** The repair is the minimal one — this entry carries the other **167** lines and the note says in prose where the ten are — so the row declares **196 entries over 196 distinct lines**, `verify-carve-arrival.py` (which reads a row's declarations as a SET) asks the leg for exactly what it asked before, slice S5's landed record is untouched, and this act's honest contribution to the aggregate is **+167**, not +177. The block still spans 177 carve lines and both entries' notes still say so. **The first-use pin failed at the merge, exactly as this body predicted, and the failure is the pin working.** `#1030` (slice S7) added an `adapter calls` entry at carve line **310** to the `tests/ideation-dashboard/test_wheel_verbs_dom.py` row — a row this act RETIRES — so the pin's `[("path constants", [26])]` became `[("path constants", [26]), ("adapter calls", [310])]`, written here with the act that added the second entry named. A declaration carried on a retired row is lawful and is what the form is for: `verify-carve-arrival.py` drops a retired row before it asks the destination anything, so the entry is CARRIED, not applied, and the row goes on recording what the carve moved and what each ruling did to it. **§ 5.5's TWO PHASE EXAMPLES MOVED TOO, and a pin that did not exist when this branch was cut is what said so.** `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces` arrived on `main` with slice S8 (`#1025`): it re-derives both of § 5.5's expected lines from the LANDED manifest and composes them with the verifier's own summary, elision by elision, because the runbook states what an operator compares their own run against — so a figure it states and the tool cannot print is an expectation no run can meet. Retiring two `opendox_code` rows takes that leg's EFFECTIVE arrival from **119 to 117**; both are `moved_with_declared_edit`, so the verbatim count stands at 35 and the declared-edit count falls 84 → 82, and phase B's printed figure is that plus the one line-declaring replica the example places (**85 → 83**). Both comments are re-derived, and § 5.5's "EFFECTIVE arrival" paragraph now names BOTH subtractions — RULED Q6's four re-aimed rows and this ruling's two retired ones — as the one point they are: § 2 records what the CARVE moved, a run reports what this leg PLACES. **Figures, RE-DERIVED from the merged document and not carried from either side** (`rederive-absolutes.py`, which measures the manifest and then checks all **seven** mirror sites — the seventh added in round 14, after it turned out to be the one left stale): the pair is **`(2621, 176)`**, by class `adapter calls 1649, import rewrites 726, path constants 246`, per destination `opendox_code 1667 / opendox_spec 26 / openxdox_code 917 / openxdox_spec 9` summing to `2619` plus the `2` replica lines that belong to no destination column, `retired` 2, `re_destined` 4. **ALL MIRRORS AGREE.** ## And then `main` itself, after #1032 squash-landed #1032 merged at `d5dd1ca5` and #1044 at `b1df95ee`, and this branch then took `git merge origin/main` — **the second half of the same trap, arriving from the other side.** Because this branch already carried every one of #1032's commits, git's merge base fell back to `a499061e` and #1032's SQUASH arrived as a second copy of a change this tree already had: **five files, fourteen hunks, and every hunk the same shape — OURS is THEIRS plus this act's own edit on top.** Resolved by that one rule and VERIFIED rather than asserted: every removed line in `git diff origin/main` was read, and each is a line #1032 landed and this act deliberately rewrites — the zero-use pin into its first-use form, `retired 0` into `retired 2`, "NO ROW BELOW CARRIES THE FIELD" into the paragraph naming the two that do, and `2454` into `2621` at each mirror. Nothing of `main`'s survives only on `main`. #1044's two files (lane `openxfactory-5`) auto-merged and are carried unchanged. The gitlinks needed no repair and that was CHECKED: `git ls-files -s openDox openXdox` and `git ls-tree origin/main` agree at `openDox 3819625e` / `openXdox a6500141`. ## Copilot round 14 — three merge-forward reviews (this PR's 17th, 18th and 19th), two open threads and ten findings, ALL REAL, all fixed **A SEVENTH `assert True; return` NO-OP SEAT**, in this act's own `test_carved_reach_refuses_the_two_landed_retired_rows`. `#1030`'s review took that idiom out of five landed-document tests; `#1032`'s round 10 took it out of a sixth; this act — authored beside BOTH — arrived carrying it a seventh time, on the test that reads the FIRST USE of the entire form. It now reads through `the_landed_manifest()`, where the absence is a failure. **Proven by tampering**: with the manifest moved aside the test FAILS naming the file, where before it reported `1 passed`; restored byte-identical. Three acts in a row is not three accidents, and the module docstring now says why: the idiom is read off the neighbouring test that still legitimately branches, so every act that adds a landed-document pin re-makes the cleanup until the seat test is the only branch left to copy. **A SEVENTH AGGREGATE MIRROR the re-derivation did not know about.** `tests/carve_arrival/test_verify_carve_arrival.py:3329` states what the manifest pin IS — not dated history — and still said `(2454, 176)`. Corrected to `(2621, 176)`, **and the site was added to `rederive-absolutes.py`'s `MIRRORS`**, because a tool that checks six of seven places will leave the seventh stale again in the next act exactly as it did in this one. **177, 167 AND 196 ARE THREE ANSWERS TO THREE QUESTIONS, and two documents were giving one of them to all three.** The manifest header and runbook § 2 both called this act's declaration "`adapter calls`, 177 lines". **Measured from the landed row**: its four entries carry **196 line entries over 196 distinct lines** — 12 `import rewrites`, 7 `path constants`, slice S5's 10 `adapter calls` and this act's **167** — with **zero repeats**. The removed block SPANS **177** carve lines; the entry declares **167** of them; the row declares **196**. Both documents now name all three and say which is which. The same conflation had also survived into § 5.8's transition-window paragraph, which still described the pre-dedupe design — "206 line entries … declared twice on purpose" — and now states the rule that replaced it: a line is declared once per row, and the block's extent lives in the two entries' notes rather than in ten numbers written twice. **TWO "TODAY"s THAT WERE NOT TODAY.** `test_carve_manifest.py`'s ASK-7 provenance comment called `(1761, 159)` the current aggregate and the shared line-number docstring called 1761 "today", while the assertion three lines above enforces 2621. Both now read as the chain they are — `(1422, 158)` at RULED Q-L8 (c), `(1761, 159)` at RULED Q-L7 (a), `(2621, 176)` today — because a dated figure kept beside a current one is the point of those comments and a stale one impersonating the current one is the opposite. ## Copilot round 15 — the paragraphs that explain ONE subtraction, where this act makes a second Three sentences, one defect, and it is this act's own. **RULED Q6 took four rows off `opendox_code`'s EFFECTIVE arrival and gave them to `openxdox_code`; this act takes two more off `opendox_code` and gives them to nobody**, because a retired row is owed at no leg at all. Everything that explained the Q6 subtraction was explaining one subtraction where there are now two. Measured from the landed manifest: ``` opendox_code : TABLE 123 (35 verbatim / 88 edited) -> EFFECTIVE 117 (35 / 82) [-4 re-destined, -2 retired] openxdox_code: TABLE 92 ( 9 verbatim / 83 edited) -> EFFECTIVE 96 ( 9 / 87) [+4 re-destined] ``` § 2's per-destination explanation said *"FOUR FEWER … 119 against 123 … the EFFECTIVE edited counts are 84 and 87"* and now says **SIX FEWER, 117 against 123, and 82 and 87**, with both rulings named and the difference between them stated — a re-destination MOVES a placement and its declared lines travel with it; a retirement DELETES one and its lines leave every leg's reckoning while the row goes on recording them. § 5.5's *"the `85` is `84` moved rows plus the Q-L7 replica"* is now **`83` is `82` plus the replica**, with the old pair kept as what it was until this ruling. The arrival test's marker comment and its replica-arithmetic docstring went with them. **And the reason § 5.5's EXAMPLES were already right while the sentences explaining them were not** is the finding worth keeping: `test_the_runbook_phase_examples_are_the_arrival_the_manifest_produces` DERIVES both figures from the invocation and the manifest instead of carrying them, so they moved with this act on their own. A derivation is what lets a figure survive an act nobody was thinking about when the example was written; the prose about the derivation has no such protection. ## Copilot round 16 — § 2's disposition table is a LEDGER, and the column beside it is an OBLIGATION The table's `moved_with_declared_edit` row says what a destination owes for a row of that kind — commit A byte-identical, commit B's diff touching only that row's declared lines — and until this act every row of a kind owed the same thing. **Two of the 175 are now RETIRED and owe neither half of it.** `rows_for()` drops a retired row before the destination is asked anything; § 5.8 requires the OPPOSITE, that `retired.at_path` be ABSENT, and `arrival-not-retired`'s remedy is the deletion and not a diff. **And the count must not move**, which is why the qualification is prose and not arithmetic: the row keeps its disposition, its digest and its `edits[]` — the whole reason the ruling made a retirement a FIELD rather than a re-cut — so 175 stays 175 and the table stays the carve's ledger. RULED Q6's four re-destined rows are named beside them as the milder case: their proof is owed at the leg `re_destined.to` names. **Appended to the totals paragraph, never inserted as a third one** — `test_the_runbook_disposition_table_and_totals_are_the_manifests_own` bounds that block between two fixed sentences and fails on a third paragraph. ## Copilot round 17 — `surface:` was glossed as the surface the arrived file DROVE, and the first use is false of it The sharpest finding this act took, and the only one about the GRAMMAR. `surface:` landed at #1032 glossed *"the openxFactory path of the SURFACE the arrived file DROVE"* — with **no row using the form**, which is exactly the condition under which a gloss can be narrower than the thing it describes and nobody finds out. The first use retires two rows that do **not** stand in the same relation to the surface they both cite: the TRAY suite drove `views/intent-feed.js`; the WHEEL suite does not, and this act's own `note:` says so in the suite's words — it *"rides along because dispose.js imports it"* and *"drives the LOCAL path only"*. **Widened, not re-pointed, and the value does not move.** `surface:` is now *the SURFACE THE ARRIVED FILE NEEDED AND CANNOT OBTAIN AT ITS LEG* — exact for both rows where DROVE was exact for one — and **the gate is unchanged**, because `carve-retired-surface-live` asks whether the cited row is `not_moved` and never how the arrived file used it. **Re-pointing would be worse:** the module the wheel suite really drives is `views/dispose.js`, which slice S5 moved to `openxdox_code` — at a leg, so "gone from BOTH legs" is false of it and the gate would refuse it, correctly. **The finding underneath the finding: the form names ONE absence where a retirement may rest on TWO**, and this act is the first to produce such a row. Now stated in the manifest header beside the widened gloss and in runbook § 5.8's *"What the form CANNOT express"*. A `surface:` **list**, or a second field for *"moved to another leg"*, is **a ruling's act and not an author's** — the line § 5.8 already draws for widening `retired:` to a line range. **Eleven carriers swept together**, every site asserted before it was edited; the only surviving *"drove"* quotes what the gloss used to say. ## Two `(DRAFT)` words this act found in itself Not a review round. Both `retired:` notes called the leg pull request carrying the deletion `(DRAFT)` — true on a branch, **false within minutes of the landing**. A `retired:` note is the only account of the deleted coverage that survives the deletion, so the durable record is the last place that should carry a word with a shelf life. Both now name the **order** the ruling fixes instead of the **state** of an afternoon. The five other `(DRAFT PR …)` markers in this manifest belong to slices S3, S5 and S8 and are registered as residue rather than swept — an act does not rewrite another act's record in passing. ## Copilot round 18 — round 17 corrected the PROSE and left the DIAGNOSTICS Five suppressed comments and one thread, all one finding. Round 17 widened `surface:` and swept **eleven** carriers — every one of them reading matter. **It did not go to the strings the program prints**, which is the half an operator meets. Seven more sites, three of them live messages: `carved_reach.py`'s `CarveRowRetired`, which **the newly landed wheel row is the first row that can raise**, and which said *"the surface it drove"* of a suite whose own note says it did not; `verify-carve-arrival.py`'s remediation, printed on **every** refusal including `arrival-not-retired`, the one whose remedy is a deletion; and `validate-carve-manifest.py`'s `carve-retired-surface-live` refusal, explaining the rule to an author with the word the first use disproved. Four more state the contract rather than raise it: the `--json` record's account of the field, two test comments (one sits over the assertion covering BOTH retired rows and now names the difference in place), and **`README.md`'s public index**, which published a condition the first use already disproves. **Eight rounds running, and the lesson is sharper each time.** A correction is finished only when every CARRIER is found, and a carrier is not only the figure (round 14's seventh mirror), the sentence explaining where the figure comes from (15), the column saying what the figure obliges (16), or the gloss defining the field (17) — it is also **the string the program prints** (18). ## And the same defect one grammar earlier, found by sweeping for this act's own Not a review round. The **RULED Q6 section header** in `tests/carve_manifest/test_carve_manifest.py` said, in the present tense, that *"the landed manifest — which carries the form and uses it nowhere"* is asserted separately in the § 8.2 seat. True the day PR #1011 landed Q6 with the grammar and no user; **false since slice S5 (PR #1023) re-destined four rows**. It is fixed in the same shape as the `retired:` section header below it — which this act already had to rewrite for exactly this reason, one grammar later: name the state the form LANDED in *and* the state the document is in now. **A grammar that lands ahead of its first use plants a present-tense sentence with a fuse in it**, and both of this floor's placement grammars have now proved it. ## Copilot round 19 — the verb survived in the PROCEDURE, and in the check's own docstring Two threads, three sites, the same verb rounds 17 and 18 swept from the prose and the diagnostics — this time where it does the most work. § 5.8's **opening account** said the three suites *"reached their legs DRIVING `views/intent-feed.js`"*, the first sentence a reader meets in the section and the one the wheel row's own note contradicts. **§ 5.8 step 1 is the sharper half and is worse than a stale sentence: a FALSE REQUIREMENT put to the person whose word the whole form rests on** — a ruling asked for *"the surface they drive"* is asked a **narrower question than the grammar answers**, and the first act to use this form had one row of two that could not have answered it. And `_check_retired_surfaces`'s docstring, with a second finding inside it: **three and two are both true of different things** — the ruling retires three suites, one drove the module, one only loads it, and **the third is not a `retired:` row at all**, so exactly two rows reach that check. **Three rounds on one verb, and the order they were found in is the lesson:** 17 corrected the definition and its prose, 18 the strings the program prints, 19 the procedure and the check. **A vocabulary change is not finished when the definition is right; it is finished when nothing still asks the old question.** ## The last copy, found by enumerating the verb instead of grepping for it After rounds 17, 18 and 19 each found *"drove"* somewhere the previous sweep had not looked, the last one was done by **enumeration**: every `drove | drives | driving | drive` in the eight files this act touches, read in context — **32 occurrences, 31 correct**, and one wrong (`validate-carve-manifest.py`'s *"WHAT S8 NEEDS IT FOR"* paragraph, carrying the same sentence § 5.8 had just shed). **And the first wording of that fix made a claim this act never measured** — *"one DROVE it and two only load it"*, an assertion about the ruling's third suite, whose relation to the module this act never measured because nothing in it depends on that. Reworded to say only what was measured. **A sweep that tidies a verb is not a licence to answer a question nobody asked.** ## Copilot round 20 — the per-destination table's own qualifier named ONE ruling where there are now two Three suppressed comments, **two of them already fixed before the review landed** (§ 5.8's opening at `8cf33395`, the validator's *"WHAT S8 NEEDS IT FOR"* at `4eddf3b0`), and one new and real. The table's lead sentence — *"counted at the `destination:` each row names, which is what each leg's arrival run reports, **save where RULED Q6 re-destined a row**"* — is the sentence that tells an operator **when the table and a run disagree**. This act adds the second reason they disagree and had already written it into the paragraph BELOW the table while the qualifier ABOVE still named only Q6. **Moved in lockstep with its pin.** `test_the_runbook_per_destination_table_is_the_manifests_own_sum` bounds the table by that exact sentence, held as a string constant whose own comment says *"a re-wrap of the sentence breaks this anchor LOUDLY … rather than quietly moving the block's boundary"* — so the sentence and the constant move together, and the constant's neighbouring comment now records **why** the qualifier grew. ## Copilot round 21 — § 5.5's phase-B example is the COMPLETE commit B, and it did not say so The example promises `83 declared-edit row(s) … 0 unapplied`; a real run of that exact command today prints `82 … 1 unapplied`. **The finding is the last clause of the review: the pin cannot catch it** — it composes both expected lines from the MANIFEST and holds no destination checkout, so the runbook and its pin can be consistently wrong together. Measured by running the documented command verbatim against openDox-code#24 at `e2d5ac46`, then taking the arithmetic apart rather than assuming it. `82` is this leg's EFFECTIVE edited count; **one** of those 82 is byte-identical to its carve blob, so it counts as `unapplied` and not as `diffed` — leaving 81. The line-declaring replica **really does differ**: `tests/conftest.py` against the carve blob of `tests/ideation-dashboard/conftest.py` at **line 25** (`REPO_ROOT = HERE.parent.parent` → `HERE.parent`), that row's own declared `path constants` line, and `check_replicas` adds it to the same counter. So **`81 + 1 = 82` today and `82 + 1 = 83` the day that last edit lands**. **So the example is right and INCOMPLETE, not wrong** — it is the complete commit B's line, which is exactly what `0 unapplied` already declares itself to be one sentence earlier, and the `83` is that standard's other half, which nothing said. Both say it now, with today's real figures beside them, so an operator reads the gap as **the leg's remaining work**. Neither the expected line nor its pin is changed: the pin composes from the manifest deliberately, because documentation that moved every time a leg committed would pin nothing. ## And round 21's own insertion broke the sentence it interrupted Found by reading the edit back in place rather than trusting that it applied. The measured paragraph went in mid-sentence, leaving the original continuation hanging off a colon whose subject was three sentences away — **a correction that makes the document harder to read is not finished either**. Restructured into three paragraphs. **And the interrupted sentence carried a real error that only re-reading exposed**: it said the phase-B figure is *"one above the `verbatim / edited` column § 2's per-destination table states"*. That column reads **88**; the phase-B figure is one above the **EFFECTIVE** edited count, **82**. The six-row gap is this floor's two placement rulings — the distinction § 2's own paragraph was amended to make two rounds earlier, which this sentence one section down had never been told. ## Copilot round 22 — "retired one" read as a COUNT Round 20's own wording. The qualifier read *"save where RULED Q6 re-destined a row or RULED 5656343213 **retired one**"*; the `one` was **anaphoric** — "a row" — and a careful reader took it for the **number** one, which is wrong either way (four re-destined, **two** retired). **The reading matters more than the ambiguity**: this is the sentence that tells an operator when the table and a run disagree, and it is pinned as a string constant precisely so it cannot drift — a sentence that has to be parsed twice is not doing that job. Both clauses are plural now and the sentence states a KIND of exception rather than a count, moved in lockstep with the marker constant, with the misreading recorded beside it. ## Copilot round 23 — two sentences that would have landed FALSE *"TWO FIGURES, AND THEY ARE NOT THE SAME ONE"* in the manifest header, where the same sentence names **three** (the block SPANS 177, the ENTRY declares 167, the ROW declares 196) — round 14's own comment called them *"three answers to three questions"*. And **this description itself**, which is the landed commit message, still said the ten lines S5 declares are *"declared twice"*: true of an earlier draft, false since `#1030`'s pin landed mid-flight and the merge went red on it. Corrected above. The third was the remediation printed on **every** `arrival-not-retired`: it ended *"the deletion and the block land together or not at all"* — worse than stale, because **the two cannot land in one commit at all**, being in different repositories with § 5.8 landing the block FIRST on purpose. An operator meeting that refusal is in the **expected state of the window**, and the string now says so and names the remedy: the leg's own pull request, never an edit to the manifest. ## Copilot round 24 — a chronology that ended one act too late, and a PHASE CONTRACT this act made false § 2's act-narrative said slice S8's forty lines gave *"the `1667` and `703` the table carried **until this act**"* — and the very next sentence says the pre-existing `openxdox_code` annotation moved that cell to `750`, which is where this act's own `750 → 917` starts. Corrected. **And this act made the verifier's phase contract false**, which is the more interesting half. The module docstring said *"`--phase A` can prove EVERY moved row of a destination at its strongest"* and `--phase`'s `--help` said the same. Both were exactly true until RULED 5656343213: `rows_for()` now drops a row retired at its own effective arrival **before either phase asks anything**, so it is not placed, not digested and not diffed — and what is required instead is that `retired.at_path` be ABSENT. Both now read *"every moved row NOT RETIRED by ruling"*. **The `--phase` help is the second diagnostic this act has had to repair after changing what the tool does**, and a `--help` line is the carrier a person reads *before running anything*. ## Copilot round 25 — a path file the documented procedure then REFUSES, and one control-flow claim true of one caller in three **§ 5.3 generated a tree § 5.5 refuses.** The path-file generator keyed on `destination:` — the field a RULED re-destination (§ 5.7) and a RULED retirement (§ 5.8) both leave exactly as the carve wrote it, because it is the record of what MOVED. Measured on the landed manifest: ``` opendox_code : `destination:` key -> 123 rows / 246 lines rows_for() -> 117 / 234 [-4 re-destined, -2 retired] openxdox_code: `destination:` key -> 92 rows / 184 lines rows_for() -> 96 / 192 [+4 re-destined] opendox_spec / openxdox_spec: 56 and 47, unchanged — no ruling has touched either leg ``` Commit A would place the four rows RULED Q6 sent away and the two RULED 5656343213 retired, for the phase-A run one section down to refuse **before printing the line § 5.5 promises** — one refusal per run, both checks raising on the first row they find, so six leftovers cost six runs with the losing half asked first. **The same key fails the other half in SILENCE:** the gaining leg's path file is four rows SHORT, so the files that ruling moved there would be missing from the carve ref meant to place them. The generator now asks the question the verifier asks, and § 5.3 records what the gap means for history — the two `-code` legs were carved BEFORE both rulings, which is why their real history carries those six removals as later commits (§ 5.7 step 4's LOSING half, § 5.8 step 4) rather than as an arrival that never placed them. **Pinned by RUNNING the documented program**, because a generator and a verifier that disagree about which rows a leg is owed cannot be caught by reading either alone: `test_the_runbook_path_file_generator_is_the_verifiers_own_predicate` lifts the heredoc out of the document, feeds it to `python3 -` with § 5.3's own arguments, and compares its two lines per row with `rows_for()` and `effective_arrival()` for every destination the manifest declares — `opendox_root` among them, whose whole answer is no lines at all. **Its boundary was found by its own fail-closed assertion on the first run**: this runbook quotes TWO `<<'PY'` heredocs (§ 8's shed `def test_` count is the other), so it is bounded on § 5.3's COMMAND LINE, which is also the invocation it reproduces. Mutation-checked both ways — 238 lines against 234 without the retirement filter, 242 without the re-destination branch — and the paragraph's own six figures are derived here too. **And the suppressed comment was the same shape one level down:** the retirement case's docstring stated ONE order for THREE callers. § "Evidence" above carries the corrected account; the short form is that the OUTCOME holds for all three and the ORDER does not. ## Copilot round 26 — a generator comparing destination LABELS, and another act's `+48` attributed to this one **Round 25's fix fell one step short of the claim it made for itself.** § 5.3 said it asked *"the question the verifier asks"* and compared **labels**, where `rows_for()` compares resolved `(repository, leg)` identities. A `destinations:` key is a LABEL and never a referent — `check_shape` deliberately admits two keys sharing one `{repository, leg}` body — so `$DEST` given as the other spelling of a leg matched no row at all and produced an **EMPTY path file**, while the verifier, resolving both spellings to one identity, went on expecting every row. It resolves the key now with the same three lines `_resolved_destination` uses, **including its 1-tuple degradation** for a key `destinations:` does not carry. **The RETIREMENT half still compares labels, deliberately**, and the prose says why: `retired_arrival()` asks whether the block names the placement ITS OWN ROW makes, and a block naming another one is `validate-carve-manifest.py`'s check 6 — resolving here would quietly re-decide the other tool's finding. **Pinned on a document the test MAKES**, because the landed manifest declares five keys and no alias: the pin writes a copy of the manifest with a second key sharing `opendox_code`'s body and asserts both spellings give the same path file, each against `rows_for()` under that document. Mutation-checked — restore the label comparison and it reds with *"answers `'opendox_code_other_spelling'` with 0 lines where `rows_for()` is owed 234"*. **This is the third time the estate has met this defect**: RULED Q-L8 (c) repaired it in the tools, `#1032`'s round 9 found the last selector still making it, and round 25 wrote a new program that made it again beside both fixes. **And § 2's historical paragraph credited THIS act with the pre-existing `openxdox_code` annotation's work** — *"This act MOVES … 703 -> 750 … 47 of this act's 48 lines"*, one paragraph above the one stating this act's own **167** declared lines and **750 -> 917**. Measured on the landed manifest: that cell is **917** today, the `+48` (47 rows' lines plus the `:271` replica line) is the pre-existing annotation's, and this act's `+167` starts where it left off. **The same defect round 24 found one paragraph up**: a merge-forward brings another act's sentences in with its commits, and *"this act"* is the phrase that survives the move and changes meaning. ## Copilot round 27 — a placement contract this act made false, a refusal that told an operator to do the impossible, and three where there are two Four suppressed comments, no threads, and every one a sentence this act would have LANDED as TRUE. **§ 5.5's Commit A rule still promised "every row"** — *every row's blob*, so the verifier can prove *every moved row of that destination at phase A* — three bullets above a phase-A example that expects **117** of this leg's 123. **This act is what made it false**: `rows_for()` drops a row retired at its own effective arrival before either phase asks anything, and round 25's fix stopped § 5.3's path file from placing them. Round 24 repaired that contract in the verifier's module docstring and in `--phase`'s `--help`; the runbook said it too, one document over, and was not told. It now reads *"every moved row NOT RETIRED BY RULING"* and states what is required of a retired row instead — its path ABSENT. **`check_retired`'s own refusal detail told an operator to do something impossible**: *"Delete it in the commit that lands the `retired:` block — the block and the deletion are one act."* The block is at openxFactory and the deletion at the leg: two repositories, never one commit. Round 23 moved `REMEDIATION` to the two-merge window for exactly that reason and the per-refusal detail under it kept the old sentence, so **every `arrival-not-retired` printed two contradictory landing instructions**. It now names the leg's own pull request and § 5.8 step 4, keeps "one act" with the qualification that makes it true — one act in TWO REPOSITORIES, therefore two merges — and says the refusal is the window's expected state. **THREE SUITES, TWO RETIREMENTS.** § 5.8's opening and the manifest validator's `_check_retired_surfaces` docstring both introduce the ruling with three suites and then say *"the suites"*. The third is the ending replay inside `tests/test_staging_workbench.py`, whose row goes on arriving and whose other tests drive surfaces that leg HAS — a partial removal taken as an ordinary declared edit, which is what *"What the form CANNOT express"* says further down each file. Both now say it where the reader meets the claim. Plain gate: pytest-suite run 35223659115 SUCCESS at `212095d5`, with clearing-dispatch-gate, former-id-arrival-gate, lane-line, merge-master-approval, openreposhape-pin, openspec-cli-pin, openxdox-consumer-gate, release-tag-gate, signed-execution-chain-gate and wallet-validation all SUCCESS (SonarCloud advisory); 13 threads / 0 unresolved. Rule 6 does not apply: ten files, none under `openspec/changes/`, and the README hunk is the doc-index runbook line rather than the OpenSpec Records block. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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 11 hours and 42 minutes by commenting @sourcery-ai review. Upgrade to get a review now.
…dit, because a partial retirement has no form (RULED openxFactory#656 comment 5656343213) (#20) Lane: openxfactory-4 **The leg half of the ONE part of RULED 5656343213 that is NOT a retirement**, landed after openxFactory's row amendment and never before. ## What this is, and why it is not a `retired:` block RULED **`openxFactory#656` comment 5656343213** (Brett Heap, 2026-09-13, by interactive multi-choice) retires the three intent-feed suites at their legs. Two are whole files at openDox-code (opensoft/openDox-code#24). The third is **not a file** — it is the ENDING REPLAY at the end of `tests/test_staging_workbench.py`, whose other 100-odd tests drive surfaces this leg has. `retired:` retires a ROW, and a row is a FILE. The carve manifest's row for this file goes on arriving, so there is nothing to retire: the form CANNOT express "part of a file", and widening it to a line range would put a second line-bearing grammar beside `edits[]` and give one row two readings of what its bytes are — a ruling's act, not an author's. The minimal reading, and the one the floor already has a form for, is an **ordinary declared edit**: openxFactory's row gains the removed lines under an existing edit class, verified at this leg by `arrival-undeclared-edit` exactly like every other declared edit. openxFactory PR #1032 records that in cutover runbook § 5.8 ("What the form CANNOT express, stated because the first act to use it hit it"). ## What is removed `_DOM_SHIM`, `_ENDING_REPLAY_HARNESS`, `_run_ending_replay()` and `test_the_ending_report_really_reaches_the_slot_the_re_render_rebuilt` — 189 lines — plus the three-line docstring tail of `test_the_ending_report_survives_the_re_render_the_ending_triggers` that named the removed probe as the owner of the behaviour. The harness copies `views/intent-feed.js` out of the bundle (`dispose.js` imported it at the carve commit), and that file is RULED **OQ-F** `not_moved`: it STAYED at openxFactory and arrived at NEITHER leg. **The probe could never have run here** — verified rather than asserted: `intent-feed.js` appears nowhere in this repository's history, and a read-only replay of the harness's own `shutil.copy` loop raises `FileNotFoundError` for it (and for `helpers.js` and `staging-workbench-model.js`, which are also at neither leg). **TWO COUNTS, IN TWO NUMBERINGS, and they are not the same number.** 192 lines leave the ARRIVED file here (189 for the four removed things, 3 for the docstring tail; `git diff --numstat` against `main` reads `15 192`). the REMOVED BLOCK spans **177 CARVE-COMMIT lines** — 174 for 1833-2006 plus 3 for 2028-2030, of which openxFactory's new entry declares 167 and slice S5's existing entry on the same row already declared the other ten — because the floor numbers every declared line at `carve_commit` and not at the destination, which is what makes a declaration falsifiable after the file has moved. The difference between them is this leg's OWN slice-S5 edits INSIDE the block, and it is measured rather than inferred: with the floor's own line definition, the arrived file at `c1ad341a` carries **+19 inserted and 4 replaced** lines inside carve 1833-2006 — a net +15 — so 174 carve lines are 189 arrived ones, plus the 3-line docstring tail in both numberings. (Not to be confused with the insertions side of `29 192`: that is the replacement docstring this commit WRITES.) The S5 edits are RULED Q3's mount signature and RULED counterpart Q6's model namespace, declared by naming their carve-side neighbours, which is how a line-numbered grammar declares an insertion. Both numbers are measured, and the one that governs is openxFactory's. ## The gap is STATED, not closed The surviving `test_the_ending_report_survives_the_re_render_the_ending_triggers` is SHAPE-ONLY and says so: the review that added the behavioural probe proved the shape pin cannot see whether the two keys agree — replace the lookup key with a string nothing sets and every assertion still passes. Its docstring now records that the probe which owned that agreement is retired here, that this is not a claim the invariant stopped mattering, and that re-proving it needs a harness built on the views this leg HAS — its own act under its own ruling. ## Merged forward past § 3.4 slice S8 (leg A), and the two figures it does and does not move openXdox-code **#19** landed while this was open (`0a0265f7`, 2026-09-16 01:11 UTC) and it edits the very file this leg cuts, `tests/test_staging_workbench.py` — **6 insertions, 4 deletions**. The merge is **clean**: `git merge origin/main` reports no conflict, because every one of S8's edits falls OUTSIDE the ending replay this act removes. Measured at the arrived file: S8 touches ~46-49, ~880, ~1003 and ~2573; the replay occupies the block this act deletes, and the two do not meet. **The headline figure is unchanged, re-measured rather than assumed.** After the merge, ``` $ git diff --numstat origin/main HEAD -- tests/test_staging_workbench.py 29 192 ``` — the same **192 destination lines removed** against the block's **177 CARVE lines** (the 15-line difference between those two is this leg's own slice-S5 insertions inside the declared range). S8 moved the block's OFFSETS by +2 and its SIZE by nothing. The **insertions** side is this commit's replacement docstring and it reads **29** where the body first said 15, because the Copilot round at the merged head made that docstring say, in full, that this act is a DECLARED EDIT and not a `retired:` row — an addition inside a declared range, verified as covered by the insertion rule rather than assumed to be (`verify-carve-arrival.py … --phase B` → `OK`, **85 declared-edit row(s) within their lines**, none undeclared). **Every S8 edit to this file lands on a line the carve manifest already declares** — `import rewrites` 46/47, `path constants` 49/881/1004/2559 — which is what slice S8's own row annotation (openxFactory #1025 → `e5896455`) declared, so the arrival verifier reads them as applied rather than undeclared. **One figure IS new.** This leg's `validate` selection widened with S8, so the run is now **301 passed, 23 skipped** where this pull request's body first recorded **154 passed, 16 skipped** at `9dfd7bee`. The number moved because the LIST moved, not because this act did anything: the selection is `validate.yml`'s, and S8 un-narrowed it. ## Evidence - `validate.yml`'s own selection, run exactly as the workflow runs it (package installed with `pip install -e ".[test]"`): **301 passed, 23 skipped** at this merged head — unchanged by this commit. (It read **154 passed, 16 skipped** when this body was first written at `9dfd7bee`; the LIST widened with slice S8, not the behaviour of this act.) The workflow's list never named this file (RULED Q-L8 (b′): the carved suites stay out until the BUILD arc). - `python3 -m py_compile tests/test_staging_workbench.py` → OK. No module, test or fixture anywhere in the repository references the removed symbols; no module-level import of the edited file is left unused. - **Pre-existing and NOT caused here, recorded so it is not mistaken for damage:** `tests/test_staging_workbench.py` is wholesale uncollectable at this leg — `openxdox.gate_routes` → `gate_console` → `from doc_health import corpus`, and `doc_health` is declared out of scope in this leg's `pyproject.toml`; and its surviving tests read `web/views/staging-workbench-model.js` and `web/views/helpers.js`, which are at neither leg. True at the parent commit and at every commit before it. - **The floor's own agreement, measured with the verifier's line machinery** rather than argued: at this head the arrived `tests/test_staging_workbench.py` differs from its carve blob on **196 carve lines — 0 undeclared and 0 declared-but-untouched** (196 DISTINCT lines over 196 line ENTRIES, with no line declared twice: slice S5's ten sit inside this act's range and the openxFactory entry deliberately omits them, because a line is declared once per row and the published aggregate sums ENTRIES — an earlier draft of the annotation carried the block's full 177 on one entry and this paragraph counted the row at 206 entries over 196 lines, which was true of that design and was retired with the de-duplication at openxFactory#1043; the verifier reads a row's declarations as a SET, so this leg is asked for the same 196 lines either way) against openxFactory PR #1043's row. The declared set and the touched set are the same set. At `main` (before this commit) 29 differ, none undeclared, and the removed block's 177 carve lines — 167 declared by this act's own entry and ten already by slice S5's — simply read as not-yet-applied — which is why the annotation may land first without refusing this leg. - **The whole-destination run**, `verify-carve-arrival.py --destination openxdox_code --dest-root <this head> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py --replica-at tests/ideation-dashboard/session_fixtures.py=tests/session_fixtures.py` → `OK … 96 row(s) arrived, 85 declared-edit row(s) within their lines`. Measured in a tree that also carries openxFactory PR #1031: without it the run stops on this leg's PRE-EXISTING undeclared `src/openxdox/gate_console.py` lines, which are that pull request's subject and lands before this one. - **Nothing else moved in the file**: collected test ids before and after are 84 and 83, and the one-element difference is exactly `test_the_ending_report_really_reaches_the_slot_the_re_render_rebuilt`. No module, test or fixture anywhere in this repository references the removed symbols — `tests/test_doxbench_mutation_boundary.py` and `tests/test_gate_loop_probes.py` each carry their OWN DOM shim, and the only mentions of the removed names left in the tree are the ones this commit writes into the surviving docstring. - The first commit on this branch carries a `WIP … unverified` message written by the lane's orchestrator when the authoring actor hit its usage limit. Everything it flags as unverified is verified above; the PR is squash-merged, so the landed message is this pull request's. ## Registered for a later declared act — a runtime proof, after the pin bump Copilot's review of this head posted no thread and carries one SUPPRESSED finding: removing the only executable replay leaves the invariant with shape-only coverage, and a composed-bundle node probe on `tests/test_gate_loop_probes.py`'s fixture could replace it. The gap is real and this pull request states it rather than disputing it. **The proposed probe cannot run here yet, measured:** all 13 tests in that file SKIP at this leg with the file's own reason — *"the installed `opendox` carries no `web/` bundle: this leg pins a commit older than openDox's own packaging fix … The pin bump owed at landing makes these probes run"*. A runtime assertion that never executes in `validate` is the same green a shape pin gives, with a harness attached. What the later act will need, measured so it need not be re-derived: of the five modules the retired harness copied, `helpers.js` and `staging-workbench-model.js` arrive at **openDox-code** and so ARE in a composed bundle; `swb-session.js` and `dispose.js` are this column's own; and `intent-feed.js` is no longer needed at all, because this leg's `dispose.js` imports `./helpers.js` and nothing else since RULED counterpart Q6 moved the intent reach to `ctx.intent.*`. The precondition is the PIN BUMP, not a missing surface. Full reply: the pull request comment below. ## Order openxFactory's row amendment — the two `retired:` blocks for openDox-code and **this file's declared lines** — was stacked on **openxFactory#1032** (the `retired:` form, `d5dd1ca5`) and landed FIRST, at `7e074ac910d4f574d8a981e3e4e8511c685c6b5d`, this second. Between the two merges the removed block's 177 carve lines — 167 declared by the annotation's own new entry and ten already by slice S5's, because a line is declared once per row — simply read as NOT YET APPLIED, which is why that order refuses nothing here: unlike a retirement, a declared edit has no window in which the verifier must say no. Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULED OQ-F (`#656`, 2026-09-09). CLAIM: `openxFactory#656` comment 5656690570. Plain gate: `validate` SUCCESS at `15e8115d` (run 35101370568, 301 passed / 23 skipped) with SonarCloud advisory PASS; 4 Copilot reviews, the last 🟢 Approval recommended at this exact head and its one suppressed comment ANSWERED rather than fixed (the reviewer's enumeration skipped three blank added lines where `git diff --numstat` and the hunk header both say 29); threads 1 / 0 unresolved. No `--admin`. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…e the census totals This leg was CONFLICTING against `main` after openDox-code#24 (`0e65b5f8`, the retirement) and #27 (`5c137a90`, RULED Q7's CSS extraction) landed. ONE file conflicted — `tests/fixtures/web_boundary_census.yaml`'s per-class `totals:`, which both acts re-state. RESOLVED BY DERIVING FROM THE MERGED ROWS, never by adding the two sides' numbers. `tests/test_web_boundary.py::test_the_declared_totals_are_re_derived_ from_the_rows` sums `files:` per class and refuses a drift, so the merged rows are the only lawful source: class A 26 files 17904 | 17998 -> **18019** loc class B 1 file 73 | 73 -> 73 class C 14 files 12617 | 12466 -> **12519** loc class ? 1 file 1435 | 1435 -> 1435 At the shared base `0b4e8bbf` those were A 17883 and C 12564, and the two acts move DISJOINT ROWS, which is why the rows themselves auto-merged and only the summary conflicted. Measured row by row against that base: this leg views/docs.js A 204 -> 212 views/display.js A 679 -> 692 views/board.js C 306 -> 318 views/explorer.js C 325 -> 342 views/lineage.js C 186 -> 198 views/staging-workbench.js C 3459 -> 3471 (+21 A, +53 C) #27 views/view_extension.js A 877 -> 992 styles.css C 2595 -> 2497 (+115 A, -98 C) 17883 + 21 + 115 = 18019 and 12564 + 53 - 98 = 12519 — a CHECK on the derivation above and never its source. Every row's own `loc` was then re-measured against the merged tree with the test's own rule (`text.count("\n")`, what `wc -l` counts): ZERO mismatches over all 42 rows. `.github/workflows/validate.yml` AUTO-MERGED with both appends intact, which is the outcome this leg's own note predicted when it put `tests/test_display_facet_leaves.py` in a SEPARATE step rather than as a 28th entry on the list #27 also appends to. The note now records that as measured rather than forecast. Re-run at this merged head, exactly as the workflow invokes them: pytest -q <the 28-file list> --noconftest 712 passed, 2 skipped pytest -q tests/test_display_facet_leaves.py --noconftest 12 passed The two skips are #27's own, and deliberate: no assembly has placed openXdox's six contributed modules in this bundle (RULED Q5). The list was 694 passed before #27 added `tests/test_binding_stylesheets.py` to it. THE TREE IS NO LONGER BYTE-IDENTICAL TO `e06ae7cd`, and that is said plainly because a ruling rests on it: RULED `#656` comment `5716232555` Q1 (a) lands this pull request on the reviews already held, on the ground that head `b0e66a7f`'s tree equalled `e06ae7cd`'s — the head Copilot reviewed "Approval recommended". This merge commit adds `main`'s content to that tree — #24's two deletions and #27's four files. NOTHING OF THE LEG'S OWN WORK MOVES WITH IT: the seven leaf fixes and `tests/test_display_facet_leaves.py` are byte-identical to `b0e66a7f`, and the only hunks authored here are the census `totals:` block above and a four-line note in the `validate.yml` step comment recording that the separate-step decision held. The holder is the one who decides whether the held reviews still carry over a merge commit. Refs #656 (stays OPEN). Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ation, and nothing else (RULED Q1/Q2) (#25) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) CLAIM: 5699629780 Refs #656 (stays OPEN). # § 3.5 — the openDox runtime: FastAPI + Postgres, identity and coordination, and nothing else `openspec/changes/split-opendox-two-layer-product/tasks.md` § 3.5 at openxFactory `main`. ## The two rulings this realizes, in their own words > **RULING Q2** — #656 comment [`5542792997`](https://github.com/opensoft/openxFactory/issues/656#issuecomment-5542792997), Brett Heap, 2026-09-04T15:31Z: "**reuse the Hermes install pattern** — FastAPI + Postgres, deployed the way `xFactory-Hermes-Install` is (live on AKS since 2026-07-19), OIDC through the Keycloak broker being adopted in QA". Rejected there: "bolting a database onto today's stdlib `serve.py` monolith; a new full-stack platform." > **RULING Q1** — #656 comment [`5542694957`](https://github.com/opensoft/openxFactory/issues/656#issuecomment-5542694957): "**the database owns identity and coordination; git owns governed artifacts.** Users, memberships, projects, the project-to-repository mapping, sessions and unsaved drafts live in the openDox database. Specs, changes, ideation documents and contracts stay in git, read from repositories and written back only through the apply lane. … the database is disposable relative to the corpus." Rejected: "documents in the database with git as an export; and the hybrid (ideas in the DB until promoted)." ## What this PR does **`migrations/`, at the root of this leg** — § 3.5's own sentence is "all at the root of `openDox-code`, not of the assembly root", and `tests_runtime/test_migration_shape.py` asserts it. * `0001_identity_and_coordination.sql` — RULING Q1's six tables, in the ruling's own list, CLOSED: `users`, `memberships`, `projects`, `project_repositories`, `sessions`, `drafts`. It is **byte-pinned**: `opendox.runtime.migrations.CANONICAL_MIGRATION_SHA256` declares its digest, the runner verifies it *before any mutation* and refuses the whole run on a mismatch, and a test hashes the file against the constant on every `validate`. Changing the schema is an additive `0002_…` file; moving the pin is a two-file act somebody has to mean. * `0002_migration_state.sql` — the ledger, additive, and the reviewable copy of the DDL the runner bootstraps (`create table if not exists`, because the ledger has to exist before 0001 can be recorded). A test asserts the two texts are identical. **`src/opendox/runtime/` — one new subpackage, eight modules.** `config` (every setting an env var named in `deploy/compose/.env.example`; no credential default; a redacting `__repr__`), `migrations` (the fail-closed runner), `identity` (the six tables, one store, SQL composed only from module-level constants with every runtime value a `%s` parameter), `db` (the psycopg pool and the unit of work), `oidc` (verify against the broker's JWKS; issue nothing), `app` (the six collections), `cli` (the lifecycle verbs). **The API.** `/api/v1/{users,memberships,projects,project-repositories,sessions,drafts}` — the closed `COLLECTIONS` tuple, read against the routers `build_v1_router` actually mounts. **The unauthenticated surface is `/livez` and `/readyz`, and it is exactly those two** — both orchestrator probes, because a liveness probe that needed a bearer token would need the broker to be up in order to discover that the broker is down, and a readiness probe that needed one could never report an unreachable database. They return no row, no id and no document. FastAPI's defaults would have published `/docs`, `/redoc` and `/openapi.json` as well; those are OFF unless `OPENDOX_PUBLISH_OPENAPI` says otherwise, and `tests_runtime/test_api_endpoints.py` ENUMERATES the running app's unauthenticated routes against that list rather than trusting this sentence. Everything else resolves a bearer token to an `identity.User` **row** and then asks `memberships.role` about that row — and the store is opened LAZILY, so a request refused at the header touches no database connection at all. **Design § D5's inversion is where the act is largest, and it is executed rather than described.** "Two current requirements say in terms that the dashboard authorizes nothing on the hosted actor and that identity presence changes no capability verdict — write authority today is a property of WHERE the request came from (a loopback console verdict), not WHO sent it. Q1 and Q2 together invert that: an account is a durable row, authentication delegates to the Keycloak broker, and authorization stops being a property of the request's origin. **This is the largest conceptual change in the rulings and the easiest to under-read.**" So: a first login WRITES the user row; there is no loopback exemption and no header that stands in for a token; and `test_every_collection_refuses_an_unauthenticated_request` runs an **in-process** client — the loopback case — and is refused 401 like any other. **One lifecycle CLI.** `opendox-runtime runtime init | migrate | serve | status | reset`. Every verb prints one redacted JSON evidence object and exits nonzero on a refusal; no DSN, token or password is ever printed. `reset` needs the spelled phrase `--confirm yes-drop-the-coordination-database`, and it can exist at all only because of RULING Q1's last sentence. **`deploy/compose/` and `deploy/kubernetes/`**, on the Hermes install's shapes. The **migration identity and the served identity are separate** in both, and `config.migration_database_url` refuses to fall back from one to the other, so the separation is enforced in code as well as declared. No service publishes a host port. Every Secret is committed by **name and key** and never by value; `tests_runtime/test_deploy_shape.py` refuses a `kind: Secret` anywhere under `deploy/kubernetes/`. **`docs/runtime.md`** — the runbook, including a table of which suite runs where and why. ## Why the seam decision is what it is (this is the one choice a reviewer should check) The verbs are **not** registered in `opendox.cli.build_parser`, and the tree points three ways about that, so `src/opendox/runtime/cli.py`'s header writes it down: * `src/subcommand_extension.py` is for a layer **above** contributing a subcommand — that is openXdox, and the runtime is not that layer; * `src/opendox/cli_project.py` states the counter-rule for openDox's own verbs in terms: "FIXED CORE, NOT AN EXTENSION … these verbs are registered by `build_parser` directly"; * and they cannot go there **in this act**, for two measured reasons. `src/opendox/cli.py` is a CARVED file with a row in openxFactory's manifest, so a line added to it is a declared edit that lands at openxFactory first — a different act with a different claim. And `opendox.cli` **cannot be imported at this leg at all**: it reaches `opendox.serve`, whose line 192 `from ideation_dashboard import serve_openxfactory_lanes` exists at neither carve destination, which `tests/test_consumer_reach.py::STILL_REACHING` records by name and RULED Q-L5 (b′) leaves to the BUILD arc. So this act ships **both spellings and neither is a fork**: `[project.scripts] opendox-runtime` runs the verbs today, and `RuntimeSubcommand` wraps the *same* registration function in an object that structurally conforms to `subcommand_extension.SubcommandExtension` (asserted with `isinstance`). The day `opendox.cli` imports, wiring them into the core parser is one line at the assembly point and no verb is re-authored. ## What this PR does NOT do — residue, by name * **It lifts no part of RULED Q-L5 (b′).** `opendox.serve` still cannot import at this leg. Nothing in `opendox.runtime` depends on that being repaired: the runtime imports no part of `opendox.serve`, and the two are joined only by the project-to-repository map row. * **It creates no repository.** That is § 3.6, the PR stacked on this branch. A project with no repository is a visible state here (`GET /project-repositories/{id}` → 404), which is the shape § 3.6's act fills. * **Design § D5's unresolved residual stands, unresolved:** "The hybrid where ideas live in the database until promoted was REJECTED, so an idea is a governed document in git from its first save — consistent, and heavier than a lab assistant may want. Whether openDox needs a pre-governed scratch space that is NOT 'a draft of a document' is a real residual, it is not one of the open questions." `drafts` is the draft of a document and is **not** that scratch space. Recorded in `docs/runtime.md` § 9 and here. * **The `runtime` CI job is not a required check.** Making one required is a repository setting (`docs/branch-protection.md`), a separate act with a separate owner; the gap is named in the workflow rather than assumed away. * **Not taken from `xFactory-Hermes-Install`, each for a reason** (all four recorded at the seam that would have carried them): its three-layer Subject/Tenant/Domain topology and its `layer` token claim — openDox is single-layer, so that would be a shape without a meaning; its worker-readiness surface; its correlated backup job; and its `uv.lock` supply-chain pin, which `pyproject.toml` already records as a real act with a real owner rather than something a § 3.5 PR should invent. ## The arrival floor Measured: `scripts/verify-carve-arrival.py::declared_roots` over `rows_for(manifest, "opendox_code")` (119 effective rows) returns exactly `['src/opendox', 'tests']`. So `migrations/`, `deploy/`, `docs/runtime.md`, `pyproject.toml`, `.gitignore`, `.github/` and the **new** `tests_runtime/` tree need no admission (`under_roots` is segment-aware — "`tests_helpers/x.py` is not under `tests`"), and the eight files under `src/opendox/runtime/` each need one. Those rows are **openxFactory PR [opensoft/openxFactory#1067](https://github.com/opensoft/openxFactory/pull/1067)**, which lands first per RULED Q-L1. ## CI, and why it is split `.github/workflows/validate.yml` is **append-only** against `main` — `git diff --stat`: 99 insertions, 0 deletions, one hunk at `@@ -323,0 +324,99 @@`. Nothing above line 323 is touched, so this cannot collide with openDox-code #24, whose only hunk in this file is inside the comment block at lines 91–147. * A new **step** in the required `validate` job runs the hermetic suites under that job's existing `pip install -e ".[test]"` — no FastAPI, no psycopg, no PyJWT. That is the package's declared import-weight contract, and `tests_runtime/test_runtime_surface.py` measures it two ways: an AST walk for module-level imports, and a **fresh interpreter** that imports the stdlib-only modules and reports any extra distribution that ended up in `sys.modules`. * A new **job** `runtime` carries a `postgres:16` service (the Hermes install's own CI shape) and `pip install -e ".[runtime,test]"` for everything that needs a database, a token or a web framework. Where `OPENDOX_TEST_DATABASE_URL` is unreachable a **developer's** tree skips with the reason printed — never a silent pass, never a red tree for somebody without Postgres — and **in CI the same absence FAILS**: pytest exits 0 when every collected case is skipped, so a job whose `postgres:16` service failed to start reported green having made no database-backed assertion at all. The job supplies the service, so its absence there is the job's own defect (`conftest._skip_or_fail`, round 5). ## Measured (python 3.12.3, pytest 8.4.2, postgres 16.15) Every figure below was measured at **`3d587ae8`** — with the `runtime` extra made UNIMPORTABLE, which is the required job's own install — and holds at the current head **`abc7f634`**, which adds only the workflow's record of it and names the command that produced it. A count in this table and a count in the workflow's own comment block must not be two different heads' answers — Copilot's review of #26 was right about that, and both places now say which head they mean. | run | result | |---|---| | the required `validate` job's own invocation (`--noconftest`, the **five** hermetic modules that job names) | **200 passed, 1 skipped** | | `python -m pytest -q tests_runtime/` with `OPENDOX_TEST_DATABASE_URL` set (the `runtime` job's invocation) | **324 passed** | | `python -m pyflakes src/opendox/runtime/*.py tests_runtime/*.py` | clean | | `yaml.safe_load` over `.github/workflows/validate.yml` | parses; jobs `['validate', 'runtime']` | **The one skip, named rather than left to be found.** It is the live reproducer for round 26's credential leak: it needs `psycopg` to make libpq quote an unparsable DSN back, and the required job installs `.[test]` alone. The property it proves — that the probe never interpolates the exception's text — is measured beside it against a stub driver that raises with the DSN in its message, and **that** case runs in the required job. A suite that skipped a contract silently is the thing this act refuses; a skip that names the driver it wants and points at the case that covers it anyway is not that. The figures moved with every review round, which is why they are stated with a head. `72 → 93 → 97 → 101 → 102 → 106 → 108 → 109 → 111 → 111 → 118 → 122 → 126 → 128 → 130 → 132 → 132 → 132 → 132 → 135 → 138 → 139 → 141 → 142 → 144 → 145 → 153 → 162 → 167 → 167 → 167 → 171 → 173 → 173 → 174 → 181 → 184 → 196 → 197 → 198 → 200` on the required invocation and `115 → 160 → 173 → 180 → 184 → 189 → 192 → 194 → 196 → 197 → 211 → 216 → 223 → 227 → 230 → 232 → 235 → 236 → 236 → 240 → 245 → 246 → 248 → 249 → 251 → 252 → 262 → 272 → 277 → 279 → 280 → 286 → 288 → 289 → 291 → 298 → 301 → 317 → 320 → 322 → 324` on the full suite: each rise is assertions added to answer a finding, never a suite widened to look busier. ## Review round 4 (Copilot review `5225498056` at `45bb29c5`) — eight findings, all fixed * **The read routes did not ask the question this module's contract said they did.** `GET /users`, `GET /memberships`, `GET /projects` and both project-repository reads authenticated and then returned the whole install, so any signed-in account could enumerate every user's issuer/subject/email and every project's repository `location` and `remote_url`. The scope is now the MEMBERSHIP ROW, applied in SQL; a row the caller may not see is 404 for a user and 403 `authz.not_a_member` for a project — which is also what an id that exists nowhere gets, so the pair is not an existence oracle. * **The migration run's advisory lock did not cover the work it named.** `apply()` held `MIGRATION_LOCK_KEY` on one connection and did the bootstrap, the ledger read and every migration through another; a pool of one deadlocked. Every statement now goes through the lock's own connection, measured with `max_size=1`. `runtime reset` had the identical shape. * **The ledger was narrowed after the migrations, not before**, so a wrong `runtime_role` failed the run only once everything had committed — and `/readyz` asks about schema and drift, never grants. * `defaultMode: 0o555` is a string in YAML 1.1 and the API server rejects the StatefulSet before Postgres starts. * The migration Job raced the Postgres StatefulSet on a clean install and could retire itself inside `backoffLimit: 2`. * `list_drafts` collected the principal's sessions with one capped query, so a user with more than `MAX_PAGE_SIZE` sittings lost the later ones' drafts and was refused its own session by name. * `POST /memberships` carried `on conflict … do update set role`, so a repeat silently changed a role and still answered 201. * `init` reported a valid install when the repository root existed as a file; `serve` was the one lifecycle verb that printed no evidence on an ordinary shutdown; `STDLIB_ONLY_MODULES` omitted § 3.6's two modules, so on that branch the import-weight contract skipped exactly the files it exists for. Each fix carries an assertion; the seven suppressed comments of that round are answered one by one in [this comment](https://github.com/opensoft/openDox-code/pull/25#issuecomment-5701276181). Two defects the suites found in this act's own code, both fixed here and both recorded at the seam: 1. `oidc.CachingJwks._load_keyset` did not catch `jwt.PyJWKSetError`, which is **not** a subclass of `PyJWKError`. A broker serving `{"keys": []}` — a realm mid-rotation, a misconfigured proxy — would have escaped the typed `IdentityUnavailableError` and surfaced past `app.get_principal`'s 401 mapping as a 500. 2. `app`'s dependency callables annotated `request: Any`. FastAPI reads a dependency's annotations to decide where each argument comes from and takes `Any` for a **query parameter**, so every route answered `422 missing query parameter: request` instead of authenticating — sixteen cases red on the first run. ## Review round 6 (Copilot review `5226506490` at `e9bec395`) — four threads and nine suppressed comments, every one answered * **ONE NAME FOR THE SERVED ROLE.** `.env.example` declared `OPENDOX_RUNTIME_PG_USER` (which created the role) and `OPENDOX_RUNTIME_PG_ROLE` (which the runtime reads and the migration narrows), and the compose file read only the first — so setting the documented one changed nothing, and setting both differently created one role and narrowed another. One declaration now, and both services interpolate it. * **AND THE NARROWING IS MEASURED.** `revoke` succeeds and changes nothing for the ledger's owner, a superuser, or a role holding the write through another grant. `_narrow_ledger` asks `has_table_privilege` for each of the four writes and raises `LedgerNarrowingIneffectiveError` when one survives; the narrowing is a precondition of the run, so nothing is applied. * **`/readyz` verifies the pinned `0001` BEFORE it calculates a plan.** `discover()` returns `[]` for a directory that exists and is empty, so an image that lost the canonical file made `plan()` and `drift()` both empty on a fresh database and readiness reported `schema: applied`. * **A request body is bounded.** `BodySizeLimit` is a pure ASGI middleware: a declared `Content-Length` over one MiB is refused unread, a chunked body is counted and refused the moment it passes. The cap is declared in the runtime rather than imported, because `opendox.serve*` cannot be imported at this leg (RULED Q-L5 (b′)). * The nine suppressed comments are answered one by one in [this comment](https://github.com/opensoft/openDox-code/pull/25#issuecomment-5702502815): the compose healthcheck's literal port and the repositories volume's literal path (both now follow their settings), the Kubernetes root held EQUAL to the mountPath it is claimed at, the readiness probe's missing `timeoutSeconds`, a foreign-key race that escaped as a 500 instead of the documented 404, a discovery regex broader than the filename contract, and an `importorskip` that let the `runtime` job pass without exercising a single OIDC or API case. ## Residue this act records rather than resolves (round 6) * **The served process does not assert its own `current_user`.** The runner now refuses a narrowing that changed nothing, and creation, narrowing and the served DSN derive from one `.env` declaration — but a served container that is handed a DSN for some other role is still only caught by the operator's own care. Asserting it in the process needs the role name configured on the served container too, which is a new setting and a separate declared act. ## Review round 7 (Copilot review `5226856961` at `51cfff71`) — three threads and nine suppressed comments, every one answered * **Two files claiming one version** made `apply()` run and COMMIT the first and fail on the ledger's key for the second — the partially applied run the runner exists to prevent. `discover_migrations` refuses the directory by name, before anything is mutated, for every caller. * **The Kubernetes bootstrap created a role the migration did not narrow**: the StatefulSet hard-coded `opendox_runtime` while the Job read `runtime_pg_role`. Both read the same ConfigMap key now — the Kubernetes half of the one-name rule the compose package got in round 6. * **The narrowing interpolated an UNQUOTED identifier** while the bootstrap creates the role with `%I`, so a configured `MyRole` had its revoke and grant folded to `myrole`: a different role, or none. Quoted here, and measured against a genuinely mixed-case role. * The nine suppressed comments: two existence oracles (a session and a draft read by id, each answering 404 for an unknown and 403 for another user's — one refusal each now, naming no id), `migrate --plan` skipping the canonical gate `apply()` runs first, `status` reporting pending migrations and staying healthy (and now running that same gate, because an empty directory otherwise reads as "nothing pending"), `status` blaming the database for a failure of the TREE, an `importorskip` that let the API suite skip in CI, and a filename assertion broader than the runner's own regex. ## Review round 8 (Copilot review at `392fd143`) — two threads, both fixed * **`serve` could not tell "served and stopped" from "never started".** `uvicorn.run` does not propagate a lifespan startup failure — uvicorn logs it and the loop returns — so the verb emitted `ok: true` and exited 0 for a process that never served a request. An explicit `uvicorn.Server(uvicorn.Config(...))` runs, and `server.started` decides which evidence is emitted. * **Nothing below the canonical version is a migration.** The filename shape accepts `0000_*.sql` and discovery only ordered and de-duplicated, so such a file ran BEFORE the pinned `0001` — mutating the database after the digest gate passed and before the schema that digest pins existed. **And a rule this round proved twice.** Round 7's preview test passed in a developer's tree and went RED in the required job, because the gate it asserted sat behind the deferred driver import. The gate moved ahead of that import (asking about the TREE needs no driver), and the hermetic figure is now measured with `psycopg`, `psycopg_pool`, `fastapi`, `uvicorn` and `jwt` made unimportable — the required job's own install. A figure measured with the extras present is not that job's figure. ## Review round 9 (Copilot review at `392fd143`) — three threads, all fixed * **The miss cooldown's clock was read before the lock**, which is the same correction `keyset` took in round 5, in the method beside it. A caller queued behind a forced refresh — which holds the lock for a whole fetch — was refused a refresh the cooldown had already allowed, so a real key rotation went unseen until the next miss. * `CachingJwks(ttl_seconds=...)` is annotated `float`: the arithmetic is float throughout and the suites cross TTL boundaries on purpose. * `DROP_ORDER` names the ledger through `migrations.LEDGER_TABLE` rather than spelling it twice — the one moment two spellings differ is a rename, after which `reset` would drop six of seven tables and report all seven. ## Review round 10 (Copilot reviews `5227436293` at `ab7f2110` and `5227525961` at `6e09fbe5`) — twelve findings: eleven fixed, one answered by citation Classified before anything was touched, as this act now does every round — **FIX** (a real defect here: fix plus a test that fails against the old shape), **REPEAT** (already answered on this PR: cite, resolve, change nothing), **OUT OF SCOPE** (a behaviour no ruling ordered: answer by measurement, register, resolve). This round: **11 FIX, 1 REPEAT, 0 out of scope.** **Three writes that could lose a race, each a claim the code did not keep:** * **A draft could be written into a session that had ENDED.** `require_open=True` is a promise about the WRITE, and the route's check and the upsert were two statements — a `DELETE /sessions/{id}` committing between them wrote the draft anyway. The session-open predicate now travels IN the insert (`insert … select … where exists (… ended_at is null)`), so the promise is kept by one atomic act rather than by the interval between two. The ordinary refusal is unchanged (409 `coordination.session_closed` from the pre-check, which still gives the better message); the raced one is 404 `coordination.not_found`. * **`DELETE /drafts/{id}` called `delete_draft` directly**, so a second discard by the owner — or a row gone between the read and the statement — escaped as a 500 instead of the documented coordination 404. Wrapped in `_found`, like the session-close path beside it. * **`POST /sessions` inserted outside both translations.** A project deleted between the membership check and the insert made a raw foreign-key violation escape as a 500. `identity.open_session` goes through `_conflict_if_duplicate` now (SQLSTATE → `NotFoundError`) and the route through `_conflict` (→ 404), which is what every other referencing write in this API already did. **The existence oracle one step out from the one round 7 closed.** Round 7 made "unknown draft" and "another member's draft" one answer — *for a member of the project*. A caller who was NOT a member still got `authz.not_a_member` for a draft that exists and `authz.not_your_session` for an id that does not, so the id space stayed walkable by anyone with an account. Ownership is asked FIRST now, before authorization is consulted at all, and both questions have one refusal. Asserted byte-for-byte, the way the hidden-user pair already is. **The lifecycle contract's loud half.** Round 8 closed the silent failure `serve` could not report (uvicorn swallows a lifespan error). `Server.run()` also RAISES — `SystemExit` from uvicorn's own `sys.exit(1)` on an occupied port, `OSError` for an address that is not this host's — and that call sat outside every exception-to-evidence handler, so the verb an operator runs longest answered a misconfigured port with a traceback and no JSON. `SystemExit` is named explicitly because `except Exception` does not reach a `BaseException`, and the refusal names the host and port it tried and is redacted like every other message this CLI emits. **`status` no longer rewrites an answer it already has.** Once `select 1` has succeeded the database IS reachable, and a later failure — a served role without `select` on the ledger, a search path that misses the schema — was reported as `database: unreachable`, pointing an operator at the network for a privilege problem. It is `database: reachable` plus `schema_queries: failed: …` now. Round 7 made exactly this distinction for the runner's own `MigrationError` and left it unmade in the handler one line below. **The managed-database path had no role provisioning at all.** The bundled Postgres creates and grants the served role on its first start (`deploy/compose/init-runtime-role.sh`); a managed database runs no init script, so the migration owner created the six tables and the served role had no privilege on any of them — the Job succeeded, `/readyz` reported an applied schema, and every request then failed with `permission denied`. Of Copilot's two remedies this took the second, because that role is created out of band with its password anyway and half a provisioning story is worse than a stated one: `docs/runtime.md` states it as an explicit PREREQUISITE with the four statements the bundled script performs, and `tests_runtime/test_deploy_shape.py` DERIVES the required list from that script, so the two paths cannot drift apart silently. The narrowing the migration run then applies to the ledger is named there too, so an operator granting everything knows the one exception. **Two declared surfaces that were narrower than the code:** * **`migrations`'s documented connection contract.** The docstring promised `.execute(...)` and the runner also calls `.transaction()`, `.commit()` and `.rollback()` — so a double or an alternative driver written to the documented contract failed with `AttributeError`. The contract is stated in full (four members), and two hermetic tests hold it: one drives a whole `apply()` through a double implementing exactly those four, the other shows the old shorter list raising. * **`CachingJwks(source=…)` was annotated as a union of the two sources this module ships**, while the cache and the suites only ever ask for `load()` — the rotation and counting sources in `test_oidc_verifier.py` are third implementations already. `JwksSource` is a `runtime_checkable` Protocol now, so the annotation and `isinstance` ask the same question. **The readiness probe's timeout was EXACTLY the sum of the endpoint's budgets** (10s database checkout + 5s JWKS) while the comment beside it called that "longer than both budgets together". A worst-case-but-valid request had nothing left for scheduling, latency or writing the response. It is 20s now with `periodSeconds` at 30 so a probe still cannot overlap itself, and the test reads BOTH budgets out of the modules that declare them rather than restating them. **And two prose defects, fixed rather than argued** (both are false statements in landed text, which is the class this act fixes): the deployment's service-account comment was a malformed sentence, and three `tests_runtime` docstrings claimed a narrower import list than their own import block — a hermeticity claim a reader cannot check is the opposite of what those files are for. **REPEAT:** the JWKS miss cooldown's clock read outside the lock (suppressed at `ab7f2110`) was fixed one head earlier, at `6e09fbe5` — answered on its thread by citation, not re-argued. **Erratum, recorded here because this act records them:** the commit that recorded the new figure (`cd22da4d`) says "eighteen more hermetic cases"; it is **seven** (111 → 118). The figure itself — 118 at `f9c72341` — is the same in the workflow block and in the table above, which is the number that matters. ## Review round 11 (Copilot review `5228860529` at `cd22da4d`) — nine findings: eight fixed, one answered by measurement Classified first, as every round is now: **8 FIX, 0 REPEAT, 1 answered by measurement** (a finding whose premise is a description this PR no longer has). * **The role password was in a process argument.** `psql -v runtime_password=…` puts it in argv, where `ps` and a world-readable `/proc/<pid>/cmdline` can read it for the life of the command — the Secret copied out of the Secret store and into a process table, in both copies of the bootstrap. `\getenv` reads it from psql's own environment now; the role NAME stays an argument, because a name is not a secret. **Measured against psql 16 in a live container before it was written**: `\getenv` sets the variable, `%L` quotes it, and `pg_roles` shows the role created with login. * **The byte pin did not cover the bytes that ran.** `apply()` read `0001` three times — the gate, `checksum()`, then `read_sql()` to execute — so a migrations directory that can change under the process could pass the pin and run something else, with the ledger recording the digest of bytes that did not run. Each migration is read ONCE into a snapshot now: that is what is hashed, what the canonical pin is re-checked against immediately before execution, and what executes. * **The streamed half of the body cap answered the wrong refusal**, and Copilot asked for the test that found it. FastAPI's body parser wraps its read in `except Exception` and turns anything it catches into `400 "There was an error parsing the body"` — so a chunked request over the cap stopped reading at the limit (the memory bound held) and then answered 400 instead of the documented `413 request.too_large`, unmeasured because the only cap test sent a declared `Content-Length`. `_BodyTooLarge` is a `BaseException` now, which passes that handler and reaches the middleware — the only frame that can answer for a request whose body it refused. * **The documented first command could not run on a clean checkout**, in all three places that document it (the runbook, `.env.example`, and the compose file's own inline runbook). `docker compose run` does not build by policy — it is the only one of `run`, `up` and `create` with no `--no-build` flag, because it has nothing to suppress — and the default `OPENDOX_IMAGE` is the local tag `opendox-runtime:local`, which no registry has. `--build` on that one command; `up -d` needs none, and the comment says why. * **The migration Job could exhaust itself while Postgres was still recovering.** The initContainer proves a LISTENER, and a database replaying a crash recovery listens while answering "the database system is starting up"; the wait carries no credential — deliberately — so it cannot tell that from ready. The honest probe for that case is the migration container itself, which opens a real session, and the Job's retry budget is what makes that a wait rather than a failure: `backoffLimit` 2 → 6, about ten minutes under Kubernetes' exponential backoff. **Answered by measurement, no change.** The review reports that this description "identifies `6e09fbe5` as the current head and reports `197 passed`" while the workflow says `f9c72341`/`211`. The description said `f9c72341`, `118` and `211` at the time of that review and says `5d86d8b8`, `132` and `236` now; the sentences naming `6e09fbe5` are in the round-10 SECTION, where they name the head the reviews under discussion ran at and the head the JWKS cooldown was fixed at. History and current figure are different claims, and the block that carries the figures says in one line which is which. ## Review round 12 (Copilot review `5229072217` at `3e524f08`) — five findings, all fixed Classified first, as every round is now: **5 FIX, 0 REPEAT, 0 out of scope** — three threads and two suppressed comments, every one a real defect in this act's own code, each answered with a test that fails against the shape it forbids. * **The bootstrap's default privileges belonged to whoever ran the script, not to the role that creates the tables.** `alter default privileges` is recorded FOR the current role, the first-start script runs as `$POSTGRES_USER`, and the migration service's DSN is configured separately — so pointing it at another owner (a valid configuration this base documents) meant `0001` created the six tables with no privilege for the served role at all: the Job succeeded, `/readyz` reported a reachable database and an applied schema, and every API request failed `permission denied for table …`. The grant now names the owner — `OPENDOX_MIGRATION_PG_USER` in compose, the `migration_pg_user` ConfigMap key in Kubernetes, both defaulting to `$POSTGRES_USER`, which is today's bundled shape unchanged. **Measured on psql 16.15 in a live container, both ways**: with the fix, a table created by `mig_owner` leaves the served role holding `SELECT|t INSERT|t UPDATE|t DELETE|t`; against the old script, `f f f f`. * **And the run now MEASURES that**, because a grant that was never made is invisible until a request fails. `MigrationRunner.verify_runtime_access` is the last act of every run: `has_table_privilege` — which counts ownership and group membership, so a role granted through a group passes — for the four rights on every table in the schema but the ledger, and `RuntimeAccessMissingError` naming the missing `table:privilege` pairs otherwise. It is the sibling of the narrowing check beside it (`LedgerNarrowingIneffectiveError`), and it closes the MANAGED path's own version of this finding — an operator who skipped the documented prerequisite — with the same answer. This act does not claim privilege work it did not do. * **The canonical gate covered the first read, not the run.** `verify_canonical_digest()` hashed `0001`; `bootstrap_ledger()` and `protect_ledger()` then COMMITTED the ledger table and its privilege changes; and only the loop's re-read raised `CanonicalDigestMismatchError`. For a migrations directory that changes under the process — which this runner supports by design, and which is why round 11's per-file snapshot exists — "a tree carrying the wrong `0001` changes nothing at all" was therefore false by two changes. `snapshot_run()` reads every migration's bytes and runs the gate BEFORE the first statement, and the loop drives off that snapshot with nothing left to re-check: round 11's rule ("one read, one digest, one execution") widened from a file to a run. * **The drafts listing was bounded in rows and not in bytes**, and a row is a document here. Each body is capped at `MAX_REQUEST_BODY_BYTES` (1 MiB) on the way in and `MAX_PAGE_SIZE` is 500, so one authenticated request could force roughly 500 MiB of database fetches, JSON serialization and worker memory, and a few concurrent ones an outage — out of entirely legitimate drafts. `identity.MAX_PAGE_BODY_BYTES` is the SAME NUMBER as the request cap (a page carries no more body bytes than one draft may, and a test asserts the two are one number), and it is applied **in the query** as a running sum over the rows BEFORE each row: the bytes are never fetched, the page is always a prefix so `after` pagination is unchanged, and a draft larger than the whole budget is still returned — the budget bounds what precedes a row, so the first row of a page is never excluded and pagination can always advance. Measured: three 600 KiB drafts were **3 rows / 1,843,200 body bytes** and are now **2 + 1 across two pages**. * **The managed-database prerequisite typed the password into SQL.** It asked an operator to substitute a value inside a single-quoted literal, where a `'` is a syntax error — or, worse, silently a different password — while the bundled script it is derived from has read it through `\getenv` and quoted it with `%L` since round 11. Same shape now, so the secret never enters the SQL, this runbook, or `~/.psql_history`. **Measured in the same live container**: `pa'ss w0rd` creates the role and logs in. Every new case was run against the shape it forbids before it was committed — the four hermetic ones fail on the old tree, and the three DB-backed ones fail as *DID NOT RAISE*, *CanonicalDigestMismatchError*, and *the page returned 3 drafts and 1843200 body bytes*. One new case, `test_the_whole_run_is_read_before_the_ledger_is_bootstrapped`, passes against BOTH shapes and its docstring says so: it is not this round's regression (its sibling is), it pins the other half of the promise — that a refusal's whole footprint is the advisory lock — so no later round can satisfy the sibling by moving a mutation earlier instead of moving the reads. ## Review round 13 (Copilot review `5235999257` at `84cbe14e`) — one thread and five suppressed comments Classified first, as every round is now: **4 FIX, 0 REPEAT, 0 out of scope, 2 answered by measurement** (of which one is the description-versus-workflow figure pair, and one is a behaviour that was measured and found to be the decision). * **A close in flight raced the draft write.** Round 10 put the session-open predicate INTO the insert, which closed the interval between the route's check and the write; it did not close the one inside the statement. Under READ COMMITTED the `exists` subquery reads the snapshot the statement began with, so a `close_session` committing AFTER that snapshot and BEFORE this transaction commits still left the draft written into a sitting that had ended — which is exactly what `require_open=True` promises cannot happen. `for update` makes the subquery WAIT on a close that is in flight and re-evaluate against the committed row, so the two acts are ordered rather than overlapping. **Measured with two real connections, both ways**: with the close updated and not committed, the new shape's write is still running after three seconds and then raises `NotFoundError` when the close commits; the old shape's had already returned `saved`, with the draft in the database before the session was closed. * **Two claims the code does not keep, corrected in the text — because in both cases the behaviour is the decision.** `get_store`'s docstring promised that "a request that only reads still gets one consistent snapshot", which READ COMMITTED does not give (every statement takes a new snapshot); the atomicity beside it is real and is what the transaction is for, and asking for the stronger guarantee is a declared act with its own cost — a serialization failure is a retry this API does not have. And `upsert_user`'s said the display fields are "refreshed on every login" while the SQL `coalesce`s: this runtime sees ONE TOKEN PER REQUEST, not a profile event, and whether a token carries `email` depends on the scopes it was issued for, so assigning `excluded.email` directly would make the stored value FLAP between requests made with different tokens by the same person. The docstring now says what the code does and states the consequence the review named — a value removed at the broker is not cleared until a token arrives with a different one — and both halves have a case. * **The managed-database prerequisite substitutes nothing by hand.** It still carried `'<runtime role>'`, `"<database>"` and `"<migration owner>"`, so an operator who pasted it got a role and a database named after the placeholders and the real served role with no access at all. Every name now arrives through psql's `\getenv` and is quoted by `format`'s `%I`; the password by `%L`. **Measured against postgres 16.15 by running the block verbatim**: it created a role whose name contains a SPACE (`Svc Role`) with a password containing a quote, that role logged in with it, and `pg_default_acl` shows the grantor is the migration owner and the grantee `"Svc Role"`. * **The compose package's repository root must be absolute, and now says so where it is set.** The application's own default is the relative `var/projects` — right for a developer running `opendox-runtime` directly — and the compose file uses the configured root as the `project_repositories` volume's container mount target. **Measured on Docker Compose v5.5.1**: `docker compose config` ACCEPTS a relative target and the daemon refuses at container creation with `invalid mount path: 'var/projects' mount path must be absolute`. The failure is loud, names the path and happens before anything runs, which is why this stays ONE expression rather than becoming a fixed literal that would make the documented setting mean nothing here again; the new case is labelled a guard rather than a regression, because the value that can be relative lives in an operator's own `.env`. **Answered by measurement, no change: the description/workflow figure pair.** The review quotes this description at `4bf054ec`/122/216, which is what it said before round twelve's update; both places have named `2052e1e6`/126/223 since, and both name `5d86d8b8`/132/236 now. ## Review round 14 (Copilot review `5236637540` at `f6b7a19c`) — two threads and five suppressed comments Classified first: **3 FIX** (one of them two call sites, one of them six), **0 REPEAT, 0 out of scope, 0 answered by measurement**. Two threads and five suppressed comments. * **`current_schema()` IS the search-path fallback this module's qualification was defending against.** Round 5 qualified `runtime reset`'s drops and round 6 qualified the ledger read precisely so that nothing resolves through `search_path` — and the qualification itself resolved through `search_path`, because `current_schema()` answers the first **existing** schema on the path and never the first **configured** one. **Measured on postgres 16.15** with no `tenant` schema: `set search_path = tenant, public` gives `current_schema()` = `public`, `current_schemas(false)` = `{public}`, and `show search_path` = `tenant, public`. So a DSN selecting a schema that was dropped, renamed or never created read and WROTE another one in silence — `MigrationRunner.applied()` reported `public`'s ledger as the selected schema's, after which `plan()` calls a fresh schema migrated and `/readyz` calls it ready, and `runtime reset` qualified every drop as `public.*` and deleted another install's coordination tables under a promise that it would not. `migrations.selected_schema(conn)` asks both questions in one statement and refuses when they disagree, naming both schemas; the same answer replaces `current_schema()` in `_check_runtime_access`'s predicate one method along, where measuring `public`'s tables would have reported on tables the run did not create. **Only the first configured entry is compared, and `"$user"` is not compared at all** — it is not a schema name but the first entry of PostgreSQL's own default `search_path`, where an absent user schema is skipped by design, so a plain install is not refused for having one. Two cases, both failing against the previous head: a hermetic pair through a connection that answers the two columns, and a DB-backed one the way the defect appears — a `users` table in `public`, a schema that is never created, and a DSN that selects it; the reset refuses with nothing dropped and `public.users` intact. * **The command this service PRINTS was not a command.** `register()` nests every verb under the `runtime` group, so the shortened spelling — the console script followed straight by a verb — exits 2 with argparse's usage error. **Measured through the parser**: `['migrate']` raises `SystemExit(2)` with `invalid choice: 'migrate' (choose from 'runtime')`, and `['runtime', 'migrate']` is the verb. It was what `runtime init`'s evidence emitted as its `next`, what `/readyz` told an operator to run while migrations are pending, what the runbook's transcript showed, and what a case in `test_api_endpoints.py` **pinned** — so an operator who copied the answer the service itself gave them could not make the service ready, and the suite agreed with the broken spelling. Every occurrence in `src/`, `docs/`, `deploy/` and `tests_runtime/` names the group now, and a new hermetic case sweeps all four trees for the console script followed by a verb, so the next one cannot be written silently. * **The managed-database prerequisite accepted a served role this runtime refuses.** Round 13 made every name in that block arrive through `\getenv` and be quoted by `%I`, and measured it by creating a role named `Svc Role` — which works, in the block. It does not work in the runtime: `config.load_migration_settings` refuses a served role that is not a plain SQL identifier before `migrate` connects, and `MigrationRunner.protect_ledger` refuses it again, because the ledger narrowing interpolates a role name into a `revoke` as **syntax**. A prerequisite an operator can complete and still not start is the same defect as a command they cannot run. The runbook states the grammar now — `[A-Za-z_][A-Za-z0-9_]{0,62}`, with the reason — and says why `%I` is still not redundant under it: the migration owner and the database are under no such constraint, and a served role that IS a plain identifier can still collide with an SQL keyword. The new case pins the statement and both refusals to one spelling. ## Review round 15 (Copilot review `5237498282` at `f86439b1`) — one thread, fixed Classified: **4 FIX, 0 REPEAT, 0 out of scope, 1 answered by measurement.** One thread and four suppressed comments. * **The schema guard ran one call too late.** Round 14 made `applied()` and `runtime reset` ask `selected_schema`, and `bootstrap_ledger` runs BEFORE `applied()` in `_apply_locked`. Its `create table` is unqualified — which is right, it must land where the connection's `search_path` selects — so on a connection configured for a schema that no longer exists it created the ledger in `public` and **committed** it, and the refusal arrived one call later: a fail-closed run that had already mutated another schema. The guard is asked before the DDL now, on both of `bootstrap_ledger`'s paths, and the DB-backed case measures the whole run rather than the reader alone — the tables in `public` before and after, with the refused `apply()` in between. Against the previous head it fails with "the refused run created tables in `public`". * **A concurrent rotation refused a valid token.** The miss-refresh cooldown bounds **fetches**, and it was being used as a bound on **answers**: the thread it denies is precisely the one waiting for another thread's fetch, so a request whose `kid` had already arrived in the new key set raised `InvalidSignatureError` against the old one it was still holding. A denied thread re-reads through `keyset()` now — which takes the same lock the refresh holds, so it waits for the fetch in flight and reads its result, and fetches nothing itself, leaving the amplification bound exactly where it was. The case **forces the order** rather than racing it: the denied thread is held between its read of the old key set and its cooldown question, which is the only window in which the defect exists (an unordered version passes against the previous head, and the docstring says so). * **The access preflight asked about every table, and not about the schema.** It scanned `relkind = 'r'` across the whole selected schema, so a table that has nothing to do with this runtime — another application sharing the schema, an operator's scratch table — failed the migration run for a privilege the served role was never meant to hold. And `has_table_privilege` alone is not the question: without `usage` on the **schema** a role cannot name those tables at all, so a run could pass the check and every request still fail `permission denied for schema`. The list is RULING Q1's own, imported from `identity` rather than retyped; the schema's `usage` is asked first and named in its own refusal. Both halves measured in one schema against a real role. * **The page budget bounded what the application received, not what Postgres read.** The inner query selected every `body` and carried it through the window function and the sort before the outer predicate dropped it, so a page of 500 one-megabyte drafts still made the database read and move ~500 MB to return a short prefix. The inner query selects ids and sizes; the bodies are joined back on the ids that survive. Which rows come back — and that at least one always does — is unchanged, and is measured by round 12's own case. **Answered by measurement, no change: the description/workflow figure pair,** quoted one head apart. Both name `541b0329`/132/235 now, and both say which head they mean. ## Review round 16 (Copilot review `5238724938` at `6c613232`) — two windows left half-closed, both closed Classified: **2 FIX, 0 REPEAT, 0 out of scope, 0 answered by measurement.** Both are refinements of round 15's own fixes, and both are right. * **The whole configured `search_path` is walked, not only its first entry.** Round 15 compared the head of the path and exempted `"$user"` — so `search_path = "$user", tenant, public` with neither the role's schema nor `tenant` present stopped the walk at the exempt entry and accepted `public`: the same silent fallback one position along. Every **named** entry ahead of the one PostgreSQL resolved must now exist — "nothing this connection asked for was skipped". `"$user"` stays exempt and only it, because an absent user schema is skipped by design; it is resolved against `current_user`, so a session whose own schema is the answer stops the walk there, which is what that path means. The hermetic fake grew the second question `selected_schema` now asks, because a fake that answered only the first would let the whole walk pass vacuously. * **The cooldown claim and the refresh are one lock acquisition.** Round 15 made a denied thread re-read, which narrowed the window and did not close it: the claim and the fetch were two acquisitions, so a denied thread could leave the lock and read the cache **before** the claiming thread had taken it to fetch, and reject a valid token carrying the newly rotated `kid`. `keyset_after_miss` holds the lock across the claim **and** the fetch. The cooldown still bounds fetches — one per cooldown, asserted by the load count — which is the property it exists for; what it no longer bounds is answers. The case drives the window itself (the claiming thread paused between its claim and its fetch, the denied thread running during the pause) and hooks whichever method the shape under test claims the cooldown in, so it runs against both heads — and against the previous one the denied thread is refused. * **And a gap this round itself opened: a dropped coordination table was not reported missing.** The preflight is driven by `pg_class`, so a required table that is not there produces no row and was never added to `missing` — a rerun after `users` was removed reported success and the API failed on the relation later. Restricting the scan to `SERVED_TABLES` (round 15) is what turned "every table in the schema" into a set that can have a hole in it, so the set is compared now and every absent one of RULING Q1's six is named. * **The JWKS setting promised a discovery this runtime does not make.** "derived from the issuer's discovery document when unset" — nothing reads `.well-known/openid-configuration`; `jwks_url()` appends the fixed Keycloak path. A broker publishing a different `jwks_uri` would have followed the documented configuration and failed readiness. The contract is narrowed to what the code does and says what to set when that is not enough; bounded discovery is a change with its own failure modes and its own tests, and is not smuggled in under a docstring. `0002_migration_state.sql`'s comment also named a test that does not exist, and now names the one that does. **Registered, not done.** `/readyz` compares ledger versions and migration checksums and does not ask whether the six relations are still there, so an operator who drops `users` while leaving the ledger intact gets a 200. It is the same question the preflight now answers at the END of a run, one surface over, and `verify_runtime_access` is the call readiness would make. ## Review round 19 (Copilot review at `2c56b65`) — three findings, all measured, all real Classified: **3 FIX, 0 REPEAT, 0 out of scope, 0 answered by measurement.** Each fix carries a case that fails against the previous head. * **A libpq password holding a space was cut in half by the redactor.** `_DSN_SHAPED`'s `password\s*=\s*\S+` ends at whitespace, and libpq documents that a value containing spaces is written in **single quotes**, with `\'` and `\\` escaped inside. So the *valid* conninfo `password='secret value'` matched only `password='secret`, and this CLI printed `<redacted> value'` — half the password in the evidence, beside the marker that says it was removed. psycopg accepts an arbitrary conninfo and its driver errors quote it back, which is how a real failure arrives here. The pattern reads the quoted forms now; the closing quote is **optional** and neither quoted form crosses a newline, because a truncated message must redact more rather than less and must not swallow the next line of a multi-line error. `sslpassword` is named too — `\b` before `password` does not reach it, and a private key's passphrase is the same secret. The case also pins the non-over-match: `password=simple` still ends at whitespace and `passwordless=fine` is untouched. * **`search_path` resolution asks whether THIS ROLE may use a schema, not whether it exists.** Round 16 walked the whole configured path and probed the skipped entries against `pg_namespace` — which proves the schema is *there*. PostgreSQL skips an entry the session lacks `usage` on exactly as it skips an absent one, so an existing but unauthorized `tenant` left `missing` empty, the fallback `public` was accepted, and every statement of the run went to `public`. In a multi-tenant install the grant **is** the isolation. **Measured on postgres 16.15** as a role holding no grant on a schema that exists: `pg_namespace` count 1, `has_schema_privilege(current_user, …, 'usage')` false, `current_schema()` `public`. The probe asks `has_schema_privilege` now, and the refusal names which of the two it is because the remedy differs — create the schema, or grant usage. Against the previous head the DB-backed case does not refuse at all: it proceeds into `public` and is stopped only by an accident of that role's grants. * **The compose build context uploaded a filled-in `.env` to the docker daemon.** `context: ../..` is right — the Dockerfile installs this package from source — and the context is uploaded **before any instruction runs**. `deploy/compose/.env` is git-ignored, which is not a build-context rule, so its DSN and password travelled with every `docker compose … --build` even though the Dockerfile never copies it into the image. `.dockerignore` is an **allowlist**, so the property is structural rather than a list somebody has to extend: everything excluded, the Dockerfile's own `COPY` sources named back in, and the guard derives that list **from the Dockerfile** so the two cannot drift. **Measured with docker server 29.6.2** by copying the context into a `busybox` image — before, `/ctx/deploy/compose/` held `.env`; after, `/ctx` is exactly `README.md`, `migrations`, `pyproject.toml`, `src` — and the real image still builds and runs `opendox-runtime --help`. **And the figure block says which entries are history.** Round 18 on the sibling PR read a superseded entry as that branch's claim about its own head, and it had every reason to: each entry asserted currency in its own words, so only the note at the top of the block said otherwise. Every superseded entry says SUPERSEDED now, in the entry. **And its six suppressed comments: four real, two false and measured so.** * **The readiness probe made three pool checkouts under a budget for one.** `test_deploy_shape.py` derives the probe's `timeoutSeconds` from ONE `DEFAULT_CHECKOUT_TIMEOUT_SECONDS` plus the JWKS timeout and holds it strictly over both — and `/readyz` checked out for `select 1`, again inside `plan()` and again inside `drift()`, each of which calls `applied()`. A contended pool therefore made the probe wait three of those, kubelet cut the probe off mid-flight and the next one overlapped it. `plan()` and `drift()` take the connection `applied()` already accepted, and the probe holds one across every database question. The case counts checkouts, and against the previous head it says **"this probe checked out 3 pooled connections"**. * **120 attempts is not 240 seconds.** `socket.create_connection(..., timeout=2)` can spend its whole two seconds before the `sleep(2)` that follows, so the migration Job's counted wait ran for up to **480s** while the line it ends with — and the runbook that quotes it — said 240s. **Measured** against a non-routable address with the counts scaled down by 40: three attempts claiming 6s took **12.1s**, exactly twice. It is a `time.monotonic()` deadline now, and the case asserts both the shape and one real bounded run. * **A documented command carried a password in its own argv.** `--from-literal` puts the value in the shell's history file and in `/proc/<pid>/cmdline` for as long as `kubectl` runs — the same exposure the managed-database block one page down already avoided with `read -rs`, so two paths said different things about one secret. The install block reads into files under `umask 077`, passes `--from-file`, and removes them; **measured** with a `kubectl` on PATH that prints its own argv. The guard greps the runbook for any `--from-literal` whose key is secret-shaped. * **The managed-database path now ships the overlay it requires.** Pointing both DSNs at a managed database does not remove `postgres-statefulset.yaml` from the base, so that path started a second database nobody uses and failed on the `opendox-postgres` Secret it never creates. An overlay is the only place kustomize can remove a base resource. **Measured with kustomize v5.4.3**: `deploy/kubernetes/overlays/managed-database` renders the Namespace, both ConfigMaps, the runtime Service, the PVC, the Deployment and the Job — and none of `StatefulSet/opendox-postgres`, `Service/opendox-postgres` or `ConfigMap/opendox-postgres-init` — with `migration_wait_host` empty. * **False against the code.** `STDLIB_ONLY_MODULES` is reported to omit `opendox.runtime.identity`. It is line 43 of that tuple and has been since the module was added. * **False against PostgreSQL, and this is the second report of it.** `octet_length(d.body)` is held to detoast every candidate body, so that a 500-draft page still makes the database process ~500 MB. `textoctetlen` takes the raw length out of the varlena header — `toast_raw_datum_size` reads a **TOAST pointer**, not the chunks it points at. **Measured on postgres 16.15** over 200 rows of 1 MiB of incompressible ASCII, a 208 MB relation, best of three: | query | time | | --- | --- | | `sum(octet_length(body))` | **0.3 ms** | | `count(*)` | **0.3 ms** | | this act's windowed inner query | **0.7 ms** | | `sum(length(body))` (counts characters) | 463.5 ms | | `max(md5(body))` (reads the bytes) | 381.9 ms | Sizing costs what counting costs; reading is three orders of magnitude more. A DB-backed case drives the same shapes at a size a test can afford and asserts the ratio, with the measured ratio at that size ~36x against a 4x bar. ## Review round 20 (Copilot review at `2c56b65`) — one finding, and round 19's own fix is what left it Classified: **1 FIX, 0 REPEAT, 0 out of scope, 0 answered by measurement.** * **`"$user"` is exempt for being ABSENT, not for being unreachable.** Round 19 made every **named** entry ahead of the answer prove it is usable and left `"$user"` skipped unconditionally — and PostgreSQL skips an existing schema the role lacks `usage` on exactly as it skips an absent one. So a schema named for the role, present and denied, still fell through to `public`: the same silent fallback this function exists to refuse, wearing the default path's name. It goes through the same probe now, under the role's own name, and is forgiven only for **not existing**. The refusal says the entry came from `"$user"`, because that is not a name an operator can grep the DSN for, and the exemption is **positional** rather than by name, so a role whose name also appears as a later named entry does not get that entry forgiven with it. The case covers all four states — denied, absent, answering, and an entry after it judged on its own — and against the previous head the first **DID NOT RAISE**. ## Review round 22 (Copilot review at `a10bd08`) — two findings, one of them reported twice Classified: **2 FIX, 0 REPEAT, 0 out of scope, 0 answered by measurement.** * **No broker URL this runtime prints can carry a credential.** `oidc_issuer` and an explicit `oidc_jwks_url` are **public** endpoints — the issuer is what a token's `iss` is compared against, the key set is fetched unauthenticated — and `load_settings` accepted any string. Measured against the previous head with `OPENDOX_OIDC_ISSUER=https://svc:pw@broker/realms/x`: `load_settings` **accepted** it, `repr(settings)` printed it, `status` printed the **derived** `OPENDOX_OIDC_JWKS_URL` with it, and `status` printed `broker_discovery` with it — three printed credentials from a value that had never been a DSN, which is why the DSN-shaped redaction saw nothing. It is **refused at the door**, because redaction alone would make the evidence safe and leave `jwks_url()` — which the verifier actually fetches — pointing at a URL with a credential in it; and **redacted at both printing boundaries anyway**, because a `RuntimeSettings` built by hand does not go through that door. The host survives the redaction, for the same reason a push refusal keeps the host it could not reach. * **The managed-database overlay supplies the broker.** The base leaves `oidc_issuer` and `oidc_audience` empty on purpose — they are an environment's facts — so an overlay the runbook tells an operator to **build** must supply them or it renders a Deployment that fails `load_settings` before it serves. `overlays/dev` carries a worked example for exactly that reason; round 19's new overlay had none. The guard is derived from the base: every `oidc_*` the base declares empty must be supplied by **every** overlay, and every overlay must be named in the runbook, so one added later is covered by the rule instead of by somebody remembering. ## Review round 23 (Copilot review at `334b9b6`) — two findings, one defect Classified: **2 FIX, 0 REPEAT, 0 out of scope, 0 answered by measurement.** Compose interpolates `${VAR}` **before** the container sees the string, so both healthchecks turned an operator's `.env` value into code. * **`CMD-SHELL` made it shell source.** `OPENDOX_PG_USER=x; touch /tmp/pwned` ran in the Postgres container on every probe, and a value with a space silently became two arguments long before anything hostile was needed. It is exec-form `CMD` now — the interpolation stays, because the probe must follow the configured values, but each one is a single argument `exec` passes with no shell between. * **The application probe made it python source**, evaluated on every probe and before `config.load_settings` had looked at the port. The script is fi…



Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
DRAFT — the leg half of a RULED retirement. It lands after openxFactory's row amendment, never before (cutover runbook § 5.8 step 4: the
retired:block and this deletion are one act, andscripts/verify-carve-arrival.pyrefusesarrival-not-retireduntil the block lands).What this is
RULED
openxFactory#656comment 5656343213 (Brett Heap, 2026-09-13, by interactive multi-choice, on the question slice S8's author put in#656comment 5650335573 § 2) retires the three intent-feed suites at their legs. Two of them are here:tests/test_intent_tray_dom.pyviews/intent-feed.jsout of the bundle and DRIVES it under nodetests/test_wheel_verbs_dom.pydispose.jsimports it" and that the probe "drives the LOCAL path only — noopts.intentis ever passed". What it drives is the wheel's verbsNEEDING is not DRIVING, and the difference is measured in the files before they are deleted (Copilot's review of this pull request raised it twice, and openxFactory#1043's rounds 17-19 carried it through the grammar): saying both suites drove that module would credit the wheel suite with coverage it never had, which is the one thing a retirement's record must not do — after the deletion, this message and the manifest's
retired:note are the account that survives.surface:in the manifest asks what an arrival NEEDED and cannot obtain, which both rows answer; only one of them answers "drove".views/intent-feed.jsis RULED OQ-Fnot_moved— it STAYED at openxFactory and arrived at neither leg — and § 3.4 slice S2 replaced the surface openDox does have withviews/intent-binding.js(RULED Q5,#656comment 5642758731). Both suites test a surface that is not there, which is why both have been narrowed out ofvalidate.yml's selection since the leg landed. The ruling retires them as a DECLARED act rather than leaving them as tests nobody runs of a file nobody has.What is in this pull request
.github/workflows/validate.yml,tests/test_intent_binding_dom.py,tests/test_intent_binding_shape.pyandtests/test_view_registry.py. None of the four is a carve row; all four were authored here, so no declared-edit class is owed for them. Historical references — "this instrument came from X" — stay, with the word § 5.8 asks for so a reader knows the file is RETIRED rather than missing. No test behaviour is touched: the edits are comments and docstrings.validate.yml's comment also lost a claim that was simply FALSE, found by Copilot on this pull request: it said the DOM probe stays off the list because no DOM probe of aweb/view is on it, and three listed files are exactly that (test_view_registry.pymountsviews/view_extension.jsandviews/docs.jsunder node behind its ownclass Node;test_split_route_tails.pyinstalls aglobalThis.document;test_gate_loop_contributed.pymounts contributed panels through the registry). The comment now states what the list actually is — an allow-list whose every entry is either RULED Q-L5 (b′)'s shape assertion or the slice's only RUNNING proof — and why slice S2 is in neither position for a second instrument.KNOWN COST — two sentences inside CARVED files, and they stay
tests/test_account_menu_dom.py:4 sends a reader totest_wheel_verbs_dom.pyfor the DOM shim, andtests/test_doxbench_tile_verbs.py:19 names it as an instrument in use. Both files ARRIVED with the carve, and at a leg every line on which an arrived file differs from its carve blob must be declared in its openxFactory row under one of RULING OQ-1's three CLOSED classes —import rewrites,path constants,adapter calls. A comment naming a retired sibling is none of the three, and filing it as one would put a false description in the floor's own record to make a comment read better.Not a guess about the verifier — run against a destination carrying only that one edit:
So the repair was made, and then withdrawn. The second sentence is the sharper case: it names
test_wheel_verbs_dom.pyANDtest_staging_workbench.py, andtest_staging_workbench.pyarrived at openXdox-code, not here — so before this act that sentence already named one file a reader of this repository could not open, and after it names two. What would move either: a ruling widening OQ-1's class vocabulary, or some other act amending those rows for a reason the vocabulary already covers.The cost is declared on both sides of the boundary rather than in one place a reader of the other would never see: here, in
validate.yml's comment; and at openxFactory, in cutover-runbook § 5.8's residue list (PR #1043).Merged forward onto § 3.4 slice S7
openDox-code#21 landed (
1e46971) while this pull request was open, and it EDITED one of the two files this act deletes —tests/test_wheel_verbs_dom.py, three lines. Themodify/deleteconflict is resolved by keeping the DELETION: a ruling that retires an arrival is not undone by a later edit to the file it retires.What that means at the floor is the interesting half. openxFactory PR #1030 (S7's annotation, landed at
b3a75537) added anadapter callsentry at carve line 310 to that same row, so the row now declarespath constants [26]ANDadapter calls [310]— and the file is about to be absent here. That is lawful, and it is what the form is for:verify-carve-arrival.pydrops a RETIRED row before it asks anything of the destination, so a declaration on a row whose arrival a ruling deleted is CARRIED, not applied. The row goes on recording what the carve moved and what each ruling did to it, which is the whole reason a retirement is a field rather than a deletion of the row.Merged forward onto § 3.4 slice S8, which reasoned about the two files this act deletes
openDox-code#23 landed (
0b4e8bbf, 2026-09-16 01:23 UTC) and un-narrowed this leg's required check from ten files to 27 (283 → 694 tests) — and it did that by arguing, in prose, about the two suites this pull request removes. Both merge conflicts are therefore comments, and both resolve the same way: take main's text, which carries what S8 landed, and fold in this act's two corrections, re-tensed. What this branch previously said about the two siblings "staying off the list" is WITHDRAWN: main says the opposite and main is right..github/workflows/validate.yml. Main's paragraph ends by saying the two siblings are "still deliberately omitted, MEASURED and not assumed", with the measurement attached (test_intent_tray_dom.py23 failed,test_wheel_verbs_dom.py8 failed, each run alone at that head). That reasoning assumed they still EXIST. It is replaced from that sentence on: they are not omitted, they are RETIRED, and S8's reason was the right answer to the question S8 could ask — should the list name them — where the ruling answers a different one, should they be here at all. Withdrawn with it: this branch's "FOUR files ON this list are exactly that" count, "S8 un-narrows what remains", and "Admitting behavioural probes as a CLASS is slice S8's job, not S2's" — S8 did it, and the list is 27 files.tests/test_intent_binding_dom.py's module docstring. Main's list paragraph is taken and re-tensed the same way. Two paragraphs of this branch are KEPT because main carries neither: the_DOM_SHIMprovenance paragraph — the INSTRUMENT was inherited from the two retired suites, the COVERAGE was not, measured at BOTH ends, because the wheel suite's list moved between them — at8efb3cf5the tray suite copieddispose.js,helpers.jsandintent-feed.jsand the wheel suite those pluswheel-model.js, and by the commit this act deletes slice S7 had addeddisplay.jsto the wheel suite's_runlist as well (Copilot's round at the merge-forward head, fixed at4fab726). The union is five distinct modules and not one of them is thewheel.js+intent-binding.jspair this file drives — and "Nothing here reads a module's SOURCE", which lands inside the conflict on this side only because this branch moved it. Main's claim thattest_intent_tray_dom.pyis "the carried-over test of this SAME pair of views" is the one that provenance paragraph disproves, and it is dropped.The residue paragraph is kept and gains one measured sentence. Of the two files whose comments still name a retired sibling,
tests/test_account_menu_dom.pyis now ON the un-narrowed list andtests/test_doxbench_tile_verbs.pyis not. That changes nothing: the reason neither is repaired is the CLOSED edit-class vocabulary of RULING OQ-1, not whether the required check runs the file.This strengthens the act rather than weakening it. "There is no narrowed sibling left to un-narrow here" stopped being a prediction about a pull request in flight and became a measured fact about a landed selection.
Evidence
validate.yml's own selection, run exactly as the workflow runs it (package installed withpip install -e ".[test]",--noconftest): 694 passed at this merged head — the list is 27 files since slice S8, and 694 is the same figure S8's own title states, reached here with both retired suites DELETED. The selection is byte-identical to main's and this pull request's change to the workflow is COMMENT-ONLY:diffof main's file and this head's, comment lines stripped from both, prints nothing. (Before the merge-forward it read 294 passed on S7's ten-file list, and 253 passed / 1 xfailed on the nine-file list before that — the figure moved with the LIST, never with this act.)verify-carve-arrival.py --destination opendox_code --dest-root <this head> --phase B --replica-at tests/ideation-dashboard/conftest.py=tests/conftest.py):OK … 117 row(s) arrived … 2 row(s) RETIRED here by ruling and verified absent (RULED 5656343213)— re-measured after the S7 merge-forward, in a tree carrying both this act's manifest rows and S7's landed annotation. Against this repository'smain, where the two files still exist, the same run refusesarrival-not-retired— which is exactly the ordering this pull request waits on..py .yml .yaml .toml .cfg .md .json .js; the rootconftest.pycollect_ignorelist does not name them;tests/test_leg_shape.pyasserts scaffold files, not a test census;tests/fixtures/web_boundary_census.yamlcensusessrc/opendox/web/, nottests/).astrather than grep. Over all 27 files of S8's LANDED selection, read at this merged head: noimportoftest_intent_tray_domortest_wheel_verbs_domanywhere, and no string literal naming either outside a docstring — so no listed test imports one, and none builds a path to one either. The four docstring mentions that remain are three of this act's own files (test_intent_binding_shape.py,test_view_registry.py,test_intent_binding_dom.py) plus the one declared residue,tests/test_account_menu_dom.py:4. Both retired files are absent from the tree.tests/test_intent_binding_dom.py— whose_DOM_SHIMprovenance paragraph names them as the historical source of its shape — andtests/test_view_registry.py, which already says "before it was RETIRED at this leg". That is not the whole family of node-driven DOM probes on the allow-list:tests/test_split_route_tails.pyandtests/test_gate_loop_contributed.pydrive realweb/modules under node too, each behind a stand-in of its own and neither inherited from the suites this act deletes.WIP … unverifiedmessage written by the lane's orchestrator when the authoring actor hit its usage limit. Its content is verified above — comment-only invalidate.yml(the nine-file list byte-unchanged) and docstring-only in the two intent-binding suites, none of the three a carve row — and the pull request is squash-merged, so the landed message is this body.Order
openxFactory's row amendment — the
retired:blocks on these two rows, PR #1043, stacked on #1032 (the form) — lands FIRST. Then this. Until thenverify-carve-arrival.py --destination opendox_codeis the check that says so.Refs openxFactory#656 (stays OPEN). RULED 5656343213; RULED OQ-F (
#656, 2026-09-09). CLAIM:openxFactory#656comment 5656690570.🤖 Generated with Claude Code
Summary by Sourcery
Retire the obsolete intent-feed DOM suites and align validation and coverage documentation with the surviving intent-binding tests.
Enhancements:
Tests:
Chores: