rescue: share-ceremony — split the crown jewels on the live fleet #55
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#55
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 Recovery readiness (P8-S7), the operator can run the share ceremony on the live fleet — the deliberate act of splitting the community's crown jewels into recovery shares held across the people the community trusts (ADR 0090). The operator picks holders from operators and kaitiaki (candidates read from members' designations via the
memberorchestrator — rescue never designates people), sets the threshold (default 2-of-N, configurable), mints on the live fleet, and each holder confirms receipt. The ceremony honours the scrub discipline (ADR 0044): nothing assembled persists and the crown jewels are written nowhere new — the crown jewels live on in the fleet vars, so a live fleet can split them. Re-minting on degradation runs the same ceremony.Thin UI over the
rescueorchestrator, driven from the readiness surface. Kaitiaki candidates are read via thememberorchestrator at runtime (fakes in seam tests — no build edge on members).Note: this slice blocks on
bootstrap:share-splitting-spike— the share-splitting mechanism (Shamir over the recovery/escrow key vs N sealed full copies with a threshold policy, ADR 0006) is a spike-shaped unknown and is undecided until the spike reports; the ledger, ceremony and readiness design are identical under either outcome, so the surface is built against the spike's confirmed mechanism.Acceptance criteria
memberorchestrator — rescue never designates people), set the threshold (default 2-of-N, configurable), mint on the live fleet, and each holder confirms receipt; nothing assembled persists and the crown jewels are written nowhere new (the ADR 0044 scrub discipline holds).Blocked by
Task manifest
Done in commit
eeb9232— theCeremonyorchestrator ininternal/rescue/(story 27).What shipped
Ceremony.Run(CeremonyRequest)splits the crown jewels into recovery shares on the live fleet (ADR 0090): picks holders validated candidates-only from members's operators + kaitiaki (a newCandidateReaderport read at runtime over thememberorchestrator — rescue never designates people), resolves the threshold (default 2-of-N viaDefaultThreshold, configurable, refused above the holder count), mints on the live fleet through a newFleetVarsseam (MintSharesseals one opaque share per holder to the S13 Q3 recipient set — machine + operator keys in, escrow key out — the spike's Shamir mechanism below the seam, #24), and records the fresh shares in the shared shareLedgerunconfirmed.ConfirmReceipt(shareID)stamps each holder's receipt (per-holder, idempotent, refusing revoked/unknown) so coverage stays honestly degraded until every holder confirms — recovery-readiness (#43) reads the same ledger.FakeFleetVarsthat scans every persisted blob for the plaintext / assembled key.Acceptance (story 27): all clauses covered — candidates-only holder selection, 2-of-N default + configurable, mint + per-holder receipt, nothing assembled persists / crown jewels written nowhere new.
Evidence: 7 seam tests in
internal/rescue/ceremony_test.go(TestStory27_*),go test/vet/gofmtclean; whole module builds green. Files:internal/rescue/ceremony.go,ceremony_fakes.go,ceremony_test.go; STATUS.md +docs/slices/rescue.yaml(marked done) in the same commit.Out of scope (own slices): the ceremony's dashboard UI, the Tier-3 consuming side (P8-S8, ADR 0091), the durable fleet-vars implementation.