Skip to content

FLOOR PART 4 follow-up: the four suppressed findings #1105 landed without - #1110

Merged
brettheap merged 2 commits into
mainfrom
build/floor-part-4-followup-suppressed
Sep 18, 2026
Merged

brettheap merged 2 commits into
mainfrom
build/floor-part-4-followup-suppressed

Conversation

@brettheap

@brettheap brettheap commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Refs #656 (stays OPEN).

CLAIM: 5728621421

Follow-up to #1105 @9ed3def3's four suppressed findings. #1105 landed at 02967478. Copilot's review at its final head carried a "Suppressed comments" block of four, and a 0-unresolved-threads count is not evidence about a suppressed block — that is the landing gate's own rule, and it is what this pull request exists to satisfy after the fact. The four were registered on #1105 (comment 5731868859) and are taken here.

Scope: ONLY these four, on Brett's RULING Q-P5 = (a) (#656 comment 5731951297): the remaining eight registered items and runbook § 2.3 go to a SECOND follow-up, because the runbook's § 2 family is contended until #1086 lands. No openspec/changes/ path, no README Records block, no pin, gitlink or manifest — a plain gate over the same two files #1105 landed.

The four

[a] render_post() ran the moving post-split stack UNBOUNDED (:741). The PRE side got its timeout= in #1105; the post side runs IN THIS PROCESS on purpose — it is the only stack the process has imported, and the PRE side, the one that would collide with it, is already in a child of its own — so moving it out to gain a timeout would undo the thing the timeout protects. It gets a SIGALRM watchdog instead, disarmed in a finally, mapped to a NAMED refusal: equivalence-post-stack-unrenderable, the symmetric counterpart to -pre-tree-unrenderable. Without it, a non-terminating regression in a FUTURE pinned leg — and the post side IS a pin that moves, which is this runner's whole reason to exist — hangs the required pytest-suite job until its own 35-minute limit instead of refusing.

The watchdog answers None, and the render then runs unbounded, where no SIGALRM exists or the caller is off the main thread. That is the only place in this file that degrades rather than refusing, and it says so in terms: the alternative is refusing a run for the shape of the interpreter rather than for anything about the projection.

[b] The dirty-leg remediation could not clean the dirt it reported (:1020). worktree_dirt() reports untracked entries, and git checkout -- . restores TRACKED paths only while a plain git stash leaves untracked files behind — so for a ?? entry the message sent an operator to a command that could not make the next run clean. It branches on what is actually there and names stash -u / clean -fd where those are what is needed.

[c] GIT_ATTR_NOSYSTEM was scrubbed and never SET, which is half a guard (:352). Dropping an inherited one only stops a caller DISABLING the system attributes file; git archive then still consults /etc/gitattributes, where an export-ignore silently changes WHICH FILES the pre-split tree carries. This runner's whole claim is that it read one named tree, so the tree must not vary with the host it is read on. Set now, and asserted twice — including that a caller who sets it to 0 does not get it back.

[d] The resolved-commit test spied at the wrong layer (test:583). It replaced extract_pre_tree(), so the git archive call whose argument IS the invariant never ran, and a regression inside that function passing pre_ref where pre_commit belongs would have left it green. It keeps the real extractor now and spies on _git's archive arguments, asserting the revision handed to git archive positionally is the resolved 40-hex commit the evidence line quotes.

Verification

  • The runner's verdict is unchanged, which is the thing this pull request must not move: OK — 1 of 1 corpus state(s) equivalent, exit 0, 14,849 bytes, sha256 764b077b84031ec9bb13538f400904119141d954636cee6d53eee052b3840735; and OK — 4 of 4 corpus state(s) equivalent over the four corpus states, two of which move the digest.
  • pytest -q tests/snapshot_equivalence → 60 passed in 26.94 s, 0 skipped (47 at 02967478, plus six for the four findings, plus seven from the watchdog round below).
  • Mutation sweeps over the new code: 14 mutants, 14 caught, 0 survived — 6 for the four fixes (the attributes file left enabled, the watchdog never armed, the watchdog left armed, the remediation ignoring untracked dirt, the archive handed the mutable ref again, a render timeout swallowed instead of refused) and 8 for the watchdog round.
  • EXPECT_SKIPPED is untouched: this directory still contributes zero skips, and MIN_SELECTED/MIN_PASSED are floors.

Round 1 on this PR — the watchdog class, closed

Copilot's review at cc0ec217 raised three findings, all about the watchdog [a] introduced, all FACT, all fixed at 5b1b5855 (answers: thread, thread, and the suppressed one).

  1. _RenderTimeout derived from Exception, so a pinned renderer's own except Exception: could consume the alarm and return as though the render had finished. It derives from BaseException now, for the reason KeyboardInterrupt and asyncio.CancelledError do — and main() grew an explicit catch, because its blanket guard is Exception ON PURPOSE and a BaseException escaping would have left a traceback and EXIT 1.
  2. The bound stopped at generate_snapshot, leaving canonical_bytes — the snapshot leg's own code, which this function promises the BYTES of — outside it. A pin that hangs while SERIALIZING hangs the gate exactly as one that hangs while generating.
  3. Arming took the caller's ITIMER_REAL and disarm() cancelled rather than restored it. A process gets ONE. A tighter inherited deadline is now left alone and we do not arm; a looser one comes back at what is LEFT of it, with its interval and handler; one that passed comes back firing rather than vanishing.

🤖 Generated with Claude Code

…hout

`#1105` landed at `02967478`. Copilot's review at its final head `9ed3def3`
carried a "Suppressed comments" block of four, and a 0-unresolved-threads count
is not evidence about a suppressed block — they were registered on the pull
request (comment `5731868859`) and are taken here, and ONLY these four.

[a] **`render_post()` RAN THE MOVING POST-SPLIT STACK UNBOUNDED.** The PRE side
    got its `timeout=` in #1105; the post side runs IN THIS PROCESS on purpose
    — it is the only stack the process has imported, and the PRE side, the one
    that would collide with it, is already in a child of its own — so moving it
    out to gain a timeout would undo the thing the timeout protects. It gets a
    `SIGALRM` watchdog instead, disarmed in a `finally`, mapped to a NAMED
    refusal: `equivalence-post-stack-unrenderable`, the symmetric counterpart
    to `-pre-tree-unrenderable`. Without it a non-terminating regression in a
    FUTURE pinned leg — and the post side IS a pin that moves, which is this
    runner's whole reason to exist — hangs the required `pytest-suite` job
    until its own 35-minute limit instead of refusing. It answers `None`, and
    the render then runs unbounded, where no `SIGALRM` exists or the caller is
    off the main thread: the only place in this file that degrades rather than
    refusing, and it says so, because the alternative is refusing a run for the
    interpreter's shape rather than for anything about the projection.

[b] **THE DIRTY-LEG REMEDIATION COULD NOT CLEAN THE DIRT IT REPORTED.**
    `worktree_dirt()` reports untracked entries, and `git checkout -- .`
    restores tracked paths only while a plain `git stash` leaves untracked
    files behind — so for a `??` entry the message sent an operator to a
    command that could not make the next run clean. It branches on what is
    actually there now, and names `stash -u` / `clean -fd` where they are what
    is needed.

[c] **`GIT_ATTR_NOSYSTEM` WAS SCRUBBED AND NEVER SET, WHICH IS HALF A GUARD.**
    Dropping an inherited one only stops a caller DISABLING the system
    attributes file; `git archive` then still consults `/etc/gitattributes`,
    where an `export-ignore` silently changes WHICH FILES the pre-split tree
    carries. This runner's whole claim is that it read one named tree, so the
    tree must not vary with the host it is read on.

[d] **THE RESOLVED-COMMIT TEST SPIED AT THE WRONG LAYER.** It replaced
    `extract_pre_tree()`, so the `git archive` call whose argument is the
    invariant never ran, and a regression INSIDE that function passing
    `pre_ref` where `pre_commit` belongs would have left it green. It keeps the
    real extractor now and spies on `_git`'s archive arguments.

Six new tests, one per finding and two for [a] (the bound fires; the timer is
disarmed when the render returns — a timer left armed fires during whatever
runs next, which in a suite is another test). 53 passed in 28.02 s. The
runner's verdict is unchanged: `OK — 1 of 1`, 14,849 bytes, `sha256
764b077b84031ec9bb13538f400904119141d954636cee6d53eee052b3840735`, and
`OK — 4 of 4` over the four corpus states.

Lane: openxfactory-4

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI lite review requested due to automatic review settings September 18, 2026 15:11
@sourcery-ai

sourcery-ai Bot commented Sep 18, 2026

Copy link
Copy Markdown

Reviewer's Guide

This follow-up addresses four suppressed findings without changing the runner’s verdict: it bounds in-process post rendering with a named refusal, hardens Git environment determinism, provides actionable dirty-worktree cleanup guidance, and verifies the resolved commit at the actual git archive boundary.

Sequence diagram for bounded post-snapshot rendering

sequenceDiagram
    participant Runner
    participant Watchdog as arm_render_watchdog
    participant Generator as generate_snapshot
    participant Signal as SIGALRM

    Runner->>Watchdog: arm_render_watchdog(_CHILD_TIMEOUT)
    alt watchdog available
        Watchdog->>Signal: install handler and setitimer
        Watchdog-->>Runner: disarm
    else unavailable platform or non-main thread
        Watchdog-->>Runner: None
    end
    Runner->>Generator: generate_snapshot(corpus, REPOSITORY_NAME, source_revision)
    alt render completes
        Generator-->>Runner: snapshot
    else watchdog fires
        Signal->>Generator: raise _RenderTimeout
        Runner-->>Runner: raise EquivalenceRefusal(equivalence-post-stack-unrenderable)
    end
    Runner->>Watchdog: disarm()
    Runner-->>Runner: return canonical_bytes
Loading

Sequence diagram for resolved-commit archive verification

sequenceDiagram
    participant Test
    participant Extractor as extract_pre_tree
    participant Git as _git
    participant Archive as git archive

    Test->>Extractor: extract_pre_tree(...)
    Extractor->>Git: invoke git archive with resolved commit
    Git->>Archive: git archive <resolved 40-hex commit>
    Archive-->>Git: archive bytes
    Git-->>Extractor: archive result
    Extractor-->>Test: pre-tree
    Test->>Git: assert archive revision argument equals resolved commit
Loading

Flow diagram for dirty-worktree remediation

flowchart TD
    A[worktree_dirt reports entries] --> B{Contains untracked entries?}
    B -->|No| C[Recommend commit, stash, or git checkout -- .]
    B -->|Yes| D{Also contains tracked edits?}
    D -->|Yes| E[Recommend git stash -u or commit]
    D -->|No| F[Recommend git stash -u or git clean -fd]
Loading

File-Level Changes

Change Details Files
Bound in-process post rendering with a signal watchdog and convert timeouts into a named refusal.
  • Add a platform/main-thread-aware SIGALRM watchdog.
  • Disarm the watchdog in all render paths.
  • Introduce equivalence-post-stack-unrenderable for non-terminating pinned renders.
scripts/verify-snapshot-equivalence.py
tests/snapshot_equivalence/test_snapshot_equivalence.py
Make Git environment isolation prevent host-specific archive contents.
  • Force GIT_ATTR_NOSYSTEM=1 in the subprocess environment.
  • Test both the default value and replacement of an inherited disabling value.
scripts/verify-snapshot-equivalence.py
tests/snapshot_equivalence/test_snapshot_equivalence.py
Correct dirty-worktree remediation based on whether reported changes are tracked or untracked.
  • Add advice selecting checkout, stash -u, or clean -fd as appropriate.
  • Cover tracked-only, untracked-only, and mixed dirt cases.
scripts/verify-snapshot-equivalence.py
tests/snapshot_equivalence/test_snapshot_equivalence.py
Strengthen resolved-commit coverage by observing the actual archive invocation.
  • Keep the real pre-tree extractor running.
  • Spy on _git and assert the positional archive revision is the resolved 40-character commit.
tests/snapshot_equivalence/test_snapshot_equivalence.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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.

🟡 Changes recommended

Address the watchdog exception handling, canonicalization coverage, and restoration of caller-owned timers.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Hardens snapshot-equivalence verification against render hangs, host-dependent Git behavior, incomplete cleanup guidance, and incorrect archive revisions.

Changes:

  • Adds post-render watchdog handling and refusal paths.
  • Isolates Git attributes and improves dirty-worktree remediation.
  • Strengthens resolved-commit archive tests.
  • Adds regression coverage for the fixes.
File summaries
File Summary
tests/snapshot_equivalence/test_snapshot_equivalence.py Adds regression tests for watchdog behavior, Git isolation, cleanup guidance, and archive revisions.
scripts/verify-snapshot-equivalence.py Implements the verification safeguards and remediation updates.
Review details

Suppressed comments (1)

scripts/verify-snapshot-equivalence.py:778

  • This overwrites any caller-owned SIGALRM handler and ITIMER_REAL, then disarm() always cancels the timer without restoring it. Running the verifier under a test timeout, an embedding watchdog, or a nested caller can therefore silently disable that timeout (and leave the previous handler replaced if the render is interrupted). Capture the prior timer state as well as the handler and restore the remaining deadline/interval in finally, or refuse to arm when an existing timer cannot be safely preserved.
    previous = signal.signal(signal.SIGALRM, _fire)
    signal.setitimer(signal.ITIMER_REAL, seconds)

    def disarm() -> None:
        signal.setitimer(signal.ITIMER_REAL, 0)
        signal.signal(signal.SIGALRM, previous)
  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread scripts/verify-snapshot-equivalence.py Resolved
Comment thread scripts/verify-snapshot-equivalence.py Resolved
…olen

Copilot on #1110, all three FACT and all three in the watchdog this PR
introduced, so they are the same class and one round closes it.

1. `_RenderTimeout` derived from `Exception`, so a pinned renderer's own
   `except Exception:` — a retry, a cleanup, a log-and-carry-on — could
   consume the alarm and return as though the render had finished, and the
   verdict would then be computed from whatever was half-built. It derives
   from `BaseException` now, for the reason `KeyboardInterrupt` and
   `asyncio.CancelledError` do. `main()` grows an explicit catch for it:
   the blanket guard there is `Exception` ON PURPOSE, so without one a
   timeout landing in the sliver between the guarded render and `disarm()`
   would leave a traceback and EXIT 1, which this file says does not exist.

2. The bound stopped at `generate_snapshot`, and `canonical_bytes` — the
   snapshot leg's own code, which this function promises the BYTES of — ran
   outside it. A pinned leg that does not terminate while SERIALIZING hangs
   the gate exactly as one that does not terminate while generating does.

3. Arming took a caller's `ITIMER_REAL` and `disarm()` cancelled rather
   than restored it: a process gets ONE, so an embedding harness's deadline
   — `pytest-timeout` in its `signal` method, a supervising runner — was
   silently destroyed. A tighter inherited deadline is now left alone and
   the watchdog does not arm at all (the render runs under that tighter
   bound, which is what it was for); a looser one is put back at what is
   LEFT of it, with its interval and its handler, floored a millisecond
   above zero so a deadline that passed while we held the timer arrives
   late rather than never.

Seven tests, one per finding and one per case that has teeth: a renderer
that catches `Exception`; the timer read from INSIDE `canonical_bytes`; a
canonicalization that hangs, end to end; a tighter caller deadline left
alone; a looser one restored with the elapsed time deducted; an expired one
that fires rather than vanishing; an escaped `_RenderTimeout` that still
exits 2. 60 passed, 0 skipped. Verdict unchanged: 14,849 bytes, sha256
764b077b84031ec9bb13538f400904119141d954636cee6d53eee052b3840735. Mutation
sweep over the three fixes: 8 mutants, 8 caught, 0 survived.

Lane: openxfactory-4
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings September 18, 2026 15:25
@brettheap

Copy link
Copy Markdown
Contributor Author

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

Round 1 on this PR closes the watchdog class — all three findings were FACT, and all three are fixed at 5b1b5855. The two threaded ones are answered and resolved in place; this is the suppressed one, which needs an answer somewhere a reader will find it. That is the same reason this pull request exists at all: a suppressed block is not a resolved one, and #1105 landed with four of them.

scripts/verify-snapshot-equivalence.py:778 — the watchdog stole the caller's timer

This overwrites any caller-owned SIGALRM handler and ITIMER_REAL, then disarm() always cancels the timer without restoring it.

Measured and true, and the sharper half is the one the comment puts second: cancelling is worse than replacing. A process gets ONE ITIMER_REAL. An embedding harness that bounded this verification — pytest-timeout in its signal method, a supervising runner, a caller that wrapped the whole run — would have had its deadline silently deleted by a verifier whose entire purpose is to refuse rather than hang. A watchdog that disarms someone else's watchdog is not a bound, it is a hole with a bound's name on it.

Fixed in three parts, because the inherited timer has three cases and only one of them is "restore it":

  1. A tighter inherited deadline is left alone, and we do not arm at all. arm_render_watchdog() reads signal.getitimer(signal.ITIMER_REAL) first; where the caller's deadline is EARLIER than the bound asked for here, arming would loosen it, so it answers None and the render runs under the caller's bound — which is what that bound was set for. This is the one new None path, and it is not a degradation: the render is bounded more tightly than we would have bounded it.
  2. A looser one is restored at what is LEFT of it — inherited - (time.monotonic() - armed_at), with its interval and its handler, and the handler is put back before the timer so a deadline that lands immediately reaches the caller's own code and not ours. Restoring the original 30 s would have extended a deadline as surely as cancelling removed one, so the elapsed time is deducted and a test asserts the deduction rather than merely the non-zero.
  3. A deadline that PASSED while we held the timer comes back firing, not cancelled, floored at a millisecond — small enough to be immediate, large enough to be non-zero at any platform's timer granularity. setitimer(…, 0) cancels, so the naive max(left, 0) would have turned "your deadline expired" into "you have no deadline". It is reachable, not theoretical: CPython runs a signal handler only between bytecodes, so a pinned leg sitting inside a C extension that holds the GIL defers OUR alarm past its own bound, and a long enough deferral carries the run past the caller's later one too.

Measured at 5b1b5855

  • pytest -q tests/snapshot_equivalence → 60 passed in 26.94 s, 0 skipped (53 + seven: one per finding, plus the cases with teeth — a renderer that catches Exception, the timer read from inside canonical_bytes, a canonicalization that hangs end to end, a tighter caller deadline, a looser one with the elapsed time deducted, an expired one, and an escaped _RenderTimeout that still exits 2).
  • The verdict is unchanged, which is what this pull request must not move: OK — 1 of 1 corpus state(s) equivalent, exit 0, 14,849 bytes, sha256 764b077b84031ec9bb13538f400904119141d954636cee6d53eee052b3840735; the four-corpus-state run is result: ok with 4 states, two of which move the digest.
  • Mutation sweep over the three fixes: 8 mutants, 8 caught, 0 survived — the base class back to Exception; canonicalization back outside the bound (twice, in both spellings); a tighter caller deadline armed over; the caller's timer restored at its original delay; not restored at all; the floor dropped; and main()'s catch removed.
  • EXPECT_SKIPPED: "6" is untouched — this directory still contributes zero skips.

🤖 Generated with Claude Code

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.

🟢 Approval recommended

All reviewed changes are covered by regression tests and no unresolved issues remain.

Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap marked this pull request as ready for review September 18, 2026 15:44

@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.

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 3 days and 3 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@brettheap
brettheap merged commit 313b266 into main Sep 18, 2026
16 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

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

LANDED — lane openxfactory-4, 2026-09-18T16:47:10Z, PR #1110 → 313b266 (opensoft/openxFactory main; plain gate)

§ 5.5 FLOOR PART 4 follow-up 1: the four suppressed findings at #1105's landed head (RULED Q-P5 5731951297; claim 5728621421). Brett Heap: "keep going".

brettheap added a commit that referenced this pull request Sep 18, 2026
…st half on #1110, and names the second as still owed

#1110 -> 313b2665, merged 2026-09-18T16:47:05Z, takes all four of the suppressed
findings Copilot's review carried at #1105's landed head 9ed3def, as a plain
gate over the SAME TWO FILES #1105 landed and no other path.

A second follow-up is still owed and is NOT this box's condition: RULED Q-P5 (a)
(#656 comment 5731951297) scoped #1110 to those four alone, sending the remaining
eight registered items and runbook section 2.3 to a second act, held because the
runbook's section 2 family is contended until #1086 lands.

The clause read "floor55b takes them as a follow-up act" until that act landed.
Corrected rather than left in the future tense -- the same stale forward
reference this amendment already had to repair once at section 6.4, where a list
of "remaining" closures still named one that had landed. A ledger's forward
references are the part of it that rots fastest, which is why this amendment now
fixes them on sight rather than at the end.

Also recorded from the landing: a 0-unresolved-threads count is not evidence
about a suppressed block, which is the landing gate's own rule and the reason the
debt existed at all.

origin/main merged in at 313b2665 (#1108, #1094, #1110 since the last merge).
#1060 (section 6.1) and #1086 (floor part 3 transposition) are still OPEN, so
their ticks go to amendment #7.

Ledger unchanged at 54 [x] / 17 [ ] / 1 [~] of 72; one file; five marker changes
against main (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
… reverses a correction this amendment itself made

Every item was measured before it was accepted. The largest reverses an earlier
change of my own.

(1) THE CENSUS RETRACTION. Residue (v) claimed the stale corpus figure lives at
FIVE sites in validate-sequenced-after.py, adding :36 and :396 to the three
first reported. That was WRONG and the original three were right. Both added
lines read "before it was made a gate" -- :36 "measured clean across all 143
archived rows before it was made a gate", :396 "measured across this corpus
before it was made a gate - 143 archived rows, 0 findings". They are HISTORICAL
statements bound to a moment, and renumbering them to 172 would destroy the
evidence they exist to carry. The irony is left on the page rather than tidied
away: this row exists to say a figure bound to a tree is safe while a bare figure
rots, and its author then mistook two correctly-bound figures for rot. A dated
claim is not a stale claim.

(2) A DRIFTED LOCATOR, in a row about stale references. The census cited
test_sweep.py:2003, which holds shutil.rmtree(...); the claim is at :2049. The
locator drifted between the grep and the sentence. Every line number in the row
is now marked as bound to this head and to be re-derived rather than trusted.

(3) COUNT. The same list said "three more places" and then named six.

(4) DURATION. The INCIDENT 1 / INCIDENT 2 repairs were described as four days
apart. Measured: #1106 merged 13:28:21Z and #1109 14:26:58Z, the same day, about
an hour apart.

(5) QUOTE. The declined-finding paragraph quoted archive-date-dispositions.yaml
:43 as "172 directories agree". The sentence spanning :42-:43 reads "159 of this
corpus's 172 directories agree"; the fragment alone reads like a different claim,
and a paragraph whose whole job is validating quotes against the live file has to
quote whole sentences.

(6) COMMAND. Section 5.5's gate evidence quoted `pytest tests/ -q` where
pytest-suite.yml:599 runs `pytest tests/ -q -m "not postgres"
--junitxml=pytest-report.xml`. The -m selector is exactly the part that could
narrow the gate, so the shortened form overstated it.

(7) ORDERING RATIONALE. Section 5.2a said its archive waits on #1066 "because
section 6.5 still edits openspec/specs/ideation-dashboard/spec.md". Measured:
#1066's title is "Close section 6.2 ... and ITS delta promotes", and its file set
touches that spec. The WAIT was right and the REASON was wrong, which is the
worse of the two to leave -- a correct instruction with a false rationale
survives until somebody acts on the rationale.

Also folded from the landings: section 5.5's snapshot-INDEX clause no longer says
the runner's first run answers it, because the landed runner states at
verify-snapshot-equivalence.py:121-122 that the index is "also unmeasured and NOT
claimed here" -- a separate follow-up runner under its own ruling.

One input pattern worth recording: two landing times handed to this lane today
were the PR's updatedAt rather than its mergedAt (#1109 given as 14:27:05Z
against a measured 14:26:58Z; #1110 given as 16:47:10Z against a measured
16:47:05Z, with updatedAt 16:47:11Z). Both were caught by measuring the field
rather than accepting the figure.

origin/main merged in at 313b2665. Ledger unchanged at 54 [x] / 17 [ ] / 1 [~]
of 72; 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
…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
… 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 added a commit that referenced this pull request Sep 18, 2026
…sal codes as a delta against the ruling's five

The Q-P1 list in section 5.5 names five refusal kinds. That list is the RULING's
prescription and is left exactly as ruled. The landed runner carries SEVEN,
measured at this amendment's head: the five, plus equivalence-unreadable and --
added by #1110's watchdog -- equivalence-post-stack-unrenderable, the symmetric
counterpart to -pre-tree-unrenderable that refuses a non-terminating post-split
render instead of hanging the required job.

Recorded as a delta rather than by editing the ruling's own words, because
rewriting the enumeration in place would make the ruling appear to have said
something it did not. A runner may carry more refusals than the ruling
enumerated; the ruling set a floor, not a closed set.

Raised by Copilot against head 83a055a, which named ONE missing code. The
measurement found TWO, and the larger number is the one recorded -- a finding
that is right about the defect and short about its extent still has to be
measured rather than transcribed.

Ledger unchanged at 57 [x] / 14 [ ] / 1 [~] of 72. 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
…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
…y close, and with it every section 6 disposition

Section 6.2 TICKS on #1066 -> 3bf63b8, merged 2026-09-18T20:24:53Z, "Close
section 6.2: retire-doxbench-chat-turn-v1 archives on its own evidence, and ITS
delta promotes". The box is the one that could not simply close, and 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.

The landing rule held on both clauses and NO DISPOSITION IS OWED. 3bf63b8 has
two parents; the archive directory 2026-09-16-retire-doxbench-chat-turn-v1
carries an adding commit 90bf93c dated 2026-09-16T14:38:38Z, the day it is
named for, so the archive-date arm has nothing to fire on -- unlike INCIDENT 1's
closure, this one costs no disposition row. Clause 2 re-run on origin/main
merged with this branch exits 0.

Section 6 is now complete except for its standing condition. Sections 6.1
through 6.5 are all [x], and all five disposition directories are under
openspec/changes/archive/ -- read from the tree rather than from this ledger, so
the two can be compared instead of one restating the other. Only section 6.6
remains, and it is a standing condition rather than an act.

One finding is registered and not resolved (4050274179): a Copilot qualification
against the closure, carried as the follow-up's scope under the land-and-register
pattern this packet has now used four times -- #1105 to #1110, #1086, openDox-code
#25, and here.

A release figure inside that closure is preserved as a measurement, because it is
this packet's own defect class caught first in someone else's prose and then in
its own: the published run from the deprecation to the removal is TWENTY
releases, counted BY TAG, after an earlier count wrongly included contract-v2.6,
which the versioning policy rules "permanently unreleased". Verified
independently here -- git tag -l 'contract-v2.*' returns v2.0 through v2.5 and no
v2.6, so the bundle is absent from the tag space rather than merely unpublished.
A count taken from intent rather than from the tag would have been wrong by one.

origin/main merged in at 3bf63b8. Ledger 57 -> 58 [x] / 13 [ ] / 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
…#1115)

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

Refs #656 (stays OPEN).

CLAIM: 5728621421

**The SECOND and last follow-up on FLOOR PART 4**, on Brett's RULING Q-P5 = (a) (`#656` comment [`5731951297`](#656 (comment))): #1105 landed the runner, #1110 took the four findings its review SUPPRESSED, and this takes **the eight remaining registered items plus runbook § 2.3**. Registered across #1105's rounds and listed in full in [comment `5731868859`](#1105 (comment)) (round 10's twelve, minus #1110's four). Nothing is left owed after this.

A plain gate: four files, no `openspec/changes/` path, no README OpenSpec Records block, no pin, no gitlink, no manifest. `origin/main` is MERGED in at `e3647b6d` (never rebased), which is how #1086's runbook lands under § 2.3.

## The eight

**1. `ls-files -s` reads STAGE 0, or names the conflict.** During an unresolved merge git lists stages 1, 2 and 3 for a path, so taking the first `160000` row read the MERGE BASE's gitlink — or THEIRS — as the pin this repository records, and then refused or passed against a commit nobody has declared. There is no recorded pin during a conflict; that is a state to name, not to guess through. Tested against a **real** conflicted index written with `update-index --index-info`.

**2. The two `spec` mounts join the pin set** (and, for a while, the sweep — see the correction below). `leg_of()` matches the longest VERIFIED pin root containing a module's file, so a module under `openDox/spec` — which a `re_destined:` block may lawfully put there — resolved to the `openDox` ASSEMBLY ROOT, and the verdict named the assembly's commit for a module the assembly does not contain. Measured on #1105 round 6 with a module placed there; the pin set is six mounts now.

> **CORRECTED at `3ab57af5`, on a measurement rather than an argument.** `IMPORTED_LEGS` briefly followed the pin set, and that was over-reach: `carved_reach.LEGS` installs exactly two roots (`openDox/code/src`, `openXdox/code/src`) and `module()` refuses a row that is not a `.py` at a code leg, so **nothing can be imported out of a spec mount through this reach**. Sweeping a tree this run cannot import from can only refuse a run for a state that cannot change its result. The spec mounts stay PINNED and leave the SWEEP; the test asserts the measurement, so it fails if the reach ever grows a spec root.

**3. The chain is resolved from the EXACT OUTER COMMIT.** Index-first is right for the pin this repository declares — a re-pin must be checkable before it is committed — and wrong one level down. A `code` gitlink staged inside `openDox` is in no commit openxFactory has declared, yet the index-first read took it as the recorded pin while `openDox`'s own HEAD still matched, so the level above stayed green. Each nested row is now read out of `<the commit its parent verified>:<path>`. Two tests: the helper, against a real staged-vs-committed gitlink, and the WIRING — that `verify_pins()` actually hands each nested row its parent's verified oid.

**4. `GIT_NO_LAZY_FETCH=1`, and the failure it produces named.** In a partial clone a read of an absent blob is fetched from the promisor remote, so `git archive` reaches for the NETWORK in the middle of a measurement — and hangs for as long as that takes, or for ever, inside a runner whose whole contract is to refuse rather than hang. **Measured on a `--filter=blob:none` clone archiving a tag the checkout never materialized** (this runner's own case, since `opendox-carve-0` is far behind any working tree):

```
$ GIT_NO_LAZY_FETCH=1 git archive --format=tar carve-0 -- scripts
warning: lazy fetching disabled; some objects may not be available
fatal: could not fetch d943254485e0… from promisor remote      → rc 128
$ git archive --format=tar carve-0 -- scripts                   → rc 0, after a silent fetch
```

New code **`equivalence-object-store-incomplete`**, because the remedy is a deliberate `git fetch origin <commit>` and the old message told that operator their tree carried no renderer — sending them to replace a good `--pre-ref`.

**And the other half, after Copilot's round on this PR (`d6244aa4`):** classifying the store left the FALLBACK worded for it, and what now landed there was the opposite condition — `git archive` fails before writing anything when no path matches, so a tree carrying neither archive path never reached the per-row post-shed check below and was told to fetch objects instead of to name a pre-shed ref. A pathspec failure is classified as the POST-SHED REF it is; what is left is UNDIAGNOSED and says so, carrying its stderr and both remedies as possibilities rather than one as a verdict. Both new tests assert the DETAIL and not only the code, which is how the first one passed on the wrong message.

**5. The cleanliness sweep in its working form.** `git diff --name-only HEAD -- src`, `ls-files --others --exclude-standard`, and an `ls-files -v` scan for `assume-unchanged` / `skip-worktree`. Those flags make git report an EDITED file as clean, so a leg carrying one could be edited with `status --porcelain` — the first spelling — answering nothing at all; the test proves exactly that, with `status` returning empty while the sweep reports the file. `--ignored`, the originally proposed remedy, stays REJECTED on the measurement that killed it: it reports this runner's own `__pycache__` (3 and 4 entries) and would refuse on every run after the first. `_clean_advice()` grows the third remediation, because `checkout -- .` cannot clear a flag bit.

**6. A non-importing materialization probe, BEFORE `post_stack()`.** Composing the stack installs a meta-path finder, mutates the import system for the rest of the process, and writes `__pycache__` INTO the leg whose cleanliness the next check asserts. Doing all that to discover that a submodule directory is empty — and then saying so in terms of a module name — is work with side effects performed to reach a worse message. Three shapes are named: absent, empty (recorded and never initialized), and no `.git` (a copied source tree). The ORDER is tested, not just the function.

**7. The superproject's revision and dirt in the evidence, never a refusal.** The post side is composed out of ROOT's `carved_reach.py`, `opendox_host.py` and the § 4.4 profile — none of them pinned by the gitlinks the verdict names — so two runs can differ by them alone while every pinned leg matches. It is reported and not refused on, and the asymmetry is the point: this is the tree the runner is EDITED in, and a gate that refused on its dirt would be unusable by the only people who change it.

**8. The PRE child's inputs travel by NAME, not by position** — SonarCloud's last `pythonsecurity:S8705` on this file. The program goes to `-c`, so everything after it is `sys.argv[1:]`, and a mis-ordered or empty element silently shifts the unpack: the corpus becoming the output path. Environment entries are read by name, and a missing one raises `KeyError` in the child rather than rendering something else.

## Runbook § 2.3, and the README index

**§ 2.3 FLOOR PART 4 — the snapshot-equivalence run**, written where the other floor parts are documented (§ 2.1 the arrival verifier, § 2.2 the conformance runner), and held until #1086 landed because until then the § 2 family was contended. It carries the claim, both sides and why each is composed as it is, the pinned anchor, the command with its expected verdict, the four corpus states of which two must move the digest, what is verified before any digest exists, and what the run does NOT prove.

**§ 2.3 IS NOT § 5.5, and the section says so**: the box FLOOR PART 4 ticks is § 5.5 of `split-opendox-two-layer-product`'s `tasks.md`, while this runbook's own § 5.5 is the two commits a leg arrives in. § 2 is otherwise untouched — the runbook diff is **one hunk at line 849 with zero deletions**, so every paragraph of § 2, its disposition table and the two-paragraph disposition block above it are byte-identical.

The README doc index gains the runner beside `scripts/carve_conformance.py`, in that entry's form and for its reason: the index lists what proves each floor part, and FLOOR PART 4's prover was missing from it.

## Verification

* **The verdict is unchanged**, which is what a hardening pass must not move: `OK — 1 of 1 corpus state(s) equivalent`, exit 0, **14,849 bytes, `sha256 764b077b84031ec9bb13538f400904119141d954636cee6d53eee052b3840735`**.
* `pytest -q tests/snapshot_equivalence` → **94 passed, 0 skipped** (60 at `02967478` + #1110, plus thirty-four here). `EXPECT_SKIPPED: "6"` untouched; `MIN_SELECTED` / `MIN_PASSED` are floors.
* **Mutation sweeps over the new code: 39 mutants, 39 caught, 0 survived** — sixteen over the eight — every stage read as the pin; the conflict unnamed; the spec mounts out of the pin set; out of the sweep; the nested rows back on the nested index; lazy fetching allowed; the partial clone diagnosed as a bad tree; the flag scan dropped; `--exclude-standard` dropped; the untracked half dropped; the probe skipped; an empty leg read as materialized; the unpinned half dropped from the evidence; an unreadable root status read as clean; the child's inputs back in argv; and the child reading a positional tuple again; then two over the round-1 fix — the pathspec failure left unclassified, and the fallback claiming the object store again — and four over round 2's.

## Copilot round 2 (`c7ed6828`) — the class closes at its cap

One threaded finding and two suppressed, all three FACT, all three measured before they were taken ([thread](#1115 (comment)), [the suppressed pair](#1115 (comment))).

1. **An ignored `.py` under `src` is still importable.** `--exclude-standard` was bought for one measured problem — this runner's own `__pycache__` — and paid for it by dropping the whole class, so a leg could render bytes in no commit while the verdict named one. The ignored files under the import surface are scanned now, with an allowlist of exactly CPython's bytecode: measured, the two code legs carry 45 and 21 such files and every one is a `.pyc`.
2. **The no-network guarantee did not cover the whole measurement.** The post side reads through `carved_reach._git_run()`, a SHARED reader whose sanitizer builds from `os.environ` minus a scrub list that does not carry this name — so the guard is set on THE PROCESS before the reach is imported, and `"GIT_NO_LAZY_FETCH" in _sanitized_git_environment()` goes False → True across it.
3. **Clearing a hidden flag reveals the edit rather than removing it**, so the remediation stopping at `update-index` promised a clean re-run that would refuse again. The restore is named with it.

## SonarCloud went red, and it was right to (`e77726ac`)

The quality gate failed on `new_reliability_rating` 3 against a threshold of 1, and the issue behind it was **`python:S5850` on `_GENERATED_BYTECODE`** — the unparenthesised top-level `|` meant `\.pyc$` allowlisted a `.pyc` ANYWHERE under the import surface, and a sourceless `src/shadow.pyc` is an ordinary import candidate. Copilot found the same hole from the other end in the same hour. The pattern is one anchored shape now, with a test that `src/shadow.pyc` is dirt and `__pycache__/m.cpython-312.pyc` is not. Also in that commit: `git archive` fails on ANY absent pathspec, so the refusal now asks `ls-tree` WHICH path the tree lacks instead of asserting it carries neither; and the maintainability findings on the same analysis — two `S3776` complexity splits, an `S1192` constant, an `S3358` lift, three `S9073` assertion splits and two `S8997` monkeypatch conversions — are cleared rather than suppressed.

## The last round (`c26083ee`), and what is registered rather than taken

Two suppressed findings, both INCONSISTENCIES IN CODE THIS PR INTRODUCED: `_flagged()` scanned the whole leg while its two sibling reads were scoped to `src`, which would have made a required gate refuse for a bit on a file that cannot reach the imports — a false refusal; and the superproject evidence read a plain `git status`, carrying the exact blind spot this act fixes one layer down, so a flag-hidden edit to `carved_reach.py` would have printed `working tree clean`. Both fixed. The second test's first spelling survived its own mutant (it asserted `dirty` while the ambient checkout was already dirty) and now forces the status read clean, which is the only way the flag can be what makes the difference.

**Registered, not taken** ([thread](#1115 (comment))): an allowlisted `__pycache__/*.pyc` is trusted by PATHNAME, so a crafted cache whose header matches the tracked source is executed before the sweep runs. True, and the remedy is `sys.pycache_prefix` set before the legs are imported — which would also stop this runner writing into the legs at all and retire the allowlist. It is a process-wide behaviour change that deserves its own act rather than the last commit of this one, and the exposure needs a writer in the checkout, who could equally edit `carved_reach.py`, which no pin covers.
* **doc-health** over the tree names neither `docs/opendox-cutover-runbook.md` nor `README.md` (nor the runner): the standing findings are the repository's own and this act adds none.

## Rounds 6-9, and where the line was drawn

Copilot reviewed at every head and kept finding real defects — **in code this act wrote**. The rule I held: *a defect this act INTRODUCED gets fixed however late; a finding about ground this act did not break is answered and registered.*

* **`ce976cbe`** — `rev-parse <commit>:<path>` returns an oid for ANY tree entry, so a parent commit with a file or directory at `code` had it read AS THE NESTED PIN; mode `160000` is required now, through one `ls-tree` that answers presence, mode and id together. Plus three texts this act made stale: `any(leg.iterdir())` counted `.git` (a metadata-only mount read as materialized), the dirt refusal still named `git status --porcelain` after that read became three, and the comment above the probe still said `post_stack()` comes first — the opposite of the implemented order.
* **`3ab57af5`** — mostly a SUBTRACTION (the spec-mount correction above), plus the HEAD read made mode-aware like its sibling and every nonzero index stage treated as a conflict whatever its mode.
* **`630af798`** — a REGRESSION `3ab57af5` introduced, undone: making the HEAD read mode-aware also made it RAISE, and HEAD was read BEFORE the index, so an unreadable HEAD tree could reject a VALID staged pin — which is precisely what index-first exists to prevent.
* **`b959a071`** — the untracked read took no scope while its two siblings did (a false refusal for an untracked `docs/NOTE.md`), and the tracked remedy offered `checkout -- .` for a diff taken against HEAD, which leaves a STAGED edit exactly where it is.

**Registered against the successor act, not taken here**: the tampered-`__pycache__` exposure — an allowlisted `__pycache__/*.pyc` is trusted by PATHNAME, and CPython executes a crafted cache whose header still matches the source. The remedy is `sys.pycache_prefix` set before the legs are imported, which would also stop this runner writing into the legs and RETIRE the allowlist that produced three findings. It is a process-wide behaviour change and belongs to an act that is about it.


Lane: openxfactory-4
Co-Authored-By: Claude Fable 5.1 <[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
…es at all three destinations, and the four-part floor has one evidence line per part

Ledger 62 [x] / 9 [ ] / 1 [~] -> 64 / 7 / 1 of 72; five marker changes in this
amendment (3.7, 4.5a, 5.4, 8.2, 8.5).

SECTION 3.7 TICKS. All three destinations now have a recorded pass at a LANDED
head, which is the box's own word -- "EVERY DESTINATION PASSES IT":
openxFactory's own adapter at eb1880c, the only mechanical proof that the home
corpus has no privileged route and the reason the box names it separately;
openXdox-code at 3ee8cd31 (#656 comment 5736681367); and openDox-code at
93ccc3dd, OK - 17 of 17, exit 0, transposed and faithful, #31 merged
2026-09-19T01:11:53Z (#656 comment 5738152229, the re-read AT MAIN, addendum to
5738117973).

The pass is quoted at the LANDED commit and not at the candidate, on purpose.
5738117973 recorded the same pass at candidate head 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 recorded as the corpus digest rather than 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 identifies the corpus and what a later reader
recomputes.

Registered as residue and not resolved (#656 5738108117): the core.excludesFile
switch, the corpus-mirroring fixture, the enumerated skip diagnostic.

SECTION 8.2 TICKS. All four evidence lines are on record, one per part and no
part standing in for another: (1) the carve manifest, #865 -> 1716748, 454 rows
at carve_commit b075fd9; (2) the test mapping, section 5.4 ticked in this
amendment, (a)(b)(c) at #1080 -> 4b53ea9 and (d) pinned at all three; (3) the
neutral conformance corpus green in every destination, section 3.7 above; (4)
the snapshot-equivalence run, section 5.5 on the gated runner #1105 -> 0296747
with follow-ups #1110 and #1115, and per RULED Q-P4 (a) that line also says
section 4.4's domain profile reproduces openxFactory's own vocabulary.

They are 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.

Section 3.6's follow-up 2 is named as openDox-code #32, a draft at b7d9d7a9. The
section 5.6 Phase 0 record gains its residue: openxFactory #1123, lockstep.status
re-diverged after the repin lane's advance, at the gate, registered and not a
condition of either box.

The superseded 2026-09-18 per-repository reading is kept beneath the tick,
because it shows the box closing in under a day from a state where neither
destination was evidenced.

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 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]>
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