docs: document interrupt resume contracts

This commit is contained in:
lda
2026-07-01 06:05:49 +07:00 Verified
parent c379789977
commit 5dd56d286f
4 changed files with 23 additions and 2 deletions
@@ -100,3 +100,10 @@ completed or failed runs. Use:
- `wf run resume <run_id>` only for interrupted runs.
Do not ask for unbounded traces.
## Interrupt Resume Contracts
An interrupted run can carry a self-describing resume contract. Treat
`interrupt.resume_schema` from `wf run inspect` as the source of truth for the
payload you pass to `wf run resume`. Do not read workflow source code just to
guess approval fields when the schema is present.