transport: rescue-compose-live — compose the rescue surfaces and wire their transport live #158
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#158
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
ADR 0037 / issue #130 — the rescue half, split out per Ben's ruling 2026-07-28 (the #128 split precedent). Blocked by #157 (the rescue mount design) via a native dependency.
Standing on
The transport groundwork is already on
main(2bea00e): all 17 rescue endpoints in the OpenAPI spec,internal/controlapi/rescue.goover aRescueServicethe real*rescue.{ServiceLadders,DeviceLadders,Engagements}satisfy by construction, 3HttpRescueclients, Go handler-stub test + live-HTTP vitest. #110 added the recovery-readiness surface and its (fake-backed)recoveryReadiness.tsseam.What to build
DashboardDepsslots / the P8-S8 app→dashboard routing).WithRescuein the production binary. Wire resting orchestrators with fail-loud unwired ports per the backups pattern inmain.go(#132 bars fakes;restingMemberRescuealready reads rescue's share ledger, so partial resting state exists). If a rescue orchestrator genuinely cannot rest fail-loud without its production adapters (clan.Clan,Provisioning,Restorer,AlertResolver,KeyLedger, …), ask via ask-human.sh rather than faking or guessing — the adapters arc is future map work, not this ticket.HttpRescueclients (and a live transport for the #110 recovery-readiness seam — reactive shapes follow the #151 poll/cache ruling) intoproductionDashboardDeps; no fake remains in the rescue production wiring.Acceptance criteria
Task manifest
Landed in
19bbcdb(sandcastle: transport:rescue-compose-live #158).Go / control plane —
main.goregistersWithRescue+ a newWithRecoveryReadinessover resting orchestrators (rescue_surfaces.go): the real*rescue.{ServiceLadders,DeviceLadders,Engagements,Orchestrator,Ceremony,Keyring}wired with fail-loud engine adapters. At rest the in-memory ladders/engagement readnull(no incident escalated), the P8-S7 readiness reading stands its honest 1-of-1 floor (degraded, chrome indicator raised), and every write reaching an unwired adapter (fleet vars, mesh+SSH identity side, the durable share/key ledgers — the engine-adapters arc, now #160) fails loud (ADR 0100 / #132). No production fake. Newinternal/controlapi/recovery.go(RecoveryReadinessService+ 8 endpoints), 8 recovery-readiness endpoints + schemas inopenapi.yaml,generated.tsregenerated.Dashboard —
HttpRecoveryReadinessClient(generated-backed) inrescueClient.ts; the live rescue + recovery clients wired intoproductionDashboardDeps(fakes only indefaultDashboardDeps). Per DDR 0101 §4 the Recovery readiness card lands on the Backups overview (P7-S1 + first-run), opening the composed P8-S7 surface from within Backups. The crisis surfaces (S1/S2/S6) ride the composition ready-for-mount for monitoring's escalate hand-off (DDR 0101 §3, routed-to only — the #129 ready-for-mount precedent).Acceptance — (1) each surface reachable, production client is the generated one, live tests drive the flows against a real control plane; (2) OpenAPI describes every endpoint incl. recovery readiness; (3) no fake in the rescue production wiring, unwireable fails loud. Proof: Go integration test (
main_test.go),recoveryReadinessLive.test.ts(8-verb node-env round-trip),recoveryReadinessCard.test.ts. Verified: go build/vet/test (+dev) + golangci-lint clean;check:clientin sync; all TS packages build+test (dashboard 669, ui-kit 73, app 336, spec 3); eslint clean.Follow-ups (out of scope, not blockers): the rescue engine-adapters arc (#160); the chrome
recoveryIndicatorSourcewiring (needs a compositeIndicatorSource— itssecurityIndicatorSourceprecedent #109 is itself unwired); the Overview needs-attention item (server-side/overviewfan-out); the app Tier-3 deep-link (DDR 0101 §5).node node-req-0003 has no deploy target(drive 20260903T223815Z) #1206