Executor debug↔prove-it loop — alternate debug-tail attempts with prove-it drives (ADR 0221) #1090

Closed
opened 2026-09-01 00:19:19 +00:00 by ben · 8 comments
Owner

Context

ADR 0221 (debug↔prove-it drive regime), grilled 2026-08-31. Depends on the IDIP debug-tail variant ticket (native dependency set).

Task

The workstation drive executor gains a debug mode implementing the alternation Ben ruled:

  • On a full-drive red at a debug-eligible tail leg: subsequent attempts re-drive the debug tail (healer/fixes land between attempts, existing park/eval-gate rails unchanged) until all tail legs green.
  • All-green debug tail → auto-enqueue a prove-it drive (the unchanged from-S1 journey).
  • Prove-it red → re-enter debug mode. Prove-it green → batch proven; greens land on the record.
  • Adoption: on a green prove-it, persist the standing-world pointer (slug, droplet IP, secrets) where the debug preflight reads it, tag the new droplet reaper-exempt, and offboard the PREVIOUS standing droplet — the prove-it drive doubles as the drift refresh, no separate re-found machinery.
  • A WORLD-DRIFT park from the debug preflight routes to enqueue-prove-it, not to the healer.
  • Reporter: only prove-it verdicts reach the green path; debug attempts feed the executor log/park machinery only.

Acceptance

  • With a seeded tail bug: the executor runs debug attempts (not full drives) between fixes, then exactly one prove-it after the tail greens; the run ledger shows the alternation.
  • A green prove-it rotates the standing world: pointer updated, new droplet tagged, old droplet offboarded.
  • No debug green is ever posted to a ticket; a prove-it green posts exactly as today.
  • Full-drive behaviour for non-tail reds (founding/provision legs) unchanged.
## Context ADR 0221 (debug↔prove-it drive regime), grilled 2026-08-31. Depends on the IDIP debug-tail variant ticket (native dependency set). ## Task The workstation drive executor gains a **debug mode** implementing the alternation Ben ruled: - On a full-drive red at a debug-eligible tail leg: subsequent attempts re-drive the **debug tail** (healer/fixes land between attempts, existing park/eval-gate rails unchanged) until all tail legs green. - All-green debug tail → auto-enqueue a **prove-it** drive (the unchanged from-S1 journey). - Prove-it red → re-enter debug mode. Prove-it green → batch proven; greens land on the record. - **Adoption**: on a green prove-it, persist the standing-world pointer (slug, droplet IP, secrets) where the debug preflight reads it, tag the new droplet reaper-exempt, and offboard the PREVIOUS standing droplet — the prove-it drive doubles as the drift refresh, no separate re-found machinery. - A `WORLD-DRIFT` park from the debug preflight routes to enqueue-prove-it, not to the healer. - Reporter: only prove-it verdicts reach the green path; debug attempts feed the executor log/park machinery only. ## Acceptance - With a seeded tail bug: the executor runs debug attempts (not full drives) between fixes, then exactly one prove-it after the tail greens; the run ledger shows the alternation. - A green prove-it rotates the standing world: pointer updated, new droplet tagged, old droplet offboarded. - No debug green is ever posted to a ticket; a prove-it green posts exactly as today. - Full-drive behaviour for non-tail reds (founding/provision legs) unchanged. <!-- session-host: matou-workstation -->

Close report — executor debug↔prove-it loop + adoption (ADR 0221)

Ruled by agent under ADR 0174 — veto anytime. This ticket is a two-way door: every change is revertible (new shell libs + a default-OFF executor branch + a TS helper + offline tests) and provable (offline test suites). The one live-infra touch — the adoption step's droplet reaper-exempt tag + previous-droplet broker-release — walks the same established rollback pattern retire-standing.sh / rental-reap.sh already own (ADR 0174 rule 1 explicitly permits live-infra ops with an established rollback pattern), and it only ever runs behind the opt-in REHEARSAL_DEBUG_LOOP=1, never on the default path.

What landed (commit d7bd6a1c)

  • scripts/lib/rehearsal-debug-loop-lib.sh — the pure alternation the executor now owns:
    • rehearsal_debug_route — prove-it red at a debug-eligible tail leg → debug mode; prove-it red at a founding/provision leg → full-drive behaviour, unchanged; debug red → stay debug (heal against segregated evidence only, never the drive issue's green/close path); debug all-green → enqueue exactly one prove-it; any WORLD-DRIFT → enqueue a prove-it, never the healer.
    • persisted mode across the stateless */2 cron (defaults prove-it, so an armed-but-fresh loop first proves from S1 and adopts — no hand-founded world needed), the run ledger that shows the alternation, the WORLD-DRIFT-wins verdict classifier, and the mode:"debug" belt.
    • rehearsal_debug_adopt_standing_world — tag the new droplet reaper-exempt (idss-rental-hold) first, rewrite the standing-world pointer where the debug preflight reads it, then offboard the previous standing droplet (order never leaves zero protected boxes).
  • scripts/rehearsal-debug-loop.sh — the per-tick driver; wired into rehearsal-executor.sh behind REHEARSAL_DEBUG_LOOP=1 (default OFF → the live default path is byte-identical). Defers the prove-it path to rehearsal-cycle.sh, so a prove-it reports/closes exactly as today; only the debug attempts + adoption are new.
  • app/tests/e2e/fixtures/idipDebug.ts — writeStandingWorldPointer (the pointer auto-persist #1089 drove against a hand-written file for). journey.idip.spec.ts now emits the pointer from a fully-green journey's own run state (slug/IP/portal + the founder's twelve words off S6a, + deployedTreeKey/Sha).
  • rehearsal-cycle.sh green-close now refuses a mode:"debug" verdict (ruling 1 — one missed flag-check must not leak a debug green into the record).

Acceptance ↔ proof (offline)

Acceptance Proof
debug attempts (not full drives) between fixes, then exactly one prove-it after the tail greens; the ledger shows the alternation rehearsal-debug-loop-test.sh §7 (ledger sequence prove-it:red → debug:red → debug:red → debug:green → prove-it:green); rehearsal-debug-loop-driver-test.sh §4–5
a green prove-it rotates the standing world (pointer updated, new droplet tagged, old droplet offboarded) rehearsal-debug-loop-test.sh §8–11; driver §6
no debug green is ever posted to a ticket; a prove-it green posts exactly as today route table (§3), the mode:"debug" belt (§6), cycle green-close guard
full-drive behaviour for non-tail reds unchanged rehearsal-debug-loop-test.sh §2–3; driver §1–2

Offline suites green: rehearsal-debug-loop-test.sh 11/11, rehearsal-debug-loop-driver-test.sh 7/7, idipDebug.test.ts 32 (+7), touched-file vitest 78, the eight cycle/executor-parsing offline tests, eslint + vue-tsc + bash -n clean, harness-drift OK (no .sandcastle/ protected path touched).

Next e2e sitting (the eyeball, not code owed here)

The live seeded-tail-bug alternation drive on a real standing droplet — debug attempts between fixes, exactly one prove-it after the tail greens, the ledger's alternation, and a real rotation (pointer/tag/offboard) — is the next-e2e-sitting proof, exactly as journey.idip.debug.spec.ts is the next-sitting proof for #1089's debug half. Arming is one operator act: REHEARSAL_DEBUG_LOOP=1 in the host env. #1091 (general DRIVE_RESUME_FROM, needs-design) is the ADR 0221 arc's remaining ticket.

## Close report — executor debug↔prove-it loop + adoption (ADR 0221) **Ruled by agent under ADR 0174 — veto anytime.** This ticket is a **two-way door**: every change is revertible (new shell libs + a default-OFF executor branch + a TS helper + offline tests) and provable (offline test suites). The one live-infra touch — the adoption step's droplet reaper-exempt tag + previous-droplet broker-release — walks the **same** established rollback pattern `retire-standing.sh` / `rental-reap.sh` already own (ADR 0174 rule 1 explicitly permits live-infra ops with an established rollback pattern), and it only ever runs behind the opt-in `REHEARSAL_DEBUG_LOOP=1`, never on the default path. ### What landed (commit `d7bd6a1c`) - **`scripts/lib/rehearsal-debug-loop-lib.sh`** — the pure alternation the executor now owns: - `rehearsal_debug_route` — prove-it red at a debug-eligible **tail** leg → debug mode; prove-it red at a founding/provision leg → **full-drive behaviour, unchanged**; debug red → stay debug (heal against segregated evidence only, never the drive issue's green/close path); debug all-green → enqueue **exactly one** prove-it; any `WORLD-DRIFT` → enqueue a prove-it, **never** the healer. - persisted **mode** across the stateless `*/2` cron (defaults prove-it, so an armed-but-fresh loop first proves from S1 and adopts — no hand-founded world needed), the run **ledger** that shows the alternation, the `WORLD-DRIFT`-wins verdict classifier, and the `mode:"debug"` belt. - `rehearsal_debug_adopt_standing_world` — tag the new droplet reaper-exempt (`idss-rental-hold`) **first**, rewrite the standing-world pointer where the debug preflight reads it, then offboard the **previous** standing droplet (order never leaves zero protected boxes). - **`scripts/rehearsal-debug-loop.sh`** — the per-tick driver; wired into `rehearsal-executor.sh` behind `REHEARSAL_DEBUG_LOOP=1` (**default OFF → the live default path is byte-identical**). Defers the prove-it path to `rehearsal-cycle.sh`, so a prove-it reports/closes **exactly as today**; only the debug attempts + adoption are new. - **`app/tests/e2e/fixtures/idipDebug.ts`** — `writeStandingWorldPointer` (the pointer auto-persist #1089 drove against a hand-written file for). `journey.idip.spec.ts` now emits the pointer from a fully-green journey's own run state (slug/IP/portal + the founder's twelve words off S6a, + deployedTreeKey/Sha). - **`rehearsal-cycle.sh`** green-close now **refuses** a `mode:"debug"` verdict (ruling 1 — one missed flag-check must not leak a debug green into the record). ### Acceptance ↔ proof (offline) | Acceptance | Proof | |---|---| | debug attempts (not full drives) between fixes, then exactly one prove-it after the tail greens; the ledger shows the alternation | `rehearsal-debug-loop-test.sh` §7 (ledger sequence `prove-it:red → debug:red → debug:red → debug:green → prove-it:green`); `rehearsal-debug-loop-driver-test.sh` §4–5 | | a green prove-it rotates the standing world (pointer updated, new droplet tagged, old droplet offboarded) | `rehearsal-debug-loop-test.sh` §8–11; driver §6 | | no debug green is ever posted to a ticket; a prove-it green posts exactly as today | route table (§3), the `mode:"debug"` belt (§6), cycle green-close guard | | full-drive behaviour for non-tail reds unchanged | `rehearsal-debug-loop-test.sh` §2–3; driver §1–2 | Offline suites green: `rehearsal-debug-loop-test.sh` **11/11**, `rehearsal-debug-loop-driver-test.sh` **7/7**, `idipDebug.test.ts` **32** (+7), touched-file vitest **78**, the eight cycle/executor-parsing offline tests, eslint + vue-tsc + `bash -n` clean, harness-drift OK (no `.sandcastle/` protected path touched). ### Next e2e sitting (the eyeball, not code owed here) The **live** seeded-tail-bug alternation drive on a real standing droplet — debug attempts between fixes, exactly one prove-it after the tail greens, the ledger's alternation, and a real rotation (pointer/tag/offboard) — is the next-e2e-sitting proof, exactly as `journey.idip.debug.spec.ts` is the next-sitting proof for #1089's debug half. Arming is one operator act: `REHEARSAL_DEBUG_LOOP=1` in the host env. `#1091` (general `DRIVE_RESUME_FROM`, needs-design) is the ADR 0221 arc's remaining ticket.
matou-build-agent 2026-09-01 03:10:37 +00:00
ben reopened this issue 2026-09-01 05:30:11 +00:00
Author
Owner

REOPENED — the first live arm deadlocked the drive lane

Armed on matou-workstation (REHEARSAL_DEBUG_LOOP=1, target idip, drive #1087)
2026-09-01 ~03:56 UTC. This is the live proof this ticket deferred. It failed.

The prove-it half worked exactly as specified. First armed tick:

executor: #1087 is ready and unblocked — debug↔prove-it loop armed (ADR 0221)
debug-loop: mode=prove-it
debug-loop: PROVE-IT drive → verdict=red leg=create-credential → action=enter-debug, next mode=debug

Drive 20260901T035205Z ran from S1, reported/blocked on #1087 normally, and the
healer self-fixed create-credential (a0f8350f) at 04:18. Ruling 1 held — the
loop deferred to rehearsal-cycle.sh, the record is undamaged, no debug green
reached the reporter.

The debug half deadlocked on its first attempt and never recovered — 13
consecutive */2 ticks, 04:20→04:47:

debug-loop: mode=debug
DEBUG-TAIL: no standing-world pointer at .../test-results/idip-debug/standing-world.json
debug-loop: DEBUG attempt → verdict=red leg=<none> → action=debug-red, next mode=debug
debug-loop: debug red at '?' — evidence in <none>; healer skipped

Mode pinned to debug, so no prove-it could ever fire again — the IDIP lane
was dead, including the re-drive that would have retested the healer's 04:18 fix.
Ledger (all 13 identical):

{"stamp":"tick","mode":"debug","verdict":"red","firstRedLeg":"","action":"debug-red"}

Root cause — two defects that compound

A. scripts/debug-idip-tail.sh:56 omits the WORLD-DRIFT token. The
missing-pointer die() reads "no standing-world pointer at …".
rehearsal_debug_verdict classifies drift by grepping the drive log for the
literal WORLD-DRIFT, and its own comment asserts the token is stamped "into
every drift message (the driver's die() and the spec's WorldDriftError)" —
this call is the exception. The classifier falls through to red, so ruling 3
("drift is a named park, never a red") fails at precisely the bootstrap case.

B. enter-debug never checks that a standing world exists. The pointer is
written only by a green prove-it (adoption, ruling 2), but
rehearsal_debug_route flips to debug on any prove-it red at a tail leg —
so a fresh loop whose first prove-it reds enters debug with no world to drive
against. That is the common case, and the exact case the regime exists to serve.

Fixing A alone is not enough: it turns the hard deadlock into a 2-tick ping-pong
(debug → world-drift → prove-it → red at the same leg → debug → …) that burns a
full ~45–65 min prove-it every other tick. B is the real fix — enter-debug
must require a readable pointer, else report-full (stay prove-it, full-drive
behaviour unchanged). The debug tail is reachable only after a green prove-it
has founded and adopted a world.

Why the offline proof missed it

rehearsal_debug_route is pure and was pinned against synthetic
(mode, verdict, leg) triples that do not model pointer existence;
rehearsal-debug-loop-driver-test.sh stubs REHEARSAL_DEBUG_DRIVER_CMD, so the
real debug-idip-tail.sh die-path never executed. Both halves proven, the join
unproven — which is what this ticket's own "the live seeded-bug drive is the
next-e2e-sitting proof" caveat was pointing at.

Acceptance to re-close

  1. The missing-pointer die() carries WORLD-DRIFT (and a pin asserts the token
    on every drift exit path in the driver, not just the spec's).
  2. enter-debug is guarded on a readable standing-world pointer; without one a
    prove-it tail red routes report-full and the mode stays prove-it.
  3. An offline pin covering the bootstrap case: armed loop, no pointer, first
    prove-it reds at a tail leg → the next tick fires a prove-it, never a debug
    attempt. This is the case that deadlocked.
  4. A live arm that survives at least one full debug↔prove-it alternation.

State

Disarmed (REHEARSAL_DEBUG_LOOP=0 on matou-workstation, mode file reset to
prove-it); the plain cycle is restored and driving. Cost was ~30 min of dead
ticks — no droplets, no healer spend (it needs a run dir and there was none).
elitebook-03 (phase-5 device lane) was never armed and is unaffected.

## REOPENED — the first live arm deadlocked the drive lane Armed on matou-workstation (`REHEARSAL_DEBUG_LOOP=1`, target `idip`, drive #1087) 2026-09-01 ~03:56 UTC. This is the live proof this ticket deferred. It failed. **The prove-it half worked exactly as specified.** First armed tick: ``` executor: #1087 is ready and unblocked — debug↔prove-it loop armed (ADR 0221) debug-loop: mode=prove-it debug-loop: PROVE-IT drive → verdict=red leg=create-credential → action=enter-debug, next mode=debug ``` Drive `20260901T035205Z` ran from S1, reported/blocked on #1087 normally, and the healer self-fixed `create-credential` (`a0f8350f`) at 04:18. Ruling 1 held — the loop deferred to `rehearsal-cycle.sh`, the record is undamaged, no debug green reached the reporter. **The debug half deadlocked on its first attempt and never recovered** — 13 consecutive `*/2` ticks, 04:20→04:47: ``` debug-loop: mode=debug DEBUG-TAIL: no standing-world pointer at .../test-results/idip-debug/standing-world.json debug-loop: DEBUG attempt → verdict=red leg=<none> → action=debug-red, next mode=debug debug-loop: debug red at '?' — evidence in <none>; healer skipped ``` Mode pinned to `debug`, so **no prove-it could ever fire again** — the IDIP lane was dead, including the re-drive that would have retested the healer's 04:18 fix. Ledger (all 13 identical): ```json {"stamp":"tick","mode":"debug","verdict":"red","firstRedLeg":"","action":"debug-red"} ``` ## Root cause — two defects that compound **A. `scripts/debug-idip-tail.sh:56` omits the `WORLD-DRIFT` token.** The missing-pointer `die()` reads *"no standing-world pointer at …"*. `rehearsal_debug_verdict` classifies drift by grepping the drive log for the literal `WORLD-DRIFT`, and its own comment asserts the token is stamped "into every drift message (**the driver's die()** and the spec's `WorldDriftError`)" — this call is the exception. The classifier falls through to `red`, so ruling 3 ("drift is a named park, never a red") fails at precisely the bootstrap case. **B. `enter-debug` never checks that a standing world exists.** The pointer is written only by a **green** prove-it (adoption, ruling 2), but `rehearsal_debug_route` flips to `debug` on *any* prove-it red at a tail leg — so a fresh loop whose first prove-it reds enters debug with no world to drive against. That is the common case, and the exact case the regime exists to serve. Fixing A alone is not enough: it turns the hard deadlock into a 2-tick ping-pong (debug → world-drift → prove-it → red at the same leg → debug → …) that burns a full ~45–65 min prove-it every other tick. **B is the real fix** — `enter-debug` must require a readable pointer, else `report-full` (stay prove-it, full-drive behaviour unchanged). The debug tail is reachable only *after* a green prove-it has founded and adopted a world. ## Why the offline proof missed it `rehearsal_debug_route` is pure and was pinned against synthetic `(mode, verdict, leg)` triples that do not model pointer existence; `rehearsal-debug-loop-driver-test.sh` stubs `REHEARSAL_DEBUG_DRIVER_CMD`, so the real `debug-idip-tail.sh` die-path never executed. Both halves proven, the join unproven — which is what this ticket's own "the live seeded-bug drive is the next-e2e-sitting proof" caveat was pointing at. ## Acceptance to re-close 1. The missing-pointer `die()` carries `WORLD-DRIFT` (and a pin asserts the token on *every* drift exit path in the driver, not just the spec's). 2. `enter-debug` is guarded on a readable standing-world pointer; without one a prove-it tail red routes `report-full` and the mode stays `prove-it`. 3. An offline pin covering the **bootstrap** case: armed loop, no pointer, first prove-it reds at a tail leg → the next tick fires a prove-it, never a debug attempt. This is the case that deadlocked. 4. A live arm that survives at least one full debug↔prove-it alternation. ## State Disarmed (`REHEARSAL_DEBUG_LOOP=0` on matou-workstation, mode file reset to `prove-it`); the plain cycle is restored and driving. Cost was ~30 min of dead ticks — no droplets, no healer spend (it needs a run dir and there was none). elitebook-03 (phase-5 `device` lane) was never armed and is unaffected.

This was generated by AI during triage.

Triage ruling — enhancement + ready-for-session

Ruled by agent under ADR 0174 — veto anytime.

The reopen posted four re-close criteria. Checking them against the tree at a7f39afb ("debug loop: the bootstrap deadlock — a world you cannot enter is not a red (#1090)"), which landed after the reopen:

Re-close criterion State Evidence
1. missing-pointer die() carries WORLD-DRIFT; every drift exit path pinned landed scripts/debug-idip-tail.sh now has a drift() helper beside die(); absent/garbled/hollow pointers all name WORLD-DRIFT. Pinned by the NEW scripts/tests/debug-idip-tail-test.sh — 6/6 green
2. enter-debug guarded on a readable standing-world pointer; no world → report-full, mode stays prove-it landed rehearsal_debug_route takes a 4th has_world arg defaulting to no; rehearsal_debug_has_standing_world mirrors the driver's accept conditions. Plus the generalised no-evidence verdict denies every other silent early-exit the same deadlock
3. offline pin for the bootstrap case (armed, no pointer, first prove-it reds at a tail leg → next tick prove-it, never debug) landed rehearsal-debug-loop-test.sh 13/13 (was 11), rehearsal-debug-loop-driver-test.sh 12/12
4. a live arm that survives at least one full debug↔prove-it alternation owed requires arming a real host + a live standing droplet — cannot be proven offline

The three code defects are fixed and provable offline (re-ran here: debug-idip-tail-test 6/6, rehearsal-debug-loop-test 13/13, rehearsal-debug-loop-driver-test 12/12 — all green). What remains is only criterion 4: the live arm — REHEARSAL_DEBUG_LOOP=1 on the host, a real standing droplet, and one observed debug→prove-it alternation in the run ledger.

Why ready-for-session, not ready-for-agent

Criterion 4 needs an interactive session's standing — arming the host env and driving a live prove-it against a real droplet. A swarm worker reads only ready-for-agent and cannot arm a host; handed this, it would land nothing (the code is already in) and walk to agent-blocked on the live step. That is the exact conflation ready-for-session exists to prevent. Added <!-- session-host: matou-workstation --> per #746 — the previous arm and the IDIP standing world (drive #1087) live there; elitebook-03 is the phase-5 device lane and was never armed.

Why this is a two-way door

The remaining live arm is revertible (disarm with REHEARSAL_DEBUG_LOOP=0, mode file reset to prove-it — the exact disarm the reopen already performed) and provable (the run ledger's alternation sequence). It carries no one-way-door residue: no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, and no non-routine spend (the reopen recorded the deadlock cost "no droplets, no healer spend"; the live arm reuses the existing standing droplet and the routine prove-it drive). Live-infra ops with an established rollback pattern are explicitly a session's to run under ADR 0174 rule 1.

Veto by dropping ready-for-session back to ready-for-human if you want to run the live arm yourself.

> *This was generated by AI during triage.* ## Triage ruling — `enhancement` + `ready-for-session` **Ruled by agent under ADR 0174 — veto anytime.** The reopen posted four re-close criteria. Checking them against the tree at `a7f39afb` ("debug loop: the bootstrap deadlock — a world you cannot enter is not a red (#1090)"), which landed *after* the reopen: | Re-close criterion | State | Evidence | |---|---|---| | 1. missing-pointer `die()` carries `WORLD-DRIFT`; every drift exit path pinned | **landed** | `scripts/debug-idip-tail.sh` now has a `drift()` helper beside `die()`; absent/garbled/hollow pointers all name `WORLD-DRIFT`. Pinned by the NEW `scripts/tests/debug-idip-tail-test.sh` — **6/6 green** | | 2. `enter-debug` guarded on a readable standing-world pointer; no world → `report-full`, mode stays `prove-it` | **landed** | `rehearsal_debug_route` takes a 4th `has_world` arg **defaulting to `no`**; `rehearsal_debug_has_standing_world` mirrors the driver's accept conditions. Plus the generalised `no-evidence` verdict denies every *other* silent early-exit the same deadlock | | 3. offline pin for the **bootstrap** case (armed, no pointer, first prove-it reds at a tail leg → next tick prove-it, never debug) | **landed** | `rehearsal-debug-loop-test.sh` **13/13** (was 11), `rehearsal-debug-loop-driver-test.sh` **12/12** | | 4. a **live arm** that survives at least one full debug↔prove-it alternation | **owed** | requires arming a real host + a live standing droplet — cannot be proven offline | The three code defects are fixed and provable offline (re-ran here: `debug-idip-tail-test` 6/6, `rehearsal-debug-loop-test` 13/13, `rehearsal-debug-loop-driver-test` 12/12 — all green). What remains is **only criterion 4: the live arm** — `REHEARSAL_DEBUG_LOOP=1` on the host, a real standing droplet, and one observed debug→prove-it alternation in the run ledger. ### Why `ready-for-session`, not `ready-for-agent` Criterion 4 needs an interactive session's standing — arming the host env and driving a live prove-it against a real droplet. A swarm worker reads only `ready-for-agent` and cannot arm a host; handed this, it would land nothing (the code is already in) and walk to `agent-blocked` on the live step. That is the exact conflation `ready-for-session` exists to prevent. Added `<!-- session-host: matou-workstation -->` per #746 — the previous arm and the IDIP standing world (drive #1087) live there; `elitebook-03` is the phase-5 `device` lane and was never armed. ### Why this is a two-way door The remaining live arm is **revertible** (disarm with `REHEARSAL_DEBUG_LOOP=0`, mode file reset to `prove-it` — the exact disarm the reopen already performed) and **provable** (the run ledger's alternation sequence). It carries no one-way-door residue: no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, and no non-routine spend (the reopen recorded the deadlock cost "no droplets, no healer spend"; the live arm reuses the existing standing droplet and the routine prove-it drive). Live-infra ops with an established rollback pattern are explicitly a session's to run under ADR 0174 rule 1. Veto by dropping `ready-for-session` back to `ready-for-human` if you want to run the live arm yourself.
Author
Owner

Both defects FIXED — a7f39afb on main

Acceptance criteria 1–3 are met; 4 (the live arm) is still owed, and it is the
only thing standing between this ticket and closing.

1 — the WORLD-DRIFT token (scripts/debug-idip-tail.sh)

drift() now sits beside die(). Every exit taken because the standing world is
missing or unusable — absent pointer, unparseable JSON, a pointer naming no
slug/dropletIp — emits WORLD-DRIFT and its remedy. Faults that are not about
the world (a missing jq) stay die(), so a real red still reaches the healer.

The garbled-pointer case was a second latent hole: jq -r under set -euo pipefail killed the script before any message, so it could never have named
drift either. The pointer is now validated with jq -e . first.

2 — the enter-debug guard (rehearsal-debug-loop-lib.sh)

New rehearsal_debug_has_standing_world mirrors the driver's own accept
conditions exactly (present, parseable, naming slug+dropletIp) — the gap
between what the router routed into and what the driver would drive was the
deadlock. rehearsal_debug_route takes a 4th has_world argument defaulting
to no
: absent positive evidence of a world, never enter debug.

3 — the stall breaker (the general form, beyond the filed defects)

Fixing only the token would have left every other silent early exit able to pin
mode=debug one step later. The rule is now: only a verdict.json can call a
debug attempt red.
An attempt leaving no evidence — no run dir (died before
mkdir: no pointer, no jq, no nix) or a run dir whose verdict.json was never
written (died after mkdir, before the first leg: a failed build, a failed
redeploy) — ran zero legs, classifies no-evidence, and enqueues a prove-it.

The pins that did not exist before

suite was now
scripts/tests/debug-idip-tail-test.sh did not exist 6
rehearsal-debug-loop-test.sh 11 13
rehearsal-debug-loop-driver-test.sh 7 12

Full offline shell suite 43/43 from a pristine git archive export of main.
The bootstrap pin is the one that matters: armed loop, no pointer, first prove-it
reds at a tail leg → the next tick fires a prove-it, never the debug driver.

Both stall shapes are pinned too.

debug-idip-tail.sh having had no test file at all is how defect 1 shipped —
the TS half was correct throughout (every idipDebug.ts drift path already
stamped the token); the gap was the shell wrapper that dies before the spec
loads. The offline pins covered both halves and never crossed the join.

Still owed — acceptance 4

The loop is disarmed on every host (REHEARSAL_DEBUG_LOOP=0; workstation mode
file reset to prove-it). Re-arming is a human act. Nothing here has run against
a real droplet: enter-debug's downstream — the debug tail itself, the hash-keyed
redeploy, adoption, rotation — has still never executed once. The regime is
correct-by-pins, unproven-in-life.

Suggested re-arm shape, since the first attempt showed the failure mode is quiet:
arm the workstation IDIP lane, then watch test-results/idip-debug/loop-ledger.jsonl
for a first line whose action is not debug-red. A ledger of identical
debug-red lines is the deadlock signature.

Note on how this landed

The RED-phase test files were swept into ea1b6e7d (a drive-report commit) by a
concurrent session sharing the checkout, so main briefly carried the tests without
the implementation — two failing suites. a7f39afb closes that; verified green
from a clean export. No CI gate runs scripts/tests/*.sh, so no drive was blocked.

## Both defects FIXED — `a7f39afb` on main Acceptance criteria 1–3 are met; **4 (the live arm) is still owed**, and it is the only thing standing between this ticket and closing. ### 1 — the WORLD-DRIFT token (`scripts/debug-idip-tail.sh`) `drift()` now sits beside `die()`. Every exit taken because the standing world is missing or unusable — absent pointer, unparseable JSON, a pointer naming no slug/dropletIp — emits `WORLD-DRIFT` and its remedy. Faults that are *not* about the world (a missing `jq`) stay `die()`, so a real red still reaches the healer. The garbled-pointer case was a second latent hole: `jq -r` under `set -euo pipefail` killed the script before any message, so it could never have named drift either. The pointer is now validated with `jq -e .` first. ### 2 — the `enter-debug` guard (`rehearsal-debug-loop-lib.sh`) New `rehearsal_debug_has_standing_world` mirrors the driver's own accept conditions **exactly** (present, parseable, naming slug+dropletIp) — the gap between what the router routed into and what the driver would drive *was* the deadlock. `rehearsal_debug_route` takes a 4th `has_world` argument **defaulting to `no`**: absent positive evidence of a world, never enter debug. ### 3 — the stall breaker (the general form, beyond the filed defects) Fixing only the token would have left every *other* silent early exit able to pin `mode=debug` one step later. The rule is now: **only a `verdict.json` can call a debug attempt red.** An attempt leaving no evidence — no run dir (died before mkdir: no pointer, no jq, no nix) *or* a run dir whose verdict.json was never written (died after mkdir, before the first leg: a failed build, a failed redeploy) — ran zero legs, classifies `no-evidence`, and enqueues a prove-it. ### The pins that did not exist before | suite | was | now | |---|---|---| | `scripts/tests/debug-idip-tail-test.sh` | **did not exist** | 6 | | `rehearsal-debug-loop-test.sh` | 11 | 13 | | `rehearsal-debug-loop-driver-test.sh` | 7 | 12 | Full offline shell suite **43/43** from a pristine `git archive` export of main. The bootstrap pin is the one that matters: *armed loop, no pointer, first prove-it reds at a tail leg → the next tick fires a prove-it, never the debug driver.* Both stall shapes are pinned too. `debug-idip-tail.sh` having had **no test file at all** is how defect 1 shipped — the TS half was correct throughout (every `idipDebug.ts` drift path already stamped the token); the gap was the shell wrapper that dies *before* the spec loads. The offline pins covered both halves and never crossed the join. ### Still owed — acceptance 4 The loop is **disarmed on every host** (`REHEARSAL_DEBUG_LOOP=0`; workstation mode file reset to `prove-it`). Re-arming is a human act. Nothing here has run against a real droplet: `enter-debug`'s downstream — the debug tail itself, the hash-keyed redeploy, adoption, rotation — has still never executed once. The regime is correct-by-pins, unproven-in-life. Suggested re-arm shape, since the first attempt showed the failure mode is quiet: arm the workstation IDIP lane, then watch `test-results/idip-debug/loop-ledger.jsonl` for a first line whose action is **not** `debug-red`. A ledger of identical `debug-red` lines is the deadlock signature. ### Note on how this landed The RED-phase test files were swept into `ea1b6e7d` (a drive-report commit) by a concurrent session sharing the checkout, so main briefly carried the tests without the implementation — two failing suites. `a7f39afb` closes that; verified green from a clean export. No CI gate runs `scripts/tests/*.sh`, so no drive was blocked.
Author
Owner

The loop ran live — alternation PROVEN, debug attempts were FALSE GREENS. Fixed in a47348ab.

Re-armed on matou-workstation. It drove a complete alternation unattended:

203216Z  prove-it  green  (37 legs, 34 green, 3 skip)      -> post-green-rotate   [world ADOPTED]
213010Z  prove-it  red    (36 legs, firstRed=remove-member) -> enter-debug
215420Z  debug     green  (0 legs, 0.97s)                   -> enqueue-prove-it
215813Z  debug     green  (0 legs)                          -> enqueue-prove-it
220209Z  debug     green  (0 legs)                          -> enqueue-prove-it
220410Z  prove-it  green  (37 legs, 35 green, 0 red, 2 skip) -> post-green-rotate

What genuinely worked. The prove-it half is real — three drives, 36–37 legs,
13–19 min each. #1087 was closed by the 220410Z green, legitimately. Adoption
and rotation both executed. Ruling 1 held: no debug verdict ever reached the
record. The bootstrap deadlock did not recur — the guard from a7f39afb held.

What was a lie. All three debug attempts: {"verdict":"green","legs":{"total":0}}
in about a second. The tail never ran a leg. Three layers failed together:

  1. The standing world had been replaced under the loop, so page.goto threw
    net::ERR_SSL_PROTOCOL_ERROR against rehearsal-b.idss.nz (I confirmed by
    hand: tlsv1 alert internal error, no TLS at all).
  2. That navigation sat outside any probe catch, so the raw Playwright error
    escaped assertWorldHealthy — the WORLD-DRIFT park never fired for the one
    condition it exists to catch. The two inner probes had catches; "can we reach
    the world at all" did not.
  3. computeVerdict then scored it green: legs.red > 0 is vacuously false
    when nothing ran.

Fixed (a47348ab)

  • The zero-leg floor (legs.ts) — computeVerdict never greens a run that
    recorded no leg, on either path, stamping firstRedLeg: NO_LEGS_RAN. That token
    is deliberately not a real leg name, so a zero-leg red is never debug-eligible
    and keeps full-drive behaviour rather than routing into a tail that would die
    identically.
  • The portal probe (idipDebug.ts + the spec) — WorldHealthReport gains
    portal as its FIRST check and the spec RECORDS the navigation failure instead
    of throwing past the gate. An unreachable world now parks as
    WORLD-DRIFT: portal unreachable, zero legs, remedy named.
  • The shell belt — a verdict claiming green with legs.total == 0 classifies
    no-evidence, so the loop cannot act on a green no leg earned even if a verdict
    lies to it.

Pins: legs.test.ts +3, idipDebug.test.ts +2 (35), driver 12→14 — including
a real 11-leg green still greens, so the floor cannot disable the regime it
protects. Shell 45/45, app vitest 1313/1313 (112 files), vue-tsc clean.


STILL OPEN — this one needs your ruling, not a patch

Every prove-it re-founds the SAME slug on a new droplet. Both greens founded
rehearsal-b, on different boxes, with different founder phrases:

drive slug droplet founder phrase
203216Z green rehearsal-b 170.64.199.88 "guide manual order…"
220410Z green rehearsal-b 170.64.149.165 "six slim relief…"

So the red prove-it at 21:30 destroyed and rebuilt the world the 20:32
adoption had recorded — and adoption only runs on green, so nothing invalidated
the stale pointer. The debug window is poisoned by the very drive that opens
it.
ADR 0221 ruling 2 ("the standing world is founded once by a green prove-it;
every subsequent green adopts") cannot stand as written, because the drive that
sends the loop into debug mode is precisely the one that clobbers the world.

With a47348ab in, this now degrades honestly — a clobbered world parks as
WORLD-DRIFT and enqueues a prove-it instead of faking a green. But the regime
still delivers zero speedup, because debug mode can never find a live world.

Two candidate rulings:

  • (a) Rotating per-drive slug. Prove-it drives found rehearsal-<stamp>;
    adoption promotes the green one to standing and offboards the previous. The
    standing world survives a red drive. Costs a slug/cert per drive (watch the
    Let's Encrypt 5-per-168h wall that bit rehearsal-c, GOTCHAS #114).
  • (b) Adopt the RED world. A tail red means founding and provisioning both
    passed — that world is not only usable, it is the world where the bug
    reproduces
    , which is the ideal thing to debug against. This inverts ruling 2:
    adopt on any prove-it that reaches the tail, green or red.

I lean (b) — it needs no new slugs or certs, it makes the debug tail land on
the exact world that produced the red, and it removes the coupling between
"adoption" and "green" that caused this. But it rewrites ruling 2, so it is
yours to call.

The loop is DISARMED on every host pending that ruling.

## The loop ran live — alternation PROVEN, debug attempts were FALSE GREENS. Fixed in `a47348ab`. Re-armed on matou-workstation. It drove a complete alternation unattended: ``` 203216Z prove-it green (37 legs, 34 green, 3 skip) -> post-green-rotate [world ADOPTED] 213010Z prove-it red (36 legs, firstRed=remove-member) -> enter-debug 215420Z debug green (0 legs, 0.97s) -> enqueue-prove-it 215813Z debug green (0 legs) -> enqueue-prove-it 220209Z debug green (0 legs) -> enqueue-prove-it 220410Z prove-it green (37 legs, 35 green, 0 red, 2 skip) -> post-green-rotate ``` **What genuinely worked.** The prove-it half is real — three drives, 36–37 legs, 13–19 min each. **#1087 was closed by the 220410Z green**, legitimately. Adoption and rotation both executed. **Ruling 1 held**: no debug verdict ever reached the record. **The bootstrap deadlock did not recur** — the guard from `a7f39afb` held. **What was a lie.** All three debug attempts: `{"verdict":"green","legs":{"total":0}}` in about a second. The tail never ran a leg. Three layers failed together: 1. The standing world had been **replaced under the loop**, so `page.goto` threw `net::ERR_SSL_PROTOCOL_ERROR` against `rehearsal-b.idss.nz` (I confirmed by hand: `tlsv1 alert internal error`, no TLS at all). 2. That navigation sat **outside any probe catch**, so the raw Playwright error escaped `assertWorldHealthy` — the `WORLD-DRIFT` park never fired for the one condition it exists to catch. The two inner probes had catches; "can we reach the world at all" did not. 3. `computeVerdict` then scored it **green**: `legs.red > 0` is vacuously false when nothing ran. ### Fixed (`a47348ab`) - **The zero-leg floor** (`legs.ts`) — `computeVerdict` never greens a run that recorded no leg, on either path, stamping `firstRedLeg: NO_LEGS_RAN`. That token is deliberately not a real leg name, so a zero-leg red is never debug-eligible and keeps full-drive behaviour rather than routing into a tail that would die identically. - **The portal probe** (`idipDebug.ts` + the spec) — `WorldHealthReport` gains `portal` as its FIRST check and the spec RECORDS the navigation failure instead of throwing past the gate. An unreachable world now parks as `WORLD-DRIFT: portal unreachable`, zero legs, remedy named. - **The shell belt** — a verdict claiming green with `legs.total == 0` classifies `no-evidence`, so the loop cannot act on a green no leg earned even if a verdict lies to it. Pins: `legs.test.ts` +3, `idipDebug.test.ts` +2 (35), driver 12→14 — including *a real 11-leg green still greens*, so the floor cannot disable the regime it protects. **Shell 45/45, app vitest 1313/1313 (112 files), vue-tsc clean.** --- ## STILL OPEN — this one needs your ruling, not a patch **Every prove-it re-founds the SAME slug on a new droplet.** Both greens founded `rehearsal-b`, on different boxes, with different founder phrases: | drive | slug | droplet | founder phrase | |---|---|---|---| | 203216Z green | `rehearsal-b` | 170.64.199.88 | "guide manual order…" | | 220410Z green | `rehearsal-b` | 170.64.149.165 | "six slim relief…" | So the **red** prove-it at 21:30 destroyed and rebuilt the world the 20:32 adoption had recorded — and adoption only runs on green, so nothing invalidated the stale pointer. **The debug window is poisoned by the very drive that opens it.** ADR 0221 ruling 2 ("the standing world is founded once by a green prove-it; every subsequent green adopts") cannot stand as written, because the drive that sends the loop into debug mode is precisely the one that clobbers the world. With `a47348ab` in, this now degrades *honestly* — a clobbered world parks as `WORLD-DRIFT` and enqueues a prove-it instead of faking a green. But the regime still delivers **zero speedup**, because debug mode can never find a live world. Two candidate rulings: - **(a) Rotating per-drive slug.** Prove-it drives found `rehearsal-<stamp>`; adoption promotes the green one to standing and offboards the previous. The standing world survives a red drive. Costs a slug/cert per drive (watch the Let's Encrypt 5-per-168h wall that bit `rehearsal-c`, GOTCHAS #114). - **(b) Adopt the RED world.** A tail red means founding and provisioning both passed — that world is not only usable, it is *the world where the bug reproduces*, which is the ideal thing to debug against. This inverts ruling 2: adopt on any prove-it that reaches the tail, green or red. **I lean (b)** — it needs no new slugs or certs, it makes the debug tail land on the exact world that produced the red, and it removes the coupling between "adoption" and "green" that caused this. But it rewrites ruling 2, so it is yours to call. The loop is **DISARMED on every host** pending that ruling.
Author
Owner

Ruled (b) — ADR 0221 ruling 2 amended and implemented. f52c409c.

Any prove-it that REACHES THE TAIL adopts its world as the new standing world,
green or red.
Reaching the tail is itself proof the world is usable (founding
and provisioning passed); on a red it is additionally the world where the bug
reproduces
, which is the ideal thing to debug against.

Chosen over the rotating per-drive slug, which would have spent one of Let's
Encrypt's five-per-168h on every drive — the wall that already bit rehearsal-c
(GOTCHAS #114).

Landed

  • ADR 0221 ruling 2 rewritten, with the superseded text kept inline and the
    reason it could not stand: adoption was coupled to greenness while every
    prove-it re-founds the SAME slug on a NEW droplet, so the red drive that sends
    the loop into debug had already destroyed the world the last green adopted.
  • rehearsal_debug_route returns adopt-and-enter-debug on a tail red. The
    has_world precondition is gone — under (b) the red drive brings its own
    world, so requiring a pre-existing one was exactly backwards.
  • The deadlock protection moved to the adoption gate. The driver runs the
    adoption and persists debug only when it succeeds; otherwise it records
    adopt-failed and stays on the full prove-it path. A debug attempt with no
    world to re-enter is the 2026-09-01 deadlock, and that remains impossible.
    Ledger and mode now persist after the case, so they record the FINAL action
    rather than the routed one.
  • The harvest moved to the tail boundary (immediately before
    journey: operator-session). This is the subtle half: under (b) a tail RED
    adopts, and a red leg throws — so a harvest sited at the end of the journey
    is unreachable exactly when it matters. Pinned by a scan test asserting the
    harvest precedes the first tail leg and appears exactly once.

Checks

Offline shell 45/45; app vitest 1315/1315 across 112 files; vue-tsc clean.

One note on the vitest number: the truncated text summary rendered mid-run as
111 passed (112) / 1313 passed (1315), which reads like skips. It is not —
the JSON reporter confirms 1315 total, 1315 passed, 0 pending, 0 failed.

What is now unproven, and what would prove it

Every defect found so far was found by running this thing, not by reading it.
Three remain untested in life, and all three sit downstream of the point the
false greens hid:

  1. Adoption of a RED world — never executed. The old code only adopted on
    green.
  2. The debug tail itself — still has never driven a single leg. Every live
    attempt so far died in the preflight.
  3. The hash-keyed redeploy — never executed, for the same reason.

The re-arm that would prove them needs a prove-it that reds at a tail leg. The
IDIP lane is currently drained (#1087 closed), so it needs a queued drive ticket
to have something to drive.

The loop stays DISARMED on every host until you want that run.

## Ruled (b) — ADR 0221 ruling 2 amended and implemented. `f52c409c`. **Any prove-it that REACHES THE TAIL adopts its world as the new standing world, green or red.** Reaching the tail is itself proof the world is usable (founding and provisioning passed); on a red it is additionally *the world where the bug reproduces*, which is the ideal thing to debug against. Chosen over the rotating per-drive slug, which would have spent one of Let's Encrypt's five-per-168h on every drive — the wall that already bit `rehearsal-c` (GOTCHAS #114). ### Landed - **ADR 0221 ruling 2 rewritten**, with the superseded text kept inline and the reason it could not stand: adoption was coupled to *greenness* while every prove-it re-founds the SAME slug on a NEW droplet, so the red drive that sends the loop into debug had already destroyed the world the last green adopted. - **`rehearsal_debug_route` returns `adopt-and-enter-debug`** on a tail red. The `has_world` precondition is **gone** — under (b) the red drive *brings* its own world, so requiring a pre-existing one was exactly backwards. - **The deadlock protection moved to the adoption gate.** The driver runs the adoption and persists `debug` **only when it succeeds**; otherwise it records `adopt-failed` and stays on the full prove-it path. A debug attempt with no world to re-enter is the 2026-09-01 deadlock, and that remains impossible. Ledger and mode now persist *after* the case, so they record the FINAL action rather than the routed one. - **The harvest moved to the tail boundary** (immediately before `journey: operator-session`). This is the subtle half: under (b) a tail RED adopts, and a red leg *throws* — so a harvest sited at the end of the journey is unreachable exactly when it matters. Pinned by a scan test asserting the harvest precedes the first tail leg and appears exactly once. ### Checks Offline shell **45/45**; app vitest **1315/1315** across 112 files; vue-tsc clean. One note on the vitest number: the truncated text summary rendered mid-run as `111 passed (112)` / `1313 passed (1315)`, which reads like skips. It is not — the JSON reporter confirms **1315 total, 1315 passed, 0 pending, 0 failed**. ### What is now unproven, and what would prove it Every defect found so far was found by *running* this thing, not by reading it. Three remain untested in life, and all three sit downstream of the point the false greens hid: 1. **Adoption of a RED world** — never executed. The old code only adopted on green. 2. **The debug tail itself** — still has never driven a single leg. Every live attempt so far died in the preflight. 3. **The hash-keyed redeploy** — never executed, for the same reason. The re-arm that would prove them needs a prove-it that reds at a tail leg. The IDIP lane is currently drained (#1087 closed), so it needs a queued drive ticket to have something to drive. The loop stays **DISARMED on every host** until you want that run.

This was generated by AI during triage.

Triage ruling — resolve conflicting state roles → enhancement + ready-for-session

Ruled by agent under ADR 0174 — veto anytime.

This ticket carries two state roles — ready-for-human and ready-for-session — which the triage machine forbids (exactly one state role per issue). Headless CI can't ask, so ruling the conflict:

The ruling — drop ready-for-human, keep ready-for-session

The timeline shows ready-for-human was added by Ben at 2026-09-02T00:35:15Z, in the same minute as the "STILL OPEN — this one needs your ruling, not a patch" comment: the poisoned-world (a) rotating slug vs (b) adopt-the-red-world call, a genuine one-way door because it rewrites ADR 0221 ruling 2. Fifteen minutes later, at 2026-09-02T00:50:51Z, Ben made that ruling — ruled (b), amended ADR 0221, shipped f52c409c — but the now-satisfied ready-for-human label was never removed. The one-way-door residue it marked is closed.

What remains owed is acceptance criterion 4 and its newly-surfaced downstream (adoption of a red world, the debug tail's first real leg, the hash-keyed redeploy) — all of which need a live re-arm (REHEARSAL_DEBUG_LOOP=1 on matou-workstation, a real prove-it that reds at a tail leg). That is an interactive session's standing, not Ben's hands or eyes: the body already carries <!-- session-host: matou-workstation --> (#746) placed for exactly this queue.

Why this is a two-way door

The label change is revertible (re-add ready-for-human in one click) and provable (the timeline above + Ben's own 00:50 comment show the human-ruling residue is resolved; the remaining work is the live arm, which Ben's 20:42/00:50 comments describe as a re-arm against the existing standing droplet). No one-way-door residue remains: no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend (the arm is disarm-able with REHEARSAL_DEBUG_LOOP=0, reuses the standing droplet, and runs the routine prove-it drive). Live-infra ops with an established rollback pattern are a session's to run under ADR 0174 rule 1.

Note for whoever picks it up

The live arm needs a queued IDIP drive that reds at a tail leg to have something to drive (the IDIP lane was drained when #1087 closed). Arranging that queued drive is part of the session's setup, not a separate human gate.

Veto by re-adding ready-for-human if you want to run the live arm yourself.

> *This was generated by AI during triage.* ## Triage ruling — resolve conflicting state roles → `enhancement` + `ready-for-session` **Ruled by agent under ADR 0174 — veto anytime.** This ticket carries **two** state roles — `ready-for-human` *and* `ready-for-session` — which the triage machine forbids (exactly one state role per issue). Headless CI can't ask, so ruling the conflict: ### The ruling — drop `ready-for-human`, keep `ready-for-session` The timeline shows `ready-for-human` was added by Ben at **2026-09-02T00:35:15Z**, in the same minute as the "**STILL OPEN — this one needs your ruling, not a patch**" comment: the poisoned-world **(a) rotating slug vs (b) adopt-the-red-world** call, a genuine one-way door because it rewrites ADR 0221 ruling 2. Fifteen minutes later, at **2026-09-02T00:50:51Z**, Ben *made* that ruling — **ruled (b), amended ADR 0221, shipped `f52c409c`** — but the now-satisfied `ready-for-human` label was never removed. The one-way-door residue it marked is closed. What remains owed is acceptance criterion 4 and its newly-surfaced downstream (adoption of a **red** world, the debug tail's first real leg, the hash-keyed redeploy) — all of which need a **live re-arm** (`REHEARSAL_DEBUG_LOOP=1` on `matou-workstation`, a real prove-it that reds at a tail leg). That is an interactive session's standing, not Ben's hands or eyes: the body already carries `<!-- session-host: matou-workstation -->` (#746) placed for exactly this queue. ### Why this is a two-way door The label change is **revertible** (re-add `ready-for-human` in one click) and **provable** (the timeline above + Ben's own 00:50 comment show the human-ruling residue is resolved; the remaining work is the live arm, which Ben's 20:42/00:50 comments describe as a re-arm against the existing standing droplet). No one-way-door residue remains: no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend (the arm is disarm-able with `REHEARSAL_DEBUG_LOOP=0`, reuses the standing droplet, and runs the routine prove-it drive). Live-infra ops with an established rollback pattern are a session's to run under ADR 0174 rule 1. ### Note for whoever picks it up The live arm needs a queued IDIP drive that reds at a tail leg to have something to drive (the IDIP lane was drained when #1087 closed). Arranging that queued drive is part of the session's setup, not a separate human gate. Veto by re-adding `ready-for-human` if you want to run the live arm yourself.
Author
Owner

Closed as moot — Ben's ruling, 2026-09-18

What landed stays landed. The debug↔prove-it loop (ADR 0221) is on main as a default-OFF executor branch (REHEARSAL_DEBUG_LOOP, scripts/rehearsal-debug-loop.sh, scripts/lib/rehearsal-debug-loop-lib.sh, scripts/debug-idip-tail.sh), with the bootstrap-deadlock fix (a7f39afb), the false-green fix (a47348ab) and the amended ruling 2 (f52c409c). Acceptance 1–3 were met on 2026-09-01.

What is dropped: the live arm (criterion 4). It can no longer be run as written. The debug tail knows only the IDIP journey, and that lane drained when #1087 closed; the open standing drives (#1547 rented-services, #1400 device, #1277 local-brands) and the workstation's queue head are all other targets, so there is no prove-it that could red at a debug-eligible tail leg. The loop has not run since 2026-09-02 and stays DISARMED on every host (REHEARSAL_DEBUG_LOOP=0).

Three things therefore remain unproven in life, recorded here so nobody arms the loop assuming otherwise: adoption of a RED world, the debug tail driving a real leg, and the hash-keyed redeploy. If tail-only debugging is wanted again, file a fresh ticket against the drive target of the day (the tail would need generalising beyond IDIP) rather than reopening this one.

Why it sat unclaimed: its session-host: matou-workstation marker matched no host — the runner on that box answers to its hostname matou-dev-server-01 — so every session-runner on all three hosts logged a skip each tick. Closing ends that noise too.

## Closed as moot — Ben's ruling, 2026-09-18 **What landed stays landed.** The debug↔prove-it loop (ADR 0221) is on `main` as a default-OFF executor branch (`REHEARSAL_DEBUG_LOOP`, `scripts/rehearsal-debug-loop.sh`, `scripts/lib/rehearsal-debug-loop-lib.sh`, `scripts/debug-idip-tail.sh`), with the bootstrap-deadlock fix (`a7f39afb`), the false-green fix (`a47348ab`) and the amended ruling 2 (`f52c409c`). Acceptance 1–3 were met on 2026-09-01. **What is dropped: the live arm (criterion 4).** It can no longer be run as written. The debug tail knows only the IDIP journey, and that lane drained when #1087 closed; the open standing drives (#1547 `rented-services`, #1400 `device`, #1277 `local-brands`) and the workstation's queue head are all other targets, so there is no prove-it that could red at a debug-eligible tail leg. The loop has not run since 2026-09-02 and stays **DISARMED on every host** (`REHEARSAL_DEBUG_LOOP=0`). Three things therefore remain **unproven in life**, recorded here so nobody arms the loop assuming otherwise: adoption of a RED world, the debug tail driving a real leg, and the hash-keyed redeploy. If tail-only debugging is wanted again, file a fresh ticket against the drive target of the day (the tail would need generalising beyond IDIP) rather than reopening this one. **Why it sat unclaimed:** its `session-host: matou-workstation` marker matched no host — the runner on that box answers to its hostname `matou-dev-server-01` — so every session-runner on all three hosts logged a skip each tick. Closing ends that noise too.
ben 2026-09-18 20:56:07 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1090
No description provided.