rescue: recovery-readiness — standing surface for Tier-3 preparedness #43
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#43
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
Recovery readiness (P8-S7) is a standing surface — not a wizard's last page — that always tells the community whether it is actually prepared for total loss (ADR 0090): the recovery kit exported or not, the recovery shares held and by whom, the threshold, and any degraded coverage. Being unprepared is never a silent surprise. Founding's hand-off (P1-S12) offers the recovery kit; until it is exported, that re-prompt lands here and persists until resolved, so an un-exported kit keeps nagging in one honest place.
The surface states the honest floor plainly: a community that has not run the share ceremony is 1-of-1 — "the operator's kit IS the plan" — until it deliberately runs the ceremony (ADR 0006). It tracks each share's receipt: a minted-but-unconfirmed share shows unconfirmed and keeps coverage degraded; a confirmed share shows held with the receipt time. When a share holder is suspended or removed in members (the advice-not-veto warning edge from P6-S4 lands here) or a receipt was never confirmed, readiness shows coverage degraded, names why, and offers Re-mint (rotating the shares and invalidating the old ones). And when coverage is below the community's own threshold, readiness may supply a standing indicator to shell's reserved chrome slot (the ADR 0068 pattern), so the community is never silently unprepared.
Thin UI over the
rescueorchestrator, mounted into shell (needs shell's mount-slot / indicator contract). The live-fleet share ceremony itself (story 27) is share-ceremony's; this slice owns the standing picture and the re-mint prompt.Notes: founding's kit offer and members' suspend/remove share-holder warning are runtime couplings (ruling 2026-07-25), read at runtime — no build edges on founding or members. Whether rescue claims shell's standing-indicator slot for "kit not exported" stays rescue's build-time call; the slot exists (ADR 0068 pattern).
Acceptance criteria
Blocked by
Task manifest
Done in commit
17d9105— therescuecontrol-plane orchestrator's recovery-readiness face (P8-S7) ininternal/rescue/.Interface built:
Orchestrator.Readiness()computes the standing picture — kit exported-or-not, shares held and by whom, threshold, degraded coverage with plain-language reasons — composing founding's kit state (KitReader) and members' share-holder lifecycle (MemberReader) read at runtime (no build edge, ruling 2026-07-25) over rescue's own shareLedger. PlusRemint(holders, threshold)(rotates fresh shares, revokes old for audit) and the standing chromeIndicatorsupplied to shell's reserved slot (ADR 0068 pattern, mirroring the ui-kitStandingIndicatorshape).Acceptance clauses, each a seam test:
Offered && !Exported) lands here and persists across re-reads until export ✅Evidence: 8 Go seam tests in
internal/rescue/readiness_test.goagainst in-memoryLedger+FakeMemberReader+FakeKitReader+FakeClock.go test/vet/gofmt/ golangci-lint all clean.docs/slices/rescue.yamlmarksrecovery-readinessstatus: done; STATUS.md updated.Out of scope (own slices, read at runtime): the live-fleet share ceremony mint/confirm flow (share-ceremony, story 27), founding's kit export (P1), members' designation/suspend/remove (P6).