rescue: situation-probe — dual-path break-glass reachability, honest per node #33
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#33
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
When the control plane, the dashboard, or the mesh coordination is down, no dashboard can serve its own rescue, so the operator app is the standing fallback seat and drives the fleet directly — break-glass. The Situation probe (P8-S3) is its entry: it probes every node on both paths and shows both — a MESH column and an SSH column, mesh first with direct SSH as fallback and the config repo replica as the address book (ADR 0087) — and states plainly what is down (e.g. "karaka, running your dashboard, is unreachable; the others are fine — you can move the control plane"). A lost control plane or dashboard routed here from monitoring (story 3) lands on this surface rather than being asked to rescue a dead dashboard from that dashboard.
The probe is honest per node: a node reachable on neither path is named unreachable and excluded honestly, never silently skipped; a LAN-only node unreachable from the operator's current network is reported as exactly that, with the remedy stated ("rescue from a machine on the community's network"). It shows the replica's freshness ("synced 12 min ago — safe to act from"), and a stale replica raises a gating confirm (not a passive badge) before any re-apply of configuration — stating the replica is N days behind and that re-applying can push stale history over the fleet, requiring explicit confirmation (ADR 0032, DDR 0092) — while probing and restarting node services stay un-gated.
Thin UI over the
breakglasshelper via its stdio NDJSON contract (ADR 0051). The prober is breakglass-owned, not a clan seam verb (ADR 0087) — no repo-root seam is amended. Onward routes (S3→S4 actions, S3→S3x no-material) land in their own slices.Acceptance criteria
Blocked by
Task manifest
clanpackage + fake adapter behind DDR 0010Done in
5582698(onorigin/main).Shipped the P8-S3 break-glass Situation probe — the app-track
breakglassorchestrator (internal/breakglass/, ADRs 0086/0087), thin UISituationScreen.vueover the helper stdio NDJSON bridge (helper breakglass, ADR 0051;app/src/lib/breakglass.ts).Probereaches every node on both paths — MESH + SSH, mesh first with direct SSH fallback and the repo replica as the address book (ADR 0087) — classifying eachReachable/Unreachable/LANOnlyUnreachable. A node answering on neither is named and kept in the table, never silently skipped (DDR 0088); a LAN-only node off the operator's current network is reported as exactly that with the remedy stated.ReplicaStatusshows status + age ("synced 12 min ago — safe to act from" / "last synced 9 days ago" + astalepill, ADR 0032).Gatereturns the gating confirm (how far behind + push-stale-history warning, DDR 0092) for a re-apply against a stale replica, while probing and restarting stay un-gated; a fresh replica gates nothing.rescuenav destination → the app's break-glass surface, since the dashboard cannot serve its own rescue.The prober is breakglass-owned, not a clan seam verb; no repo-root seam amended (ADR 0086). Evidence: 6 Go seam tests (
internal/breakglass/*_test.go,go testok) + 6 Vue tests (app/tests/unit/situationScreen.test.ts); full suites green (vitest 124 passed; vue-tsc + eslint + gofmt clean). STATUS.md updated.Out of scope (their own slices): the S3x no-usable-Tier-1-material states, the curated break-glass actions, and the dashboard-track ladders (P8-S1/S2).