Inspiration

Mara wants her family to find a letter if she stops checking in. Robin is on call and needs one signing passphrase during an incident. In both cases someone needs a key, but who should get it, and when? We built Coven to explore both answers using one threshold-sharing foundation.

What it does

Last Light is a family archive. Mara seals letters in her browser and chooses five trustees. If she misses a check-in, a grace period gives her time to check in again. Once handover begins, any three trustees can recover the vault. A trustee can also print a share card. Three valid shares and the matching encrypted bundle recover the archive with the network disconnected. Earliest release dates apply to online delivery.

Break Glass is an incident desk. Robin requests one credential for fifteen minutes. One approval keeps it sealed. Two distinct eligible approvers authorize Robin’s browser to decrypt only that item. The same link returns HTTP 410 after expiry. A copied credential stays usable until it is rotated in the system that issued it.

How we built it with Kiro

The two apps live in separate folders, apps/last-light and apps/break-glass. Both use the same TypeScript functions to split and combine keys. Last Light splits the vault key among trustees. Break Glass splits each item’s own key among approvers. The two apps also share a React UI kit, IndexedDB key storage and a FastAPI service. Each judge gets a private demo space and clock in their browser.

We supplied Kiro with EARS requirements and a steering document for the guarantees. Kiro CLI and Kiro Crew produced the design, implementation and tests. The video traces one requirement through the server’s expiry check to a real browser regression. Codex helped with coordination and independent review.

What we tested

We printed Bram’s card from the hosted demo and typed the code back from paper. With networking blocked, one share was refused and three recovered Mara’s letter. We also put two independent browsers side by side: advancing the clock and resetting one judge’s session left the other judge’s approved release and in-progress family recovery intact.

What we learned

“Access expires” needed a precise meaning. The service can stop serving release material, but it cannot take a downloaded secret back. That distinction now appears in the requirements, the interface and the tests. All demo people and credentials are fictional.

Built With

Share this project:

Updates

Submission history