When a worker dies mid-task, AgentOS regenerates the resume packet directly from PostgreSQL state. The packet is the recovery state — not a memory of it. One real work order has been stood down and resumed 8 times.
Live work order in the API SOP project: build_rig. Resume packet: <wo>/standdown/checkpoint/RESUME.md, regenerated on demand from PG via agentos-hook standdown checkpoint --wo-dir <wo>.
The resume packet is not hand-authored. It is rendered by walking PG: open continuations, task states, work-package readiness, generated-artifact ledger (with SHA-256). Every field has a row in PG behind it.
$ continue wo wo:demo:platform-cleanup
→ re-rendering from PostgreSQL …
Open continuations: 6
Tasks: 44
Work packages: 33
Resume generations: 8 (this WO has been stood down 8×)
Generated artifacts: 56 (each with sha256 checksum)
Stand-down state: CHECKPOINTED · DORMANT
Resume: pick up exactly where the worker died
Same WO. Same PG state. Same checksum. Every time.