bootstrap: share-splitting-spike — decide Shamir vs sealed copies (ADR 0090) #24
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
Reference
Matou/idss#24
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
Wayfinder map: #7 — the engineering foundation (PROCESS.md Phase 2½, emitted as DAG root slices).
What to build
A gating spike (a DAG root by construction — the PROCESS.md Phase 2½ exception: spikes reference no seam and depend on nothing) that answers the one mechanism question ADR 0090 deliberately left open for shared safekeeping: how the community's crown jewels are actually split into recovery shares. Two candidate mechanisms are on the table — Shamir secret sharing over the recovery/escrow key, versus N sealed full copies governed by a threshold policy. S13 Q3 confirmed only the recipient-set substrate (machine key / operator keys / excluded escrow key); the ledger, ceremony, and readiness design in ADR 0090 are identical under either mechanism, so this choice is the only thing blocking rescue's build.
The deliverable is a written finding with a clear recommendation, plus a prototype that demonstrates recombine-at-threshold: shares minted from the crown-jewel material, and any
threshold-sized subset (default 2-of-N, configurable) deliberately combining to reconstruct — while a below-threshold subset cannot. The finding must respect ADR 0090's discipline: nothing assembled persists, the jewels are never written anywhere new, and the recipient set includes the machine key and operator keys while excluding the escrow key.Notes: this spike gates
rescue:share-ceremonyandrescue:tier3-ceremony. It can run any time and needs no other slice. Its output feeds back as the resolution of ADR 0090's carriedneeds_human_decisionbefore those rescue slices build.Acceptance criteria
Blocked by
None — can start immediately.
Task manifest
Spike reported — verdict: RECOMMEND Shamir secret sharing over the recovery/escrow key (over N sealed full copies).
A mechanism spike, not a substrate one — no lab: S13 Q3 already confirmed the sops-age recipient-set substrate on a real clan fleet, and ADR 0090/0091 fix the ceremony, ledger, and readiness identically under either candidate, so the split mechanism was the only open question — answerable with a self-contained cryptographic prototype.
Why Shamir, grounded in the design:
t-of-N.The one honest cost — a transient assembled key in helper memory during the Tier-3 rebuild — is one ADR 0090/0091 already accept and sealed copies don't avoid. 1-of-1 (the recovery kit) is the degenerate Shamir case, unifying kit and shares.
Acceptance — all GREEN (
spikes/bootstrap-share-splitting/run.sh, at 2-of-3 default and 3-of-5 configurable):Evidence:
docs/spike-findings/bootstrap-share-splitting.md(includes the recommended build shape forrescue:share-ceremonyP8-S7 andrescue:tier3-ceremonyP8-S8).spikes/bootstrap-share-splitting/(pure Python stdlib — byte-wise Shamir over GF(256), a sops-age recipient-set model;run.shfor the seam).4e4c643.This resolves ADR 0090's carried
needs_human_decision— the recommendation is delivered with evidence; a human folds it into ADR 0090 (or a follow-on ADR) before rescue'sshare-ceremony/tier3-ceremonyslices arm. Deliberately did not write a new ADR, since ADR 0090 itself framed the choice as a human decision. The other zero-dep root, #23bootstrap:skeleton, is untouched.