rescue: breakglass-actions-run — curated break-glass actions, reach-honest #45
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#45
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
From the Situation screen, break-glass offers a curated set of actions (P8-S4) rather than raw tools, so the operator can act without systems expertise in the worst hour: Restart services on a node, Re-apply configuration, Move the control plane to a healthy node — each with a plain "what this does" line and its own Open log. Each action is honest about reach and is logged.
Re-apply configuration runs the replica's config against reachable nodes only, names the nodes it ran against and the nodes it could not reach and excluded, and never reports "configuration re-applied" over a half-reached fleet (DDR 0088 §5). Move the control plane to a healthy node is a first-class action — it redeploys the config repo, deploy runner, and dashboard onto the chosen node, every step logged — so a dead gateway is recoverable from the app. An action that works lands the operator on recovered (P8-S5): it states what recovered and where the dashboard is now (e.g. "Control plane now on rimu; your dashboard is back"), notes every action was written to the community's audit log on reconnect, and the app goes quiet (back to operator home). And the operator can Download a log bundle for a remote helper — the app-side Tier-2 start; a supporter guides while the control plane is down, and a supporter key waits for a live control plane (ADR 0089).
Thin UI over the
breakglasshelper (stdio NDJSON). The failed/not-holding action state (P8-S4x) is breakglass-action-failed's.Acceptance criteria
Blocked by
Task manifest
Done in
154f7a0(on origin/main).Shipped the P8-S4 curated-actions surface and the P8-S5 recovery landing over the app-track
breakglassorchestrator (ADR 0086, DDR 0088 §5, ADR 0089):Actions()offers Restart / Re-apply / Move the control plane, each a card with a plain "what this does" line and its own Open log.ActionsScreen.vuerenders them to the wireframe data-field/data-action contract.Reapply()probes for the reachable set, runsApplyConfigper reachable node, names ran-against AND excluded nodes, and never claims "configuration re-applied" over a half-reached fleet. Full reach + every step holding recovers; a partial re-apply is honest and claims nothing.Move()redeploys the config repo, the deploy runner, and the dashboard onto the chosen node, every step logged.Recoverystates what recovered and where the dashboard is now, notes every action was audit-logged to the cluster on reconnect (Applier.Audit), and the app goes quiet.RecoveredScreen.vue.Bundle()produces the Tier-2 artifact; the note states a supporter guides while the control plane is down and a supporter key waits for a live control plane.New break-glass-owned
Applier(clan adapter) drives restart/apply/deploy per node with partial failure as a first-class Step outcome; wired viaWithApplier(situation-probe unchanged) and to a fake inhelper breakglassuntil the real per-node applier slice lands.DashboardURLadded to the Replica interface.Evidence: internal/breakglass/{actions.go,actions_test.go} (8 Go seam tests), app/src/lib/breakglass.ts, app/src/components/rescue/{ActionsScreen,RecoveredScreen}.vue, app/tests/unit/actionsScreen.test.ts (8 Vue tests). Full suites green (Go internal/…, app 132 tests, vue-tsc clean). STATUS.md updated.
Out of scope (own slices): P8-S4x failed-action state (#56), remote-support engagement (P8-S6), Tier-3 ceremony (P8-S8).