Procedures a human follows under pressure: break-glass credential recovery, first admin provisioning, local-stack orchestration, restoring from backup, verifying an accessibility fix on real assistive tech.
| Runbook | When |
|---|---|
| Aspire local development | Run, observe, persist, or safely reset the local PostgreSQL, Redis, API, and Vite stack. |
First admin provisioning (bootstrap-admin) |
A fresh database has no Owner. |
New farm provisioning (provision-account) |
Add another farm and its first Owner. |
Break-glass account recovery (recover-admin) |
An Owner exists but is locked out. |
| Passkeys | Turn passkeys on or off, move the site to a new address, clear passkeys before either, or free a user who lost every passkey. |
| Owner two-factor grace period | A fault keeps Owners from turning on two-factor, a rollback to an image older than #1281 is about to be redeployed, or the deployment must stop requiring two-factor for Owners. |
| Simulation fixture on a dev database | A local debug database needs far more rows than seed --profile demo provides. |
| Backup & restore | Disaster-recovery dump, and putting one back. |
| Data Protection key ring | Install the key-encryption certificate, clear plaintext keys a Production start refused, or revoke the ring after a key leak. |
| OAuth authorization server | Set up the public address connected apps use, verify discovery, reconnect apps after a key-ring change, or remove an app's access. |
| Screen-reader verification | An announcement change needs real assistive-tech confirmation (jsdom cannot). |
The verification drill. A procedure never executed against a real system is a hypothesis. Every runbook here ends with a drill — the steps to prove it works, safe on a scratch environment — and the date it was last run.
The failure this directory prevents is a confident procedure that references a flag renamed two releases ago, discovered at 03:00 by the one person who can fix it.
- Written for someone who is not the author, at their worst hour. No implicit context, no "obviously".
- Exact copy-pasteable commands, with the expected output shown.
- Every destructive step states what it destroys and how to undo it — or says plainly that it cannot be undone.
- No environment values. Connection strings, hostnames, CIDRs and credentials live in a secret store, with only its wiring in the deployment repo — never here and never in this repo's history. A runbook names the variable.
- Re-run the drill after any change to the code paths it touches, and update
Last drilled.
not recordedis the honest value until someone has actually run it; do not date a drill you did not perform.
Copy TEMPLATE.md to start one.