Skip to content

Record Merge Master review routing proof - #26

Merged
brettheap merged 2 commits into
mainfrom
feat/live-factory-merge-master-router
Jun 26, 2026
Merged

brettheap merged 2 commits into
mainfrom
feat/live-factory-merge-master-router

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Summary

  • mark the Merge Master dry-run/human-review routing task complete
  • add evidence for low/medium/high risk policy, no-direct-merge limits, and Hermes group review routing

Tests

  • OPENSPEC_TELEMETRY=0 openspec validate enable-live-openworkflow-factory --strict
  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict
  • git diff --check
  • ./scripts/smoke-merge-master-docs.sh (Omnigent-Install)
  • ./scripts/smoke-hermes-groups-api.sh (Omnigent-Install)

Copilot AI review requested due to automatic review settings June 26, 2026 05:49

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

@brettheap
brettheap merged commit 2942bbf into main Jun 26, 2026
@brettheap
brettheap deleted the feat/live-factory-merge-master-router branch June 26, 2026 05:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Records completion of the “Merge Master dry-run human-review routing” verification within the enable-live-openworkflow-factory OpenSpec change, and adds a dedicated Phase 7b evidence artifact capturing the dry-run governance routing proof.

Changes:

  • Mark task 7.4 (“Merge Master dry-run classifies low/medium/high risk and routes human review”) as complete.
  • Add Phase 7b evidence documenting risk policy coverage, Hermes review-route/group resolution, and the “no direct merge / branch protection remains final” constraints.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
openspec/changes/enable-live-openworkflow-factory/tasks.md Checks off the remaining Merge Master dry-run routing verification task (7.4).
openspec/changes/enable-live-openworkflow-factory/evidence/phase-7b-merge-master-human-review-router.md Adds Phase 7b evidence write-up with commands run, policy coverage table, and acceptance checks for routing behavior.

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

Copilot AI review requested due to automatic review settings June 26, 2026 05:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

brettheap pushed a commit that referenced this pull request Aug 27, 2026
…o tests that asserted nothing

All nine non-satisfied audit rows are closed. Suite 1077 -> 1115.

THE MUTATION ROUND EARNED ITS PLACE. Thirty perturbations; two of them killed
no test, and both were real:

- #15 stripped the backticks from `contract-v1.45` in BOTH canon and the block.
  `test_no_unit_boundary_falls_inside_a_versioned_token` SURVIVED, because it
  only asserted the token was ABSENT from the ledger — and when a boundary moves
  on both sides at once, the two halves still match, nothing is reported, and
  the negative assertion holds. A negative cannot see a symmetric break. The
  test now asserts POSITIVELY on canon's own derivation: each of the three
  tokened sentences is exactly ONE body unit with its whole token inside it.
- #29 dropped the `kinds` filter from `_units`. Every U-class test SURVIVED,
  because each re-filters by kind afterwards. Added
  `test_the_u_class_helper_reads_the_same_set_as_the_ledger_arm`, which parses
  the arm's OWN stated numerator and denominator out of the finding it emits
  ("does not carry N of the M body units") and requires `_units` to agree —
  measured 17 of 28 on #329 where the unfiltered helper gives 24 of 36.

After both fixes: 28 of 30 mutants killed, 0 survivors. The two N/A rows are
pure test-body assertions with no fixture to perturb, and are recorded as N/A
rather than counted as kills.

ROWS CLOSED

- A3 § 3.3, the one TRUE hole — `merge-gut`. A four-bullet scenario merged
  away with two bullets carried: the ledger names exactly the two uncarried,
  the scenario arm is quiet, no marker defect. The companion declares those two
  in a `Removed from canon` marker (one of them cites `openxFactory`, so its
  span needs a longer fence) and goes silent — and the silence is PROVEN caused
  by removing the marker and watching the noise return.
- A5 § 3.4 — prefix and both-ends widening (T033), plus the real #351 instance
  end to end (T014).
- A6 § 3.5 — `tokens`: `.openspec.yaml`, `promotion_fidelity.py` and
  `contract-v1.45` (period between digits, the shape F1 lacked), a three-item
  bullet list, and a FOUR-sentence dated note restated with its THIRD sentence
  amended, reported ONCE.
- A7 § 3.6 — `rewrap`: a complete restatement re-wrapped at varying widths,
  one paragraph mid-sentence and one bullet after its `**THEN**`. Returns [],
  and is shown NOT skipped.
- A10 § 3.7c — the form anchor read off the REAL packet file: its two `- `
  template bullets are not marker-form. This is what the row claimed and
  nothing asserted.
- A11 § 3.7d — `fence`: the same clause named with a double-backtick fence
  (suppresses the whole unit) and with a single backtick (names a fragment,
  suppresses nothing, clause reported). The pair is what makes the rule
  falsifiable.
- A15 § 3.10 — `name-order`: `add-zz-first` DECLARES and is therefore the later
  writer while sorting LAST by name. The finding lands on its path and names
  `add-aa-second`'s DELTA as the basis, so the substitution is visible in the
  finding. Under name-ascending ordering the roles invert and the test fails.
- A18 § 3.13 — determinism over all thirteen trees, non-empty first.

ONE TASK EXPECTATION WAS WRONG AND IS CORRECTED, not worked around: tasks.md
T042 predicted the single-backtick marker would ALSO be reported as a marker
defect. It is not, and should not be — the delta reports a marker only where it
names a unit the block STILL CARRIES; a name matching no canon unit declares
nothing and is silent, per `suppression()`'s three-way resolution. The test
asserts the correct behaviour and the fence README explains why.

NO MODULE CHANGE. `git diff --stat <merge-base> -- scripts/ openspec/ .github/`
is empty. Mutants #26, #27 and #30 edit the module deliberately and are reverted
in the same working step, never committed.

Co-Authored-By: Claude Opus 5 <[email protected]>
brettheap added a commit that referenced this pull request Aug 27, 2026
#329 reconstructed from history, nine audit gaps closed, no behaviour added (#426)

* Speckit F2 specify: the regression-fixture catalogue is an audit first, then six gaps

`add-modified-block-currency-check` § 3 (3.1-3.13) is this feature's whole
scope. F1's implementation review found F1 already realizes every scenario of
the ratified delta with a test, so F2 is an AUDIT of those 97 tests against
§ 3 item by item, plus RED-first tests for what the audit finds gapped — and
no behaviour added to the module.

The two histories § 3.1 and § 3.2 ask for were VERIFIED RECOVERABLE before
this spec was written, and both reconstructions were run through the family:

- #351 — `add-doxchat-model-intake`'s pre-repair block and the canon of
  2026-08-25, both at bcfc26a (parent of the repair f68261f, merged
  87d0b95 / PR #358). The scenario arm names exactly `The menu offers a
  routing rule` and `A fourth provider verb is proposed`; the ledger carries
  the repair commit's clauses, the reverted `every loaded editor` line, and
  canon's badges bullet — which the block's replacement contains verbatim as
  a strict prefix, the REAL instance of the widening mechanism.
- #329 — `add-release-inventory-drift-check`'s pre-archive delta and canon,
  both at d5f447e (parent of the archive 38b548d, merged b03b999 /
  PR #331). One of eight scenarios restated, seven brought by its own ADDED
  requirement, file-level count flat at eight on both sides, seven titles
  named.

Nothing needs synthesizing for 3.1 or 3.2. Zero [NEEDS CLARIFICATION]: every
candidate ambiguity is settled by the packet, the delta, an orchestrator
decision or measured evidence, and each is recorded in Assumptions A1-A9 with
what settles it. A1 and A2 are the two that shape every assertion — the
human's "six clauses" live inside THREE normative sentence units, and the
rendered ledger truncates each unit, so full clause text is asserted on the
units the comparison returns rather than on the rendered string.

Co-Authored-By: Claude Opus 5 <[email protected]>

* Speckit F2 plan: 18 audit rows over 14 items, and both histories recovered before the plan was written

`contracts/coverage-audit.md` is the deliverable of this phase and the single
home for the § 3 -> F1-test mapping. Taken from the LANDED test file, not from
F1's plan, its hand-off, or its spec's Out of Scope, all three of which
disagree about what F1 covers (research R10; the hand-off wins, being later
and consistent with decision D4).

18 rows for 14 items — § 3.7 carries eleven distinct obligations and needs
five of them. 10 satisfied, 1 satisfied-and-extended, 4 partial, 3 gapped.
Six new fixture trees and two unit-level assertions close the seven
non-satisfied rows.

Measured, not assumed (research R2), by building both reconstructions and
calling the family on them:

- fixture A (#351 @ bcfc26a): 2 findings. One `warning` naming exactly
  `The menu offers a routing rule` and `A fourth provider verb is proposed`;
  one `info` listing 11 of canon's 25 units — 3 body sentences carrying the
  repair commit's five body clauses, the reverted `every loaded editor` line,
  the drifted hosted-plane line, and canon's badges bullet, which the block's
  replacement contains as a STRICT PREFIX. That last is § 3.4's mechanism in
  the real history, and F1 had no end-to-end case for it.
- fixture B (#329 @ d5f447e): 2 findings. One `warning` naming all seven
  omitted titles; one `info` listing 17 of 28 units. Canon 8 scenarios, delta
  FILE 8 scenarios, fires anyway.

Two readings that shape every assertion, both promoted to research items
rather than left to the implementer: § 3.1's "six body clauses" are five
human-named clauses lying inside THREE normative sentence units (R3), and the
ledger truncates each unit at 140 characters, so full clause text is asserted
on the units the comparison returns and the rendered finding is asserted on
its quoted prefixes (R4). `data-model.md` § 4 makes that the U/F assertion
discipline every test obeys.

Four decisions taken here and flagged for veto beside the five given: O1 one
new test file rather than growing F1's 1400-line one; O2 the re-spelled
finding classifiers pinned by a PARTITION invariant instead of a cross-file
import; O3 a reconstruction freezes the REQUIREMENT verbatim, not the 279 KB
file; O4 the delta side is copied WHOLE, because § 3.2's flat count lives in
its ADDED section.

Constitution gate IV caught one real violation while running: quickstart.md
carried a host-absolute worktree path. Rewritten repo-relative.

Co-Authored-By: Claude Opus 5 <[email protected]>

* Speckit F2 tasks: 61 tasks, 28 of them tests, and a two-stage RED for the assertions that carry the feature

RED-first is the point of this feature, so the convention is written down
rather than assumed. A fixture test written before its fixture fails by ERROR,
which proves nothing about the assertion — so the rows that carry the feature
use a two-stage RED: stage 1 the test errors with no fixture; stage 2 the
fixture is built and then PERTURBED in the one way that matters (the omitted
scenario restored, the widened bullet replaced by canon's, the gutted merge
bullets carried, the note's third sentence un-edited, a re-wrapped paragraph
altered) and the test must fail on its ASSERTION. T058's mutation round
re-runs every stage 2 mechanically.

Two tasks record honestly that they have NO pre-state RED — T033's containment
widenings and T051's scope snapshot are green the moment they are written, so
their evidence is the mutation round and the task says so instead of claiming
a RED that did not happen.

Phase order follows the audit's severity rather than § 3's numbering: US1 the
two reconstructions (MVP, and a legitimate terminal state), US2 the audit
(independent of every fixture, so it can go first if the reconstructions
stall), US3 the merge-gut — the one TRUE hole, where a refactor could silently
permit an undeclared bullet deletion — then US4's four narrowings, then US5.

T053 is an OPEN DEFECT SLOT, per orchestrator decision D1: if a fixture found
the family behaving other than the ratified delta states, it gets its own task,
its own RED and its own PR line as a defect, never a fixture adjustment. If
nothing fired the task says so and says what was checked.

T052 makes D1 mechanically checkable — `git diff --stat origin/main --
scripts/ openspec/ .github/` must be empty — and T002 blocks everything on the
base still being unmoved, because an audit of a file that has since moved is
worse than no audit.

Co-Authored-By: Claude Opus 5 <[email protected]>

* Speckit F2 analyze: zero CRITICAL, six findings, and the validation guide validated nothing

The pass earned its keep on F1. Four of `quickstart.md`'s `-k` selectors were
written on TREE names — `history_351`, `history_329`, `merge_gut`,
`containment` — none of which appears in any test name tasks.md writes. Every
one of those commands would have selected zero tests and exited 5, so the guide's
three most important steps validated nothing. Selectors rewritten against the
real names, and T056 now checks that each picks a non-zero count.

F2 is the defect this repo keeps paying for, caught in its own plan: plan.md
carried a second inventory of test NAMES, five already drifted from tasks.md's
spelling and four tasks.md tests missing from it. The inventory is deleted;
tasks.md is the one home for the figure (62 tasks, 29 [TEST], 30 functions).

F4 is the one that mattered most for correctness. FR-002 and FR-008 were
carried only by T059's prose, and FR-002's other half — that a `satisfied`
verdict is ACTUALLY satisfied — was checked by nothing: T024 proves a cited
test name exists, not that it asserts what the row claims. T059 is now four
numbered concrete steps, including a spot-check of every one of the ten
`satisfied` rows against the cited test body, and FR-008's count check as a
literal grep with a declared exception list.

F6: T037's "RED stage 2" asserted that a test STILL PASSES, which is not a RED.
It conflated two properties — the mask governs where units END, and says
nothing about whether two units are equal. T034 and T036 each get a real stage
2 (strip the backticks from `contract-v1.45`; un-edit the note's third
sentence), and the conflated property becomes T037a.

F3 and F5 are small: US2's acceptance covered `gapped` but not `partial`
although four rows are partial, and T022 left `<repo root>` unexpanded.

Recorded and NOT fixed, because it cannot be: the audit's ten `satisfied`
verdicts rest on a human reading of F1's test bodies. If one is wrong, this
feature ships a hole it believes it closed. plan.md says so in those words.

Also recorded: origin/main advanced nine commits since the 19e3f6b branch
point, and the diff over every audit input is EMPTY, so the base holds. Not
rebased. T002 re-runs that diff before any other task.

Suite unchanged at 1077 — nothing is implemented this round, by instruction.

Co-Authored-By: Claude Opus 5 <[email protected]>

* Plan review fixes: two of my own `satisfied` verdicts were wrong, and I quoted a hedge the packet does not contain

Seven blockers and sixteen nits from the coordinator's plan review, all applied.
Two of them are findings against this feature's own audit, and both are the
exact failure its closing note predicted — a row citing a test whose NAME
matched the obligation and whose BODY did not discharge it.

B6 — A15 (§ 3.10) re-verdicted `partial`. F1's cited
test_no_date_folder_or_created_field_decides_the_ordering says in its OWN
docstring that its fixture "sorts BEFORE … by name and by any date a fixture
could carry, and the declaration points the same way", so it cannot be the test
§ 3.10 asks for; its structural grep forbids date readers and forbids NOTHING
about folder or change-id name, which the delta prohibits in the same breath.
A build sorting the ratified group by b.change passes every F1 test. New tree
`modified-block-currency-name-order` + T043a/T043b: `add-zz-first` is the
DECLARER and therefore the later writer, so it sorts LAST by name and the test
fails under name-ascending ordering. Test-only.

N8 — A10 (§ 3.7c) re-verdicted `partial`. Its cell claimed "the anchor is
asserted against this packet's OWN delta prose" and nothing was: F1's
fenced-example test asserts over a fenced block written in its own test body,
and the packet sets its two templates out as `- ` BULLETS, which are carriage
units the fenced exemption never reaches. T043c reads the real file.

B4 — research.md and plan.md QUOTED § 3.2 as hedging "reconstruct … if
recoverable, else synthesize faithfully and say so". grep over the ratified
packet finds no such words; the phrasing came from the session brief. Removed
everywhere, attributed to decision D2 where it lives, and T021 reworded so the
fixture README states the true history positively — caught pre-commit,
rewritten inside archive commit 38b548d, recoverable at its parent d5f447e —
instead of denying a revert no ratified document asserted.

B7 — measured the classifier collision rather than assuming O2 worked: the
obvious key `"declaration"` matches 3 findings across TWO classes (one marker
defect, both blocks of the mutual-declaration pair). T008 now names five keys,
each a fragment of one arm's f-string, verified to partition all 24 findings
over the eight trees with none in two classes and none in zero.

B3 — ten tests had no stage-2 perturbation and T058's prose list never reached
them. T011's evidence line now names five perturbations for five tests, and
T058 is a 30-row table: perturbation, test that MUST fail. Rows 27 and 30 touch
scripts/ and say so — applied in the working step, never committed.

B1 — the audit cited a whole superseded task numbering after tasks were
renumbered. Every last-column id re-mapped and verified to exist; T023 now
checks task-id VALIDITY and the verdict tallies, not just item coverage.

B2 — T024 and quickstart § 6 harvested `test_[a-z0-9_]+` over the whole audit,
which eats the MODULE basename `test_modified_block_currency` from the prose
path: permanently red, and T004 would have sent the implementer to "fix the
audit" for a defect in the harvester. Backticked spans only, plus a >30 floor
so a regex matching nothing cannot pass.

B5 — the provenance template could not satisfy T044: the SHA sat on line 42 and
line 3 read "Not synthesized". SHA hoisted into line 3; T044's SYNTHESIZED
match is case-sensitive and whole-word; "two lines" vs "three" reconciled.

Nits: real byte sizes (228,041 and 50,505, not "279 KB … comparable"); f68261f
CLAIMS six body clauses and NAMES five, so the five named are what is asserted;
`_units` mirrors the ledger's kind filter (unfiltered gives 24/36 on #329 vs
the ledger's 17/28); T058 not T060 is the mutation round; T037 out of the [TEST]
list; the count-exception list gets ONE home in data-model.md § 4 with T035's
"exactly two body units" added; quickstart § 4 selector reaches T037a and the
new tests; T022 discriminates shallow-vs-disagree with `git rev-parse
--is-shallow-repository` per test_ideation_readiness.py; A12 clause 7's silence
comes from whole-scenario suppression, not from the survivor; T051 drops its
duplicate of F1's FAMILY_NOTES assertion; T049/T050 assert non-empty first; the
nine-commit figure is re-measured at T002 rather than quoted.

N11 — F1's four residues (plus a docstring that undercounts its own fixture)
appended to specs/019-modified-block-currency-family/tasks.md, which is where
F1's owner reads. No issue filed.

Audit now: 18 rows, 8 satisfied / 1 extended / 6 partial / 3 gapped; nine rows
for F2 to close. 66 tasks, 31 [TEST], 32 test functions, seven new trees.

Co-Authored-By: Claude Opus 5 <[email protected]>

* F2 phases 1-3: #351 and #329 frozen in their own text, and nine mutants killed

The two defects that motivated `add-modified-block-currency-check` can no longer
regress silently. Both fixtures are REAL TEXT recovered from this repository,
not shapes:

- #351 @ bcfc26a (parent of the repair f68261f, merged 87d0b95 / PR #358).
  One `warning` naming exactly `The menu offers a routing rule` and `A fourth
  provider verb is proposed`; one `info` listing 11 of canon's 25 units.
- #329 @ d5f447e (parent of the archive 38b548d, merged b03b999 / PR #331).
  One `warning` naming all seven omitted titles; one `info` listing 17 of 28;
  canon 8 scenarios and delta FILE 8 — flat, and the family fires anyway.

`test_the_reconstructed_fixtures_are_the_history_they_claim` re-derives both
from git rather than trusting the files: the delta side byte-for-byte, the canon
side scoped to the requirement section, with shallow-vs-disagree told apart by
`git rev-parse --is-shallow-repository` per test_ideation_readiness.py.

STAGE-2 RED EVIDENCE — nine perturbations applied, each named test failed, all
reverted; no mutant survived:

  1 restore `The menu offers a routing rule` into the 351 block -> T010 failed
  2 delete the broker-lane sentence from the 351 CANON           -> T012 failed
  3 restore `every loaded editor MUST remain usable`             -> T013 failed
  4 un-widen the 351 badges bullet to canon's verbatim           -> T014 failed
  5 rename the 351 fixture repo dir                              -> T015 failed
  6 corrupt one byte of the 351 delta fixture                    -> T022 failed
  7 restore one omitted scenario into the 329 block              -> T017 failed
  8 add an eighth scenario to the 329 delta FILE                 -> T019 failed
  9 carry canon's `Four of the seventeen` sentence in the block   -> T020 failed

T014 closes audit row A5(b) on the REAL instance: canon's badges bullet is a
strict PREFIX of the block's replacement, and the test checks that prefix
relation in its own body rather than claiming it in a docstring — so a fixture
edit that broke the premise cannot leave the test passing while testing nothing.
That is the packet's § 6.4 residue, the finding PR #358's manual verification
reported, and F1 had no end-to-end case for it.

Phase 2's harness carries decision O2's partition invariant, and it is measured
rather than assumed: `test_the_naive_declaration_key_would_collide` records as
an executable fact that keying the marker class on `"declaration"` reaches the
mutual-declaration ORDERING finding too, so a later session cannot "simplify"
the five keys back into a collision.

`_units` mirrors `_arm_ledger`'s kind filter, without which a U-class assertion
reads 24 of 36 on #329 where the ledger reads 17 of 28.

Suite 1077 -> 1089. The one RED remaining is deliberate:
test_the_tree_enumeration_finds_every_tree requires all seven new trees and
five are still to come.

Co-Authored-By: Claude Opus 5 <[email protected]>

* F2 phases 5-8: seven trees, 38 tests, and the mutation round found two tests that asserted nothing

All nine non-satisfied audit rows are closed. Suite 1077 -> 1115.

THE MUTATION ROUND EARNED ITS PLACE. Thirty perturbations; two of them killed
no test, and both were real:

- #15 stripped the backticks from `contract-v1.45` in BOTH canon and the block.
  `test_no_unit_boundary_falls_inside_a_versioned_token` SURVIVED, because it
  only asserted the token was ABSENT from the ledger — and when a boundary moves
  on both sides at once, the two halves still match, nothing is reported, and
  the negative assertion holds. A negative cannot see a symmetric break. The
  test now asserts POSITIVELY on canon's own derivation: each of the three
  tokened sentences is exactly ONE body unit with its whole token inside it.
- #29 dropped the `kinds` filter from `_units`. Every U-class test SURVIVED,
  because each re-filters by kind afterwards. Added
  `test_the_u_class_helper_reads_the_same_set_as_the_ledger_arm`, which parses
  the arm's OWN stated numerator and denominator out of the finding it emits
  ("does not carry N of the M body units") and requires `_units` to agree —
  measured 17 of 28 on #329 where the unfiltered helper gives 24 of 36.

After both fixes: 28 of 30 mutants killed, 0 survivors. The two N/A rows are
pure test-body assertions with no fixture to perturb, and are recorded as N/A
rather than counted as kills.

ROWS CLOSED

- A3 § 3.3, the one TRUE hole — `merge-gut`. A four-bullet scenario merged
  away with two bullets carried: the ledger names exactly the two uncarried,
  the scenario arm is quiet, no marker defect. The companion declares those two
  in a `Removed from canon` marker (one of them cites `openxFactory`, so its
  span needs a longer fence) and goes silent — and the silence is PROVEN caused
  by removing the marker and watching the noise return.
- A5 § 3.4 — prefix and both-ends widening (T033), plus the real #351 instance
  end to end (T014).
- A6 § 3.5 — `tokens`: `.openspec.yaml`, `promotion_fidelity.py` and
  `contract-v1.45` (period between digits, the shape F1 lacked), a three-item
  bullet list, and a FOUR-sentence dated note restated with its THIRD sentence
  amended, reported ONCE.
- A7 § 3.6 — `rewrap`: a complete restatement re-wrapped at varying widths,
  one paragraph mid-sentence and one bullet after its `**THEN**`. Returns [],
  and is shown NOT skipped.
- A10 § 3.7c — the form anchor read off the REAL packet file: its two `- `
  template bullets are not marker-form. This is what the row claimed and
  nothing asserted.
- A11 § 3.7d — `fence`: the same clause named with a double-backtick fence
  (suppresses the whole unit) and with a single backtick (names a fragment,
  suppresses nothing, clause reported). The pair is what makes the rule
  falsifiable.
- A15 § 3.10 — `name-order`: `add-zz-first` DECLARES and is therefore the later
  writer while sorting LAST by name. The finding lands on its path and names
  `add-aa-second`'s DELTA as the basis, so the substitution is visible in the
  finding. Under name-ascending ordering the roles invert and the test fails.
- A18 § 3.13 — determinism over all thirteen trees, non-empty first.

ONE TASK EXPECTATION WAS WRONG AND IS CORRECTED, not worked around: tasks.md
T042 predicted the single-backtick marker would ALSO be reported as a marker
defect. It is not, and should not be — the delta reports a marker only where it
names a unit the block STILL CARRIES; a name matching no canon unit declares
nothing and is silent, per `suppression()`'s three-way resolution. The test
asserts the correct behaviour and the fence README explains why.

NO MODULE CHANGE. `git diff --stat <merge-base> -- scripts/ openspec/ .github/`
is empty. Mutants #26, #27 and #30 edit the module deliberately and are reverted
in the same working step, never committed.

Co-Authored-By: Claude Opus 5 <[email protected]>

* F2 closing: the audit is self-checking, T053 fired nothing, and two verdicts of my own were wrong

All 66 tasks complete. Suite 1077 -> 1115 (+38). `openspec validate --all
--strict` 75/0, unchanged. Scope diff against the merge-base: empty.

THE AUDIT NOW READS ITSELF. Three tests in the new file open
contracts/coverage-audit.md and fail on it: every backticked test name it cites
must be defined (floor of thirty harvested, so a regex matching nothing cannot
pass); all fourteen § 3 items must appear in the `§ 3 item` column with exactly
one bolded verdict per row and the four tallies matching the row bodies; and
every T0NN in the last column must exist in tasks.md. That third test exists
because this audit shipped once citing a whole superseded task numbering.

Appending the closing ledger broke two of those three immediately — the ledger
cites F2's own tests, and its table repeats the row ids with unbolded verdicts in
a different layout, so the harvest and the row count both went wrong. Fixed by
reading both test files and by selecting main-table rows on the presence of a
BOLDED verdict. A self-check that cannot survive its own file being extended is
not a self-check.

T053 — NOTHING FIRED, and the scope of that claim is written down rather than
implied: the scenario and ledger arms on real historical text; marker
suppression in all three branches of its resolution; the `Merged into`
titles-only rule; the fence rule in both directions; basis substitution under a
declaration; the sentence mask on three token shapes; normalization over a fully
re-wrapped block; skip-vs-quiet; determinism and the advisory band over all
thirteen trees. No module defect. What was found is F1 DOCUMENTATION residue,
already appended to F1's tasks.md.

T059's adversarial pass, run rather than described. Its one finding went the
other way: tasks.md T042 predicted a marker defect the module correctly does not
emit. A name matching no canon unit declares nothing and is silent, per
`suppression()`'s three-way resolution. The task was wrong, the module is right,
and the task is corrected in place rather than the fixture bent to match it.

Also corrected in place: T052 compared against `origin/main`, which had moved 18
commits past this branch's base — so the scope check reported that branch's own
progress as 13 files and 2,443 deletions this feature had supposedly made. It
now uses `$(git merge-base HEAD origin/main)`, and against that it is empty.

The count-exception list in data-model.md § 4 is now the real list, grown by
what implementation actually needed: T024's thirty-name floor, T023's eighteen
rows and four tallies, T043c's exactly-two template bullets, and the comparison
that parses the ledger arm's OWN numerator and denominator out of the finding it
emits. 38 count-shaped lines in the test file, every one on that list.

pr-body.md states plainly what this does NOT do: it does not close #330, and it
proposes no severity flip.

STOPPING HERE. No PR opened.

Co-Authored-By: Claude Opus 5 <[email protected]>

* Implementation-review fixes: a mutation row named the wrong killers, and the count-exception list did not cover its own file

Six findings from the implementation review, all documentation. No test, fixture
or module byte changed; suite still 1115.

1. Mutation table row 29 named `T012, T020` as killers of "drop the `kinds`
   filter from `_units`". BOTH SURVIVE that mutation — each re-filters by kind
   after calling the helper, which is exactly why the mutant survived its first
   run. The killer is the test the survival forced into existence,
   `test_the_u_class_helper_reads_the_same_set_as_the_ledger_arm`, and only
   that one. The row now says so, and says why.

2. Four sites still diffed against `origin/main` — quickstart.md's two scope
   commands, plan.md's evidence row, and spec.md's SC-010 — while only
   tasks.md and pr-body.md had been corrected to the merge-base. That branch
   advances independently, so its tip reports its own progress as 13 files and
   2,443 deletions this feature never made. All four now use
   `$(git merge-base HEAD origin/main)`, and SC-010 states the reason so the
   next reader does not "simplify" it back.

3. F1's residue header said "Four findings" over five numbered items.

4. The count-exception list was an ENUMERATION of individual assertions, and it
   did not cover its own file: ~20 of the 38 count-shaped lines mapped to no
   row, including `len(holders) == 1` — the assertion that kills mutant #15.
   A list that does not cover the file makes T059 step 2's claim false, and a
   per-line list goes stale on the next test. Reworded to six declared SHAPES:
   per-arm cardinality (the ledger's promoted at-most-one rule), vacuity floors,
   fixture-premise guards, the count that IS the rule, figures parsed out of the
   arm's own finding, and the audit's structural claims. T059 step 2 now points
   at the shapes.

5. The #329 tree is deliberately STALE `doc-health` text, and nothing said so.
   Its canon says "seventeen check families" and its delta restatement says
   "nineteen" while `families.FAMILIES` registers 22 — so a whole-family sweep
   over that tree draws 3 `family-enumeration` warnings (the enumeration
   omitting `duplicate-packet`, `family-enumeration` and
   `modified-block-currency`, plus both numerals). Measured, not assumed. Inert
   today: nothing sweeps fixture trees and
   `test_the_real_corpus_reads_zero_on_both_halves` reads the repository's canon.
   The README now carries the warning AND the instruction not to refresh the
   text — its staleness is the historical fact the fixture exists to freeze.

6. T009's signature was missing the `repo` parameter the helper actually takes.

pr-body.md refreshed to the final numbers: 1115 tests, 75/75 validate, 7 new
trees, 28/30 mutants with 0 survivors plus the reviewer's 10/10, the audit's
closing table, and the honesty note that the eight remaining `satisfied`
verdicts rest on a human reading of F1's test bodies — if one is wrong, this
change ships a hole it believes it closed.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

Co-authored-by: brettheap <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 16, 2026
…x` (#1067)

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

CLAIM: 5699629780
RULED: Q-R1..Q-R4 — #656 comment 5701772032 (Brett Heap, 2026-09-16, by interactive multi-choice; every RECOMMENDED answer adopted — each is what this PR and openDox-code #25/#26 already do).
Refs #656 (stays OPEN).

# Admit the ten openDox runtime files under the walked root `src/opendox`

`docs/opendox-carve-admissions.yaml` gains ten `created:` rows under `opendox_code`, for the `src/opendox/runtime/` subpackage that `split-opendox-two-layer-product` § 3.5 and § 3.6 add at the leg.

**This PR lands FIRST**, per RULED Q-L1 and the precedent every existing row in this file follows: the leg PRs it serves are [openDox-code `build/3-5-runtime`](https://github.com/opensoft/openDox-code/tree/build/3-5-runtime) and [`build/3-6-repository-act`](https://github.com/opensoft/openDox-code/tree/build/3-6-repository-act).

## Why exactly ten, and why not more — measured, not assumed

`scripts/verify-carve-arrival.py::declared_roots` over `rows_for(manifest, "opendox_code")` — **119 effective rows** — returns exactly `['src/opendox', 'tests']`.

So everything the two leg PRs add **outside** those two roots needs no admission and gets none:

* `migrations/` (the ordered SQL, at the root of the leg — § 3.5's own placement sentence);
* `deploy/compose/` and `deploy/kubernetes/`;
* `docs/runtime.md`, `pyproject.toml`, `.gitignore`, `.github/workflows/validate.yml`;
* and the **new** `tests_runtime/` tree — eight test modules that would each have needed a row had they gone under `tests/`. `under_roots` is segment-aware by design ("`tests_helpers/x.py` is not under `tests`, and a prefix test that says it is quietly widens the walk"), so a new top-level test directory is outside the walk. That is the single decision that keeps this diff at ten rows.

What remains is one new subpackage, and its ten modules are the ten rows.

## The `since:` shas are BRANCH commits

That is what the rows for `src/opendox/web/views/intent-binding.js` and `src/opendox/display_profile.py` already do, and for the same reason: RULED Q-L1 has this admission PR land first, so the leg commit it cites cannot yet be on the leg's `main`.

| sha | branch | files |
|---|---|---|
| `9b81cf4dcdfcaba3d51ae1f5505d4a38f086d699` | openDox-code `build/3-5-runtime` | the eight § 3.5 modules |
| `a34601a0dfcfef1d8124cbab472bb5e2d6bd114f` | openDox-code `build/3-6-repository-act` | `local_git_adapter.py`, `repository_act.py` |

## What this PR does NOT do

* It does not tick a `tasks.md` box, touch `openspec/changes/` or the README's "OpenSpec Records" block — so **Rule 6 does not apply** to it.
* It does not move a pin, a manifest row or a digest. `docs/opendox-carve-manifest.yaml` is untouched: the manifest declares what LEAVES openxFactory and never what a destination assembles (RULED OQ-C), which is why this file exists at all.
* It admits by **name**, which is what an admission is — "a name alone … admits whatever is written at it". The files' content is reviewed on the leg PRs.

## Measured

* `scripts/verify-carve-arrival.py::read_admissions` parses this file at this head and returns **31** `opendox_code` admissions, in sorted order. That function refuses an out-of-order `created:` list, a repeated `path:`, a `reason:` carrying a newline and a `since:` that is not 40 lowercase hex; all four gates pass.
* `python -m pytest -q tests/carve_arrival tests/carve_manifest` at this head: **277 passed, 4 failed**. The same four fail on the unmodified base in this checkout (`git stash` + rerun, same four names), because this clone is shallow — the carve commit `b075fd91` is not in it — and its `openDox`/`openXdox` submodules are not materialized. They are a property of the checkout, not of this diff, and they are `test_the_real_repository_answers_at_the_ruled_path`, `test_the_real_manifest_carries_the_q6_form_and_the_four_rows_s5_re_destines`, `test_carved_reach_resolves_the_four_re_destined_rows_at_their_arrival` and `test_the_real_manifests_declared_lines_are_the_floors_lines`. CI, which checks out fully and materializes both submodules, is the measurement that counts.

Precedent for the shape and the body: openxFactory #1030 § 3, which admitted three slice-S7 files the same way.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…RULED Q-F1..F3, and § 8.7 TICKED on pin lockstep #3

Three additions, all ruled or landed 2026-09-17.

1 · NEW BOX § 4.5a [oXd], RULED Q-X1 (a) (#656 comment 5715212264): BUILD the
corpus-adapter IMPLEMENTATION -- design.md § D4 machinery (1), the one of the
seven § 4.5 did not name -- parameterized by the § 4.4 domain profile and proved
on § 3.7's neutral corpus; exit evidence --destination openxdox_code -> OK 17 of
17. A NEW box on this packet's own Na precedent (§ 2.2a, § 5.2a, § 5.6a), and the
box says why § 4.5 did not already cover it: § 4.5 named three of § D4's seven
machineries and ticked on all three landing, and the reader § 3.7 wants is the
one none of them named. § 4.1 stays a carve box.
Q-X2 (a) is recorded in the same box: openXdox's reader is the NEUTRAL,
PROFILE-PARAMETERIZED reader, and RULING Q4's clause "over openxFactory's corpus
and check families" (5542823211) is SUPERSEDED by C2 (5544370242) + DQ-1, struck
from force and not from the record, in this packet's no-deletion style. Q4's
standing clause is untouched and is what the box performs. Q-X3 (a): CorpusShape
carries kind_field and required_fields_by_kind as construction data; no spec or
schema change. STATUS: CLAIM 5715212503, building now off openXdox-code 589adee7,
where --destination openxdox_code still refuses conformance-adapter-undeclared.

2 · § 3.7 STATUS, RULED Q-F1/Q-F2/Q-F3 (#656 comment 5714365086). The verdict
does NOT move and the box does not tick; what changes is that both missing
readers now have rulings and pull requests. Q-F1 (a): the DESTINATION transposes
the corpus and says so -- openxFactory ships ONE neutral corpus -- with the
privileged route and the delete-"EVERY" route both declined, the second being the
shape of narrowing this box's own status already refuses. Q-F2/Q-F3 (a) land in
openDox-code #26. Measured today: openDox 11 of 17, openXdox no reader at all
(its build is § 4.5a), control openxFactory 17 of 17.

3 · § 8.7 TICKS on pin lockstep #3, the act its own status said would carry it:
openDox #9 -> c4c5014d, openXdox-code #21 -> 2529c10a, openXdox #11 -> 88a1047e,
openxFactory #1084 -> dc015d7, xFactory #458 -> b6602666 (13:33:10Z, RULED R-5).
THE EQUALITY IS RE-DERIVED FROM THE TREES rather than transcribed: at xFactory
b6602666 and openxFactory dc015d7, three independent readings of each name agree
-- aggregation gitlink, openxFactory's own nested gitlink, and openxFactory's pin
file commit: -- c4c5014d for openDox and 88a1047e for openXdox. The aggregation's
own openxFactory gitlink at b6602666 is dc015d7, the commit those pin files
belong to. The invariant was KEPT across this lockstep as it was across #453,
and the box says which of the two it saw.

Ledger 48/22/1 -> 49 [x] / 22 [ ] / 1 [~] = 72: § 4.5a enters as a new open box
and § 8.7 ticks. openspec validate --strict valid; proposal-support verify ok.

Refs #656 (stays OPEN). CLAIM 5704937336.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…o the trees they were read at

Self-verification before the window request. The § 3.7 status I added an hour ago
said "measured 2026-09-17: openDox's reader is at 11 of 17 on openDox-code #26"
without naming the head. #26 is a MOVING DRAFT -- it was 6c8f19e7 when floor37
measured it at 12:11Z and is 005ce545 now -- so a reader who re-runs the figure at
a later head and gets a different number cannot tell drift from error. That is
precisely the defect class this amendment exists to police, and committing it
while registering it in others would be self-refuting.

Both live figures now name their tree: 11 of 17 at openDox-code #26 6c8f19e7 (the
read RULED Q-F1..F3 was given on, with #26's movement since said out loud), and
no reader at all at openXdox-code 589adee7, where the runner refuses
conformance-adapter-undeclared. The control stays 17 of 17.

Ledger unchanged at 49/22/1. openspec validate --strict valid.

Refs #656 (stays OPEN). CLAIM 5704937336.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…§ 5.2a's successor is READY-and-conflicting, and § 3.7's openDox figure gains the real reader's result

Three currency updates from acts that landed or moved while this amendment was
open. No marker moves; ledger stays 49/22/1.

1 · § 7.4 CLAUSE (ii) IS IN HAND. add-per-tenant-app-manifest-provisioning landed
as openxFactory #1073 -> 74647df at 2026-09-17T13:44:02Z (CLAIM 5704248880,
LANDED note 5715385370), the same day as the ruling that scoped it. Verified
against the landed tree rather than the note: the credential-contracts MODIFIED
delta restates the :169 invariant verbatim -- body plus all three promoted
scenarios -- and grows it by four clauses and six scenarios; code_surface: none,
target_release: implemented. And it proves clauses (B) and (D) BY OMISSION:
OpsxFactory and Omnigent-Install are not touched by a byte, which is exactly what
the ruling narrowed this lane to. The box now reads "(i) and (ii) are in hand;
(iii) is not, which is why the marker is untouched" -- § 3.5's per-tenant evidence
is the one that does not exist yet.

2 · § 5.2a's successor is READY, not merely filed, and CONFLICTING against main --
because it collided with § 7.4's own #1073 on the README OpenSpec Records block,
the one block Rule 6's landing window exists to serialize, two acts of the SAME
lane on the same afternoon. Recorded with the read time. The box does not move
until #1071 lands.

3 · § 3.7's openDox figure gains the newer result and keeps the old one, each
bound to its head: 11 of 17 at #26 6c8f19e7 (floor37's read, the measurement the
rulings were given on) and "OK - 17 of 17 check(s)", exit 0, once Q-F2's
construction data is applied in #26 -- the REAL class, not the diagnostic subclass
that first reached 17 of 17. #26 does not thereby claim this box and says so in
terms: § 3.7 also owes a declared factory and Q-F1's transposition, a separate act
at openxFactory (#1086).

openspec validate --strict valid.

Refs #656 (stays OPEN). CLAIM 5704937336.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
…d, and they were carrying four live findings

How this was caught matters more than the fixes. Going to post a READY
comment claiming a finding count, I refused to assert the number without
measuring it, and enumerated the suppressed-comment totals across all
eighteen Copilot reviews on this pull request. Two of them had never been
read: the review at bcfba07 (14:08:19Z) and the review at 40c6885
(14:33:38Z), three suppressed findings each. Copilot posts a review per push,
so a fast push cadence can put a new review behind the one you are reading,
and "I read the body at the head I pushed" is not the same as "I read every
body". Two of the six were already fixed by later rounds. Four were live.

ONE: the landed #1073 delta was UNDERCOUNTED on both axes. The box said it
grows the requirement "by four clauses and six scenarios". Counted in the
landed tree at 74647df rather than estimated: the requirement carries 13
`#### Scenario:` blocks where the promoted one carried 3, all three surviving
by title, so it adds TEN scenarios; and the body gains FIVE top-level clause
blocks, not four. The list that followed named only four, so the fifth is now
named too -- that the clause binds where the identity LIVES and not who drives
the flow, which is the clause that keeps an operator-executed install legal and
spares a pair already in service from retroactive refusal.

TWO: openDox-code #26 was written as though settled. "Q-F2 (a) and Q-F3 (a)
land IN openDox-code #26" reads as landed; #26 is OPEN as a draft at head
2f4f8114, read 2026-09-17T14:36Z. It now says ARE TO LAND, carries the state
and the head and the clock, and says in terms that the figures below are the
measurement and not the merge. This is the live-state class round 17 closed,
found in a third place.

THREE: the five-occurrence inventory was legible only to a reader who already
knew the arithmetic. A bare unpunctuated line reading "FOUR LIVE occurrences"
sat between the sentence that measured five and the list that names five, so
the label looked like a contradiction of its own paragraph. It was not -- four
live plus one record is five -- but the reviewer misread it, which means a
human would. It now states the arithmetic before the list instead of leaving
it to be reconstructed.

FOUR: round 15's own repair named the adapter module as "this box's own
conformance_corpus.py above". The module is introduced BELOW that line, not
above, and naming it there settles by assertion a question the box settles for
itself further down. The sentence now says what the runner says -- the
module:factory is the DESTINATION'S OWN READER -- and defers the name to the
box's module list.

Ledger unchanged at 49 [x] / 22 [ ] / 1 [~] = 72. One file. Exactly three
marker changes against main. Both gitlinks are main's own. openspec validate
--strict valid, proposal-support verify ok, --ledger-diff clean (217 rows),
verify-opendox-pin.py OK with lockstep confirmed.

Refs #656 (stays OPEN). CLAIM 5704937336.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
… and two more unread review bodies had found the exit command still wrong

Enumerating reviews by commit_id -- the check round 18 adopted after two
bodies went unread -- immediately caught two more: the reviews at 850b644
(14:38:30Z) and 9659e1f (14:42:07Z). One of their four findings was already
fixed by round 18. Three were live, and one of them was the most consequential
finding of this whole amendment.

SECTION 5.2a: THE SUCCESSOR LANDED. repromote-engineering-vocabulary merged
2026-09-17T14:43:42Z as e83f8cd (note 5716296239), carrying the successor id
openxfactory-engineering-adapter. The box STILL does not tick: it ticks on the
landing AND on Brett Heap's ratification of that change, for which two
judgments are declared -- no second REMOVED block on ideation-dashboard, and it
archives BEFORE the split packet. Arc F (section 5.6) waits on its ARCHIVE,
later still. Three readings are now kept -- CONFLICTING at 13:58Z, MERGEABLE at
14:34Z, merged at 14:43:42Z -- because the point of stamping a reading is that
the next one does not erase it.

SECTION 4.5a: THE EXIT COMMAND WAS STILL WRONG, and the work is already filed.
openXdox-code #23 exists -- opened 2026-09-17T13:53:24Z, OPEN as a draft at
head 70ea05a9 -- and carries exactly the three modules this box names, under
src/openxdox/. Its reader is openxdox.conformance_corpus:reader, and its
location vocabulary is a DIRECTORY TREE. So the command is THREE arguments and
not the four round 15 gave it: --corpus is deliberately absent, because it
defaults to the fixture tree and this reader reads the corpus as it ships.
RULED Q-F1's --corpus <transposition> belongs to a HISTORY-backed reader --
openDox's LocalGitCorpus, not this one -- and passing it here would hand a
filesystem reader a corpus built for somebody else. Round 15 fixed a command
that could not run by composing one that would have run wrong; this one is
taken from the implementation instead of composed.

SECTION 3.7: A TREE IS NOT ENOUGH TO BIND A FIGURE -- THE INPUTS BIND IT TOO.
The box gave openDox's reader as "11 of 17 at #26 6c8f19e7" without saying what
it was pointed at. The SAME reader at the SAME commit reads 1 of 17 when
pointed at the fixtures as they ship, refusing at resolution with
corpus-unclassifiable and leaving sixteen "not reached" -- which is the figure
openxFactory #1086 records. Neither number corrects the other; they are two
inputs. Both are now on the page with their inputs named. This sharpens the
amendment's own rule: binding a reading to a tree is not sufficient when the
same tree answers differently to different arguments.

Also: openXdox is no longer simply reader-less. "has no reader at all" is now
"had none at 589adee7, and now has one IN FLIGHT and not yet landed" -- #23,
bound to head and clock.

And one provenance binding: this amendment's "round 2" note sat directly above
an inherited sentence saying "this amendment's own pull request, round 19".
That round 19 was amendment #4's, on #1058; amendment #5 has no round 19. Both
are now bound to their numbers, because two neighbouring sentences using one
phrase for two different pull requests is a trap.

Merged origin/main (e83f8cd) before these edits; clean, tasks.md untouched by
the merge. Ledger unchanged at 49 [x] / 22 [ ] / 1 [~] = 72. One file changed
against main. Exactly three marker changes. Both gitlinks are main's own.
openspec validate --strict valid, proposal-support verify ok, --ledger-diff
clean (218 rows -- 217 plus the row e83f8cd itself added).

Refs #656 (stays OPEN). CLAIM 5704937336.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 17, 2026
`main` moved under this branch a second time: RULED Q7's CSS extraction
(#1068 -> `24f7a213`) declared +89 `adapter calls` lines on one `opendox_code`
row, `scripts/ideation_dashboard/web/styles.css`. Eight files conflicted, every
one of them on a FIGURE this act and that one both re-state — which is the
merge the window's hard-coded base exists to force, and it forced it.

RESOLVED BY SUMMING THE MERGED MANIFEST, never by adding the two sides'
numbers. Measured at this head with the aggregate test's own derivation
(`sum(len(edit["lines"]) for row in rows for edit in row["edits"])`):

  declared edit lines        2628 | 2710  ->  **2717**
  `adapter calls`            1656 | 1738  ->  **1745**
  `import rewrites` 726, `path constants` 246, carriers 176, dispositions
  143 / 175 / 138, replicas 20, re_destined 4, retired 2
                                             unchanged on both sides
  runbook `opendox_code`     1674 | 1756  ->  **1763**
  runbook `openxdox_code`    **917**, `opendox_spec` 26, `openxdox_spec` 9
                                             untouched by either act
  the four destination cells  sum **2715**, + the replica row's two = **2717**

THE TWO ACTS ARE DISJOINT BY ROW — Q7's window is the one `web/styles.css` row,
this one's four are `web/views/{board,docs,explorer,staging-workbench}.js` — so
neither figure depends on which landed first. The runbook's per-destination
narrative now carries both sentences in landing order; README's doc-index line
and the three script docstrings (`carve_lines.py`, `verify-carve-arrival.py`,
`validate-carve-manifest.py`) are re-derived with them.

THE TRIPWIRE FIRED A SECOND TIME, AS DESIGNED AND AS PREDICTED. The S7-residue
window's `assert 2621 + lines == 2628` went red on this merge and is now
`assert 2710 + lines == 2717`. The comment written at the FIRST firing named
this one exactly — base 2710, `2710 + lines == 2717`, `opendox_code` cell
1674 -> 1763 — and the three figures were re-MEASURED at the merged head before
that line was rewritten, so the prediction is recorded as MET and never used as
the source. Both firings are now in the comment, with the rule that made them
catchable: a base that floated with whatever the manifest summed would have let
either merge land green with every synchronized document stale.

TWO CLAIMS MAIN CARRIED WENT STALE UNDER THIS ACT AND ARE RE-DERIVED WITH THE
REST — neither is in a conflict hunk, both are prose no test reads, which is
the failure class the § 2 re-derivation tests exist for:
  * the manifest header's Q7 paragraph said the aggregate test "asserts
    `(2710, 176)`" — a present-tense claim about the test, now `(2717, 176)`
    with the earlier figure kept as the paragraph's own;
  * the runbook's slice-S8 sentence said its `1667` stood "until the S7
    RESIDUE act below" — Q7 now sits between them, so it stands until Q7.
The Q7 paragraph's own delta (2621 -> 2710, 1649 -> 1738, 1667 -> 1756) is left
exactly as it landed: a delta against the document THAT act found is a figure a
later act cannot move.

ONE AMENDMENT, MADE TWICE INDEPENDENTLY, KEPT ONCE. Both acts replaced
`test_the_real_manifest_carries_the_s7_display_facet_declared_edits`' whole-list
equality on the seventeen converted rows with the PREFIX read, in the same words
and for the same reason (Q7 appends an eighteenth entry to `web/styles.css`;
this act appends to `board.js`, `docs.js` and `explorer.js`). The merge keeps
Q7's landed assertion and ONE note, naming both appending acts.

AND THE SIBLING SWEEP PICKED Q7 UP WITH NO EDIT TO THE LOOP, which is what it
was written for: `test_the_real_manifest_carries_the_s7_residue_declared_edits`
reads every `*_WINDOW` in the module's namespace, so `Q7_WINDOW` joined the
row-disjointness check the moment it merged. Its note is re-derived from
"the next one due" to what actually happened.

Re-measured at this merged head, nothing transcribed:
  scripts/validate-carve-manifest.py                          OK
    (456 rows, 143/175/138, 318 digests, none undeclared,
     4 re-destined, 2 retired)
  pytest -q tests/carve_manifest tests/carve_arrival
          tests/carve_conformance                             446 passed
  scripts/verify-carve-arrival.py --destination opendox_code
          --phase B, four `--replica-at`, against openDox-code
          main `5c137a90`                                     OK
    (117 arrived, 35 digests, 82 declared-edit rows within their lines,
     1 unapplied, 4 of 4 replicas, 148 files none undeclared,
     2 rows RETIRED and verified absent, 22 admissions used, 11 stale)

THE RETIREMENT FINDING THIS BRANCH RECORDED AT THE LAST MERGE IS GONE, and that
is measured: openDox-code#24 landed (`0e65b5f8`), so `tests/test_intent_tray_dom.py`
is absent at openDox-code `main` and the phase-B run above answers `2 row(s)
RETIRED here by ruling and verified absent`. It still answers `arrival-not-retired`
against THIS act's leg branch (`build/s7-residue-leaf-facet`, base `0b4e8bbf`,
which predates that deletion) — a fact about the leg's base, not about either
window, and it disappears when the leg merges or lands.
Of the 11 STALE admissions the run names, ten are the `src/opendox/runtime/*`
files of openDox-code#25/#26 and the eleventh is this act's own
`tests/test_display_facet_leaves.py`: declared here, introduced at the leg
(`338143a3`), and used the moment openDox-code#28 lands.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…RULED 5704187317 on § 7.4, three status records, and the eight residues registered on #1058 (#1078)

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

Refs #656 (stays OPEN).
CLAIM: [`5704937336`](#656 (comment))

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #5 — one tick the packet already owed, one ruling, FOUR status records, and the eight prose residues amendment #4 registered rather than swept.**

**Rule 6** — this touches `openspec/changes/`. **Base is now `main`**: #1058 LANDED 2026-09-17T13:16:04Z as **`ec5069bc`** (a SQUASH), and this pull request was retargeted and merged forward the same hour.

### The merge forward, and why taking this branch's `tasks.md` drops nothing

#1058 merged as a **squash**, so `cbc3a2c6` is not an ancestor of `main` and `tasks.md` conflicts by construction — both sides changed it since the merge-base `c5f68457`. **Resolved to this branch, and that is provable rather than a preference:** measured before the merge, `origin/main:tasks.md`, `cbc3a2c6:tasks.md` and `5b84cce8:tasks.md` are **byte-identical**, sha256 `b9e878608a757c3ea79b14efd6826c14e1ab7260ae4a0d114e30a5a03032af84`. The squash carried this branch's base byte for byte, and the `gh pr update-branch` merge that produced `5b84cce8` changed **27 other files and not this one**. So `main` contributes nothing to `tasks.md` that this branch does not already carry. The resolved file is byte-identical to `e907bb93`'s (sha256 `aff35df14ef3ea870b5d729d0e4899bb71ad8557156c36261dfbc803afa6ea6e`); everything else `main` brings in is taken as `main` states it, including both submodule gitlinks (`openDox` → `c4c5014d`, `openXdox` → `88a1047e`), which were materialized with `git submodule update` and never `git add`ed. Merged, never rebased, with the lane trailers on the merge commit.

**Ledger 47 `[x]` / 23 `[ ]` / 1 `[~]` → 49 `[x]` / 22 `[ ]` / 1 `[~]` (71 → 72).** Three marker changes and one new box: **§ 5.3 ticks**, **§ 8.7 ticks**, and **§ 4.5a enters as a new OPEN box**.

### The three additions of 2026-09-17, all ruled or landed the same day

* **NEW BOX § 4.5a `[oXd]` — RULED Q-X1 (a)** ([`5715212264`](#656 (comment))). *BUILD the corpus-adapter IMPLEMENTATION* — `design.md` § D4 machinery **(1)**, the one of the seven § 4.5 did not name — parameterized by the § 4.4 domain profile and proved on § 3.7's neutral corpus; exit evidence `--destination openxdox_code` → **`OK — 17 of 17`**. A NEW box on this packet's own `Na` precedent (§ 2.2a, § 5.2a, § 5.6a), and it states **why § 4.5 did not already cover it**: § 4.5 named three of § D4's seven machineries and ticked on all three landing, and the reader § 3.7 asks openXdox for is the one none of them named. § 4.1 stays a carve box. **Q-X2 (a)** rides in the same box: openXdox's reader is the neutral, profile-parameterized reader, and **RULING Q4's clause *"over openxFactory's corpus and check families"* (`5542823211`) is recorded SUPERSEDED by C2 (`5544370242`) + DQ-1** — struck from force, not from the record, in this packet's no-deletion style; Q4's standing clause is untouched and is exactly what the box performs. **Q-X3 (a)**: `CorpusShape` carries `kind_field` and `required_fields_by_kind` as construction data, no spec or schema change. **STATUS**: CLAIM `5715212503`, building now off `openXdox-code` `589adee7`, where `--destination openxdox_code` still refuses `conformance-adapter-undeclared`.
* **§ 3.7's STATUS — RULED Q-F1/Q-F2/Q-F3** ([`5714365086`](#656 (comment))). **The verdict does not move and the box does not tick**; what changes is that both missing readers now have rulings and pull requests. Q-F1 (a): the DESTINATION transposes the corpus and says so, `openxFactory` shipping ONE neutral corpus — with both the privileged route and the delete-*"EVERY"* route DECLINED, the second being precisely the shape this box's own status already calls *"FLOOR PART 3 deleted to tick FLOOR PART 3"* (act: oxF **#1086**, draft). Q-F2/Q-F3 (a) land in **openDox-code #26**. Measured today: **openDox 11 of 17, openXdox no reader at all** (its build is § 4.5a), control `openxFactory` **17 of 17**.
* **§ 8.7 TICKS on pin lockstep #3** — the act its own STATUS said would carry it, since R-5 ruled the wording and left the verdict to the claiming act. Chain: openDox **#9 → `c4c5014d`** · openXdox-code **#21 → `2529c10a`** · openXdox **#11 → `88a1047e`** · openxFactory **#1084 → `dc015d7a`** · xFactory **#458 → `b660266686025b7e38863d6186ccab5139d96ba7`** (13:33:10Z, on Brett Heap's word, R-5). **The equality is re-derived here from the trees rather than transcribed from the act that made it**, which is the point of a check that only ever runs after a re-point:

| read | `openDox` | `openXdox` |
|---|---|---|
| aggregation gitlink at `b6602666` | `c4c5014d` | `88a1047e` |
| `openxFactory`'s own nested gitlink at `dc015d7a` | `c4c5014d` | `88a1047e` |
| `openxFactory`'s pin file `commit:` at `dc015d7a` | `c4c5014d` | `88a1047e` |

and the aggregation's own `openxFactory` gitlink at `b6602666` is **`dc015d7a`**, the very commit those pin files belong to. **The invariant was KEPT across the lockstep, not repaired by it** — the third such passage this box records, and it says which of the two it saw.

---

## 1 · The tick, and why amendment #4 was right not to take it

§ 5.3 is the `openxdox-consumer-gate` box. Amendment #4 recorded both halves of its tick condition as met and **declined the tick**, because the box says in its own words that it ticks on #1059 *"and not on this one"*, and #4's claim and RULED R-4 reach the PREMISE only. This is the act that records #1059's discharge, which is what the box names as the tick's owner.

Re-measured here rather than carried forward:

| what the box requires | measured |
|---|---|
| #1059 merged | **`7ab3dd80`**, 2026-09-16T16:27:36Z, merge commit on `main` |
| the new gate exists with a stable token | `.github/workflows/openxdox-consumer-gate.yml` at `main`, `name:` and job id both the single token `openxdox-consumer-gate`, **no job display name** |
| the gate has REPORTED | required check on #1058, SUCCESS at `d1314f4d` (run `35134189330`) and at `cbc3a2c6` |

**And the obligation the box named as still open is closed too.** Its own closing line says the required-check WIRING *"is named as owed there rather than claimed here"*, because making a check required is *"a human act on a human-only surface"*. That act happened **six minutes after the merge**: ruleset **`23554310`**, *"openxFactory consumer-gate (require openxdox-consumer-gate)"*, `target: branch`, `enforcement: active`, `conditions.ref_name.include: ["~DEFAULT_BRANCH"]`, a single `required_status_checks` rule whose sole context is `openxdox-consumer-gate`, `created_at` **2026-09-16T16:33:22Z**. Recorded with the ruleset's identifiers rather than as "the wiring landed", because a ruleset is the one class of evidence in this packet that lives outside git and can be re-queried from nowhere else.

**Three of amendment #4's self-references are re-spelled** — *"this amendment"*, *"not on this one"*, *"NOT TAKEN HERE"* → *amendment #4*. They were unambiguous while #4 was the only amendment in the box; with a second one below them a reader meets a `[x]` box that says three times it does not tick. Disambiguating a pronoun is a currency fix, not a re-wording of what ratification was over — the same line § 1's stale coordinates are repaired on and § 7.3's ratified sentence is left alone on.

## 2 · § 7.4 — RULED `5704187317`, SPLIT AND NARROW

Brett Heap, 2026-09-16T20:40:06Z, by interactive multi-choice, on one question from this lane's § 7.4 actor; measurement banked at `brett-wip` `fb3e0821`. **The box does not tick.** Four dispositions, all four written into it:

* **(A) A SECOND § 7.4 DELTA-TEXT DEFECT, RECORDED IN THE CLASS OF RULED `5700622683`.** This packet's `design.md` lists under **## Non-goals**, verbatim at `:133-134`, *"Resolving codexFactory's false `stack.yaml` digest declaration, or the `openxdox` DNS record's ungoverned status, **beyond naming them**"* — while the closing sentence of § 7.4 says that record *"is governed here"*. Two pieces of ratified text in ONE packet that cannot both be executed. `design.md`:101-103 supplies the measured state they disagree about, in the same sentence that carries the workload coordinate. Recorded for repair by an act that CLAIMS the delta; not silently corrected.
* **(B)** the DNS sentence is **discharged by NAMING**, per the packet's own Non-goal; the reach widening is lane `opsXfactory-4`'s `add-governed-dns-administration` under OQ-E word `5649809425`.
* **(D)** the `dox` workload set's per-tenant declaration is **left for the § 3.5 realization**; its requirement sits under lane `opsXfactory-3`'s claim `5638511222`. *(The coordinate the box quotes has moved — the workload set is at `workflows/aks-administration.yaml`:733-753 at OpsxFactory `7e15da58`, not `:412-431`. Recorded, NOT re-pointed: ratified text, and a quotation is bound to the tree it was written against.)*
* **(E)** this lane authors **only** a `credential-contracts` MODIFIED delta in `openxFactory` carrying the per-tenant App-Manifest PROVISIONING shape. Options (2) and (3) were declined.

The box now states its own tick condition so a later reader does not re-derive it: **(i)** this ruling, **(ii)** the landed delta of (E), **(iii)** § 3.5's per-tenant evidence. Only (i) is in hand. It stays `[ ]` and not `[~]` — the deferred form § 7.3 wears is for an act with no subject to perform on, and this one has a subject and an authored next step.

## 3 · Two more status records that do NOT tick

**§ 6.4 — the destination half has landed.** `opensoft/openDox-spec` **#12 MERGED → `edeed08c`**, 2026-09-16T17:37:41Z. **Byte-identity re-verified here at both ends rather than quoted from #12's body**: the delta reads **3,557 bytes**, digest **`1754e5d3f9803ea80b4e8a177fda8359a96d6c4b1024fce69893ee3cb3d716e1`**, identical at openxFactory `cb2d3a2c` and at openDox-spec `main`. A § 6 disposition is TWO acts and it is the CLOSURE that discharges the box, so § 6.4 ticks on **#1056** — open, Rule-6 sequenced — and not on its receiving half. The same ordering discipline § 5.3 applies to #1059.

**§ 5.2a — the id this task owes is authored.** **`openxfactory-engineering-adapter`**, in `repromote-engineering-vocabulary`, **#1071** (opened 2026-09-16T19:22:04Z, CLAIM `5703096449`). It is a FILING ONLY — `Status: draft` on all three lifecycle documents — so the box ticks on its landing, not on its opening. Recorded because three live acts were blocked on the id's absence: § 5.6's de-floor, § 8.4's both-directions accounting, and the two open § 6 closures #1060 and #1065.

## 4 · The eight residues — six repaired, two recorded

Registered under decision (b) on #1058 at comments **`5702227094`** (six, from Copilot rounds 14-17), **`5702495415`** and **`5702674145`** (two more, found by this lane's own sweeps rather than by a review). Every replacement value was measured when it was registered; each was **re-measured here** before it was written.

| # | where | disposition |
|---|---|---|
| 5 | § 5.2's column heading | **repaired** — the unit is files PRESENT, not files kept |
| 6 | § 5.2's disposition vector | **repaired** — recorded invariant at three trees |
| 7 | § 7.3's *"When the ruling lands"* | **recorded, not repaired** — ratified text |
| 8 | § 5.3's `--diff-filter=A` query | **repaired** — replaced by the rename-proof query |
| 9 | § 4.1's *"green in EVERY destination"* | **repaired** — criterion split from result |
| 10 | § 7.1's *"LIVE"* | **repaired** — withdrawn against the naming record |
| sweep | § 1's `tasks.md`:347 / `design.md`:868 | **repaired** — `:595` / `:981` |
| sweep | § 1.8's README position claim | **repaired as to its coordinates** |

**The measurements, since this packet's rule is that a body is measured and not transcribed:**

* **§ 5.2's heading.** The column's unit is FILES PRESENT after the carve. Measured cell by cell at `b075fd91` → `cc4ae9d3` across the five surfaces named by DIRECTORY — the only ones where "kept ROWS" is the same population as "files": `scripts/ideation_dashboard/` 63 → 9 present = 9 kept rows, `web/` 43 → 1 = 1, `tests/ideation_dashboard/` 4 → 0 = 0, `examples/ideation-dashboard/` 140 → 44 = 44, and **`tests/ideation-dashboard/` 157 → 42 present against 40 kept rows** — the two being `conftest.py` and `staging_shapes.py`, both `not_moved / replicated_at_destination`, which the box already discloses three lines above the table. The four cells named by FILE are counted on the old deletion list's own populations, which amendment #4 reconciled as subsets by design, so "kept rows" was never their unit either. **One heading was wrong and no number was.**
* **§ 5.2's vector.** `docs/opendox-carve-manifest.yaml`: **456 rows, 143 / 175 / 138, 117 kept** (103 adapter + 14 governance) at `main` `cb2d3a2c`, at `main` `c5f68457`, and at this amendment's base `cbc3a2c6` — identical at all three. The row's own label *"`main` `cb2d3a2c`, and this branch"* had never been verified across the two base merges that happened under it.
* **§ 5.3's instrument.** `--diff-filter=A` cannot carry *"never carried a dashboard-named workflow"*, because a rename reports as `R`. `git log --all --no-renames --pretty=format: --name-only -- .github/workflows/` decomposes every rename into a delete plus an add and returns **16 distinct paths ever**, **none matching `dashboard|ideation`**; `git log --all --diff-filter=R -- .github/workflows/` returns **nothing at all** — no rename has ever touched that directory, which is why the weaker query happened to be complete. The sixteen exceed the thirteen counted at `cb2d3a2c` because that count is files PRESENT at one tree and this one is paths EVER across all refs.
* **§ 4.1's grammar.** The criterion clause and the result clause were joined by a pair of dashes, so the first read alone as a measured PASS — the opposite of what the next clause records. Now separated into what § 3.7 ASKS and what it ANSWERS. No figure moves and no gate loosens; the result is still one pass (`openxfactory` OK — 17 of 17) and four `conformance-adapter-undeclared`.
* **§ 7.1's *"LIVE"*.** The QUOTATION is verbatim-accurate at OpsxFactory `6aa1512c`; what is not accurate is this packet's own word. `docs/openxdox-naming.md` **Amendment 1 (2026-08-14)**, `:84-89`: *"`openxdox.opensoft.dev` replaces `dox-opensoft-qa.xforge.us` … the legacy names are cut dead at switchover — no dual-host period and no redirect"*. **The RECORD is active and the HOST is retired.** The census verdict is invariant either way — § 7.1 turns on a `<Domainx>Dox` DESCENDANT instance and never on liveness — which is why this is a wording repair and not a re-measurement. That OpsxFactory's record is stale against the naming amendment is a finding about OpsxFactory's tree, raised there.
* **§ 1's two coordinates.** They read `tasks.md`:347 and `design.md`:868. Measured: `:347` of this file is a `gh api` tree read of the openDox root; the casefold discussion is at **`:595`** here and **`:981`** in `design.md`. Neither number was right at any tree checked. Now cited with the tree they were read at, because the quotation is the durable half of such a citation.
* **§ 1.8's README positions.** The box's whole thesis is that this block's line numbers move under every archival act — and the sentence asserting it had, within three commits, cited one that moved. Measured at six trees: `README.md`:**1775** (`8944758c`), :**1875** (`0a835098`), :**1813** (`cb2d3a2c`), :**1708** (`c5f68457` and `cbc3a2c6`), :**1836** (`main` `4cef77af`) — **five positions across six trees**. The `30,410` citations beside it are **exact at all six** (`design.md` 2, `proposal.md` 2, the RECORD 1), re-measured here.
* **§ 7.3, recorded and NOT repaired.** *"When the ruling lands"* is the packet's OWN RATIFIED TEXT: it enters at `ceb6dc9e`, the commit that ratified this packet (#666), stands identically at `main`, and amendment #4 only MOVED it out of the box header into the body while re-marking the box `[~]`. Re-wording ratified specification text is a spec-delta-class act — exactly the disposition RULED `5700622683` gave § 7.1's scenario-4 delta defect. A bookkeeping amendment fixes stale COORDINATES and does not re-word what ratification was over. The correct trigger is quoted beside the record so the repairing act re-derives nothing.

---

## Review rounds

**Copilot round 1** (`1788f7f2`, review `5228750887`, 21:54:12Z): **2 suppressed comments, 0 threads, both real, both FIXED at `dde9dfa2`** — answer comment [`5705165398`](#1078 (comment)).

1. **The rename-proof query was not reproducible as quoted.** `git log … --name-only` prints one line per matching COMMIT, not one per path: as first quoted it returns **177** path lines, not sixteen — the `sort -u` it was run with had been left out of the quotation. The command in the box is now the command as run, and the instrument was re-measured on the finding's other two points: **`--full-history` added and it changes nothing** (16 with, 16 without); **`--all` is deliberate** and makes the claim stronger than the box needs, with the base-scoped variant quoted beside it (**15**, the one path dropping being `proof-1-6a-codexfactory-app-install.yml`, already named as gone). `dashboard|ideation` matches **0** under every variant; `--diff-filter=R --full-history` still returns **nothing at all**. The conclusion is unmoved.
2. **§ 5.3's *"nothing is left owed to a later act"* over-reached.** The tick stands — the box's condition is about the ruleset and `23554310` is live — but #1059's shipped files still describe the gate as it stood six minutes before that ruleset existed: `openxdox-consumer-gate.yml`:48-56, `test_openxdox_gate_invocation.py`:8-11, `test_openxdox_gate_adjudicator.py`:10, `openxdox-pin.yaml`:119-120, `opendox-pin.yaml`:156-158. **All five true at authoring, stale from 2026-09-16T16:33:22Z.** Registered rather than repaired here, on this repository's own precedent for the identical class: `split-openxwallet-repo` corrected README's *"advisory until an operator marks it required"* **in place, from the act that owned the surface**, with its history stated (archive `tasks.md`:972-974; the corrected text at `README.md`:3026-3029).

**Copilot round 2** (`15388e8b`, review `5228778196`, 21:58:02Z): **2 suppressed comments, 0 threads, both real, both FIXED at `d727332e`** — answer comment [`5705203361`](#1078 (comment)).

1. **Two present-tense answers to one question.** Amendment #4's record still read *"which is still owed and still a human act on a human-only surface"* twenty lines above amendment #5's record closing exactly that obligation. Scoped to its own moment (2026-09-16, before 16:33:22Z). This was the **fourth** of #4's self-references this amendment re-spells and the only one that was a STATUS rather than a pronoun.
2. **(A), (B), (D), (E) with no (C).** They are the **ruling's own** labels over the **five** measured reads the § 7.4 actor put to it. **Read (C) was the DNS widening's MECHANICS** — a five-place lockstep whose first place sits in `opensoft/Opensoft-Tenant`, a repository this lane holds no clone of and no claim in — and the ruling **folds it into (B)** rather than disposing of it separately, which is why (B)'s sentence names the lockstep and that repository. Said in the box, so the gap reads as the ruling's shape. The finding's second half is taken too: the options are a **second** enumeration and all three are now named, with **(1) SPLIT AND NARROW** marked as the one taken.

**Copilot round 3** (`dde9dfa2`, review `5228812594`, 22:01:48Z): **1 thread, answered and RESOLVED, fixed at `c5ecbbc9`** — answer comment [`5705231687`](#1078 (comment)). It named `:2110` (already fixed at `d727332e`, which the review predates) and `:2127` (not yet, and the one that mattered): *"It is ADVISORY on the day it lands … so the required-check WIRING is named as owed there rather than claimed here"*, inside amendment #4's R-4 parenthetical, reading as current state. Now past tense and marked as #4's snapshot, superseded by the record below it. **The class was then re-swept over the whole box**: the only remaining present-tense "owes" resolves itself in its own sentence and is about the TOKEN, not the wiring.

**Copilot round 4** (`c5ecbbc9`, review `5228829531`, 22:03:43Z): **empty body, 0 comments, 0 threads** — a round that enumerates nothing.

**Copilot round 5** (`d727332e`, review `5228847347`, 22:06:14Z): **4 suppressed comments, 0 threads, all four real, all four FIXED at `1b1a22d0`** — answer comment [`5705281122`](#1078 (comment)).

1. **`--diff-filter=R` does not enable rename detection**, so an empty `R` set from a plain `git log` proves nothing. `--find-renames` added, and re-measured three ways — `--find-renames`, `-M`, `-M50%` — each returning **nothing at all** over `.github/workflows/`, and the same query over all of `.github/` finding no rename either. Conclusion unmoved.
2. **Three positional self-references**, and the third is the best finding on this pull request: `tasks.md`:595 is the wrong coordinate **in the tree being reviewed** (it is `:609` there). **Both numbers are right** — `:595` is where the casefold paragraph sits at the base `cbc3a2c6`, and this amendment's own insertions moved it fourteen lines, **inside one pull request, in the very paragraph repairing two stale coordinates**. § 1.8's thesis demonstrated a third time. The in-file half of the citation is now a **sentence**; `design.md`:981 keeps its number because this branch does not touch that file. The other two (*"four lines up"*, *"one line below this note"*) are anchored to the sentences they mean, and the class was swept beyond the three flagged.

**Copilot round 6** (`c5ecbbc9`, review `5228879214`, 22:10:33Z): **3 suppressed comments — one already fixed at `1b1a22d0`, two real and FIXED at `9cb2d23b`** — answer comment [`5705328045`](#1078 (comment)).

1. ***"it is a required check on this very pull request"*** is amendment #4's sentence, written when #1058 was the only pull request carrying the box; copied forward it names **#1078** and attributes to it a run that happened on **#1058**. Bound by number. **This is the seventh of amendment #4's sentences this amendment binds to amendment #4** — three pronouns, two statuses, one pull-request reference, one position — and the count, which had itself gone stale three times inside this pull request, is now stated by class in the box with that history (`e907bb93`).
2. **§ 5.2a said *"three live acts"* over a list of four.** #1071's own body counts three, treating the pair of § 6 closures as one class. Both counts are now said, enumeration unchanged: **three classes, four open acts**.

**Tally across six rounds: twelve findings, eleven distinct, all real, all fixed; one thread opened and resolved; ten of the twelve sat in the SUPPRESSED block.** Every one was about this amendment's own new text — the class decision (b) sends to a fix. **Under decision (b) the amendment now HOLDS at this head**: further rounds would re-read settled text, and this is a DRAFT stacked on #1058 with no landing pending.

**Copilot round 7** (`1b1a22d0`, review `5228902838`, 22:13:44Z): **🟢 Approval recommended** — its one finding (§ 5.2a's count) had been fixed at `9cb2d23b` three minutes earlier. No edit owed, none made. Note [`5705336646`](#1078 (comment)).

**And one finding carried over from #1058 after that pull request merged** (`ddb68b51`). Review `5226920310` on #1058 (`cbc3a2c6`, 2026-09-16T18:45:17Z) arrived after that head was frozen and carried a second suppressed finding nothing had answered: `Finding.match_key()`'s docstring says identity is *"family + path"* while the method returns `(family, repo, path)`. Measured — **the packet's quotation is verbatim and it already stated the true tuple first**, so nothing in it was inaccurate; but the two were set side by side as though they agreed, and the docstring's omission of `repo` could be read as the packet's claim. § 8.9 now says the docstring **understates its own key**, that **the RETURN governs** because it is what every caller compares, and that findings from different repositories therefore do not collide. The imprecision is `doc_health`'s own and is raised there. Answered on #1058 at [`5715028704`](#1058 (comment)), repaired here.

Plus one **self-verification** commit before any review (`15388e8b`): `design.md`'s cite in § 7.4's new STATUS bound to the sentence it names (`:101-103`, quoted whole) rather than to the paragraph, and `credential-contracts` cited by its requirement TITLE with the line beside it.

---

## Gates at `ddb68b51`

* `OPENSPEC_TELEMETRY=0 openspec validate split-opendox-two-layer-product --strict` → **valid**
* `python3 scripts/proposal-support.py . verify split-opendox-two-layer-product` → **ok**
* `python3 scripts/validate-sequenced-after.py . --ledger-diff` → **clean** (214 rows)
* Ledger read from the file: **48 `[x]` / 22 `[ ]` / 1 `[~]`** = 71, unchanged in total
* One file changes: `openspec/changes/split-opendox-two-layer-product/tasks.md`. No submodule gitlink moves.

## What this does NOT do

* **It does not merge.** Rule 6; the lane orchestrator opens the window.
* **It does not repair a spec delta.** § 7.1's scenario-4 defect and § 7.4's Non-goals contradiction are both RECORDED, on the disposition `5700622683` gave the first of them.
* **It does not touch OpsxFactory, Omnigent-Install, openDox or openXdox.** § 7.4's (B), (D) and (E) each name their owner and stop.
* **It does not tick § 7.4, § 6.4 or § 5.2a.** Each carries its status and the condition it still waits on.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…t leaves (#1085)

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

**The annotation of the § 3.4 slice-S7 RESIDUE pair, and it lands FIRST** — RULING **Q-L1**'s order ([`#656` comment `5628560136`](#656 (comment))). Its one leg is opensoft/openDox-code#28 (`build/s7-residue-leaf-facet`), which realizes exactly the lines this declares and nothing else. CLAIM: [`5714327188`](#656 (comment)). Refs #656 (stays OPEN).

**#1068 HAS LANDED** (RULED Q7's CSS extraction annotation, main `24f7a213`) and this branch has MERGED it: the two acts edit the same one `docs/opendox-carve-manifest.yaml`, `docs/opendox-cutover-runbook.md`, `README.md`, the three script docstrings and both carve suites, so eight files conflicted and every conflict was on a figure both acts re-state. Every absolute below is re-derived at the merged head by SUMMING the merged manifest — never by adding the two sides' deltas — and re-measured before it was written down.

## What is declared

SEVEN display-facet **leaves** that slice S7's own review found **inside the modules S7 had already parameterized at their mounts** — two threads Copilot opened on openDox-code#21 at its gated head `c7a216c7` and **five it left SUPPRESSED in review [`5192900474`](opensoft/openDox-code#21 (review) body, with zero threads opened**. The S7 LANDED note ([`5688498049`](#656 (comment))) carried them forward as owed.

| row (`opendox_code`) | class | carve lines | the leaf |
| --- | --- | ---: | --- |
| `web/views/board.js` | `adapter calls` | `82` | `brainstormCard()`'s date metadata spelled the literal `captured` beneath a heading that resolves the same status |
| `web/views/docs.js` | `adapter calls` | `37`, `39` | `docHaystack()` indexed the raw `d.stage` while the row renders `vocab.documentStageWord(d.stage)` |
| `web/views/explorer.js` | `adapter calls` | `225` | the stale-tile fallback title rendered the raw `DRILL_KINDS` seam key |
| `web/views/staging-workbench.js` | `adapter calls` | `805`, `1202`, `1204` | the nested `renderDocWheel` mounted without `display`; `runAddSection()` handed `insertSection` no `options.display` |

**SEVEN FINDINGS, FOUR ROWS, SEVEN LINES, and the arithmetic is not a slip**: `views/staging-workbench.js` carries two of the findings, and the seventh — `views/display.js`, whose `applyTokens` never cleared an earlier facet's inline `--st-*` properties — is an ADMITTED created file with no manifest row at all, so it is declared as an admission and not as a line.

**WHY THEY WERE NOT TAKEN ON #21.** Each edits a carve-commit line the landed S7 window does not declare, and that was PROVED at the time against a pristine checkout with the floor's own `verify-carve-arrival.py` (`arrival-undeclared-edit`), then registered rather than taken. It is the same disposition Act 1 gave slice S8's two path constants: measured, left alone, and owed to the act that declares them.

## What moves, and what does not

**NOTHING CONVERTS AND NO ROW COUNT MOVES.** All four rows were already `moved_with_declared_edit` and already carriers — three converted by slice S7 and `views/staging-workbench.js` by slice S5 — so the disposition counts (`143 / 175 / 138`), the carrier count (`176`) and the replica count (`20`) stand where the pre-existing `openxdox_code` annotation left them. **ONE CLASS ONLY**: every leaf is a call into the display facet, which is RULING OQ-1's `adapter calls` and neither of its other two — no import moves and no path is spelled.

**EVERY ABSOLUTE IS RE-DERIVED BY SUMMING THE APPLIED MANIFEST, never transcribed:**

| | before | after |
| --- | ---: | ---: |
| declared edit lines | 2710 | **2717** |
| `adapter calls` | 1738 | **1745** |
| `import rewrites` / `path constants` | 726 / 246 | unchanged |
| rows carrying `edits:` | 176 | unchanged |
| runbook § 2 table, `opendox_code` declared lines | 1756 | **1763** |
| the four destination figures | 2708 | **2715** (+ the replica row's two = 2717) |

The same figure is re-derived in `README.md`'s doc-index line and in the three script docstrings that state it (`scripts/carve_lines.py`, `scripts/verify-carve-arrival.py`, `scripts/validate-carve-manifest.py`). The round-10/11 tests in `tests/carve_arrival/` re-derive the runbook's tables from the manifest and were red until they moved.

**And the runbook's § 2 DATED HISTORY carries this act too** (Copilot review at the merged head, which found that history still ending at RULED Q7 with "it moves them LAST"): the history is in LANDING ORDER, so Q7's claim is qualified and the residue gets the paragraph every act on this document has — four rows, +7, nothing else moving, `2710 + 7 = 2717`, and the two of the seven findings that declare no line here with the reason for each.

**THE LINE NUMBERS ARE THE VERIFIER'S OWN, never read off a diff**: derived with `carve_lines.text_records` + `difflib` opcodes under `_check_declared_lines`'s rule (`replace`/`delete` touch carve lines `i1+1 … i2`; an `insert` is declared by EITHER neighbour, so the minimal declaration names one), against the leg's head and minus every line slice S7 or S8 already declared.

## One landed assertion was amended — by BOTH acts, independently, and the merge keeps it once

`test_the_real_manifest_carries_the_s7_display_facet_declared_edits` § 2 read a converted row's **whole** `edits` list — its own comment says *"a converted row carried no `edits:` before this act, so S7's entries are its ONLY entries"* — and that is S7's claim only while S7 is the newest act on all seventeen converted rows. **It is not, twice over:** RULED Q7 appends an eighteenth entry to `web/styles.css` and this act appends to three more (`board.js`, `docs.js`, `explorer.js`). What the conversion actually claims is that the row carried nothing BEFORE S7, and in a document appended to in landing order that is a **PREFIX**; it is read as one now, keeping every claim the equality made bar the accident of being the whole list — which belongs to whichever act annotated the row most recently and to no act permanently. This is the same amendment, for the same reason, that slice S8 made to the run directly above it.

**#1068 and this act wrote that amendment separately, in the same words**, which is what two acts finding the same defect looks like. The merge keeps **Q7's landed assertion** and **one** note, naming both appending acts — no second copy of the argument, and no change to what is asserted.

## The window has its own assertion

`S7R_WINDOW` + `test_the_real_manifest_carries_the_s7_residue_declared_edits`:

* the four keys read **off the dict literal with `ast`** (round 8's rule on #1030 — a dict literal collapses a repeated key at import, so a `len()` of the imported object counts the SURVIVORS);
* disposition and destination per row;
* the entries as a **contiguous run occurring exactly once** and **STRICTLY AFTER slice S7's own run on the same row** — the residue is what S7's review found and S7 could not take, so an entry sitting ahead of S7's would be a document telling the arrival verifier a history that did not happen;
* **row-wide line distinctness** (round 5's finding on #1030: a repeated line number is lawful to the validator and read as a SET by the verifier, so it would keep every total intact while one really edited line went undeclared);
* the totals summed, not transcribed — `(7, 4)`, `{"adapter calls": 7}`, and the HARD-CODED base that makes the re-derivation compulsory, now `2710 + 7 == 2717`. **It has fired twice, both times as designed**: `2454 + lines == 2461` went red on the merge that brought RULED 5656343213's retirement act in, and `2621 + lines == 2628` went red on this one. The comment written at the first firing PREDICTED this one exactly — base 2710, the `opendox_code` cell reaching 1763 — and the three figures were re-measured at the merged head before the line was rewritten, so the prediction is recorded as met and never used as the source. That prediction spelled the cell `1674 -> 1763`, and **1674 is not a state the landed document ever carried** (Copilot's third round, reading the runbook's history beside the comment): it was THIS BRANCH's cell before the merge — 1667 plus this act's seven, on the pre-Q7 base — while `main`'s own sequence is 1667 → 1756 → 1763. The comment now says which document each figure belongs to, because the arithmetic a merge invalidates is exactly the pre-merge branch's;
* and a **sweep over every other `*_WINDOW` in the module** proving row-disjointness. Written as a sweep and not as a named pair on purpose: RULED Q7's `Q7_WINDOW` (#1068, one row, `web/styles.css`) was named there as the next one due and **the sweep picked it up on this merge with no edit to the loop**, where `assert not (set(Q7_WINDOW) & set(S7R_WINDOW))` would have been a `NameError` until then and an unamended test after.

## Every historical aggregate in these suites is now a figure the file PINS

Four Copilot rounds at the merged heads each found one stale or mislabelled figure, and the last two were the same CLASS: a *"when this was written"* aggregate, which is checkable by nobody — including the author, one merge later. They are restated as the landing sequence the suites themselves assert: the slice-S7 window `(2366, 176)` as it landed (§ 3's own `1584 + 782` and `159 + 17`) and `(2717, 176)` today; the slice-S8 pin `(2406, 176)` (`2366 + 40`, the sum stated four hunks above it); the arrival suite's § 2 docstring 2717 / 2710 / 2621. A LANDING figure is a delta against the document that act found, so no successor can make it wrong — which is the same rule this act's own window states for its `2710 + 7 = 2717`.

## Gate, measured at this head

```
scripts/validate-carve-manifest.py
  OK — 456 rows at b075fd9 (opendox-carve-0); 143 / 175 / 138;
  318 digests recomputed; 456 files in the declared surface with none
  undeclared; 319 shed rows absent at source; 4 RE-DESTINED by ruling;
  2 RETIRED by ruling

scripts/verify-carve-arrival.py --destination opendox_code --phase B
  --dest-root <openDox-code main 5c137a90> + § 5.5's four --replica-at flags
  OK — 117 rows arrived, 35 digests verified, 82 declared-edit rows within
  their lines, 1 unapplied, 4 of 4 declared replicas verified, 148 files
  under src/opendox, tests with NONE undeclared, 0 re-destined HERE and
  4 AWAY verified vacated, 2 rows RETIRED here by ruling and VERIFIED
  ABSENT, 22 declared admissions used, 11 stale

pytest -q tests/carve_manifest tests/carve_arrival tests/carve_conformance \
         tests/opendox_pin tests/openxdox_pin           483 passed
         (at the pre-merge head 71c5eea)

pytest -q tests/carve_manifest tests/carve_arrival \
         tests/carve_conformance                        446 passed
         (at this merged head)
```

**The `1 unapplied` is not this act's** and is the same one the S7 note recorded: `scripts/ideation_dashboard/doxbench_scope_types.py`'s three `adapter calls` lines, a group-3 record declared at the carve itself against open successor #838.

## What this does NOT do — residue, by name

1. **`tests/test_doc_wheel.py:393`'s 600-character window.** It finds `renderAbstract(abstract,` by reading 600 characters from `renderDocWheel(selector` — 470 apart at the leg's base — so a house-style comment block at that site turns a WIRING assertion red for a reason unrelated to wiring. Repairing the window is an edit to a carved test file at lines this annotation does not declare, so it is registered here, not taken.
2. **`views/viewer.js:262`'s `doc.stage` pill** stays a boundary-note amendment, exactly where the S7 note's register put it.
3. The **STALE admissions** the arrival run reports at `opendox_code` are eleven against main: ten `src/opendox/runtime/*` files that are openDox-code #25/#26's, declared ahead of their legs and untouched here, and **this act's own `tests/test_display_facet_leaves.py`** — declared here, introduced at the leg (`338143a3`), and used the moment openDox-code#28 lands. A declared-but-unused admission is the expected state of the window an annotation-then-leg pair opens.
4. The **`arrival-not-retired` finding this branch recorded at the previous merge is GONE**, measured: openDox-code#24 landed (`0e65b5f8`), so `tests/test_intent_tray_dom.py` is absent at openDox-code main and the phase-B run above answers `2 row(s) RETIRED here by ruling and verified absent`. It still answers against THIS act's leg branch, whose base `0b4e8bbf` predates that deletion — a fact about the leg's base, not about either window.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…ite (#1105)

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

Refs #656 (stays OPEN).

CLAIM: 5728621421

**FLOOR PART 4 (RULED OQ-1) is the one leg of the § D6 floor with no runner, and
it had never been run at all** — because nobody had asked what its two sides
were. This pull request answers that and gates the answer: `scripts/verify-snapshot-equivalence.py`
plus `tests/snapshot_equivalence/`, inside `pytest-suite`. A plain gate: no
`openspec/changes/` path, no README "OpenSpec Records" block, no leg, no pin,
no gitlink, no `docs/opendox-carve-manifest.yaml`, no runbook.

## The two sides, measured before anything was written

Read-only measurement 2026-09-18 (`attachments/lane-opendox/floor55/SCOPING-floor55.md`)
answered the three questions that had to be answered first, and the answer to
the fourth is that **the floor already holds**:

* **the PRE-SPLIT TREE is a published annotated tag, not a fixture** —
  `opendox-carve-0` → `b075fd91dc8fced8e1373825ba80220c33536bae`, FLOOR PART 1's
  own `carve_commit`, frozen by RULED (a) POST-SHED MODE (`#656` comment
  `5625573095`), reached by `git archive`. The carve manifest's own header
  already prescribes the move ("ask about the carve's own line by CHECKING OUT
  A PRE-SHED REVISION"), and `--pre-ref` accepts any pre-shed ref, so the claim
  does not rest on one of them: `contract-v3.7` (`45bd9ee2`) re-renders the
  identical digest, asserted by a test.
* **the POST-SPLIT STACK is not any leg pull request.** openDox-code #25/#26 and
  openXdox-code #23 carry no renderer between them (measured over their file
  lists). It is `openxdox.generator` + `openxdox.snapshot` at the openXdox-code
  leg this repository ALREADY PINS (`88a1047e` → `2529c10a`), reached through
  openxFactory's own `scripts/carved_reach.py` (RULED Q7, `5626248666`) over
  `scripts/doc_health/` (RULED DQ-1, `5547049745`) and
  `contracts/domain-profiles/openxfactory-engineering.yaml`.
* **the CORPUS is `tests/ideation-dashboard/fixtures/base-repo`** — 11 files,
  `not_moved / replicated_at_destination`, byte-identical at `b075fd91` and at
  today's `main`, which is why ONE directory can serve both sides.

## The § 8.2 evidence line this run produces

> **FLOOR PART 4 — the snapshot-equivalence run.** `scripts/verify-snapshot-equivalence.py`
> at `openxFactory` `<HEAD>`, 2026-09-18: the pre-split tree `opendox-carve-0`
> (`b075fd91dc8fced8e1373825ba80220c33536bae`, FLOOR PART 1's own
> `carve_commit`) and the post-split stack (`openxdox.generator` +
> `openxdox.snapshot` at the pinned openXdox-code
> `2529c10aa37cdee05957ccbb4ab57794a9fa7fb6`, through `scripts/carved_reach.py`,
> over `scripts/doc_health/` and
> `contracts/domain-profiles/openxfactory-engineering.yaml`) each rendered the
> corpus `tests/ideation-dashboard/fixtures/base-repo` (11 files,
> byte-identical at both revisions) at the pinned `source_revision`, and
> produced the SAME canonical snapshot: **14,849 bytes, `sha256
> 764b077b84031ec9bb13538f400904119141d954636cee6d53eee052b3840735`**, `cmp`
> byte-identical. Four corpus states were run and the digests matched at every
> one, including two that MOVE the digest — so the run discriminates.
> `OK — 4 of 4 corpus state(s) equivalent`, exit 0.

## A runner, not a one-shot recorded run

Parts 1–3 measure a tree that has stopped moving. **Part 4's post side is a PIN
THAT MOVES** — openXdox's gitlink advances on every leg bump, and each bump is a
chance to break the projection with nothing red. A recorded run proves the day
it ran. This proves every merge, and the whole of it costs **1.375 s** for one
corpus state and **1.959 s** for four.

`verify-carve-conformance.py`'s idiom throughout: `argparse`, named refusal
kinds with the vocabulary ENFORCED at the one place every refusal passes
through, `--json`, and the **0-pass / 2-refuse / never-1** exit contract held by
a blanket `except Exception` rather than by inspection. Five named kinds —
`equivalence-pre-ref-unreachable`, `-pre-tree-unrenderable`,
`-reach-unavailable`, `-profile-unregistered`, `-digests-differ` — plus the
blanket's own `equivalence-unreadable`, which is exactly part 3's shape (four
named beside `conformance-unreadable`): the exit contract's `except Exception`
has to render SOMETHING, and giving it one of the five would make the runner lie
about the cause.

**The evidence line is true by construction, not by report.** `verify_pins()`
checks BOTH LEVELS of BOTH legs — the recorded gitlink and the checked-out
revision, as `scripts/verify-openxdox-pin.py` checks them and as separate
required comparisons because only one of them catches each case — and refuses
`equivalence-reach-unavailable` on any mismatch or unreadable gitlink. Without
it, a leg left detached at some other commit renders perfectly well and § 8.2's
line names a pin that did not render. Every `git` read is scrubbed of
`GIT_DIR` / alternate-object-directory / replace-ref configuration, bounded at
30 s and `--no-replace-objects`; `--pre-ref` reaches `git rev-parse` behind
`--end-of-options`; the archive reads the RESOLVED COMMIT, so a branch or a
force-updated tag moving between the two reads cannot leave the runner
recording commit A while rendering commit B; and the verdict DERIVES the
post-side modules and their legs PER ROW from what `carved_reach` actually
resolved, so a `re_destined:` row cannot make the evidence line name a leg that
did not render. (All of that is Copilot's round 1
on this pull request: seven findings, every one FACT-correct on the landed
text, every one fixed with a test that would catch it coming back. **Round 2**
added three more, also all FACT-correct: the nested leg WORKTREE — what
`carved_reach` actually imports from — was never checked for dirt, so an
uncommitted edit rendered bytes that are not the pinned commit's while every
sha comparison passed; `GIT_CONFIG_PARAMETERS`, the channel `git -c`
propagates through, survived the scrub; and the unreadable-checkout refusal did
not distinguish a failed `rev-parse` from a checkout that is off its pin.
**Round 3** raised nine: six are fixed — `--source-revision` validated for
shape (which also closes SonarCloud `pythonsecurity:S8705` at the child argv),
a git read that did not ANSWER no longer reported as a missing ref, a
formatting-only difference still printing a diff, the verdict and the diff
header DERIVING the post side from the resolved modules instead of spelling
`openXdox-code` (a `re_destined:` row would otherwise render one leg and report
the other), and `-I` described accurately — and three are the
pin-verification class at its two-round cap, answered by measurement in
[one comment](#1105 (comment))
and registered for the next act on the file.)

Two things a builder would otherwise get wrong, both measured:

* **the PRE side runs in an ISOLATED child interpreter.** Both trees define
  `ideation_dashboard` AND `doc_health`; one process would resolve whichever
  landed on `sys.path` first, for both names, and could report equivalence
  against itself. `-I` drops `PYTHONPATH`, the user site directory and the
  implicit cwd entry, so the archived tree is the only place the child's two
  imports can come from.
* **`source_revision` is pinned on both sides, with an injected git.** Unpinned,
  the post side reads the checkout's HEAD through `RealGit` and the pre side —
  an archive, not a repository — reads `unknown`, and the digests then differ
  for a reason that has nothing to do with the projection. The pre-split
  determinism suite already solved this (`PINNED_REVISION = "abcd1234" * 5`);
  both sides here get that pin, and a test moves it to prove it is projected and
  that the injection reaches both sides.

## The run has teeth, measured rather than assumed

Four corpus states in one invocation, and **two of them MOVE the digest**:

| corpus state | bytes | sha256 | moves? |
| --- | --- | --- | --- |
| as it ships (11 files) | 14,849 | `764b077b…` | baseline |
| a file the projection does not read, added | 14,849 | `764b077b…` | no |
| one document DROPPED | 13,846 | `ba0e384b…` | **yes** |
| one `Status:` header changed | 14,845 | `0ed6e0d2…` | **yes** |

Both directions are needed. A projection that read everything would move on the
unread file too, and "equal" would then only mean "both sides ignore the
corpus".

**Two mutation controls, one on each side**, are what prove the runner refuses
when the sides differ — a comparison written `post == post` passes the first and
fails the second, which is why they are two tests and not one twice. Each is
asserted to produce `equivalence-digests-differ` carrying both digests, both
byte counts and a unified diff that NAMES the field. Every refusal kind is
driven through the command line rather than stubbed, including
`equivalence-reach-unavailable`, which is reached by copying the runner and
`carved_reach.py` into a tree with no legs.

**Nothing in this suite skips, and the last test asserts that of this file.**
`.github/workflows/pytest-suite.yml` pins `EXPECT_SKIPPED` as an EXACT sum
because a directory that quietly turns into skips reports as a green bar; this
suite has no conditional it could stand down on, since the gate's checkout is
`fetch-depth: 0` (so the tag is reachable) and it initialises both legs
recursively. `MIN_SELECTED` and `MIN_PASSED` are floors and need no edit.

## The second thing this run proves — § 4.4's profile fidelity

The arrived `generator.py` is parameterized by RULING C2 / § 4.4's domain
profile, measured at both ends: the pre-split blob (912 lines) carries the
literals inline — `"staged"` at `:348` and `:366`, `"picked"` at `:893` — and
the arrived one (974 lines) resolves each through `domain_profile.current()`
in `_declared_origin_kind()` (`:337`) and `_picked_register_state()` (`:324`).
**A byte-identical snapshot is therefore mechanical proof that
`contracts/domain-profiles/openxfactory-engineering.yaml` reproduces
openxFactory's vocabulary word for word** — one sentence of evidence, claimed
for § 5.5 and for § 8.2's line and for nothing else: **§ 4.4's box does not
move**, and this pull request ticks no box at all.

## Registered residue — what this runner does NOT do, by name

§ D6 (4)'s own words are "the same snapshot digests"; `canonical_bytes` reaches
no validator, so the run is complete without one. **The snapshot VALIDATOR is
nonetheless broken three ways by the carve, and this is the record of it**
(owed to § 8.9 or a successor, not repaired here — it would drag a
three-repository schema split into a box whose ruling asks for digests, and
touch openXdox-code, which #23 holds):

1. `openXdox/code/scripts/validate-ideation-dashboard-contracts.py` derives
   `SCHEMAS_DIR = ROOT / "contracts" / "schemas"` from its own `__file__` and
   openXdox-**code** carries no such directory (`exit 2`, `ERROR … not found`).
   Its ten schemas are split three ways — snapshot/index/gate-action at
   openXdox-**spec**, workbench/chat-turn/model-catalog at openDox-**spec**,
   gate-intent/possibles-register/project-register/demotion-receipt HERE — so no
   single `--schemas-dir` closes it either. **As carved, it cannot run from
   anywhere.**
2. `openxdox/snapshot.py`:29's `VALIDATOR_RELPATH` is a `moved_verbatim` row and
   now names `openxFactory/scripts/validate-ideation-dashboard-contracts.py`, a
   path this repository shed at `cc4ae9d3`.
3. `find_validator()` WALKS UP THE PARENTS, so a run started inside a checkout
   that still carries a pre-shed copy silently adopts it — floor37 § 6's defect
   class (a reader adopting its enclosing tree) arriving a second time in a
   different module.

Also flagged and NOT claimed: the snapshot **INDEX**
(`openxdox/snapshot_registry.py`, `ideation-dashboard-snapshot-index.schema.yaml`).
§ D6 (4) says "snapshot digests"; the index is a second artifact and would be a
second runner.

**The runbook section is deferred, deliberately.** Part 4's home is runbook
**§ 2.3** — never § 5.5, which is the runbook's own "The two commits, and why
they are two" — and the runbook's § 2 family is contended by #1085 and #1086.
The follow-up lands after both. The runner and its suite share no file with
either pull request.

## Bound by

RULED **OQ-1** `5547060378` (four parts, none substitutes for another;
"snapshot-equivalence only" was rejected on the record, so this closes the
FOURTH part and claims nothing for the other three) · RULED **OQ-K**
`5609526215` (its reasoning against a scalar in a ratified document —
"re-falsified by every merge" — is why the referent is a TAG and not a recorded
golden digest) · RULED **DQ-1** `5547049745` (openxFactory keeps `doc_health`
and its own adapter — the half of the post-split stack that stayed) · RULED
**(a) POST-SHED MODE** `5625573095` (carve digests frozen at `b075fd91` /
`opendox-carve-0`) · RULED **Q7** `5626248666` (`scripts/carved_reach.py`, the
one composition point) · RULING **C2** / § 4.4 · `design.md` § D6 (4):676-679 ·
§ 8.2's one-evidence-line-per-part.

## Verification

* `python3 scripts/verify-snapshot-equivalence.py` → `OK — 1 of 1 corpus
  state(s) equivalent`, exit 0, **0.78 s**, 14,849 bytes, `sha256 764b077b…`.
* Four corpus states in one invocation → `OK — 4 of 4 corpus state(s)
  equivalent`, exit 0, **1.196 s**.
* `--pre-ref contract-v3.7` (`45bd9ee2`) → the identical digest, exit 0.
* All five named refusals AND the blanket reproduce END TO END through the
  command line; not one of them is stubbed to be reached.
* `pytest -q tests/snapshot_equivalence` at `9be6727f` → **47 passed in
  24.14 s**, 0 skipped. (Earlier figures in the Copilot rounds — 21, 22, 28,
  29, 33, 38, 39 — are each the count at the revision they were measured at;
  the suite grew by a test per finding fixed.)
* `pytest -q tests/snapshot_equivalence tests/ideation-dashboard` →
  **1145 passed, 13 skipped in 322.57 s** (the 13 are the ideation-dashboard
  suite's own, under a targeted invocation; this directory contributes none).
* `pytest -q tests/snapshot_equivalence tests/carve_conformance
  tests/carve_manifest tests/domain_profile tests/openxdox_pin
  tests/opendox_pin` → **444 passed in 78.31 s**.
* **SonarCloud (advisory on this lane) reads ERROR on `new_security_rating`
  alone**, from ONE open `pythonsecurity:S8705` "command argument injection":
  `render_pre`'s child `subprocess.run`, where the tainted value is now only
  the `--corpus` path. It is `Path(...).resolve()`d and `is_dir()`-checked
  before it is used, and it lands as a POSITIONAL argument after `-c
  <program>`, which Python reads out of `sys.argv` and never parses as an
  option. Two of the three S8705 issues on this file are already CLOSED by the
  `--end-of-options` / resolved-commit fixes of round 1 and the
  `--source-revision` object-id validation of round 3 — the same class, taken
  where it was real. The remaining hardening (hand the child its inputs through
  the environment rather than argv) is registered with the six owed to the
  successor act.
* **THE GATE'S OWN `pytest-suite` AT `9eee4706` (run 35352846274): `4 failed,
  7966 passed, 6 skipped, 338 deselected` in 21:06.** `skipped == 6` is exactly
  the pinned `EXPECT_SKIPPED`, measured on the runner with this suite at 46
  tests — **this directory moves it by zero**, and `tests/snapshot_equivalence`
  contributes no failure. The four failures are `pytest red = inherited main
  red, 4ccab7b`: they are IDENTICALLY main's own four at `4ccab7b9` (run
  35350757712) —
  `tests/sequenced_after/test_archive_commit_dates.py::test_THE_BATCH_WALK_AGREES_WITH_A_PER_DIRECTORY_LOG_on_every_DISPOSITION`,
  `…::test_THE_LIVE_RECORD_DISPOSITIONS_ONLY_REAL_DISAGREEMENTS_and_NAMES_FACTS`,
  `…::test_THE_LIVE_PLAIN_RUN_IS_GREEN_WITH_ZERO_UNDISPOSITIONED`,
  `tests/sequenced_after/test_validate.py::test_corpus_sequenced_after_all_validate`,
  all `archive-date-vs-commit` over `2026-09-16-add-composed-view-authoring`.
  The same held at `2c0e7030` before the holder's `gh pr update-branch`, where
  the gate read `3 failed, 7960 passed, 6 skipped` against main's three at
  `aea1e6ce`.
* The whole `pytest-suite.yml` invocation (`python3 -m pytest tests/ -q -m "not
  postgres"`) was run locally AT `9c1a07f2`, when this suite held 21 tests:
  8330 selected, 8081 passed, 103 skipped, 96 failed, 50 errors, in 35:48.
  **`tests/snapshot_equivalence` is 21 of 21 passed, 0 skipped, 0 failed in
  that report** — which is the number
  `EXPECT_SKIPPED` cares about, and this directory moves it by zero. The local
  totals are NOT a control for CI and are not offered as one: 86 of the 96
  failures are `tests/trust-anchor` and all 50 errors are `tests/clearing`,
  neither of which this change touches, and the local skip count (103, of which
  74 are `tests/factory_identity`) differs from the gate's pinned 6 because the
  gate has tokens, a network and a pinned OpenSpec CLI this workstation does
  not. One failure was controlled explicitly and is NOT this change's:
  `tests/doc-health/test_sentinel_vocabulary.py::test_the_pin_counts_did_not_move_and_no_site_is_classified_twice`
  fails identically on a clean `origin/main` `9c817545` checkout here
  (`len(report.lost) == 0`, frozen at `1`) — a `--filter=blob:none` clone's
  `origin/main` IS its own HEAD, so the census's comparison against a MOVED
  main has nothing to see. **The gate's own `pytest-suite` run on this pull
  request is the authority.**
* **A mutation sweep of the runner at `2c0e7030`: 25 mutants, 25 caught, 0
  survived**
  (banked at `attachments/lane-opendox/floor55/build/mutation-sweep.log`). It
  earned its keep three times, and each survivor produced a commit rather than
  a shrug: `FakeGit(head=source_revision)` → `FakeGit()` survived, because with
  an explicit `source_revision` the generator calls `commit_date` once and
  never `head_sha` (measured with a recording git) — which is the reason to pin
  the injected anchor and not the reason not to; deleting the
  unrecorded-gitlink guard survived, because in a healthy tree that branch is
  never taken; and dropping `--end-of-options` survived and is MEASURED
  EQUIVALENT today (git 2.43.0 answers exit 1 with empty stderr either way,
  because the appended `^{commit}` already makes any option name unparseable),
  so the marker is kept and held by a source assertion carrying that
  measurement as its stated reason.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…faithful (RULED Q-F1 (a)) (#1086)

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

Refs #656 (stays OPEN).
CLAIM: 5714686940

**RULED Q-F1 (a)** — Brett Heap, 2026-09-17, #656 comment 5714365086: *"the
DESTINATION TRANSPOSES the corpus into git (`conformance_corpus.transpose()`,
`--corpus <transposition>`, bytes unchanged)"*. This is the **openxFactory
half** of that ruling and nothing else.

## Why the ruling exists

FLOOR PART 3 (`split-opendox-two-layer-product` § 3.7, design § D6 (3), RULED
OQ-1) is a claim about a READER: *every* destination passes the same neutral
conformance corpus. The corpus is laid down as a plain directory tree
(`tests/corpus-adapter/fixtures/`, RULED OQ-3's seed, named by eleven manifest
rows and therefore not relocatable). openDox's reader
(`opendox.runtime.local_git_adapter.LocalGitCorpus`, openDox-code #26) has a
different location vocabulary: its corpus is git HISTORY, not a working tree.
Measured 2026-09-17 by the lane's read-only actor `floor37` against #26
`6c8f19e7`: pointed at the fixtures as they ship, that reader refuses at
resolution (`corpus-unclassifiable — the directory is not a git repository`)
and reaches **1 of 17** checks, sixteen "not reached". Pointed at a
transposition of the same three documents it reaches all seventeen and passes
eleven.

Narrowing the corpus was never on the table — "narrowing the corpus to what
the legs pass today would be FLOOR PART 3 deleted to tick FLOOR PART 3". The
ruling instead lets the DESTINATION lay the same documents down in the form
its own reader addresses, bytes unchanged, and say so. This pull request is
the other side of that bargain: **the permission comes with a proof.**

## What this changes

**1. `scripts/verify-carve-conformance.py` proves a transposition faithful
before it measures a reader.**

* The REFERENCE side is computed here, from files, with no reader in it:
  `document_fingerprint()` returns `{key: sha256(bytes)}` over every document
  of `tests/corpus-adapter/fixtures/neutral` in the checkout the runner runs
  from.
* The CANDIDATE side is what the reader under test SERVES out of the
  `--corpus`: `list_documents` at the corpus's declared revision, then `read`
  for each. It must be that table exactly — the same keys, the same bytes
  under each key. (Keys are COMPARED, never parsed, which is the interface's
  own rule: *"a consumer may compare it, sort it and hand it back, and may not
  parse it"*.)
* A difference refuses a new sixth code, **`conformance-corpus-unfaithful`**,
  exit 2, NAMING the keys — documents the corpus holds and the transposition
  does not serve, documents it serves that the corpus does not hold, and
  documents whose bytes differ (with both digests). It refuses BEFORE any of
  the seventeen runs.
* The verdict line and the `--json` payload carry the transposition — path,
  `shipped`, document count, and the table's digest — so § 3.7's evidence
  reads *transposed, faithful* and a reader of it can recompute the number.
* Two deliberate asymmetries, both tested. Where the reader cannot RESOLVE or
  LIST the location at all there is nothing to compare, so the proof records
  the reason and hands over to the seventeen, which report it far better
  (`resolve-populated` failing, the rest not reached) — and a run whose
  seventeen all passed over a transposition never proven faithful refuses at
  the END rather than printing `OK`. A document the reader LISTS and will not
  serve is unfaithful, because the seventeen would not catch it:
  `read-round-trip` reads the FIRST document only.

**2. The default path is byte-for-byte what it was.** The proof is taken only
when `--corpus` RESOLVES somewhere other than this repository's own fixtures.
No `--corpus`, or `--corpus <the fixtures>`, is the shipped corpus compared
with itself, which proves nothing and is not claimed: `transposition` is
`null` in the JSON and the human line is unchanged. Measured, both lines
verbatim:

```
$ python3 scripts/verify-carve-conformance.py --destination openxfactory \
      --dest-root . --adapter home_factory:neutral_reader \
      --sys-path tests/carve_conformance
OK …/oxf: openxfactory passed the neutral conformance corpus — 17 of 17
check(s), reader home_factory:neutral_reader, corpus …/tests/corpus-adapter/fixtures
exit=0
```

**3. The `:317` refusal is reconciled with the ruling, and it was the PROSE
and never the condition.** `corpus_locations()` refuses
`conformance-corpus-missing` when `--corpus` is not a directory — correct, and
a transposition satisfies it. What was wrong was the sentence it printed:
*"point --corpus at a checkout that carries it"*. A transposition lawfully
lives in a temporary directory that is no checkout at all, and an operator who
read that sentence could conclude the ruling was unimplementable. The message
now names the transposition and says it need not sit inside any checkout;
`test_the_corpus_missing_refusal_admits_a_transposition_outside_a_checkout`
reds if the old sentence comes back.

**4. `tests/carve_conformance/git_history_factory.py` — a reader whose corpus
IS history, and the transposition it addresses.** This is openxFactory's own
evidence for the ruling and NOT a destination's reader (its docstring says so
in the first paragraph). A test that used the home reader over a COPY of the
fixtures would exercise the comparison and never the case the ruling was
written for: no working tree, an empty state carrying no placeholder files,
documents that exist only as blobs at a revision. So this file supplies the
smallest honest one — ~100 lines over `git cat-file` / `git ls-tree`, stdlib
plus the interface — plus `transpose()`, which lays the same three documents
down as blobs at the same keys in a BARE repository per corpus state, through
git's own plumbing so no working tree ever exists, copies `not-a-directory`
verbatim and never creates the absent name. Measured end to end:

```
$ python3 scripts/verify-carve-conformance.py --destination openxfactory \
      --dest-root . --adapter git_history_factory:reader \
      --sys-path tests/carve_conformance --corpus <transposition>
OK …/oxf: openxfactory passed the neutral conformance corpus — 17 of 17
check(s), reader git_history_factory:reader, corpus …/probe/git, TRANSPOSED and
FAITHFUL to …/tests/corpus-adapter/fixtures — 3 document(s), key/sha256 table
744c9183e65f40fcd9061d6cdadf254db0b1a5c4a0ab633fc210b724e0f013c1
exit=0
```

That digest is the same value a plain file copy of the fixtures produces,
which is the whole point: one corpus, two storage forms.

**5. Documents.** `docs/opendox-cutover-runbook.md` § 2.2 gains the
transposition paragraph (a destination may transpose; it says so; the runner
proves it) and a sixth row in its refusal table; README's doc index moves from
"five refusal codes" to six and names the flag; `scripts/corpus_adapter.py`'s
list of what still imports the interface by path grows the runner (for
`CorpusRef`) and the new fixture.

## Evidence, all of it measured by a command

| measurement | command | result |
| --- | --- | --- |
| the runner's own suite at base `a93d2682` | `python -m pytest -q tests/carve_conformance` | **38 passed** |
| the same at the FIRST head of this branch | same | **55 passed** (+17) |
| the same at `1c737838` | same | **82 passed** (+44) — the twenty-seven tests the nine review rounds added |
| the carve manifest suite | `python -m pytest -q tests/carve_manifest` | 181 passed |
| arrival + both pin suites | `python -m pytest -q tests/carve_arrival tests/opendox_pin tests/openxdox_pin` | 264 passed |
| conformance + manifest + arrival at `1c737838` | `python -m pytest -q tests/carve_conformance tests/carve_manifest tests/carve_arrival` | **423 passed** |
| the seam's own suites at `1c737838` | `python -m pytest -q tests/corpus-adapter tests/carve_conformance` | 165 passed |
| doc-health at `1c737838` | `python -m pytest -q tests/doc-health` | 1826 passed |

**Thirty-eight mutation proofs** now stand behind this act. The thirteen below
are the ones this branch opened with; M14-M38 belong to Copilot rounds 1-9 and
are tabulated in the round comments on this pull request — the strongest of
them is M35, which shows this runner printing `OK ... 17 of 17 ... TRANSPOSED
and FAITHFUL` over a reader that served altered bytes to the seventeen, the
defect round 8 found and closed. Each proof is applied to the landed code, run
against the named test, and reverted — the file's own doctrine that a green run over a
well-behaved reader proves the reader and not the corpus:

| # | mutation | test that reds |
| --- | --- | --- |
| M1 | the proof never runs (`if False`) | 8 of the new tests |
| M2 | bytes ignored (`changed = []`) | `…one_byte_changed…`, `…runs_BEFORE_the_seventeen` |
| M3 | keys ignored (`missing`/`extra` emptied) | `…dropped_a_document…`, `…added_a_document…` |
| M4 | the proof moved AFTER `run_corpus` | `…runs_BEFORE_the_seventeen`, `…dropped_a_document…` |
| M5 | the last gate removed | `…unproven_transposition_still_refuses` |
| M6 | reference keyed by basename, not POSIX relpath | `…reference_table…`, `…digest_is_the_shipped_corpuss_own_table` |
| M7a | digest built over unsorted keys | `…depends_on_the_pairing_and_not_on_the_order` |
| M7b | the NUL separator dropped | the same test — **it did NOT red until an assertion was added**, which is why commit 3 exists |
| M8 | `transpose()` also writes a working tree | `…is_history_and_not_a_working_tree` |
| M9 | the `:317` sentence reverted | `…admits_a_transposition_outside_a_checkout` |
| M10 | a read that raises is swallowed | `…lists_and_will_not_serve_is_unfaithful` |
| M11 | an unresolvable reader refuses instead of being handed on | `…handed_to_the_seventeen`, `…unproven_transposition…` |
| M12 | the verdict line drops the transposition | `…passes_fidelity_and_the_whole_corpus` |
| M13 | the refusal payload drops `corpus` | `…named_in_the_refusal_payload` |

M7b is reported rather than quietly fixed: the mutation round found a real
gap in this pull request's own tests, and the commit that closes it says so.

## What this does NOT do, by name

* **openDox's `conformance_corpus.transpose()` and its in-tree factory are not
  here.** They are openDox-code #26's, with RULINGS Q-F2 and Q-F3, and belong
  to the lane's runtime actor. `git_history_factory.py` is openxFactory's test
  fixture and no verdict about openDox may be read off it.
* **§ 3.7 is not ticked and no § 3.7 evidence is written here.** `tasks.md` is
  the bookkeeper's file and is untouched. The sentence this act earns, for
  whoever places it: *"RULED Q-F1 (a) is realized at openxFactory: a
  destination may hand `verify-carve-conformance.py` a TRANSPOSITION of the
  corpus with `--corpus`, and the runner proves it faithful to the shipped
  fixtures document by document and byte by byte — the same keys, the same
  bytes at the corpus's declared revision — before any of the seventeen checks
  runs, refusing `conformance-corpus-unfaithful` and naming the keys
  otherwise, and names the transposition (path, count, key/sha256 table
  digest) in the verdict line and the `--json` payload, so a run recorded
  against a transposed corpus reads transposed, faithful."*
* **No re-measurement of any destination.** The per-destination table in
  runbook § 2.2 still carries its 2026-09-10 figures; `floor37`'s 2026-09-17
  re-measurement is the holder's to place, and openDox's row moves when #26
  lands.
* **No `openspec/changes/` path and no README OpenSpec Records block**, so
  this is a plain-gate pull request and not a Rule 6 landing.
* The `empty/` state's two `.gitkeep` placeholders are not imported by
  `transpose()` and are deliberately outside the fidelity proof: they exist
  only so a FILESYSTEM corpus can carry an empty directory, a git corpus
  carries one as the absence of a blob, and the claim about that state is the
  `empty-is-an-answer` check rather than a byte comparison. Same for
  `not-a-directory`, whose claim is `unreadable-refuses`.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…osition proof, and the box deliberately does not tick

#1086 -> 049d54a, merged 2026-09-18T17:09:24Z, "FLOOR PART 3 accepts a
destination's TRANSPOSED corpus and proves it faithful", RULED Q-F1 (a) (#656
comment 5714365086).

What it discharges is the RULING, not the box. Section 3.7's own words are
"EVERY DESTINATION PASSES IT", so it ticks only when BOTH destinations pass the
neutral corpus -- openDox via #26, openXdox via section 4.5a. A proof that a
transposed corpus is faithful is the machinery those passes will run on, not one
of the passes; accepting the landing as the tick would discharge a
two-destination condition on zero destinations.

The follow-up's scope is four registered findings, booked at section 3.7 rather
than as section 8.9 residue because they belong to this box's own instrument:
#1086 landed AS IS at head 43a48ed with four Copilot findings registered rather
than fixed (#1086 comment 5732073951), and transpose37b takes them as one
follow-up PR under claim 5714686940. They are not a condition of this box
either.

Registering findings and landing anyway is the same shape section 5.5 used for
#1105 -> #1110. It is recorded at the box that owns the instrument because the
pattern only works if the register sits where the next reader actually looks,
rather than in a residue list at the far end of the file.

One more clock measured rather than transcribed: #1086's mergedAt is 17:09:24Z,
not 17:09:30Z; its updatedAt is 17:09:31Z. That is the THIRD landing time handed
to this lane today that was the PR's updatedAt rather than its mergedAt (#1109,
#1110, #1086), all three caught by reading the field instead of accepting the
figure.

origin/main merged in, now carrying 049d54a. Ledger unchanged at 54 [x] /
17 [ ] / 1 [~] of 72; section 3.7 stays [ ]; one file; five marker changes
(5.2a, 5.5, 6.3, 6.4, 8.3). All four validators exit 0.

Refs #656 (stays OPEN). CLAIM 5728937703.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…d5 (#1113)

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

Refs #656 (stays OPEN).
CLAIM: 5714686940

**Follow-up to #1086 @`43a48ed5`'s four registered findings (comment
5732073951), holder decision 2026-09-18 17:09Z.** #1086 landed as
`049d54a9`; this branch takes all four of the findings that act measured but
had no push budget left to take. **One test each**, each mutation-proved.

Plain gate: three files, no `openspec/changes/` path, no README or runbook
change — no figure moves here, and **no document changes at all**.

## [1] `Document.revision` is checked for TYPE, before it is compared

`verify-carve-conformance.py` held the served revision to PRESENCE (`_ABSENT`
sentinel) and to EQUALITY, but never to the type the interface declares, while
`ResolvedCorpus.revision` has been held to its declared `str | None` since
round 8 **twelve lines up**. The equality is the READER's own `__eq__`: a
structurally loaded object can answer `True` against the declared string and be
certified FAITHFUL while being a malformed document response. The seam is
structural, so nothing at runtime makes a reader return the declared type.

The check runs **before** the comparison, not after — after it, the comparison
has already been decided by the object under test.

## [2] The proof rides through the REFUSAL paths

A `--corpus` run can be proven faithful and *then* refuse — `conformance-check-
failed`, or the end-gate — and `_refused()` dropped the record, so the JSON
carried the code, the detail and the corpus path but no `path`, `shipped`,
`documents` or `digest`. The runbook promises machine consumers exactly those,
so a caller could not tell WHICH proven transposition a failure covered.

The record now rides through **both** refusal paths under the same key and the
same shape as the success payload, and `null` where nothing was proven — a key
that appears only sometimes is a key a caller has to branch on, so there is a
second test for the `null` half.

## [3] The git reader refuses a blob it did not LIST (Q-T3)

`list_documents` narrows this fixture's document set to the `.md` entries while
`read()` served any path `cat-file` could resolve, so an existing but UNLISTED
blob was readable under an identity the reader never listed — which the
interface refuses (`DOCUMENT_UNKNOWN`). Both now answer from one `_keys_at()`,
because two definitions of one set is how they drift.

Measured honestly: the corpus as it ships holds three files and **all three are
documents**, so this case is *built* in the test rather than found. The gap was
latent — and a latent gap in the witness is still a gap in the witness.

## [4] The replacement control is hermetic too

One deliberate control `git` process inherited the caller's whole environment
while every other call in the fixture goes through `_git()` and the
repository's own scrubber. An ambient `GIT_DIR` would point it at another
repository; an ambient `GIT_NO_REPLACE_OBJECTS=1` — which that very scrubber
sets, so it is a plausible thing to be carrying — would suppress the
replacement the control exists to observe. It now runs through the scrubber
with exactly that one key removed.

This one always failed **loud** rather than passing falsely, so it buys
hermeticity, not a corrected verdict. Said plainly because the distinction is
the difference between a hole in the proof and a flake.

## Evidence, all measured by a command

| measurement | result |
| --- | --- |
| `tests/carve_conformance` | **87 passed** (82 on `main`) |
| `tests/carve_conformance` + `carve_manifest` + `carve_arrival` | **495 passed** (490 on `main`) |
| the control run's verdict line vs plain `main` | **byte-identical** |
| the control run's `--json` vs plain `main` | **byte-identical** |
| the git transposition run | `OK … 17 of 17 … TRANSPOSED and FAITHFUL … unmoved across the run` |
| the key/sha256 table digest | `744c9183…`, unchanged for the sixth consecutive build |
| `scripts/validate-carve-manifest.py` | OK — 456 rows, 318 digests recomputed |

Both control comparisons were taken in the SAME checkout at the same root, so
they are raw byte comparisons and not normalised ones. That both the human line
and the JSON are identical is the claim that matters here: **four changes to
the runner and the fixture, and the default path is untouched.**

**Four mutation proofs, M43-M46** — remove the type check; drop the record from
the refusal payload; remove the membership check; let the control inherit the
ambient environment. Each applied to the landed code, its own test watched go
red, then reverted (all three files verified restored byte-for-byte, tree
clean). This carries the act's total to **46**.

## What this does NOT do

* No document changes — the runbook's § 2.2 paragraph and README's index entry
  landed with #1086 and are not touched, so no figure moves.
* `tasks.md` is untouched; the § 3.7 tick and evidence sentence remain the lane
  holder's, as does the bookkeeper's still-owed append at
  `tasks.md:1189-1190` (five → six refusal codes, and "34 tests" → the suite's
  current size).
* openDox's own `transpose()` and in-tree factory remain openDox-code #26's,
  under RULINGS Q-F2 / Q-F3.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…ord the batch-3 landing word at sections 3.5 and 3.6 without ticking them

Section 6.5 TICKS on #1065 -> 8190328, merged 2026-09-18T17:54:08Z, "Close
add-lens-document-selection as re-homed to openDox, with the intra-requirement
split named", RULINGS Q6 + DQ-1. The landing rule held on both clauses again:
two parents, the 2026-09-16- directory keeps a 2026-09-16T13:29:40Z adding
commit (49ec794), and the archive-date arm re-run on origin/main merged with
the candidate exits 0.

The SPLIT is what makes this box the awkward one and the closure names it rather
than eliding it: the set-builder half re-homes while the doc_health.staging_seed
drafter and route stay in openxFactory's own adapter, so the requirement is
divided within itself. A re-home that moved the whole requirement would have
been the easier record and the false one.

Sections 3.5 and 3.6 take a STATUS and deliberately do NOT tick (RULED
2026-09-18 17:55Z, #656 comment 5734029578): openDox-code #25 and #26 take a
third mini-batch for three security items and then land on that word. The word
authorizes the LANDING and the box ticks on the landing -- the same two-act
ordering section 6 uses for a disposition and section 5.3 used for #1059.

Item (4), the OPENDOX_SERVED_DATABASE declaration, is a follow-up act under the
same claim and is deliberately NOT in batch 3. That is written into both STATUS
sentences so a reader meeting #25's or #26's landing does not expect the
declaration in it, nor read its absence as an omission.

#1065 also comes out of the "remaining section 6 closures" list, the fourth
repair of that forward reference in this amendment; #1066 and #1103 remain.

origin/main merged in at 8190328. Ledger 55 -> 56 [x] / 15 [ ] / 1 [~] of 72;
one file; seven marker changes (5.2a, 5.5, 6.1, 6.3, 6.4, 6.5, 8.3). All four
validators exit 0.

Refs #656 (stays OPEN). CLAIM 5728937703.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
… section 3.6 on the security defect that stopped #26

Section 3.5 TICKS on opensoft/openDox-code #25 -> aca94ecb, merged
2026-09-18T18:15:40Z, "the openDox runtime -- FastAPI + Postgres, identity and
coordination, and nothing else (RULED Q1/Q2)". The landing word was RULED
2026-09-18 17:55Z (#656 comment 5734029578) after a third mini-batch took three
security items; the word authorized the landing and the box ticks on the
LANDING, the same two-act ordering section 6 uses for a disposition.

Two things are owed and neither is this box's condition. #25 landed with three
suppressed Copilot findings REGISTERED rather than fixed, taken by the follow-up
under the same claim -- the same land-and-register shape section 5.5 used for
#1105 -> #1110 and section 3.7 used for #1086, now three times in this packet
and therefore a practice rather than an exception. And item (4), the
OPENDOX_SERVED_DATABASE declaration, was deliberately not in batch 3.

Section 3.6 does NOT tick and its STATUS says why. #26 is still an open draft:
its BASE MERGE introduced a credential exposure at app.py:1076, being fixed in
#26 before it lands. The record carries the fact, the file and the disposition
and deliberately not the value; no credential is reproduced, and the diff adds
no value-shaped string.

That pair is worth stating plainly: a landing word is not a landing. The word
covered #25 and #26 together and was given before the defect was found, so it
authorizes the act rather than certifying the result -- which is exactly why
this ledger ticks on landings and not on authorizations. A sibling's landing
does not discharge this box.

One more clock measured rather than transcribed: #25's mergedAt is 18:15:40Z,
not 18:15:46Z; updatedAt is 18:15:47Z. Fifth occurrence today.

Ledger 56 -> 57 [x] / 14 [ ] / 1 [~] of 72; one file; eight marker changes
(3.5, 5.2a, 5.5, 6.1, 6.3, 6.4, 6.5, 8.3). All four validators exit 0.

Refs #656 (stays OPEN). CLAIM 5728937703.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 18, 2026
…umbering, so this act becomes the TWELFTH bump

main moved to 4401e1a while this PR waited on RULED Q-X4 (a)'s landing order,
and #1085 (`1da7ea6e`, the § 3.4 SLICE-S7 RESIDUE annotation) RENUMBERED the
admissions bumps: § 3.4 SLICE S5's amendment, which had carried no ordinal, was
given one, and that "put every ordinal after it one low". main now runs to the
ELEVENTH.

Two conflicts, both in `tests/carve_arrival/test_verify_carve_arrival.py`, both
resolved by keeping BOTH sides and taking MAIN's numbering:

- The docstring's amendment log. main's NINTH (openxFactory PR #1067, the ten
  `src/opendox/runtime/` files), TENTH (RULED Q7's CSS extraction) and ELEVENTH
  (the S7 RESIDUE) are kept verbatim, and this act's paragraph — which read "A
  NINTH TIME" against the old numbering — becomes "A TWELFTH TIME". Its own
  cross-reference moves with it: "the sixth, seventh and eighth bumps" is now
  "the seventh, eighth and ninth", which is the same three amendments under
  main's numbering (S7, S8, the runtime ten).
- The durable-assertion enumeration. main's fuller list is kept whole — S5's
  eight across both legs, S8's one, the ten runtime entries, RULED Q7's five and
  the S7 RESIDUE one — and this act's five `openxdox_code` entries are appended
  to it rather than replacing anything.

The assertion block's own label follows the docstring: `THE NINTH BUMP` ->
`THE TWELFTH BUMP`. Its measured example is RE-MEASURED rather than assumed, and
is unchanged — `tests/carve_arrival` is still 159 tests, so the comment's
"1 failed, 158 deselected" still reads true.

`docs/opendox-carve-admissions.yaml` merged with no conflict: #1085's
`tests/test_display_facet_leaves.py` row lands at `opendox_code` and this act's
five rows at `openxdox_code`, different destination blocks. Both sides' rows are
present and every destination is still alphabetical by `path` with no repeat
(`opendox_code` 33 rows, `openxdox_code` 32).

MEASURED ON THE MERGE RESULT, not carried over:

    python3 scripts/validate-carve-manifest.py
      OK — phase post-shed, 456 row(s), 318 digest(s) recomputed,
      456 file(s) in the declared surface with none undeclared        exit 0

    python3 -m pytest -q tests/carve_arrival tests/carve_manifest
      408 passed in 156.78s                                          exit 0

    python3 scripts/verify-carve-arrival.py --destination openxdox_code \
        --dest-root <openXdox-code @ 5b8e527a> --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 — 129 file(s) with none undeclared (1 scaffold, 2 replica,
      28 created); 2 of 2 declared replicas verified                  exit 0

The four STALE admissions that arrival line names (the RULED Q7 `openxdox_code`
sheets) are main's own TENTH bump and predate this merge — declared and not yet
needed at the leg, which the verifier reports and does not refuse.

THIS PR PINS NO openDox-code COMMIT. Its five rows carry two openXdox-code
introducing commits, `d4282454` (the three modules) and `5494bb43` (the two
tests). It waits on openDox-code #26 for RULED Q-X4 (a)'s landing ORDER only.

Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…5, § 6.1, § 6.3, § 6.4, § 6.5, § 8.3), two landing-form INCIDENTS, and six residue rows (#1104)

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

Refs #656 (stays OPEN). CLAIM [`5728937703`](#656 (comment)).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #6 — EIGHT ticks, the rulings of 2026-09-18 encoded, two INCIDENTS registered, and six residue rows booked.**

Claimed after a clean sibling search. Branch off `main`; amendment #5 landed at `cb0f8544`. `origin/main` is merged in. **Rule 6 applies.**

**Ledger 49 `[x]` / 22 `[ ]` / 1 `[~]` of 72 → 57 / 14 / 1 of 72.** One file. **Exactly EIGHT marker changes — § 3.5, § 5.2a, § 5.5, § 6.1, § 6.3, § 6.4, § 6.5, § 8.3.** Both gitlinks untouched.

> **This description has been rewritten as the amendment grew.** It previously declared *one* tick, then *two*; each figure was superseded by evidence that landed after it was written. Copilot correctly flagged the mismatch against heads `d323b9b5` and `fe9e5e6f` — the ledger was right and the description was stale, and this is the repair. The counts above are measured at head `7ac75a4e`.

## Eight ticks

**§ 5.2a — on RULED R-A** ([`5728607038`](#656 (comment))). `repromote-engineering-vocabulary` is **RATIFIED**, filed by **#1071 → `e83f8cd7`**. The box owed an **authored id**, and `openxfactory-engineering-adapter` is authored, filed and ratified. **Its archive is not this box's condition and is not claimed as one.**
> **The ratification is on the word; its ENCODING is owed and is now registered at the box.** Copilot raised across three heads that the successor packet still reads `draft`. **Measured true**: `Status: draft` in `proposal.md`, `design.md` *and* `tasks.md`, ratification tasks **1.1–1.6 all `[ ]`**, no `review/ratification-<date>.md`. **The tick stands** — what ratifies a change here is Brett Heap's word, and a packet's headers *record* a ratification rather than perform one — **but the encoding belongs to that packet's owner under its own claim**, and this amendment must not edit a neighbouring packet's lifecycle headers on its way past.

**§ 6.4 — on #1056's closure.** **#1056 → `3e32d987`**, merged **2026-09-18T10:50:06Z**, closing `add-composed-view-authoring` as re-homed to openDox under **RULING Q6**. Its destination half, `openDox-spec` **#12 → `edeed08c`**, was byte-identity verified at both ends by amendment #5.

**§ 6.3 — on #1057's closure.** **#1057 → `4ccab7b9`**, merged **2026-09-18T13:31:51Z**, closing `add-doxchat-model-intake` as re-homed to openDox under **RULING Q6**. Recorded Rule 6 window 13:31:44Z → 13:32:00Z, and **the measured merge time falls inside it** — the check worth making on a window rather than reading it back.

**§ 8.3 — on Brett Heap's word and the live evidence** at [`5729935756`](#656 (comment)). The box names **three clauses** and the tick is decided by reading its own text, each clause on its own artifact: the shed merged (**#940 → `cc4ae9d3`**); the MAJOR cut merged and **TAGGED** (**#983 → `ce5c054e`**; annotated tag `contract-v4.0`, object **`9e6c0ae4`**, peeling to `ce5c054e` **exactly**); and the tag verified from an independently refreshed checkout — **re-derived in this lane's own clone rather than transcribed**, `verify-tag` and `verify-commit` each returning `{"findings":[],"status":"pass"}` at exit 0. **Two independent checkouts agree**, which is what the clause asks for.
> **Three readings that could pass for defects are disposed of on the page**: the tag is **unsigned**, but it is a genuine annotated tag and **all 56 `contract-v*` tags are the same unsigned annotated form**, and the box asks for *verified*, not *signed*; **`verify-promotion`'s 4 findings** are a **pre-cut gate read after the cut** per its own docstring at `release.py:1197`, so `HGR-RELEASE-TAG-EXISTS` fires by construction; and **a harness error can impersonate a tag finding** — with shallow legs `verify-tag` raises `ReleaseDependencyError` and emits **no** finding. *The failure shape is the tell: a tag defect is a `findings` entry, a leg defect is a traceback.*

**§ 5.5 — FLOOR PART 4, on the runner the ruling asked for.** **#1105 → `02967478`**, merged **2026-09-18T14:59:28Z**. The box's condition was a **gated runner, not a recorded run**, and both halves are measured present: `scripts/verify-snapshot-equivalence.py` and `tests/snapshot_equivalence/test_snapshot_equivalence.py` are the two files the commit adds, `pytest-suite` runs `python3 -m pytest tests/ -q` (`pytest-suite.yml:599`) so the suite is inside the gate **by construction** rather than by a wiring entry that could be dropped, and it **collects 60 tests** in this branch's own tree (48 before `#1110` added its watchdog suite — the figure is bound to this head, not carried). *That is exactly why Q-P1 (a) refused a one-shot run: the post-split side is a pin that moves, so what holds the equality is a gate that re-proves it every time.*
> **One STATUS clause is owed, and it is a REVIEW DEBT rather than a runner defect.** Copilot's review at the landed head `9ed3def3` (review `5249196044`) carries **four suppressed findings** the holder's gate script did not surface before landing; **`floor55b` takes them as a follow-up act**. The tick is not held on that — this box asked for a gated runner and the gated runner is on `main`, and conflating an owed review act with the box's stated condition would leave the floor's fourth part unticked for a reason the box never stated. **Second occurrence in this packet of a per-push review body going unread**, which is why the clause names the review ID.

**§ 8.2 stays `[ ]` and gains part 4's referent** — it owes one evidence line *per part* and is discharged by all four, not by the fourth.

**§ 6.1 — on #1060's closure, and it is the landing rule's first clean pass end to end.** **#1060 → `e3647b6d`**, merged **2026-09-18T17:30:27Z**, closing `add-nightly-dashboard-refresh` as re-homed to openXdox, destination `openXdox-spec` **#15 → `f088b097`**. **Both clauses of the amended rule were exercised and both held**: clause 1 — two parents, and the `2026-09-16-` directory keeps a `2026-09-16T01:28:33Z` adding commit; clause 2 — the archive-date arm re-run on **`origin/main` merged with the candidate** exits **0**, so INCIDENT 2's stacked-history trap is measured absent rather than assumed absent.
> **One item registered for the successor, not booked as residue**: the self-gate `_REHOMED_AND_STILL_WHOLE` **cannot carry a row for a PARTIAL carriage** — this closure re-authored the proposal at the destination while the `doc-health` delta deliberately did not travel. A partial-carriage pin is owed (`#1060` comment `5733632291`). It sits at § 6.1 because it is a property of *this closure's shape*, and § 6.1 is where the next partial carriage will be read from.

**§ 6.5 — on #1065's closure, the awkward one.** **#1065 → `81903286`**, merged **2026-09-18T17:54:08Z**, RULINGS **Q6 + DQ-1**. The landing rule held on both clauses again (two parents; the `2026-09-16-` directory keeps a `2026-09-16T13:29:40Z` adding commit; the arm on main-plus-candidate exits 0). **The SPLIT is what makes this box awkward and the closure names it rather than eliding it** — the set-builder half re-homes while the `doc_health.staging_seed` drafter and route stay in `openxFactory`'s own adapter, so the requirement is divided *within itself*. A re-home that moved the whole requirement would have been the easier record and the false one.

**§ 3.5 and § 3.6 take a STATUS and deliberately do NOT tick** (RULED 2026-09-18 17:55Z, `#656` comment `5734029578`): `openDox-code` **#25** and **#26** take a third mini-batch for three security items and then land on that word. The word authorizes the **landing**, and the box ticks on the landing — the same two-act ordering § 6 uses for a disposition. **Item (4), the `OPENDOX_SERVED_DATABASE` declaration, is a follow-up act under the same claim and is not in batch 3**, written into both sentences so its absence from #25/#26 is not read as an omission.

## Two INCIDENTS registered

**INCIDENT 1 — the squash (§ 6.4).** #1056 landed by **squash**, so the archive directory named `2026-09-16` took a **2026-09-18** adding commit and reddened `main`. **Measured, not taken on report**: `3e32d987` has exactly one parent. **The rule this packet now carries: archive closures land by `gh pr merge --merge`, never squash** — written into the ledger because the ledger is what the next closure's author reads.

**INCIDENT 2 — the merge (§ 6.3), and it is why the rule gained a second clause.** #1057's branch was stacked on #1056's **pre-squash** tip, so landing it by merge commit carried #1056's original archive commit **`d8ff2ec2`** (2026-09-16) into `main`'s history. The checker then reads `d8ff2ec2` rather than the squash, the directory name agrees, and **#1106's disposition row — correct when it landed — is reported STALE**. `main` went red again at `4ccab7b9`.
> **Measured**: `d8ff2ec2` is not an ancestor of `bbd1cca8` (13:28Z) but is an ancestor of `main` after `4ccab7b9` (13:32Z); it arrives through #1057's **second parent**, **not** the first-parent line. The row was correct for about four minutes, then became wrong **with no edit to it and none to the directory**.
>
> **The lesson is not that the squash was fine.** A disposition row is a statement about **which commits are reachable from `main`**, not about a directory. Squash caused INCIDENT 1 by **mis-dating**; merge caused INCIDENT 2 by **re-parenting**. So the rule **gains a second clause** rather than being withdrawn: land stacked archive closures by merge commit, **and re-run the archive-date arm on `origin/main` merged with the candidate before opening the window**. The clauses answer the incidents **one each** — clause one would not have caught INCIDENT 2, and clause two could not have caught INCIDENT 1, since the squash commit does not exist until the landing happens.

## Three rulings encoded, moving no box

**§ 5.5 — RULED Q-P1..Q-P4** ([`5728856581`](#656 (comment))), over helper actor `floor55`'s read-only measurement. **The fourth floor part already holds**, so what is owed is a **RUNNER, gated in `pytest-suite`**, not a recorded run — *because the post-split side is a pin that moves, and an equality proved once is not an equality held.* The pre-split tree is the published annotated tag **`opendox-carve-0` → `b075fd91`**, `git archive`d into a temp tree. The snapshot **validator is not part 4's** (§ D6 (4) asks for equal digests; `canonical_bytes` reaches no validator). § 4.4's profile fidelity earns **one sentence** here and one in § 8.2's line, **and moves no box**.

**§ 5.6 — RULED R-B, R-C, R-D** ([`5728607038`](#656 (comment))), over helper actor `defloor56`'s measurement, spot-checked at codexFactory `main` `22d44b09`. **R-B, the ORDER EXCEPTION**: the order this box writes is **jointly unsatisfiable** with `assert_landed_pin` for a removal, and has never been exercised because no floored path has ever been removed. **The measured cost decides it** — de-floor-first reds `openxFactory`'s **REQUIRED** `pytest-suite` repo-wide; archive-first reds only codexFactory's **ADVISORY** merge-master lane, which that spec's own design intends (*"the deleting PR carries the failure"*). **No REQUIRED check goes red at any step of the ruled order.** **R-C** reads the `SPECS_FLOOR_PATHS` clause as satisfied by the regeneration, since codexFactory #232 made the constant computed at import — **the reading is recorded, the clause is not edited**, in this packet's no-deletion style. **R-D** records the additions-only test fixed inside the de-floor PR as a test-scope correction: it asserts `removed == set()` over the live document, was **proven RED on the dry run**, and is **broader than its own canon**.

**§ 4.5a — RULED [`5728368325`](#656 (comment) `xdoxbuild`'s **seven bot commits are ACCEPTED AS DISPOSITIONED and the episode is registered as a process breach**, with the verdict-at-HEAD table (one content-reverted — it deleted the listing cache and took 801 documents from 0.07 s to 58.85 s; one finding-kept-implementation-replaced; five kept) and **the relay lag named as the cause, not the actor's judgment**. **Q-A, the dirty-work-tree reader: LEAVE AS IS** — both readers resolve HEAD over a dirty tree consistently, and a refusal would make an editor's swap file render the corpus unreadable.

## Four records

* **§ 3.4** books `openXdox-code` **#22 → `fa792cbb`** (09:53:32Z), completing the **Q7 trio**. The box is already `[x]`; the record does not move it.
* **§ 4.5a** takes its exit sentence from `openXdox-code`#23's own body **with `--dest-root` ADDED, and not as offered**. This lane measured twice — amendment #5's rounds 15 and 25 — that the runner refuses `conformance-unreadable — --dest-root is required` and **exits 2** without it. **The sentence as offered would record a passing run of a command that cannot run**, which is the defect § 4.5a spent two rounds removing.
* **§ 8.9** books the snapshot validator's **three** defects as residue rows on Q-P3: `SCHEMAS_DIR` resolving to an absent directory; `VALIDATOR_RELPATH` naming a path `openxFactory` shed at `cc4ae9d3`; and `find_validator`'s parent walk adopting an enclosing pre-shed checkout — **`floor37` § 6's defect class for the second time in this packet**, which is why it is named as a class.
* **§ 3.7** registers **Q-T1** rather than performing it: the correction is owed as one append **when that box ticks**.

## A correction that corrected itself

Q-T1 named **two** stale figures in § 3.7, and this amendment answered twice — the second answer overturning the first.

**At this branch's base** only ONE had moved: **35** `def test_` against the recorded 34, with *"five refusal codes"* still five.

**At the immutable sha `83a055a6`, BOTH have moved, and one moved while the amendment was being written**: the suite carries **79** `def test_`, and the refusal codes are **SIX** — `#1086` added **`conformance-corpus-unfaithful`**, the refusal carrying FLOOR PART 3's transposition contract. The corpus is **still 17 checks**.

*The registered paragraph predicted precisely this* — it says a test count *"is exactly the kind of figure that moves under acts with nothing to do with it"* — and was then overtaken by it inside a single amendment. **Re-measure all three at YOUR head; a count in this row is a reading, never a fact.**

**Q-T2** (list-versus-tuple `list_documents`, `5716870896`) is recorded as RULED (a): **no change, the seventeen stay closed.**

## Records that move no box

* **§ 3.4** books the **Q7 trio** (`openXdox-code` **#22 → `fa792cbb`**) and the **S7 residue pair** — **#1085 → `1da7ea6e`** (13:29:34Z) with `openDox-code` **#28 → `52b237e8`** (13:30:20Z). **Guarded explicitly**: Q-L1's annotation-first rule holds again in form, 46 s apart, but **the holding count stays SEVEN** — it counts one holding per *annotated slice*, and this is residue to S7, already counted. Counting it would restate a figure this packet has already had to correct once.
* **§ 4.5a** takes its exit sentence from `openXdox-code`#23's own body **with `--dest-root` ADDED, and not as offered**. The sentence as offered would record a passing run of a command that **cannot run**.
* **§ 3.7** registers **Q-T1** rather than performing it, owed as one append **when that box ticks**.

## Six residue rows booked, none resolved

* **(i)–(iii)** the snapshot validator's three defects on Q-P3 — `SCHEMAS_DIR` absent; `VALIDATOR_RELPATH` naming a path shed at `cc4ae9d3`; `find_validator` adopting an enclosing pre-shed checkout, **`floor37` § 6's class for the second time in this packet**.
* **(iv)** two of the **release bundle's own validators** byte-drifted against their digest set. **Not a finding against § 8.3** — clause 3 reads the *historical* commit `ce5c054e`, this drift is measured against *today's working tree*, and both are true. Also **not** the three `HGR-RELEASE-SURFACE-DRIFT` paths, so the two reports must not be collapsed.
* **(v)** `validate-sequenced-after.py` claims **"124 of the 143"**; measured at merged head `c2d5ce92` it is **128 of 172**. **The live claim lives at THREE sites** — `:42`/`:402` the pair and `:739`, an **argparse help string** and so user-visible CLI text. *This row first "corrected" three to five by adding `:36`/`:396`; that was wrong and is retracted in the ledger — both read "before it was made a gate" and are **historical evidence**, which renumbering would destroy.* **A dated claim is not a stale claim.** **A bare renumber is the wrong repair**: the denominator moved **three times in one afternoon** (170 → 171 → 172) while the numerator held at 128, because a closure archived on its own directory's date lands in the *equal* bucket. **The denominator rots by construction.**
* **(vi)** the `archive-date-vs-commit` arm is **history-shape sensitive** (INCIDENT 2 is the demonstration), owed to the owner of `tests/sequenced_after`. Two candidates, neither chosen: a **first-parent walk**, or dispositioning by the **(directory, adding commit) pair** so a displaced row reads **SUPERSEDED** rather than STALE. **Candidate (1) is measured to work on this case** — `d8ff2ec2` is not reachable along main's first-parent line — **but that is one case and not a proof of the general rule.**

## What this amendment deliberately does not do

§ 3.5, § 3.6 and § 4.5a keep their `[ ]` and wait for their own landings. **#1060, #1065 and #1066 (§ 6.1 / § 6.5 / § 6.2) are not ticked here**; their ticks are left to a later amendment unless they land before this one's window opens.

## Gates

`OPENSPEC_TELEMETRY=0 openspec validate split-opendox-two-layer-product --strict` **valid** · `proposal-support.py verify` **ok** · `validate-sequenced-after.py --ledger-diff` **clean (219 rows)** · `verify-opendox-pin.py` **OK, lockstep confirmed**.

**The gate is GREEN.** The `add-composed-view-authoring` STALE finding that reddened `main` was INCIDENT 2's, and it is retired: **#1109 → `dc242f3a`** (merged 14:26:58Z). Verified in this branch's own merged tree, not taken on report — `validate-sequenced-after.py` exits **0** with *"archive-date-vs-commit agreement passed … 13 disposition(s) in force"*, and the retired key is genuinely absent (13 live keys, none of them that one; the four remaining name-hits are all comments recording why). The corpus reconciles at **172 archived / 13 dispositioned / 159 agreeing**.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…rd that #26 does NOT supply section 3.7's openDox side

Section 3.6 TICKS on openDox-code #26 -> 4f8ae01e, merged 2026-09-18T21:20:16Z.
Both halves of the box are in the landed files: the first-class act is
src/opendox/runtime/repository_act.py, and RULING C3's standalone shape is
src/opendox/runtime/local_git_adapter.py -- an adapter IMPLEMENTATION, which is
what the box asked for, "not a mode".

The security hold is discharged, and how it was closed is the record worth
keeping: the credential exposure at app.py:1076 was fixed at fe421882, and the
remaining findings were closed by ONE REDACTOR AT THE BOUNDARY, with the pgid
taken at Popen and the decoder bound -- one instrument for one class rather than
one fix per finding.

An overrun is recorded rather than passed over: the actor pushed three times
against a one-push word. It is accepted, and it is written down because a
bounded round that silently runs long stops being a bound. The accepting is what
keeps it honest, not the forgetting.

Registered as ONE follow-up act under the same claim, and not a condition of
this box: three suppressed Copilot findings, S8544, and the
OPENDOX_SERVED_DATABASE declaration -- the fifth use of the land-and-register
pattern in this packet.

SECTION 3.7 DOES NOT GAIN #26 AS ITS openDox SIDE, AND THE MEASUREMENT SAYS WHY.
#26 was expected to supply it. Its fifteen changed files are the runtime and its
tests -- app.py, cli.py, config.py, identity.py, local_git_adapter.py,
repository_act.py, tests_runtime/, docs/runtime.md, validate.yml -- and NOT ONE
is a conformance file. openDox-code carries a corpus_adapter.py of its own, but
it was already there and #26 did not touch it. Citing #26 at 3.7 would be
evidence claimed as proof it cannot give: a landing in the right repository is
not a pass of the corpus, and the box asks for the pass. 3.7 still waits on both
destinations; the openXdox side remains section 4.5a, which is [ ].

Ledger 58 -> 59 [x] / 12 [ ] / 1 [~] of 72; one file; one marker change. All
four validators exit 0.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…and leave sections 8.5 and 3.7 open with exactly what each still wants

No box moves. Ledger stays 59 [x] / 12 [ ] / 1 [~] of 72.

SECTION 5.2a's ENCODING GAP IS DISCHARGED. #1103 -> eb1880c, merged 21:30:14Z
by merge commit, archives repromote-engineering-vocabulary. Measured in the
archived packet rather than taken on report: proposal.md, design.md AND tasks.md
all read Status: ratified; tasks 1.1-1.6 are all [x] with zero unchecked tasks
remaining; review/ratification-2026-09-18.md is present. The contradiction the
note registered -- a corpus reading draft where the ledger read RATIFIED -- no
longer exists. Recorded as a CLOSE rather than by deleting the registration: the
gap was real, a reviewer raised it against three separate heads, and the record
of a finding that was right and then satisfied is worth more than a page that
looks as though it never happened.

SECTION 8.5 DOES NOT TICK, and what it still wants is named exactly. The
openxFactory side is complete and the aggregation side is xFactory #454 ->
0b0c88f4. Two things the box's own words ask for are not in hand. (a) "each with
its destination NAMED IN THE RECEIVING REPOSITORY" -- only two of the four
re-homes name one here, section 6.1's openXdox-spec #15 -> f088b097 and section
6.4's openDox-spec #12 -> edeed08c; sections 6.3 and 6.5 name no destination-side
pull request in this ledger. (b) The word "FIRST" is not satisfied on the obvious
reading: retire-doxbench-chat-turn-v1 archived LAST of the five, at 20:24:53Z
against 10:50:06Z, 13:31:51Z, 17:30:27Z and 17:54:08Z. If "first" means before
the other four, the record contradicts it; if it means before its own forward
half promotes, or before section 8 as section 6.2's box says, it holds. That is a
ruling rather than a measurement, so it is left to the ticking act rather than
decided here by picking the reading that lets the box tick.

SECTION 3.7 DOES NOT TICK, and the three sides are now recorded per repository.
openxFactory HOLDS: #1086 -> 049d54a and its follow-up #1113 -> 4401e1a
(18:00:25Z) closing the four findings #1086 registered. openDox is NOT evidenced:
#26 was offered as carrying transpose() plus a factory, and its diff contains no
def transpose at all; across openDox-code the token occurs in exactly one file,
src/opendox/doxbench_abstract_store.py, which #26 did not touch. What #26 does
with the corpus adapter is IMPLEMENT its Protocol for the local-git case, which
is section 3.6's subject and why 3.6 ticks on it. openXdox is NOT evidenced and
the pull request offered is a different subject: openXdox-code #22 -> fa792cbb is
"section 3.4 RULED Q7: the gate loop's stylesheets arrive with the bindings that
own them", already recorded at section 3.4; and transpose occurs ZERO times
anywhere in openXdox-code, so that side is not merely unnamed but absent.

Sections 5.6 and 8.4 take a STATUS: #1103 is the gate precondition and it has
landed, but Phase 1 still waits on THIS packet's own archive per RULED Q-D1 (a)
(#656 comment 5735889836), and Phase 0 is the pin advance on the codexFactory
bot pull request. Neither box ticks -- a precondition landing is not the act.

origin/main merged in at eb1880c. All four validators exit 0.

Refs #656 (stays OPEN).

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 18, 2026
…e FACTs registered against #1104, AGGREGATION-SIDE RECORD A1, and the § 6.6 STATUS (#1120)

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

Refs #656 (stays OPEN).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #7 — § 3.6 and § 6.2 ticked, the three FACTs registered against #1104, an aggregation-side record, and the § 6.6 STATUS.**

Branched from the landed `main` at **`507b6233`** (#1104's squash). **Ledger 57 `[x]` / 14 `[ ]` / 1 `[~]` → 59 / 12 / 1 of 72.** One file. **Exactly two marker changes — § 3.6 and § 6.2.** Rule 6 applies.

> Both holds are discharged: **#1066** landed for § 6.2 and **openDox-code #26** for § 3.6.

## The three FACTs, each measured before acceptance

**1. One phrase named two commits.** Amendment #6 used *"this amendment's own head"* for **`83a055a6`** at § 3.7 and **`c2d5ce92`** at § 8.9 residue (v). *Neither reading was wrong* — each is reproducible at its own sha. The ambiguity was the phrase. Each reading now names an immutable sha, and a third live use at the refusal-code delta is bound to `507b6233`. **An evidence line names a commit, never a position in a process** — that phrase moved six times while #6 was written.

**2. § 8.3's reproducibility procedure was one step where it needed two.** A plain `gh repo clone` does not initialize the legs, and the verifier then exits **2** on `ReleaseDependencyError` emitting **no finding** — so a reader following the recorded procedure could not reproduce the pass the record claims. `git submodule update --init --recursive openDox openXdox` is now **in the procedure**. #6 disclosed it at clause (c), which is a warning the reader meets *after* the command they already ran. **The tick is unaffected** — two independent checkouts did pass. This corrects the recipe, not the result.

**3. Two dated benchmarks were listed as sites to rewrite.** `sequenced_after.py:1927` reads *"re-run … against all 171 **on 2026-09-18**"* and `:1958` *"(as measured 2026-09-18)"*. They are **evidence**, and renumbering them would destroy it. The list is now split **LIVE** (`:449`, `:1599`, `:1607`, `test_sweep.py:2049`) from **DATED** (`:1598`, `:1927`, `:1958`).
> Amendment #6 made this error **two lines below its own retraction of the identical error** for `:36`/`:396`. The rule is written out twice because this row got it wrong twice: **a dated claim is not a stale claim, and the test is whether the sentence names its own moment.**

## Three STATUS sentences, no ticks

**§ 3.6 TICKED — on `openDox-code` #26 → `4f8ae01e`**, merged **2026-09-18T21:20:16Z**. Both halves of the box are in the landed files: the first-class act is `repository_act.py`, and RULING C3's standalone shape is `local_git_adapter.py` — an adapter **implementation**, which is what the box asked for, *"not a mode"*.
> **The security hold is discharged, and how it closed is the part worth keeping**: the exposure at `app.py:1076` fixed at `fe421882`, and the rest closed by **one redactor at the boundary**, pgid taken at `Popen`, decoder bound — *one instrument for one class* rather than one fix per finding.
> **An overrun is recorded rather than passed over**: the actor pushed **three times against a one-push word**. Accepted, and written down — a bounded round that silently runs long stops being a bound, and the accepting is what keeps it honest, not the forgetting.
> **Registered as ONE follow-up act** under the same claim: three suppressed Copilot findings, `S8544`, and the `OPENDOX_SERVED_DATABASE` declaration — the **fifth** use of land-and-register in this packet.

**§ 3.7 does NOT gain #26 as its openDox side, and the measurement says why.** #26 was expected to supply it. Its **fifteen** changed files are the runtime and its tests — and **not one is a conformance file**. `openDox-code` carries a `corpus_adapter.py` of its own, but it was already there and #26 did not touch it. **Citing #26 at § 3.7 would be evidence claimed as proof it cannot give**: a landing in the right repository is not a pass of the corpus, and the box asks for the pass. § 3.7 still waits on both destinations; the openXdox side remains § 4.5a, which is `[ ]`.

**§ 6.2 TICKED — the one that could not simply close.** **#1066 → `3bf63b8e`**, merged **2026-09-18T20:24:53Z**. It closed in the two halves it always named: it archives *here* on its own evidence, and its forward half promotes into `openspec/specs/ideation-dashboard/spec.md`.
> **Both clauses held, and NO DISPOSITION IS OWED**: two parents, and the `2026-09-16-` directory carries an adding commit `90bf93c3` dated **2026-09-16T14:38:38Z** — so unlike INCIDENT 1's closure this one costs no disposition row. Clause 2 on main-plus-candidate exits **0**.
> **§ 6 is now complete except for its standing condition**: §§ 6.1–6.5 all `[x]`, and **all five disposition directories are under `openspec/changes/archive/`** — read from the *tree*, so the ledger and the corpus can be compared instead of one restating the other.
> **One finding registered, not resolved** (`4050274179`) — the land-and-register pattern this packet has now used four times (`#1105`→`#1110`, `#1086`, `openDox-code #25`, here).
> *A release figure inside that closure is kept as a measurement, because it is this packet's own defect class caught in someone else's prose and then in its own: the published run is **twenty** releases counted **by tag**, after an earlier count wrongly included **`contract-v2.6`**, which the policy rules "permanently unreleased". Verified here: `git tag -l 'contract-v2.*'` returns v2.0–v2.5 and **no v2.6**. A count from intent rather than from the tag would have been wrong by one.*

**§ 6.6** — recorded and **deliberately not claimed as proven**. It is a standing condition over a *window*, not a fact about a tree, so no single run discharges it. What is measurable at `507b6233` is recorded so the ticking act starts from a number: **45 active changes, 16 mentioning `ideation-dashboard`** — stated with its own limits, because grepping for mentions and calling the result compliance would be **evidence claimed as proof it cannot give**. The condition names changes *opened after* ratification, and the grep cannot see when a change opened.

## AGGREGATION-SIDE RECORD A1 — § 6's promotion fidelity

`opensoft/xFactory` **#454 → `0b0c88f4`**, merged **2026-09-18T21:15:14Z** — one file, `health/dispositions.yaml`, disposing **20 findings** measured at `openxFactory` `main` `3bf63b8e`, aggregation gate **0/0/0/0**, header count corrected from *"+15"* to a net **+20** before landing.

Recorded as a **named row placed beside § 8.7 and explicitly NOT part of its tick evidence** — § 8.7 ticks on *gitlinks*; this is a different aggregation-side act, filed there because that is where a reader looks for one. **It moves no box.**

**Four closures, five files, and § 6.2 raises none.** The asymmetry is the point: § 6.2 is the one of the five *not* closed as re-homed, so its delta's promotion obligation is discharged **by promotion** rather than by a disposition, and it *"must not get one by analogy"*. The fifth file exists because `add-nightly-dashboard-refresh` carries **two** deltas — the same partial-carriage shape § 6.1's STATUS registers against `_REHOMED_AND_STILL_WHOLE`.

**One FACT registered as residue, not resolved here.** The header says *"three of the five files carry more than one affected requirement"*. **Measured at `3bf63b8e`, it is FOUR** — `add-composed-view-authoring` **1**, `add-doxchat-model-intake` **5**, `add-lens-document-selection` **5**, `add-nightly-dashboard-refresh`/`doc-health` **7**, its `ideation-dashboard` **2**. Only one of the five carries a single requirement.
> The figure changes nothing about the dispositions themselves — each entry is **path-keyed** and deliberately not narrowed by `requirement:`, so the count is prose in the header rather than a key any entry turns on. It is registered because **a header that miscounts its own subject** is the defect class this packet has spent two amendments on, and the next reader will reach for the number rather than recount five files.

## Four more records, no further ticks

**§ 5.2a's registered encoding gap is DISCHARGED.** **#1103 → `eb1880cb`** (21:30:14Z, merge commit) archives `repromote-engineering-vocabulary`. Measured in the archived packet: `proposal.md`, `design.md` **and** `tasks.md` all read `Status: ratified`, tasks **1.1–1.6 all `[x]`** with **zero** unchecked remaining, and `review/ratification-2026-09-18.md` present. *Recorded as a **close**, not by deleting the registration — the gap was real, a reviewer raised it against three heads, and the record of a finding that was right and then satisfied is worth more than a page that looks as though it never happened.*

**§ 8.5 does NOT tick, and what it still wants is named exactly.** The openxFactory side is complete and the aggregation side is `xFactory #454`. Two of the box's own words are not yet in hand:
> **(a) "each with its destination NAMED IN THE RECEIVING REPOSITORY"** — only **two** of the four re-homes name one here (§ 6.1's `openXdox-spec #15 → f088b097`, § 6.4's `openDox-spec #12 → edeed08c`). § 6.3 and § 6.5 name no destination-side PR.
> **(b) The word "FIRST" is not satisfied on the obvious reading** — `retire-doxbench-chat-turn-v1` archived **LAST** of the five (20:24:53Z against 10:50:06Z / 13:31:51Z / 17:30:27Z / 17:54:08Z). If "first" means *before the other four*, the record contradicts it; if it means *before § 8*, as § 6.2's box says, it holds. **That is a ruling, not a measurement**, so it is left to the ticking act rather than settled here by choosing the reading that lets the box tick.

**§ 3.7 does NOT tick, and the three sides are now recorded per repository.**
> **`openxFactory` — holds**: `#1086 → 049d54a` plus its follow-up `#1113 → 4401e1a` (18:00:25Z) closing the four findings `#1086` registered.
> **openDox — not evidenced**: `#26` was offered as carrying `transpose()` plus a factory; **its diff contains no `def transpose` at all**, and across `openDox-code` the token occurs in exactly one file, `doxbench_abstract_store.py`, which `#26` did not touch. What `#26` does is *implement* the `CorpusAdapter` Protocol for the local-git case — § 3.6's subject, and why § 3.6 ticks on it.
> **openXdox — not evidenced, and the PR offered is a different subject**: `openXdox-code #22 → fa792cbb` is *"§ 3.4 RULED Q7: the gate loop's stylesheets…"*, already recorded at § 3.4. **`transpose` occurs ZERO times anywhere in `openXdox-code`** — that side is not merely unnamed, it is absent.

**§ 5.6 / § 8.4 take a STATUS**: **#1103** is the gate precondition and it has landed, but **Phase 1 still waits on THIS packet's own archive** (RULED **Q-D1 (a)**, `#656` `5735889836`) and **Phase 0 is the pin advance on the codexFactory bot PR**. Neither box ticks — a precondition landing is not the act.

## Gates

`openspec validate … --strict` **valid** · `proposal-support.py verify` **ok** · `validate-sequenced-after.py --ledger-diff` **clean** · `verify-opendox-pin.py` **OK**.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 19, 2026
…, § 8.2, § 8.5) and the RULED four-part floor complete (#1124)

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

Refs #656 (stays OPEN).

**`split-opendox-two-layer-product` `tasks.md` AMENDMENT #8 — FIVE ticks (§ 3.7, § 4.5a, § 5.4, § 8.2, § 8.5), and the four-part floor complete.**

Branched from the landed `main` at **`fc837dff`** (#1120's squash); `origin/main` merged in at `38f826c2`. **Ledger 59 `[x]` / 12 `[ ]` / 1 `[~]` → 64 / 7 / 1 of 72.** One file. **Exactly five marker changes — § 3.7, § 4.5a, § 5.4, § 8.2 and § 8.5.** Rule 6 applies.

> **THE RULED FOUR-PART FLOOR IS COMPLETE.** § 8.2 carries one evidence line per part, and no part stands in for another.

## § 5.4 — FLOOR PART 2 ticks, and the blocker the box itself named is discharged

Its own STATUS said (a), (b) and (c) had landed at **#1080 → `4b53ea99`**, and that **clause (d)'s LEG half was blocked on the BUILD arc** — both legs running a named file list under `--noconftest` **with no JUnit and no triple**.

Both halves of that blocker are gone. The BUILD arc landed (§ 3.5 on `openDox-code` #25, § 3.6 on #26, both `[x]`), and clause (d)'s **three** pins are in place — *per destination, never as one cross-repository equality*, which is the clause's own rule:

| leg | pin | evidence |
| --- | --- | --- |
| `openDox-code` | `MIN_SELECTED 1076` · `MIN_PASSED 1073` · `EXPECT_SKIPPED 3` | **#29 → `373b05aa`**, run `35398182026` |
| `openXdox-code` | `MIN_SELECTED 539` · `MIN_PASSED 533` · `EXPECT_SKIPPED 6` | **#25 → `ab04453d`**, run `35399041710` |
| `openxFactory` | its own `pytest-suite.yml` | already pinned — the model the clause names |

**Verified in each leg's own workflow rather than taken from the report**: both files carry those pin variables *and quote clause (d) verbatim*, so the shape is the clause's rather than an approximation of it. **Four of four is the clause set, so the box closes.**

> **Residue registered, not resolved**: all three of `openDox-code`'s report-producing commands run **named file lists under `--noconftest`**, so `collect_ignore` never applies there, and **26 of the 61 `test_*.py` on disk are collected by no required command**. That does not touch clause (d), which pins what the required job *does* collect — it is booked because a reader could mistake the pinned triple for a statement about the whole tree, and it is not one.

## § 4.5a — ticks on the exit line the box asked for

**`OK — 17 of 17`, exit 0**, at `openXdox-code` `3ee8cd31` with the runner at `openxFactory` `eb1880cb` (`#656` `5736681367`), over the BUILD at **#23 → `3ee8cd31`** with admissions rows at **#1091 → `eb2d4569`**.

**The bare-checkout precondition is written INTO the evidence line as procedure, not left as a caveat**: the git-pinned `opendox` dependency (`pyproject.toml:106`) must be installed first, or the run exits **2** with `conformance-adapter-unresolvable` before the corpus is reached.

> This is **the box's own standard applied to itself**. Its existing parenthetical already refused an abbreviated form of this very command — ***"a command that cannot be run is not exit evidence"*** — when the missing piece was `--dest-root`. The missing piece is now an install rather than a flag, and **the standard does not change with the shape of what is missing.**

## § 3.7 — FLOOR PART 3 ticks: all three destinations pass at a LANDED head

*"EVERY DESTINATION PASSES IT"* is the box's own word, and all three now do — **`openxFactory`'s own adapter at `eb1880cb`** (*the only mechanical proof the home corpus has no privileged route*, which is why the box names it separately), **`openXdox-code` at `3ee8cd31`** (`5736681367`), and **`openDox-code` at `93ccc3dd`** — `OK — 17 of 17`, exit 0, transposed and faithful, #31 merged 01:11:53Z (`#656` **`5738152229`**, the re-read AT MAIN).

**The pass is quoted at the LANDED commit, not the candidate, on purpose.** `5738117973` recorded the same pass at candidate `776d2a80`, and itself superseded `5736880991` at `474144ef` — **three heads for one destination in a day**. *A pass at a candidate head is a pass at a commit that no longer exists on `main`.* This packet has now had a reader mistaken for a pass, a candidate mistaken for a landing, and a wrong token mistaken for absence, all on this one box.

**The durable figure is the corpus digest, not the transposition's revision**: the revision moved again (a fourth distinct value, as it does on every build) while the **key/sha256 table digest `744c9183…` held for the fourth time**. That is what a later reader recomputes.

> **Residue registered, not resolved** (`5738108117`): the `core.excludesFile` switch, the corpus-mirroring fixture, the enumerated skip diagnostic.

## § 8.2 — the four-part floor ticks, one evidence line per part

**(1) carve manifest** `#865 → 1716748` (454 rows at `carve_commit b075fd9`) · **(2) test mapping** § 5.4 above · **(3) conformance corpus green in every destination** § 3.7 above · **(4) snapshot-equivalence** § 5.5 on the gated runner `#1105 → 0296747` with `#1110` and `#1115`, and per RULED **Q-P4 (a)** that line also says § 4.4's domain profile reproduces `openxFactory`'s own vocabulary.
> Listed with their own artifacts because the box's standing objection is that **"none of these is 'the tests passed'"** and that no part substitutes for another. Two single-instrument alternatives were rejected on the record; **a tick quoting one artifact four times would be the same mistake wearing a different hat.**

## § 8.5 — TICKED on HOLDER RULING `5738064190`

Amendment #7 reported two destination halves missing. **They were missing from the *ledger*, not the corpus.** All four are named now — § 6.1 `openXdox-spec` **#15 → `f088b097`**, § 6.3 `openDox-spec` **#13 → `3b7f80c4`**, § 6.4 **#12 → `edeed08c`**, § 6.5 **#14 → `66d59778`** — plus § 6.2's forward half at `openDox-spec` **#15 → `8fe8c4c7`**.

**Clause (a) is closed**: amendment #7 reported two destination halves missing — **they were missing from the *ledger*, not the corpus**. All four are named (§ 6.1 `openXdox-spec #15 → f088b097`, § 6.3 `openDox-spec #13 → 3b7f80c4`, § 6.4 `#12 → edeed08c`, § 6.5 `#14 → 66d59778`), plus § 6.2's forward half (`#15 → 8fe8c4c7`) and the aggregation side (`xFactory #454 → 0b0c88f4`).

**Clause (b) is RULED — Reading B** (`#656` `5738064190`): *"first"* means **before this packet's own archive (§ 8)**, the only ordering the ratified text states (`specs/ideation-dashboard/spec.md:88-90` orders *this change* against the five, not the five among themselves) and the one § 6.2's own box already names, *"Sequenced BEFORE § 8"*. **Reading A — before the other four — is refuted by the record**: § 6.2's `#1066` merged **20:24:53Z**, LAST of the five (`#1056` 10:50:06Z, `#1057` 13:31:51Z, `#1060` 17:30:27Z, `#1065` 17:54:08Z).

**The box's wording is sharpened** to *"…on its own evidence **before this packet's own archive (§ 8)**"*. The word *"first"* was **the ledger's own** — absent from the ratified source sentence at `proposal.md:476` and from every `specs/` delta — so the ruling settled *which evidence line satisfies a box*, not what a requirement means.
> Both readings are kept on the page with the merge times that decided between them. **A ledger that shows only the reading that won teaches nothing about why the other lost**, and this box will be read again by someone facing the same kind of call.

## Five follow-up landings, none moving a box

* **§ 3.6** — `openDox-code` **#30 → `5c867137`** takes the seven findings #26 registered plus eight cases; **follow-up 2 in flight** (linked-worktree descriptor binding, RULED `5736683962`; `RefusedError` → 409; fallback narrowing; mismatched-DB cases).
* **§ 5.5** — **#1115 → `4101fbe9`** takes the eight hardening items; two residues registered (`:608` wording, `sys.pycache_prefix`, `5736824535`).
* **§ 3.7 openDox side** — `openDox-code` **#31** open at `4b9714d0`.
* **Q-A2** — folded into `openXdox-code` #25; opened and closed in one line, which is the only honest way to record something that never reached the page while it was open.
* **§ 5.6 Phase 0 has landed, and it landed itself** — `codexFactory` **#491 → `b21f0100`** regenerated the floor block (62 → 63) at 22:50:17Z, and the repin **#1122 → `38f826c2`** advanced the pinned decision core to it at **2026-09-19T00:53:37Z**. *Corrected against the report, which had #1122 open with auto-merge armed: it is merged and on `main`. An armed auto-merge can land without anyone watching, so its state is worth reading rather than inferring.*

## Gates

`openspec validate … --strict` **valid** · `proposal-support.py verify` **ok** · `validate-sequenced-after.py --ledger-diff` **clean** · `verify-opendox-pin.py` **OK**.

**AFTER THIS HEAD — REGISTERED, NOT PUSHED** (comment `5738349034`; all of it folds at amendment #9, because this amendment's head-moving budget is closed and none of it shows a tick is wrong): § 5.6's registered residue is CLOSED and **PHASE 0 IS COMPLETE** — `openxFactory` **#1123 → `8184d74a`** landed **01:27:44Z**, after `codexFactory` #491 → `b21f0100` and `openxFactory` #1122 → `38f826c2`; the `opensoft/xFactory` aggregation re-sync (**R-5**) is registered for Brett's word, and Phase 1 still waits on this packet's own archive (RULED **Q-D1 (a)**). § 3.6 follow-up #2 landed — `openDox-code` **#32 → `d816cf06`**, `mergedAt` **01:30:28Z**. The assembly roots now name every landed leg — `opensoft/openXdox` **#12 → `9be407bd`**, `opensoft/openDox` **#10 → `d05e204e`** — and the `dox-v1.0` / `xdox-v1.0` cuts are **Brett's act** (runbook § 9 Phase 6), which is why **§ 3.8 and § 4.6 stay `[ ]` here**. Copilot's one finding (`r4051734088`, the same discussion at all three heads) is **answered by measurement and resolved**: the install step it asked § 4.5a for is checked in — `openXdox-code` `.github/workflows/validate.yml:58-59`, `python -m pip install -e ".[test]"` against `pyproject.toml:106`'s pinned `opendox` — and it does not falsify the exit line the box ticked on.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 23, 2026
…an empty stages and a short-only overlay (Copilot r4085197969)

Copilot's review of 2e65a48 found that a well-formed openXdox DISPLAY
overlaying less than the ruling (no stages, an empty stages, no completion
entry) passes the guard, and read the docstring's refusal paragraph as a
fail-closed promise for every drop. The behaviour stands; the docstring
did not say which drops refuse at run time, and now it does:

  * DISPLAY absent from openxdox.view_extensions (a pin naming a code leg
    older than #26): RuntimeError, never AttributeError. host_display()'s
    3-argument getattr, behind the proxy's AttributeError ->
    ProfileFacetMissing re-raise, would otherwise serve the WHOLE facet as
    absent.
  * DISPLAY malformed: RuntimeError, display_profile's own stance on a
    declaration it cannot read.
  * DISPLAY well-formed but overlaying less: FOLLOWED. openDox's schema
    holds a partial or empty facet legal ("PARTIAL IS LEGAL, AND IT IS THE
    POINT"). Refusing it would make the composer a second authority on
    what openXdox may declare and write the ruling's shape into production
    code. The ruled word is held at the gate: the served-page test fails,
    so a pin bump that carries such a leg cannot pass the required
    pytest-suite. openXdox-code #26 draws the same line on its side
    (test_dropping_the_facet_fails_the_overlay: "exactly what the two
    predicates the positive tests use must refuse").

The mutation test covers the shapes the finding named, and its docstring
says where the refusal happens: test_a_dropped_or_partial_overlay_fails_
the_positive_predicate, four cases (openXdox declares no stages, an empty
stages, short only; the composition drops them), each asserting the label
falls back to openDox's word and the served-page predicate refuses it.

tests/test_engineering_profile_display_facet.py: 24 -> 26 passed. Lines
297-304 are still byte-identical to main (cited at :300-303). The mutation
sweep re-run over the composer still catches all nine defects; control
26 passed.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap added a commit that referenced this pull request Sep 23, 2026
…dox (RULED #656 5784683830); openXdox pin 646f1dc0 → cd2596a2 (#1146)

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

Realizes the openxFactory side of Brett Heap's ruling at [#656 comment 5784683830](#656 (comment)) (2026-09-22T21:44:49Z), verbatim **"1, keep completed and overlay implemented"** (after [5784654370](#656 (comment)), "2, keep completed"). `opensoft/openXdox-code` #26 declared the overlay as `195276b7` and recorded the openxFactory half as owed "in the pin lockstep that carries this commit". This PR is that half.

> **STEP 1 LANDED.** [opensoft/openXdox#17](opensoft/openXdox#17) (the openXdox root's `code` pin `ab04453d` → `195276b7`) landed as **`cd2596a2`** (squash, 2026-09-23T18:55:53Z), and openXdox `main` is exactly that commit. `1e443c47` re-points this PR's `openXdox` gitlink and `commit:` from the pre-landing head `8fdbff5d` to `cd2596a2` in one commit. `tree_sha256` does not move, because the landed tree IS the branch tree: `cd2596a2^{tree}` = `8fdbff5d^{tree}` = `2d2802de`, recomputed rather than assumed. Two commits follow, both answering Copilot's review of `1e443c47`: `5807b959` tests the malformed-`DISPLAY` refusal at every level the composer reads (`r4086188263`), and `00ce641d` rewords, in place, one pin-header line that still described #1134's re-pin in the present tense (`r4086188321`).

## What a served page shows

Measured from a real `opendox.serve.build_server()` in each assembly, `GET /capabilities`, `display` block:

| | `main` `5e122388` | this head `00ce641d` |
| --- | --- | --- |
| `host_facet` / `host_profile` | `declared` / `openxfactory-engineering` | `declared` / `openxfactory-engineering` |
| `stages.completion` `short` / `label` | `completed` / `completed` | **`implemented` / `implemented`** |
| `stages.completion` `one` / `many` / `gate` | `completed item` / `completed items` / `null` | unchanged |
| the other five stations | openDox neutral | unchanged |

## Why the pin moves, and why it took two PRs

- openxFactory pins the openXdox **assembly root** (`contracts/openxdox-pin.yaml`, RULED OQ-L) and never a leg (split-opendox task 5.1). `openXdox-code` is that root's `code` leg.
- Before #17, openXdox `main` (`7194c06`) pinned `code` at `ab04453d`, and `ab04453d..195276b7` is exactly one commit, #26. So openXdox#17 moved the root's code pin, and this PR moves openxFactory's openXdox pin onto the root that #17 landed.
- **Minimal.** Only the gitlink and two values in `contracts/openxdox-pin.yaml` move, plus one comment line reworded in place (`00ce641d`):
  - `commit:` `646f1dc0` → `cd2596a2` (by way of the pre-landing `8fdbff5d`)
  - `digests.tree_sha256` `47f50184…b246` → `eb367f681435834807e2f77af9aa89c32ae7ef636d7a057ec4f6200198aa3e4b`

  The digest is `sorted-ls-tree-r-v1` over 29 records, from `verify-openxdox-pin.py`'s own `tree_digest` and from an independent re-implementation. The control recomputes `47f50184…` at `646f1dc0`. **No line is added or removed** (the file stays 154 lines), because a promoted spec cites that file by line (`openspec/specs/document-lifecycle/spec.md:357`).
- **The openDox pin does not move.** openXdox's own `contracts/opendox-pin.yaml` still names `dc7aa08f` at `cd2596a2`, and `verify-opendox-pin.py` reports `lockstep with openXdox confirmed`.

## The composition: `scripts/profile_openxfactory.py`

- `_display_facet()` gains `"stages": _openxdox_stages()`. That function **copies** `openxdox.view_extensions.DISPLAY["stages"]` two levels deep and never restates the word, so the word has **one source**: a pin that moves openXdox's value moves the served word with it. openxFactory declares no stage word of its own.
- **Only `stages` is composed.** openXdox declares no other section. A section it adds later is surfaced by a test at the pin bump that carries it, rather than being merged silently.
- **Three cases, and two of them refuse at run time** (the docstring states all three, since Copilot `r4085197969`):
  - **`DISPLAY` absent**, which is what a pin naming a code leg older than #26 looks like → `RuntimeError`, never `AttributeError`. The type is load-bearing. `host_display()` reads the facet through a 3-argument `getattr(profile, "DISPLAY", None)`, and the lazy proxy re-raises any `AttributeError` as `ProfileFacetMissing`, itself an `AttributeError`. So an `AttributeError` would silently serve the **whole** facet (statuses, areas, acts, artifacts) as `host_facet: "absent"`.
  - **Malformed** → `RuntimeError`: `DISPLAY` not a mapping, `stages` not a mapping, or a stage entry not a mapping.
  - **Well-formed but overlaying less** (no `stages`, an empty `stages`, `short` only) → **followed**. openDox's schema holds a partial facet legal. A run-time refusal would make this composer a second authority on what openXdox may declare. The ruled word is held at the gate: the served-page test fails, so a pin bump that carries such a leg cannot pass the required `pytest-suite`. This is the line openXdox-code #26 draws on its own side.
- Docstrings updated. `stages` leaves the "left neutral" list, with the ruling that moved it (the old bullet called the stage words "an open naming question"). The new read adds no dependency: `openxdox.view_extensions` and `openxdox.web_assets` import only the standard library.

## Tests: `tests/test_engineering_profile_display_facet.py`, 16 → 30 passed

- **Flipped.** `test_sections_this_facet_deliberately_does_not_declare` still asserts `tokens`, `values`, `sections`, `areas.proposed` and `areas.reference` absent. For stages it now asserts `set(facet["stages"]) == {"completion"}`: the five other stations are the deliberate absence.
- **Section 8 (new), fourteen tests:**
  - the served page, a real server's `/capabilities`: `implemented` for `short` and `label`, `host_facet` `declared`
  - the same through `normalize_display`: the other five stations and completion's `one`/`many`/`gate` stay neutral, and no two stations share a rendered word
  - the stage words equal openXdox's and are a copy at both levels
  - `stages` is the one section openXdox declares and the one composed
  - the composing files never spell the word as a value (AST scan, docstrings excepted)
  - **mutation ×4:** a dropped or partial overlay (openXdox declares no `stages`, an empty `stages`, or `short` only; the composition drops them) fails the positive predicate
  - **mutation:** openXdox's `DISPLAY` removed refuses with `RuntimeError`, through `host_display()` too, instead of serving absent
  - **malformed ×4** (`5807b959`): `DISPLAY` a list, `DISPLAY` a string, `stages` not a mapping, a stage entry not a mapping. Each refuses with `RuntimeError` naming the required shape, and none raises an `AttributeError`
- **Line citation kept.** Active change `amend-home-adapter-scope-and-mapping-axis-count` cites this file at `:300-303`. Every edit above that range keeps the line count, and lines 297-304 are byte-identical to `main`. The new tests are appended after section 7.

**Mutation sweep over the composer**, each defect applied alone, all ten caught (re-run at `00ce641d`, control 30 passed):

| mutation | result |
| --- | --- |
| M1 no `stages` composed | 9 failed |
| M2 the word restated instead of copied | 10 failed |
| M3 openXdox's mapping aliased | 1 failed |
| M4 shallow copy | 1 failed |
| M5 missing `DISPLAY` raised as `AttributeError` | 1 failed |
| M6 missing `DISPLAY` degraded to no stages | 1 failed |
| M7 only `short` taken | 3 failed |
| M8 a second stage overlaid | 4 failed |
| M9 the code leg on disk at `ab04453d` (an unbumped pin) | 26 failed |
| M10 a malformed `DISPLAY` degraded to no stages | 4 failed |

## Gates, `main` versus this head

**CI, like for like.** `main`'s own `push` run at `5e122388`, against this head's `pull_request` run, which merged `00ce641d` into that same `5e122388` (merge `38d545fc`):

| check | `main` `5e122388` | this head `00ce641d` |
| --- | --- | --- |
| `pytest-suite` summary | `8425 passed, 6 skipped, 338 deselected, 410 subtests` (run 35907128216) | `8439 passed, 6 skipped, 338 deselected, 410 subtests` (run 35907387956) |
| `pytest-suite` pinned triple | `selected=8841 passed=8835 skipped=6` | **`selected=8855 passed=8849 skipped=6`**, `failures=0 errors=0` |
| freshness verifier / vector replay | passed / passed | passed / passed |
| `openxdox-consumer-gate` pin suites | runs on pull requests only; floor pinned at 105 | `105/105/0`, margin 0, four named verdicts passed (run 35907387930) |
| `openxdox-consumer-gate` consumer suite | floor pinned at 1137 | `1137/1137/0`, margin 0, named verdict passed |
| every other check | push-triggered on `5e122388`: `clearing-dispatch-gate`, `signed-execution-chain-gate`, `review-lane-repin` success (the rest run on pull requests only) | SUCCESS: `clearing-dispatch-gate`, `former-id-arrival-gate`, `lane-line`, `merge-master-approval`, `openreposhape-pin`, `openspec-cli-pin`, `release-tag-gate`, `signed-execution-chain-gate`, `wallet-validation`, SonarCloud |

**+14 selected and +14 passed, exactly the fourteen new tests**, with the same 410 subtests on both sides and SKIPPED at the pinned 6. The earlier heads measured the same way against the `main` of their day (`9f357e95`, `8361 passed`, `8776 / 8770 / 6`): `2e65a488` +8 and `edd52d07` +10, the new-test count at each. The `pytest-suite` runs at `1e443c47` and `5807b959` were cancelled by the next push.

**Local, in a CI-shaped checkout.** The checkout is nested at `openxFactory/`, the submodules are initialized as `pytest-suite.yml` does, and the run uses the hash-pinned lock, the pinned openspec CLI 1.12.0 and `GIT_CONFIG_GLOBAL=/dev/null`. Each gate below runs its workflow's exact command, and both sides exit 0. The head's merge base is `a151e462`:

| gate | `main` `a151e462` | this head `00ce641d` |
| --- | --- | --- |
| `validate-openspec-cli-pin.py --all --no-cache` | exit 0: `Totals: 111 passed, 1 failed (112 items)`, 0 UNDISPOSITIONED, 1 ACCEPTED EXCEPTION | identical |
| `verify-openxdox-pin.py` | OK `646f1dc0` / `47f50184…` | OK `cd2596a2` / `eb367f68…` |
| `verify-opendox-pin.py` | OK, lockstep confirmed | OK, lockstep confirmed |
| clearing-dispatch, signed-execution-chain, the wallet readers, factory-identity, former-id-arrival, release-tag, openreposhape-pin | exit 0 | exit 0 |

The whole-suite local runs are superseded by CI's pair above. Both lost tests to the host, not the code: on a host at load average 46 over 32 cores, `subprocess.TimeoutExpired … timed out after 30 seconds` in `tests/hermes_runtime_contracts/test_validator_cli.py` failed 3 tests on `main` and 1 at `edd52d07`, and `main`'s own CI passes them. Passed plus failed moved from 8771 to 8781, +10, the delta CI measured at that head.

## Rule 6

This PR touches no `openspec/changes/` path and no README OpenSpec Records line, so it is a **plain gate with no landing window**.

## Claims

Sibling search re-run at 2026-09-23T19:35:54Z:
- no other open PR in `openxFactory`, and no open PR in `openXdox` or `openXdox-code`, touches these files or pins
- `lanes/LANES.md` (brett-wip `efb8944e`) shows no other lane on the openXdox/openDox pins
- the only `#656` comments after the ruling are this lane's own RULED records: 5800995035 (#1144's questions) and 5801057769 (the follow-on below)

## Owed after this lands (not taken here)

- **STEP 3**, the `opensoft/xFactory` aggregation pointer advance, in the forced order.
- The `one`/`many` wording that #26 left open is now RULED on #656 at [5801057769](#656 (comment)) (2026-09-23T19:00:37Z), verbatim *"yes, overlay implemented items too"*. It travels as its own chain in the same forced order (openXdox-code, then the openXdox root pin, then openxFactory's pin), and is **not** folded into this PR. At that pin bump `_display_facet()` needs no code change, because it copies the stages; the section-8 test that holds completion's `one`/`many` neutral moves with the words.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 23, 2026
…(s)" from openXdox (RULED #656 5801057769); openXdox pin cd2596a2 → 2f3f857d (#1148)

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

Realizes the openxFactory side of Brett Heap's ruling at [#656 comment 5801057769](#656 (comment)) (2026-09-23T19:00:37Z), verbatim **"yes, overlay implemented items too"**. It extends [5784683830](#656 (comment)) ("1, keep completed and overlay implemented"), which #1146 served. This is **STEP 2** of the forced order (RULED [5767804734](#656 (comment)) item 5), and both steps before it have landed:

| step | PR | landed |
| --- | --- | --- |
| the facet's `one` / `many` | [opensoft/openXdox-code#27](opensoft/openXdox-code#27) | `626f2c8d` (squash, 2026-09-23T20:17:07Z) |
| STEP 1, the openXdox root's `code` pin | [opensoft/openXdox#18](opensoft/openXdox#18) | `2f3f857d` (squash, 2026-09-23T20:26:02Z) |
| STEP 2, openxFactory's openXdox pin | this PR | |

openXdox `main` is exactly `2f3f857d`, and openXdox-code `main` is exactly `626f2c8d`.

## What a served page shows

Measured from a real `opendox.serve.build_server()` in each assembly, `GET /capabilities`, `display` block:

| | `main` `d52b4199` | this head |
| --- | --- | --- |
| `host_facet` / `host_profile` | `declared` / `openxfactory-engineering` | `declared` / `openxfactory-engineering` |
| `stages.completion` `short` / `label` | `implemented` / `implemented` | unchanged |
| `stages.completion` `one` / `many` | `completed item` / `completed items` | **`implemented item` / `implemented items`** |
| `stages.completion` `gate` | `null` | unchanged |
| the other five stations | openDox neutral | unchanged |

In openDox's shell, `one` renders in the wheel's two completion sentences. openXdox-code#27 runs both under node through the xFactory host: `what landed: this implemented item's detail files` and `this implemented item records no detail files`.

## `_display_facet()` needs NO code change, as #1146 designed

`_openxdox_stages()` copies openXdox's `stages` two levels deep, so the new nouns arrive with the pin. `scripts/profile_openxfactory.py` changes in **docstrings only**: its AST with every docstring stripped is identical to `main`'s (`ast.dump` compared). The docstrings said openXdox's entry is "one stage entry and two fields (`short`, `label`)" and cited only the first ruling. They now cite #27 (`626f2c8d`) and `5801057769`: one stage entry, four fields.

## The pin: value-only, in one commit

- `openXdox` gitlink: `cd2596a2` → **`2f3f857d`**
- `contracts/openxdox-pin.yaml` `commit:`: `cd2596a2…` → **`2f3f857daccce6ade3a15e0f3d0e926f9ff7c925`**
- `digests.tree_sha256`: `eb367f68…` → **`149dc2cd6701abbacb635718713b01cb172e6eadb2f6a29607212016aa23d1c5`**

The digest is `sorted-ls-tree-r-v1` over the root's 29 records, from `verify-openxdox-pin.py`'s own `tree_digest` and from an independent `ls-tree` + `sha256`. The control recomputes `eb367f68…` at `cd2596a2`. `2f3f857d^{tree}` = `eb89dc23^{tree}` = `c79958ac`, so #18's squash moved no byte. **No line is added or removed**: the file stays 154 lines, since a promoted spec cites it by line.

**The openDox pin does not move.** openXdox's `contracts/opendox-pin.yaml` still names `dc7aa08f` at `2f3f857d`, and `verify-opendox-pin.py` reports `lockstep with openXdox confirmed`.

## Tests: `tests/test_engineering_profile_display_facet.py`, section 8 only, 30 → 31 passed

Lines 1-407 are byte-identical to `main`, so active change `amend-home-adapter-scope-and-mapping-axis-count`'s `:300-303` citation holds.

- **The positive predicate** (`_completion_renders_the_ruled_words`, renamed from `…_word`) requires all four words: `short` and `label` `implemented`, `one` `implemented item`, `many` `implemented items`.
- **The neutral assertion** keeps the other five stations whole, and completion's `gate` only.
- **No two stations share a rendered word**, now checked for `one` and `many` as well as `short` and `label`.
- **The no-restate AST scan** covers the three ruled words AND every word openXdox's `stages` declares. A word openXdox adds at a later pin is therefore covered without editing the test.
- **A new shortfall case:** #26's two names without #27's item nouns, which is what a pin still naming openXdox-code `195276b7` serves, fails the positive predicate. The drop test now asserts that some field fell back to openDox's word, rather than `label` in particular.

**Mutation sweep over the composer**, each defect applied alone. All eleven were caught, and the control is 31 passed:

| mutation | result |
| --- | --- |
| M1 no `stages` composed | 9 failed |
| M2 the four words restated instead of copied | 11 failed |
| M3 openXdox's mapping aliased | 1 failed |
| M4 shallow copy | 1 failed |
| M5 missing `DISPLAY` raised as `AttributeError` | 1 failed |
| M6 missing `DISPLAY` degraded to no stages | 1 failed |
| M7 only `short` taken | 3 failed |
| M8 a second stage overlaid | 4 failed |
| M9 the code leg on disk at `ab04453d` (no `DISPLAY`) | 28 failed |
| M10 a malformed `DISPLAY` degraded to no stages | 4 failed |
| **M11 the code leg on disk at `195276b7`** (#26's names, no nouns: an unbumped pin) | 2 failed |

## Gates

**CI, like for like.** `main`'s own `push` run at `d52b4199`, against this head's `pull_request` run, which merged `af23298e` into that same `d52b4199` (merge `1b8b313f`):

| check | `main` `d52b4199` | this head `af23298e` |
| --- | --- | --- |
| `pytest-suite` summary | `8439 passed, 6 skipped, 338 deselected, 410 subtests` (run 35910949799) | `8440 passed, 6 skipped, 338 deselected, 410 subtests` (run 35916269160) |
| `pytest-suite` pinned triple | `selected=8855 passed=8849 skipped=6` | **`selected=8856 passed=8850 skipped=6`**, `failures=0 errors=0` |
| freshness verifier / vector replay | passed / passed | passed / passed |
| `openxdox-consumer-gate` pin suites | pull requests only; floor 105 | `105/105/0`, margin 0, four named verdicts passed (run 35916269093) |
| `openxdox-consumer-gate` consumer suite | floor 1137 | `1137/1137/0`, margin 0, named verdict passed |
| every other check | push-triggered on `d52b4199`: `clearing-dispatch-gate`, `signed-execution-chain-gate`, `review-lane-repin` success | SUCCESS: `clearing-dispatch-gate`, `former-id-arrival-gate`, `lane-line`, `merge-master-approval`, `openreposhape-pin`, `openspec-cli-pin`, `release-tag-gate`, `signed-execution-chain-gate`, `wallet-validation`, SonarCloud |

**+1 selected and +1 passed, exactly the one new shortfall case**, with the same 410 subtests on both sides and SKIPPED at the pinned 6.

**Local, at `af23298e`**, in the CI-shaped checkout, each gate running its workflow's exact command:

| gate | `main` `d52b4199` | this head `af23298e` |
| --- | --- | --- |
| `validate-openspec-cli-pin.py --all --no-cache` | exit 0: `Totals: 110 passed, 1 failed (111 items)`, 0 UNDISPOSITIONED, 1 ACCEPTED EXCEPTION | identical |
| `verify-openxdox-pin.py` | OK `cd2596a2` / `eb367f68…` | OK `2f3f857d` / `149dc2cd…`, gitlink read from HEAD |
| `verify-opendox-pin.py` | OK, lockstep confirmed | OK, lockstep confirmed |
| clearing-dispatch, signed-execution-chain, the wallet readers, factory-identity, former-id-arrival, release-tag, openreposhape-pin | exit 0 | exit 0 |
| pin suites / consumer suite | | `105/105/0` / `1137/1137/0` |

## Rule 6

This PR touches no `openspec/changes/` path and no README OpenSpec Records line, so it is a **plain gate with no landing window**.

## Claims

Sibling search at 2026-09-23T20:28:34Z:
- no other open PR in `openxFactory` touches these files or pins
- no PR is open in `openXdox` or `openXdox-code`

## Owed after this lands (not taken here)

- **STEP 3**, the `opensoft/xFactory` aggregation pointer advance, in the forced order.

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


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 24, 2026
…fest (Q-L1 form; RULED 5815412869 C3) (#1153)

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

## What this is

This is the row annotation RULED Q-L1 requires to land **FIRST**, for the leg PR opensoft/openXdox-code#28 (`fix/snapshot-validator-carve-residue`, `45825ff7`, re-cut on that leg's `main` `626f2c8d`). That PR's head is now `87e627c`, after two review rounds of its own. Neither round moves this window (see *Measured*). That PR takes the three snapshot-validator defects the archived `split-opendox-two-layer-product` booked at `tasks.md` § 8.9 (amendment #6, RULED Q-P3 (a), #656 comment `5728856581`; the box was DEFERRED at the archive by RULED `5778397686`):

- **(i)** the validator's `SCHEMAS_DIR` resolves to an absent directory;
- **(ii)** `snapshot.py`'s `VALIDATOR_RELPATH` names the path this repository shed at `cc4ae9d3`;
- **(iii)** `find_validator`'s parent walk adopts an enclosing pre-shed checkout.

RULED at #656 comment [5815412869](#656 (comment)) (item 3, **C3**, all (a)) and claimed at [5815613524](#656 (comment)). Two of the four rulings bind this PR:
- **Q-XDV2 (a):** both new entries are filed under `path constants`;
- **Q-XDV3 (a):** this annotation lands first, then openXdox-code.

Q-L1's binding clause (`5642758731`): *"an edit to an ARRIVED file … outside its declared lines is an undeclared movement — each slice that edits such a file pairs its leg PR with an openxFactory row-annotation PR (the ASK-7 pattern) that lands FIRST"*.

**This does NOT discharge #1144 task 7.3.** 7.3's FALSIFIED BY asks the INSTALLED openXdox distribution to find its own validator from a `start` outside the product. The leg PR deliberately answers `None` for such a start. So phase 2's realization of 7.3 will revisit `tests/test_snapshot_validator_home.py::test_a_start_outside_the_product_is_refused_not_walked`. The holder is taking that tension to Brett as a phase-2 question. It does not block this act.

The arrived leg test `tests/test_snapshot_validation_launch.py` belongs to the same revisit (Copilot, openXdox-code#28 round 2). It launches from the corpus root, outside the product, so under the confinement it would report validation SKIPPED. It cannot be collected in that repository at the base or at the head, because the pinned openDox-code's `serve.py` imports `ideation_dashboard`, and it is not in that repository's required check.

## The window

| row | before | after |
| --- | --- | --- |
| `scripts/ideation_dashboard/snapshot.py` → `openxdox_code` `src/openxdox/snapshot.py` | `moved_verbatim` | `moved_with_declared_edit`, `path constants` [13, 24, 29, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 133, 163, 167] — 16 |
| `scripts/validate-ideation-dashboard-contracts.py` → `openxdox_code` | the carve's own entry [114, 115, 116, 909, 1800], never applied | plus a second `path constants` entry [14, 15, 16, 94, 224, 225, 226, 230, 237, 1822] — 10 |

The line numbers are the CARVE COMMIT's. They were computed with `verify-carve-arrival.py`'s own algorithm (`carve_lines.text_records` + `difflib` opcodes, as `_check_declared_lines` reads them) against the re-cut leg head. They are identical to the helper bank's measurement against the first cut, because the four fix files are byte-identical and `openXdox-code` #26/#27 touched none of them. `docs/opendox-carve-admissions.yaml` admits the leg's two created suites (`tests/test_snapshot_validator_home.py`, `tests/test_validator_schema_home.py`, `since: 45825ff7…`).

## The figures, summed rather than transcribed

- Declared lines 2717 → **2743** (`path constants` 246 → 272).
- Rows carrying `edits:` 176 → **177**.
- `moved_verbatim` 143 → **142**; `moved_with_declared_edit` 175 → **176**; `not_moved` 138, unchanged.
- The runbook's `openxdox_code` row goes from `9 / 83 | 917` to `8 / 84 | 943`.
- The per-destination sum goes from 2715 to 2741, and the two replica lines make 2743.

Moved with them:
- runbook § 2's tables and history;
- the README index entry;
- three script docstrings;
- the aggregate pins in `tests/carve_manifest` and `tests/carve_arrival`;
- the Q7 disposition digest (`2c48fa07…` → `4c4aecf1…`), moved beside its conversion record as its own failure message asks.

A new test, `test_the_real_manifest_carries_the_snapshot_validator_residue_declared_edits`, pins the window by row, class and line. Main's manifest has not moved since the bank measured it at `2e222d98`: no commit since then touches any carve file.

## Measured

- `scripts/validate-carve-manifest.py`: `OK … 142 moved_verbatim, 176 moved_with_declared_edit, 138 not_moved; 318 digest(s) recomputed`, rc=0.
- `scripts/verify-carve-arrival.py --destination openxdox_code --phase B`, with the leg's six declared replicas:
  - **leg `45825ff7` vs THIS manifest: OK.** 96 rows arrived, 8 digests verified, 87 declared-edit rows within their lines, 3 unapplied, 34 declared admissions used.
  - **leg `45825ff7` vs main's manifest: refused.** `arrival-digest-mismatch` at `src/openxdox/snapshot.py`, so the annotation is required.
  - **leg head `87e627c` (after openXdox-code#28's two review rounds) vs THIS manifest at `9248478c`: OK.** 87 declared-edit rows within their lines, 3 unapplied, 34 declared admissions used, rc=0. Against the carve blob, the leg's diff still touches exactly lines 14, 15, 16, 115, 116, 224, 225, 226, 230 and 1822 of the validator row, plus insertions beside 94 and 237. Every one is declared.
  - **leg `626f2c8d` (today's pin) vs THIS manifest: OK.** 85 within, 5 unapplied, and the two new admissions are reported `STALE (declared but not needed)` until the leg lands. So this PR lands ahead of the leg without reddening anything.
  - **The window is tight.** A copy without `:1822` refuses `arrival-undeclared-edit … [1822]`.
- `pytest tests/carve_manifest tests/carve_arrival`: **408 passed on `main` → 409 passed here** (the new window test).
- **The PR gates, `main` `dd2466ad` vs this branch at `9248478c`** (local, same-kind full clones at `…/openxFactory`, pinned CI lock, OpenSpec CLI 1.12.0, decision core `b21f0100`):

  | gate | `main` | this branch |
  | --- | --- | --- |
  | the PR gates' scripts (`verify-openxwallet-pin`, `validate-clearing-dispatch`, `verify-openxdox-pin`, `verify-opendox-pin`, `validate-release-tag-gate`, `validate-signed-execution-chain --require-pinned-wallet-vocabulary`, `wallet-yaml-syntax-gate`, `validate-openxwallet`, `validate-factory-identity`, `validate-openspec-cli-pin --all --no-cache`, `validate-openreposhape-pin`, `validate-carve-manifest`, `validate-sequenced-after`) | all rc=0 | all rc=0 |
  | `validate-former-id-arrival.py --base dd2466a --head HEAD` | — | passed |
  | `openxdox-consumer-gate` pin suites | 105 / 105 / 0, HOLDS | 105 / 105 / 0, HOLDS |
  | `openxdox-consumer-gate` `tests/ideation-dashboard` | 1137 / 1137 / 0, HOLDS | 1137 / 1137 / 0, HOLDS |
  | `pytest-suite` in CI (the required check) | 8857 / 8851 / 6 (`main`'s test tree, from #1151's run) | **8858 / 8852 / 6**, freshness and vector replay passed ([job 107696117836](https://github.com/opensoft/openxFactory/actions/runs/36018216905/job/107696117836)); +1 is the new window test |
  | `pytest-suite` locally, per test case | 8446 cases | 8447 cases: the one added is the window test, which passed |
  | doc-health `--single-repo --as-of 2026-09-24` | 31 critical / 25 error / 52 warning / 20 info | identical. The one delta is the draft-age info line, where min goes 2 → 0 because the cutover runbook is edited |

  In the local per-test diff, the only outcome changes are three environment-bound `tests/doc-health/test_pin_reachability.py` cases, which depend on whether the retention ref namespace can be consulted from a local clone. Both local runs share two failures: a `test_validator_cli.py` subprocess timeout while several suites ran at once, and `test_snapshot_equivalence.py::test_a_prefix_whose_path_cannot_be_resolved_is_replaced_not_raised_on`. CI is green.

## Touches

Nothing under `openspec/changes/`, and not the README OpenSpec Records block (only the cutover-runbook doc-index line), **so no Rule 6 landing window**.

## Landing order (forced)

1. **This PR**, on a plain gate.
2. opensoft/openXdox-code#28. It stays DRAFT until this one lands. Its commit `45825ff7` is what both admissions' `since:` name.
3. OWED, separate PRs:
   - the openXdox root's code-pin bump, in the shape of openXdox#17/#18;
   - then this repository's openXdox pin bump, in the shape of #1146/#1148. It carries the consumer updates the fix makes due: `tests/ideation-dashboard/test_dashboard_source_seal.py::test_the_sealed_layout_is_the_one_find_validator_walks_up_to` asserts the old walk, and `scripts/ideation_dashboard/nightly_lane.py` calls `find_validator(agg_root)`, a start outside the product that answers `None` under the fix.

## Review round

- **Copilot at `580e4684` (🟡), answered at `9248478c`.**
  - Both threads asked for the two admissions to be pinned by path AND `since`. The committed-admissions test gains a THIRTEENTH BUMP block, and the window test compares a path→`since` mapping. Moving one `since` to the later leg tip fails both (2 failed).
  - The overview's "stale count explanation" was the admissions test's ordinal sequence. It now reads "#1091 and #1153, thirteen amendments, ten of which bump `opendox_code`", recomputed from `git log --first-parent`.
  - `tests/carve_manifest` + `tests/carve_arrival`: 408 passed on `main` → 409 passed.
- **Copilot at `9248478c`: 🟢 Approval recommended.**


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants