rehearsal executor: a preflight PARK must post to the drive issue and page — today it files nothing, arms a 30-min backoff, and only a watching human sees it #1189
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The defect (phase-7 drive 2, 2026-09-03 14:36Z)
Drive
20260903T143615ZPARKED at preflight:clan-lab createnow emits an ID column and the executor's parser wanted name + IP. The park is a host-local refusal (exit 3): nothing filed, no healer, no reporter, no comment — only the executor log line and a 30-min #1035 backoff. It was fixed in 6 minutes (76c34163) only because a session happened to be watching. Left alone it is the phase-5 silent park (#1138) one layer earlier: the lane reads 'blocked by nothing' while nothing drives.The change
In
scripts/rehearsal-cycle.sh'spark-preflightbranch: post ONE comment on the drive issue naming thePREFLIGHT:refusal line from the teed drive log (the same best-effort shape the eval-gate park already uses), and page Mattermost through notify-mattermost.sh. One page per park (each park arms the backoff, and ticks inside the window never reach this branch, so the cadence is one per window by construction). Pure core (rehearsal_preflight_refusal_line,rehearsal_preflight_park_message) inscripts/lib/rehearsal-preflight-park-lib.sh, offline-tested; the backoff stays exactly as #1035 shaped it.Origin: the phase-7 first-11-hours report, change 5. Claimed by the reporting session (agent-working).
Ruled by agent under ADR 0174 — veto anytime
Ruling:
ready-for-agent(categoryenhancementalready present).Why this state. The change touches only
scripts/rehearsal-cycle.sh(thepark-preflightbranch) and a newscripts/lib/rehearsal-preflight-park-lib.sh— neither is a protected path (PROTECTED_PATHS=".sandcastle .forgejo"), so a swarm worker may edit them. The new core (rehearsal_preflight_refusal_line,rehearsal_preflight_park_message) is offline-testable as the body specifies; posting to the drive issue and paging Mattermost is the code under test, not standing the implementer must hold. So this isready-for-agent, notready-for-session.Why a two-way door. A state label is revertible; provable by the offline tests the ticket names and by the protected-path predicate (the touched paths sit outside it). Not on the one-way-door list.
Spec quality. Fully specified — exact branch, new lib + function names, one-page-per-park cadence argued, the #1035 backoff left intact. Safe for the swarm.
Note: already
agent-working(self-claimed by the filing session);ready-for-agent+agent-workingis the normal claimed state, and the swarm hidesagent-workingtickets, so no double-work while the claim holds.Close report — landed
04aa72dfon main (Ruled by session under ADR 0174 — veto anytime). Two-way: labels, shell libs and a rail step after a successful install, all revertible by one commit; no spend, no posture change.scripts/lib/rehearsal-preflight-park-lib.sh:rehearsal_preflight_refusal_line(lastPREFLIGHT:line of the teed drive log, prefix stripped),rehearsal_preflight_park_message(names the drive issue, the refusal, the host, the backoff window in minutes, and says plainly it will not heal itself),rehearsal_preflight_park_post(oneforgejo_comment, no-op without token/drive issue),rehearsal_preflight_park_page(one notify-mattermost line with the issue link).scripts/rehearsal-cycle.shpark-preflightbranch: sources the lib and calls both, after the #1035 backoff arm (kept as is — one park, one page, by construction).Acceptance (offline,
scripts/tests/rehearsal-preflight-park-test.sh, 6 cases): the 2026-09-03 drive-2 log shape yields the clan-lab parse line; plain/empty/missing logs yield empty; message contents; exactly one comment POST, none tokenless or without a drive issue; exactly one page naming drive + refusal + link, a failing notify never reds the caller; the cycle branch is wired to lib + post + page + backoff.rehearsal-staleness-park-test(48) unchanged green.rehearsal-e.idss.nzreds "already taken" — the single-sourcedREHEARSAL_SLUGis permanently held by the device target's LIVE standing community #1401