rescue: breakglass-action-failed — a failed action is a first-class state #56
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
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#56
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?
Parent
Feature spec: #21 (rescue).
What to build
A break-glass action that fails partway or does not hold is a first-class state (P8-S4x), never a toast claiming success. The screen names the action, its outcome ("failed at step 2 of 4 — deploy runner exited on start"), the load-bearing log excerpt, and exactly what it changed before failing — with nothing claimed recovered (DDR 0088 §6).
From here a failure is a fork, not a wall: the operator can Retry this action (same action, the log naming the blocker to clear first), or Pick a different action (back to P8-S4 with the evidence attached — e.g. move to a different node). And escalation is always reachable: when stuck but not lost, the operator can download the log bundle to hand a remote helper (the app-side Tier-2 start); when everything is lost, the operator can begin the Tier-3 ceremony (P8-S8); and if the dashboard is still up alongside the stuck app action, requesting remote support (P8-S6) remains available.
Thin UI over the
breakglasshelper (stdio NDJSON). The Tier-3 ceremony itself is tier3-ceremony's; this slice owns the failed-action state and its forks.Acceptance criteria
Blocked by
Task manifest
Done in
7cdb854(onorigin/main).P8-S4x — a break-glass action that fails partway or does not hold is a first-class state, not a toast (DDR 0088 §6):
breakglassseam attaches aFailedActionto a move/restart/re-apply result that did not recover (internal/breakglass/actions.go,failedAction): it names the action, states its outcome ("failed at step 2 of 3 — deploy runner exited on start", or the partial-reach "not a full re-apply" line), carries the load-bearing log excerpt of the failing moment, and lists exactly what it changed before failing — only steps completed before the first failure, nothing claimed recovered.FailedActionScreen.vue: Retry the action (re-runs the same action) or Pick a different action (back to P8-S4 with the actions in hand).Thin UI
FailedActionScreen.vue(to the wireframe'sdata-field/data-actioncontract) rendered byActionsScreen.vuein place of #45's inline-outcome placeholder. The Tier-3 ceremony (P8-S8) and the dashboard-side remote-support engagement (P8-S6) stay their own slices — this slice only routes to them.Evidence: 4 Go seam tests in
internal/breakglass/actions_test.go+ 9 Vue tests inapp/tests/unit/failedActionScreen.test.ts(plus twoactionsScreen.test.tsassertions updated to the P8-S4x screen). Full suites green: Gointernal/…, app 141 tests,vue-tscclean.