A restore drill's copy of production is inert (#14787)

A restore drill restores the newest snapshot into a scratch directory and boots it on a side port to prove it serves. The weekly drill, a drill an admin or the MCP restore_drill asks for, the outside kit drill and scripts/restore-drill.ts all do this. That copy holds production's data and its secret.key, so it boots as a read-only standby (FORGE_READ_ONLY=1, src/snapshot/boot.ts). It only listens. It runs no duties, so its webhook outbox is never sent again, and it starts no notifier, timers, apps, hosted children or crew. The drill reads /api/v1/health and / and then kills it.

Scratch. An inside drill removes its own scratch when it ends, but not an outside drill's restore-outside-* directory: the two can run at the same time. A forge's boot sweeps every scratch directory, because then nothing runs.

Not covered. The release boot proof (src/release/boot.ts) still boots in full; it is tracked in #14832.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs