Commit a52fde2
committed
docs(approvals): regenerate the ExecutionContext reference; document the lock's two new behaviours
The `flowRunId` field added to `ExecutionContextSchema` left the GENERATED
`content/docs/references/kernel/execution-context.mdx` stale, failing the spec
`check:docs` gate. Regenerated via the prescribed path (`gen:schema && gen:docs`)
— a one-row addition to the field table.
Also updates the hand-written approvals guide, which described the record lock as
absolute and predated any automatic recovery:
- the lock now exempts the run that opened the request, and the exemption is
keyed on run identity rather than elevation, so a `runAs:'user'` run stays
RLS-scoped while it writes;
- a dead run's lock is released by the sweep, with the note that it acts only on
a positively-confirmed terminal run — a paused run, an unknown run, or an
unreachable engine all count as alive.
`check:docs` and `check:doc-authoring` both green.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JGXCuBt5mSXbN3Gc8yfbRv1 parent 94f9604 commit a52fde2
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
213 | 219 | | |
214 | 220 | | |
215 | 221 | | |
| |||
383 | 389 | | |
384 | 390 | | |
385 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
386 | 406 | | |
387 | 407 | | |
388 | 408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments