rehearsal-executor watches closed #657, not open #652 — standing drive loop isn't firing #685

Closed
opened 2026-08-23 03:29:44 +00:00 by matou-build-agent · 2 comments

Noticed while working #684 (session-runner, 2026-08-23): /home/dev/swarm/rehearsal-env.sh (sourced by the rehearsal-executor.sh cron, */2 * * * *) exports REHEARSAL_DRIVE_ISSUE=657. #657 ("rehearsal phase 3 standing drive... 20/20 is the only close") is closed. The current phase-4 standing drive, #652 ("rented gateway — GREEN is the only close"), is open but the executor isn't watching it.

rehearsal-executor.log confirms the effect: every ~2-minute tick logs executor: #657 is closed — the ratchet is done or paused — the automatic drive loop is not firing at all right now, so no red leg (including anything #684-adjacent) will be picked up and re-driven until this is corrected.

Fix is presumably a one-line env change (REHEARSAL_DRIVE_ISSUE=652) in rehearsal-env.sh on the host — a host-only file, not something in this repo's tree, so I'm filing rather than touching it myself (out of scope for #684, and I didn't want to change standing host cron config on someone else's presumed-in-progress phase-4 setup without a ticket to point at).

Not urgent-blocking, but every red leg found from here forward (including #684's fix, once it's live-checked) will sit unproven until this is fixed and a drive actually runs.

Noticed while working #684 (session-runner, 2026-08-23): `/home/dev/swarm/rehearsal-env.sh` (sourced by the `rehearsal-executor.sh` cron, `*/2 * * * *`) exports `REHEARSAL_DRIVE_ISSUE=657`. #657 ("rehearsal phase 3 standing drive... 20/20 is the only close") is **closed**. The current phase-4 standing drive, #652 ("rented gateway — GREEN is the only close"), is **open** but the executor isn't watching it. `rehearsal-executor.log` confirms the effect: every ~2-minute tick logs `executor: #657 is closed — the ratchet is done or paused` — the automatic drive loop is not firing at all right now, so no red leg (including anything #684-adjacent) will be picked up and re-driven until this is corrected. Fix is presumably a one-line env change (`REHEARSAL_DRIVE_ISSUE=652`) in `rehearsal-env.sh` on the host — a host-only file, not something in this repo's tree, so I'm filing rather than touching it myself (out of scope for #684, and I didn't want to change standing host cron config on someone else's presumed-in-progress phase-4 setup without a ticket to point at). Not urgent-blocking, but every red leg found from here forward (including #684's fix, once it's live-checked) will sit unproven until this is fixed and a drive actually runs.
Author
Member

Ruled by agent under ADR 0174 — veto anytime.

#685's presumed fix is wrong to apply — the executor watching closed #657 is intentional, not a bug. Checked before touching rehearsal-env.sh:

Ben's own 2026-08-22 host-split decision, recorded on #652:

Host decision (Ben, 2026-08-22): this drive will run on a SECOND executor host so it does not queue behind the workstation's widened phase-3 drive — #659 provisions elitebook-03 ...
elitebook-03 executor is LIVE (2026-08-22 11:58Z). */2 executor cron installed for swarm sourcing /home/swarm/swarm/rehearsal-env.sh with REHEARSAL_DRIVE_ISSUE=652 + REHEARSAL_DRIVE_TARGET=rented — #652 is ARMED on elitebook-03; the workstation keeps the phase-3 widened drive (#657).

So the workstation's rehearsal-env.sh pointing at #657 was a deliberate, explicit assignment — not drift.

#657 then finished, GREEN, as designed (comment 2026-08-22T16:16:08Z): drive 20260822T160431Z GREEN end to end ... the selfhosted journey passes, #183 is ready to be boring. The workstation's executor: #657 is closed — the ratchet is done or paused ticks since then are the CORRECT terminal state for a finished drive, not a stuck loop.

#652's ratchet is live and healthy on elitebook-03, unaffected by anything on the workstation — comments through today confirm ongoing ticks, gateway-image auto-rebuilds (#661), and healer self-fixes:

  • 20260823T025606Z red at wizard-rent self-fixed, commit 7c99231d (repo HEAD area)
  • 20260823T032037Z red at claim self-fixed, commit 626a0a51 — this repo's current origin/main HEAD
  • gateway-image snapshot advanced 5 times in the last ~24h by elitebook-distributed-server-03, most recently 03:37Z today

Repointing the workstation to REHEARSAL_DRIVE_ISSUE=652 (this ticket's proposed fix) would double-fire it against elitebook-03's already-armed #652 — exactly the hazard docs/GOTCHAS.md #53 names ("Two executor hosts pointed at the SAME REHEARSAL_DRIVE_ISSUE double-fire one standing drive"): two claims on the rehearsal-b slug, a DNS-repoint race, split host-local evidence. I did not make that change.

#684 (the ticket that surfaced this while I was working it) is itself already closed — a7b433d4 landed the fix. Nothing is currently stuck waiting on a drive.

Why human

Ben's eyes: resolving this correctly means either (a) confirming the workstation should simply stay idle now that phase-3-widened (#657) finished and phase-4-rented (#652) is elitebook-03's dedicated job, or (b) minting a new drive issue for whatever the workstation's next self-hosted-lineage milestone is and arming rehearsal-env.sh to point there. Both are Ben's call on programme sequencing, not something this session should infer. Proposed default ruling (adoptable under ADR 0174 rule 1 if it qualifies): close #685 as "not a bug — working as designed, see #652's 2026-08-22 host-split comment"; leave the workstation idle until a new self-hosted-lineage drive issue is minted and armed by hand.

No code or config changed by this session.

Ruled by agent under ADR 0174 — veto anytime. **#685's presumed fix is wrong to apply — the executor watching closed #657 is intentional, not a bug.** Checked before touching `rehearsal-env.sh`: **Ben's own 2026-08-22 host-split decision, recorded on #652:** > **Host decision (Ben, 2026-08-22):** this drive will run on a SECOND executor host so it does not queue behind the workstation's widened phase-3 drive — #659 provisions elitebook-03 ... > **elitebook-03 executor is LIVE (2026-08-22 11:58Z).** `*/2` executor cron installed for `swarm` sourcing `/home/swarm/swarm/rehearsal-env.sh` with `REHEARSAL_DRIVE_ISSUE=652` + `REHEARSAL_DRIVE_TARGET=rented` — **#652 is ARMED on elitebook-03**; **the workstation keeps the phase-3 widened drive (#657).** So the workstation's `rehearsal-env.sh` pointing at #657 was a deliberate, explicit assignment — not drift. **#657 then finished, GREEN, as designed** (comment 2026-08-22T16:16:08Z): `drive 20260822T160431Z GREEN end to end ... the selfhosted journey passes, #183 is ready to be boring.` The workstation's `executor: #657 is closed — the ratchet is done or paused` ticks since then are the CORRECT terminal state for a finished drive, not a stuck loop. **#652's ratchet is live and healthy on elitebook-03**, unaffected by anything on the workstation — comments through today confirm ongoing ticks, gateway-image auto-rebuilds (#661), and healer self-fixes: - `20260823T025606Z` red at `wizard-rent` self-fixed, commit `7c99231d` (repo HEAD area) - `20260823T032037Z` red at `claim` self-fixed, commit `626a0a51` — this repo's current `origin/main` HEAD - gateway-image snapshot advanced 5 times in the last ~24h by elitebook-distributed-server-03, most recently 03:37Z today **Repointing the workstation to REHEARSAL_DRIVE_ISSUE=652 (this ticket's proposed fix) would double-fire it against elitebook-03's already-armed #652** — exactly the hazard `docs/GOTCHAS.md` #53 names ("Two executor hosts pointed at the SAME REHEARSAL_DRIVE_ISSUE double-fire one standing drive"): two claims on the `rehearsal-b` slug, a DNS-repoint race, split host-local evidence. I did not make that change. **#684** (the ticket that surfaced this while I was working it) is itself already closed — `a7b433d4` landed the fix. Nothing is currently stuck waiting on a drive. ## Why human Ben's eyes: resolving this correctly means either (a) confirming the workstation should simply stay idle now that phase-3-widened (#657) finished and phase-4-rented (#652) is elitebook-03's dedicated job, or (b) minting a new drive issue for whatever the workstation's next self-hosted-lineage milestone is and arming `rehearsal-env.sh` to point there. Both are Ben's call on programme sequencing, not something this session should infer. **Proposed default ruling** (adoptable under ADR 0174 rule 1 if it qualifies): close #685 as "not a bug — working as designed, see #652's 2026-08-22 host-split comment"; leave the workstation idle until a new self-hosted-lineage drive issue is minted and armed by hand. No code or config changed by this session.
Owner

Ben's ruling, 2026-08-25 (interactive session): closed as overtaken.

The premise dissolved in three steps: (1) the workstation's REHEARSAL_DRIVE_ISSUE=657 was Ben's own deliberate 2026-08-22 host split (recorded on #652), not drift; (2) #657 finished GREEN; (3) #652 and the #720 confirmation loop have both since closed green on elitebook-03. No standing drive is currently owed anywhere, so both executors idling is the correct state. The next standing drive is phase 5's (plan T13, tickets #842–#854); it assigns its own executor and env when it arms.

**Ben's ruling, 2026-08-25 (interactive session): closed as overtaken.** The premise dissolved in three steps: (1) the workstation's `REHEARSAL_DRIVE_ISSUE=657` was Ben's own deliberate 2026-08-22 host split (recorded on #652), not drift; (2) #657 finished GREEN; (3) #652 and the #720 confirmation loop have both since closed green on elitebook-03. No standing drive is currently owed anywhere, so both executors idling is the correct state. The next standing drive is phase 5's (plan T13, tickets #842–#854); it assigns its own executor and env when it arms.
ben closed this issue 2026-08-25 20:31:43 +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.

Dependencies

No dependencies set.

Reference
Matou/idss#685
No description provided.