# Refusals

> Generated from the SDK's own source (`packages/durable-core/src/refusals.ts`) at build; edit there.

417 refusals. A door (a definition, the boot, `execute`, a step's call) refuses a wrong line with one of these sentences, each spelled once in `packages/durable-core/src/refusals.ts` (`REFUSALS`) and read by the site that throws it, so a test that pins a sentence pins the row; `durable-sdk explain <id>` answers a row offline. `<part>` is what the site fills in; the class before the sentence is what is thrown, and a line under `run not started:` is `execute`'s before any run exists.

| Refusal                                      | Door                                                                                                                          | Throws                   | Says                                                                                                                                                                                                                                                                                                                | Trap                                                                                                                                                                                                                                                                                                                                                                                                                   | Remedy                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ADR                                                                   |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `all.concurrency`                            | ctx.all                                                                                                                       | Error                    | `ctx.all: concurrency must be a positive integer`                                                                                                                                                                                                                                                                   | Zero members at once run nothing; a fraction counts no member.                                                                                                                                                                                                                                                                                                                                                         | Spell concurrency as a positive integer (8 when absent).                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0063 Appendix M U2                                                |
| `all.concurrency.max`                        | ctx.all                                                                                                                       | Error                    | `ctx.all: concurrency <concurrency> is above <max>`                                                                                                                                                                                                                                                                 | Every member in flight holds a step row and a transaction under the attempt's one lease; above the batch's ceiling the function's budget and the database's connections run out before the members finish.                                                                                                                                                                                                             | Keep concurrency at or under the ceiling (8).                                                                                                                                                                                                                                                                                                                                                                                                                        | ADR-0063 Appendix M U2                                                |
| `all.member.duplicate`                       | ctx.all                                                                                                                       | Error                    | `ctx.all: member name "<name>" is given twice; names inside one all are distinct`                                                                                                                                                                                                                                   | Two members under one name would answer one value and derive one id for two steps (StepIdReused on the second), and the line on the run could not say which one failed.                                                                                                                                                                                                                                                | Give every member of the all its own name.                                                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0063 Appendix M U2                                                |
| `all.member.name`                            | ctx.all                                                                                                                       | Error                    | `ctx.all: member name <given> is not of the grammar <pattern>`                                                                                                                                                                                                                                                      | A member's name is spelled into the ids its steps derive under the group's id (<id>#<member>, <id>#<member>:<n>); a name carrying # or : would collide with a chunk's or a park's derived id and the memo could serve one's row for the other.                                                                                                                                                                         | Name a member with letters, digits, dots, underscores and hyphens.                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0063 Appendix M U2                                                |
| `all.member.poll`                            | ctx.all                                                                                                                       | StepError                | `<name>: ctx.poll inside ctx.all's member "<member>" is refused; a poll sleeps between its probes, and a member cannot park the group on a timer`                                                                                                                                                                   | A poll's sleep parks the run WAITING under the member's siblings, whose completions would then be fenced and their bodies run again on the wake.                                                                                                                                                                                                                                                                       | Poll after the all (its first probe may read what the members wrote), or make the one probe a member's step.                                                                                                                                                                                                                                                                                                                                                         | ADR-0063 Appendix M U2                                                |
| `all.member.retry_park`                      | ctx.all                                                                                                                       | StepError                | `<step>: retry.resume "park" inside ctx.all's member "<member>" is refused; the retry park moves the run WAITING at every retry while the member's siblings still write, and a group parks on a rate wait alone`                                                                                                    | A retry park is a wait: under resume: "park" it is taken at every retry of the step, so a member's transient would park the run WAITING under its siblings, whose completions would then be fenced on the moved status and their bodies run again on the wake, while the timer's wake could claim the next attempt beside a sibling still writing.                                                                     | Declare the retry inline inside a member (resume: "inline" or no word: the sleep inside the attempt, the budget's park alone), or run the step that must land on a fresh invocation before or after the all.                                                                                                                                                                                                                                                         | ADR-0063 Appendix M U2; B03 amendment 2026-10-10 (LB-004)             |
| `all.member.second_step`                     | ctx.all                                                                                                                       | Error                    | `ctx.all: members "<first>" and "<second>" each walk more than one step without an id, and the all carries none: their seqs interleave by timing, so a replay could serve one member's row to the other; give the all an id (each member's steps then replay by <id>#<member>), or give the steps ids of their own` | A step without an id replays by seq:name; two members taking the saga's counter at once take it in the order their bodies happened to run, so the next attempt could key one member's step to the row the other wrote and re-run or mis-serve it.                                                                                                                                                                      | Put id on the all (every step inside a member then replays by <id>#<member> or <id>#<member>:<n>), or give each later step its own id.                                                                                                                                                                                                                                                                                                                               | ADR-0063 Appendix M U2                                                |
| `all.member.shape`                           | ctx.all                                                                                                                       | Error                    | `ctx.all: member <member> is <given>, not a thunk; members are an object of thunks, an array of thunks or an array of [name, thunk] pairs`                                                                                                                                                                          | A value that is not a function cannot be started under the member's scope at its turn: a step called before the all would already have taken its seq outside the member order.                                                                                                                                                                                                                                         | Write each member as () => ctx.step(…) (or () => ctx.batch(…)); never call the step before the all.                                                                                                                                                                                                                                                                                                                                                                  | ADR-0063 Appendix M U2                                                |
| `all.member.wait`                            | ctx.all                                                                                                                       | StepError                | `<step>: a <kind> wait inside ctx.all's member "<member>" is refused; a member cannot park the run while its siblings still write, and a group parks on a rate wait alone`                                                                                                                                          | A wait parks the run WAITING in one transaction; a sibling member's step completing after it would be fenced on the moved status, its body run and its row never completed, so the wake would run it again.                                                                                                                                                                                                            | Sleep, wait for the fact, the approval or the child after the all (or before it); keep a batch inside a member under its budget, or run it outside the all.                                                                                                                                                                                                                                                                                                          | ADR-0063 Appendix M U2                                                |
| `batch.budget`                               | ctx.batch                                                                                                                     | Error                    | `<name>: batch budget must be a positive number of ms`                                                                                                                                                                                                                                                              | The budget (needs' alias in milliseconds, one release) is what a chunk needs of the attempt's budget to start, the moment the batch parks; zero or less parks the run after its budget is already spent.                                                                                                                                                                                                               | Spell needs as a duration ("60s"), its alias budget as a positive number of milliseconds, or leave both out for the default.                                                                                                                                                                                                                                                                                                                                         | ADR-0052 decision 2; ADR-0066 D06                                     |
| `batch.chunk_ledger_open_twice`              | ctx.batch                                                                                                                     | StepError                | `a chunk ledger is already open on this step`                                                                                                                                                                                                                                                                       | A chunk's images are buffered on its step scope and landed in one transaction at the flush; a second buffer on the same scope would land the first's images twice or lose them.                                                                                                                                                                                                                                        | Run one chunk body per chunk step; the batch opens and flushes the buffer itself.                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0052 decision 4                                                   |
| `batch.chunk_ledger_outside_chunk`           | ctx.batch                                                                                                                     | Error                    | `batch: the chunk ledger is reached outside a chunk's step`                                                                                                                                                                                                                                                         | The chunk ledger's verbs read the chunk step's scope; reached from outside a chunk there is no row to buffer an image under.                                                                                                                                                                                                                                                                                           | Record and write through the chunk context inside the body.                                                                                                                                                                                                                                                                                                                                                                                                          | ADR-0052 decision 4                                                   |
| `batch.concurrency`                          | ctx.batch                                                                                                                     | Error                    | `<name>: batch concurrency must be a positive integer`                                                                                                                                                                                                                                                              | Zero chunks at once run nothing; a fraction counts no chunk.                                                                                                                                                                                                                                                                                                                                                           | Spell concurrency as a positive integer (1 when absent).                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0052 decision 2                                                   |
| `batch.concurrency.max`                      | ctx.batch                                                                                                                     | Error                    | `<name>: batch concurrency <concurrency> is above <max>`                                                                                                                                                                                                                                                            | Every chunk in flight holds a step row and a transaction; above the ceiling the function's budget and the database's connections run out before the chunks finish.                                                                                                                                                                                                                                                     | Keep concurrency at or under the ceiling.                                                                                                                                                                                                                                                                                                                                                                                                                            | ADR-0052 decision 2                                                   |
| `batch.declares`                             | ctx.batch                                                                                                                     | Error                    | `<name>: a batch declares undo or irreversible`                                                                                                                                                                                                                                                                     | Every chunk is a step; a batch whose undo declaration carries neither has no answer for a failure after a chunk landed.                                                                                                                                                                                                                                                                                                | Pass { undo, effect } or { irreversible: '<reason>' } as the batch's undo.                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0052 decision 2                                                   |
| `batch.ledger.mode`                          | ctx.batch                                                                                                                     | Error                    | `<name>: batch ledger is "write" or "chunk", not <given>`                                                                                                                                                                                                                                                           | The ledger mode says whether a chunk's images land as they are recorded or in one transaction at the flush; another word would land them nowhere.                                                                                                                                                                                                                                                                      | Write ledger: "write" (the default) or ledger: "chunk".                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0052 decision 4                                                   |
| `batch.needs.exceeds_invocation`             | ctx.batch                                                                                                                     | Error                    | `<name>: a chunk that needs <needsMs> ms is more than one invocation holds for a step (userStepMaxMs <userStepMaxMs>: the function limit less the platform's reserve)`                                                                                                                                              | A chunk that needs more than an invocation holds could never start: the batch would park before it on every wake, a continue wait per tick for good.                                                                                                                                                                                                                                                                   | Make the chunk smaller (size) so it needs less, or declare what one invocation holds (needs at or under userStepMaxMs).                                                                                                                                                                                                                                                                                                                                              | ADR-0066 D06                                                          |
| `batch.output.redacted`                      | ctx.batch                                                                                                                     | BatchOutputNotReplayable | `<step>: the chunk's output carries a value the policy redacts and could not replay from its row; a chunk's output must be storable whole (batch <batch>)`                                                                                                                                                          | The stored row would hold [redacted] where the value was, so the wake could only replay the chunk with a value no body returned; the chunk fails by name after its body ran and before its row completes, the wave settling as on any failure.                                                                                                                                                                         | Keep secrets out of a chunk's output (hand a one-time value back with ctx.reply, never as output) and return counts and ids.                                                                                                                                                                                                                                                                                                                                         | ADR-0052 decision 2; ADR-0060 decision 8                              |
| `batch.output.truncated`                     | ctx.batch                                                                                                                     | BatchOutputNotReplayable | `<step>: the chunk's output would be stored truncated (<chars> chars, the cap is <maxChars>) and could not replay from its row; a chunk's output must fit the step row (batch <batch>: a smaller chunk, or a smaller output per chunk)`                                                                             | A batch never re-runs a completed chunk's body: its row is what the next attempt replays the chunk from, and a row cut at the recorder's cap would hand the wake a truncated output and a cursor it cannot trust, so the chunk fails by name after its body ran and before its row completes, the wave settling as on any failure.                                                                                     | Return a bounded delta from the chunk (counts, a cursor, ids; never the items) and put the rest on the ledger through i.record(image), or cut the chunk's size.                                                                                                                                                                                                                                                                                                      | ADR-0052 decision 2; ADR-0060 decision 8                              |
| `batch.record_outside_chunk`                 | ctx.batch                                                                                                                     | StepError                | `record(image) outside a batch chunk's body: the chunk ledger is open while the body runs`                                                                                                                                                                                                                          | An image recorded after the chunk's body returned has no buffer to land in and would never reach the ledger.                                                                                                                                                                                                                                                                                                           | Call record(image) inside the chunk's body, before it returns.                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0052 decision 4                                                   |
| `batch.retry`                                | ctx.batch                                                                                                                     | TypeError                | `<name>: a batch's chunk is not retried: a chunk under an open wave parks through the wave, so retry and timeoutMs are not admitted on a batch`                                                                                                                                                                     | A chunk of a concurrent wave that parked the run on its own retry wait would fence its siblings in flight, the hazard ADR-0061 took out of the rate park; the batch's undo is every chunk's and carries no try.                                                                                                                                                                                                        | Make the transient read a step of its own before the batch (a read step with a retry), or judge the transient inside the chunk's body.                                                                                                                                                                                                                                                                                                                               | ADR-0061 decision 1; ADR-0063 B03                                     |
| `batch.size`                                 | ctx.batch                                                                                                                     | Error                    | `<name>: batch size must be a positive integer`                                                                                                                                                                                                                                                                     | A chunk of zero items never advances the cursor, and a fraction reads a slice no reader can cut.                                                                                                                                                                                                                                                                                                                       | Spell size as a positive integer.                                                                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0052 decision 2                                                   |
| `batch.wave.open`                            | ctx.batch                                                                                                                     | StepError                | `<outer>: a batch is already open on this attempt (<name>); one wave per attempt, a batch never runs inside another's chunk`                                                                                                                                                                                        | A second batch inside a chunk or beside an open batch would share the attempt's one park and one wave: a refusal in either could not say which wave it ends.                                                                                                                                                                                                                                                           | Run one batch at a time on an attempt; a batch inside a chunk is its own workflow or a sequential step.                                                                                                                                                                                                                                                                                                                                                              | ADR-0061 decision 1                                                   |
| `cache.compute_ms`                           | cachedValue                                                                                                                   | TypeError                | `cachedValue(<key>): computeMs is the compute's own bound, a positive number of milliseconds, not <given>`                                                                                                                                                                                                          | A bound that is no number would make the claim window NaN, which the store's window judgement admits every claim under: a cut compute re-run under every stale reader again, the waste CL-002 removed, with no refusal to name it.                                                                                                                                                                                     | Hand computeMs as the number the compute's statements are held to (OFF_PATH_READ_TIMEOUT_MS for the health copy, the same constant on the summaries' statementTimeoutMs), or leave it out for CACHE_CLAIM_MS.                                                                                                                                                                                                                                                        | ADR-0066 amendment 2026-10-17 (CL-002)                                |
| `catalog.describe.missing`                   | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: the descriptor carries no describe under definitions: "strict"; add describe: one sentence, what the fact means`                                                                                                                                                                           | A fact without its sentence is a node of the reaction graph nobody can read: the catalog and the graph would show a name and its key parts and nothing of what happened.                                                                                                                                                                                                                                               | Add describe: one sentence, what the fact means, to the descriptor.                                                                                                                                                                                                                                                                                                                                                                                                  | ADR-0063 B23                                                          |
| `catalog.key.missing`                        | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: the descriptor has no key function`                                                                                                                                                                                                                                                        | Every fact is inserted under its key so a second emit of it collapses onto the row; a descriptor without one would insert a new row on every emit.                                                                                                                                                                                                                                                                     | Write key: (payload) => <the parts joined> on the descriptor.                                                                                                                                                                                                                                                                                                                                                                                                        | ADR-0041 item 20                                                      |
| `catalog.key.reads_clock`                    | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: the key reads the clock or randomness; a key is a function of the payload alone (put the moment in the payload as a requestId)`                                                                                                                                                            | A key valued from the clock or randomness at the emit site makes a re-emitted fact a second fact under a second key: every redrive of the emitting run delivers it again.                                                                                                                                                                                                                                              | Key on the payload's fields alone and put the moment in the payload as a requestId.                                                                                                                                                                                                                                                                                                                                                                                  | ADR-0060 decision 5                                                   |
| `catalog.moment.no_sentence`                 | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: moments names <part> with no sentence; say whose clock stamped it: moments: { <part>: "<the source that stamped it>" }`                                                                                                                                                                    | The declaration is the reader's proof that the cause stamped the moment and no clock at the emit site does; an empty one proves nothing.                                                                                                                                                                                                                                                                               | Say whose clock stamped the part, in a sentence.                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0060 decision 6                                                   |
| `catalog.moment.not_a_part`                  | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: moments names <part>, which is no part of the key; a declaration claims a key part and nothing else`                                                                                                                                                                                       | A moments declaration over a field the key does not read claims nothing and would hide a later key change behind a stale sentence.                                                                                                                                                                                                                                                                                     | Declare under moments only the parts the key lists.                                                                                                                                                                                                                                                                                                                                                                                                                  | ADR-0060 decision 6                                                   |
| `catalog.moment.undeclared`                  | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: the part <part> is a moment; a moment is never a key part (ADR-0060 decision 6; ADR-0050 decision 1): key on the cause's requestId or webhookId, or, when the cause stamped it and no clock at the emit site does, say so: moments: { <part>: "<the source that stamped it>" }`            | A moment this process reads at the emit site (at: new Date().toISOString()) is a second key on attempt 2, so a re-emitted fact is delivered twice.                                                                                                                                                                                                                                                                     | Key on the cause's requestId or webhookId, or declare whose clock stamped the part under moments.                                                                                                                                                                                                                                                                                                                                                                    | ADR-0060 decision 6                                                   |
| `catalog.name.plugins_twice`                 | definePlugin, createDurable                                                                                                   | InvalidCatalog           | `event catalog: <event>: declared by two plugins, <first> and <again>; a fact has one owner`                                                                                                                                                                                                                        | Two descriptors under one name would key the same fact two ways, and the dispatcher could not say which plugin's key a row was inserted under.                                                                                                                                                                                                                                                                         | Declare the fact in one plugin's events (the one whose workflows emit it) and let the other listen on it.                                                                                                                                                                                                                                                                                                                                                            | ADR-0063 Appendix M U5                                                |
| `catalog.name.twice`                         | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: declared twice; the core owns this name (CORE_EVENTS)`                                                                                                                                                                                                                                     | A host descriptor under a core name would key the same fact two ways, and the dispatcher could not say which key a row was inserted under.                                                                                                                                                                                                                                                                             | Name the host's fact under its own domain.                                                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0046 §M step 3b                                                   |
| `catalog.parts.missing`                      | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: the descriptor lists no parts`                                                                                                                                                                                                                                                             | The parts are what the guards and the moment rule read of a key; a descriptor without them hides the key from every check.                                                                                                                                                                                                                                                                                             | List the payload fields the key reads under parts.                                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0060 decision 6                                                   |
| `catalog.schema.missing`                     | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: the descriptor carries no schema under definitions: "strict"; add schema: a zod schema of the payload, every key part required`                                                                                                                                                            | A fact without its schema is admitted at every door on its key alone: a webhook body short of a field, a floor call off its shape or a peer's copy from another release lands as a row whose payload no listener can trust, and the relay quarantine has nothing to judge the copy by.                                                                                                                                 | Add schema: z.object({ … }) over the payload's fields to the descriptor, every key part required and a nullable field .nullable(); the fixture in tests/fixtures/event-payloads.ts must parse under it.                                                                                                                                                                                                                                                              | ADR-0076 SOC-18                                                       |
| `catalog.schema.not_a_schema`                | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: schema is not a schema (no safeParse); give the descriptor a zod schema of the payload, z.object({ … })`                                                                                                                                                                                   | A schema the door cannot ask admits nothing and refuses nothing: every emit of the fact would throw at the judge instead of answering a value.                                                                                                                                                                                                                                                                         | Write schema: z.object({ … }) over the payload's fields on the descriptor.                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0063 B27                                                          |
| `catalog.schema.part_optional`               | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: schema leaves the key part <part> optional; a key part is required by the schema, since a payload without it would spell undefined into the key`                                                                                                                                           | A payload the schema admits without a key part keys the fact as <name>:…:undefined:…, and every such payload collapses onto one row: a second fact is lost under the first's key.                                                                                                                                                                                                                                      | Require every part of the key in the schema (no .optional() on a part); an optional field of the payload that the key does not read stays optional.                                                                                                                                                                                                                                                                                                                  | ADR-0063 B27                                                          |
| `catalog.schema.unrenderable`                | defineEvents                                                                                                                  | InvalidCatalog           | `event catalog: <event>: schema cannot be rendered as JSON Schema; the catalog serves every schema on its row, so write one over zod's representable types (an object of strings, numbers, booleans, literals, enums, arrays, nullable and optional fields)`                                                        | A schema the catalog cannot render would be served as nothing on GET catalog/events while the door still judged by it: a reader of the row would not see what the door refuses.                                                                                                                                                                                                                                        | Spell the schema over representable types; a transform, a refinement over a function or a custom type belongs in the emitting code, not in the door's judge.                                                                                                                                                                                                                                                                                                         | ADR-0063 B27                                                          |
| `catalog.unknown`                            | emit, ctx.emit, ctx.waitFor                                                                                                   | InvalidCatalog           | `event catalog: <event>: not in the catalog`                                                                                                                                                                                                                                                                        | A fact the catalog does not name has no key, no parts and no partition; the type refuses it and a cast past the type meets this.                                                                                                                                                                                                                                                                                       | Declare the fact in the host's catalog (defineEvents) first.                                                                                                                                                                                                                                                                                                                                                                                                         | ADR-0046 §M step 3b                                                   |
| `console.action.on_read`                     | defineRoute                                                                                                                   | TypeError                | `<name>: action: a door is a POST or a DELETE entry, never a <method>`                                                                                                                                                                                                                                              | A read reaches the loader and never the action handler, so a GET entry's door would be listed in the catalogue and answered by nothing.                                                                                                                                                                                                                                                                                | Give the entry a mutation method (POST, or DELETE for a removal).                                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0063 B24                                                          |
| `console.action.unbound`                     | defineRoute                                                                                                                   | Error                    | `<name>: action: the host door's runner is not bound; import @durable-sdk/core or @durable-sdk/core/console before defining it, never the contract leaf alone`                                                                                                                                                      | The contract is a leaf the MCP loads with no engine behind it; a door defined through the leaf alone would have no workflow to run and the table would answer its path with nothing.                                                                                                                                                                                                                                   | Import defineRoute from @durable-sdk/core/console (or the root barrel), whose operator index binds the runner at import.                                                                                                                                                                                                                                                                                                                                             | ADR-0063 B24                                                          |
| `console.gate.ability`                       | requireAbility                                                                                                                | value                    | `<ability> is not in your role`                                                                                                                                                                                                                                                                                     | A door asked under a session whose abilities claim lacks the door's word is refused 403 before the body is read and before any run exists; a session with no claim passes every door (the bearer's full scope).                                                                                                                                                                                                        | Ask under a role that holds the door's ability (the host's catalogue of <area>:<verb> words), or have the role granted it.                                                                                                                                                                                                                                                                                                                                           | ADR-0068 D10                                                          |
| `console.gate.read_only`                     | sessionGate, consoleApi                                                                                                       | value                    | `read-only token`                                                                                                                                                                                                                                                                                                   | An action asked under the read scope (the read bearer, or a session whose scope claim says read) is refused 403 before the body is read and before any run exists; the reads answer as before.                                                                                                                                                                                                                         | Ask under the write bearer with a session whose scope admits the door (write for an action, destructive for a delete or a revert), or read.                                                                                                                                                                                                                                                                                                                          | ADR-0051 §14; ADR-0068 D10                                            |
| `console.gate.session_refused`               | sessionGate                                                                                                                   | value                    | `session <reason>`                                                                                                                                                                                                                                                                                                  | A session header that fails the verify (malformed, algorithm, key, signature, audience, lifetime, expired, not_yet, replayed, subject) is refused 401 on a read as on an action and recorded as nobody: a token the deployment cannot stand behind never names an actor.                                                                                                                                               | Mint a fresh session per request under the deployment's session secret, or under a key pair whose public half the deployment lists by kid (SOC-04 part 2: `key` names a kid it does not hold), for the audience its catalogue advertises (api.session.audience; a session for another environment is `audience`, one reused is `replayed`, one older than five minutes `expired`).                                                                                   | ADR-0051 §14; ADR-0076 SOC-04                                         |
| `console.gate.session_required`              | sessionGate                                                                                                                   | value                    | `session required`                                                                                                                                                                                                                                                                                                  | A POST, PUT, PATCH or DELETE under a bearer with no signed session is refused before the scope, the body and any run (SOC-04: no bearer-only writes), since a write recorded under a name the bearer's holder alone could spell is one nobody can be held to.                                                                                                                                                          | Sign the mutation: a cli:<name>, agent:<name> or user:<email> session under the deployment's session secret in the header and for the audience its catalogue advertises (api.session); a read under the bearer alone still answers.                                                                                                                                                                                                                                  | ADR-0076 SOC-04                                                       |
| `console.gate.token_refused`                 | sessionGate                                                                                                                   | value                    | `personal token <reason>`                                                                                                                                                                                                                                                                                           | A bearer that opens with the personal token's prefix and names no standing row (unknown: no row under its digest, or another token's), one revoked, one past its expiry, or one whose owner is no person is refused 401 before any run exists (SOC-04 part 2): a token the deployment cannot stand behind never names an actor.                                                                                        | Mint a token on the console's Account page (Tokens) and set it as DURABLE_TOKEN in the shell; a revoked or expired one is minted again, never revived.                                                                                                                                                                                                                                                                                                               | ADR-0051 §14 as amended 2026-10-13; ADR-0076 SOC-04 part 2            |
| `console.gate.unauthorized`                  | sessionGate                                                                                                                   | value                    | `Unauthorized. Send Authorization: Bearer <bearers>.`                                                                                                                                                                                                                                                               | A request whose Authorization header carries none of the host's bearers opens nothing (a token in a URL or a cookie is nobody, ADR-0064 P07): the 401 names the bearers' variables and no page, so a stranger learns where a bearer rides and nothing of its value.                                                                                                                                                    | Send Authorization: Bearer <token> with one of the bearers the deployment holds (the write token for every read and action, the read token for the reads).                                                                                                                                                                                                                                                                                                           | ADR-0051 §14; ADR-0064 P07                                            |
| `console.gate.unconfigured`                  | sessionGate                                                                                                                   | value                    | `<variable> is not configured`                                                                                                                                                                                                                                                                                      | The first bearer the host lists (its write token) is unset on the deployment, so no request can open the API: the gate answers 503 rather than admitting anyone.                                                                                                                                                                                                                                                       | Set the variable the sentence names on the deployment (the host's bearer, docs/environments.md) and redeploy.                                                                                                                                                                                                                                                                                                                                                        | ADR-0051 §14                                                          |
| `console.session.key_invalid`                | parseSessionKey, mintSession                                                                                                  | TypeError                | `session key <kid>: <reason>`                                                                                                                                                                                                                                                                                       | A key the verifier would list or a signer would sign under is judged once, as it is parsed (SOC-04 part 2): a kid off the grammar, a text that is no key, a private key listed as a verifier's, a key of another type or curve than P-256 or Ed25519, or a stated alg that disagrees with the key is refused by name, so no request is ever judged against a key that is not one.                                      | List the public half (a JWK or a PEM) of a P-256 or Ed25519 pair under a kid of [\w.:-], the alg left out or agreeing with the curve (ES256 for P-256, EdDSA for Ed25519); sign under the private half of the same pair with the same kid.                                                                                                                                                                                                                           | ADR-0051 §14 as amended 2026-10-13; ADR-0076 SOC-04 part 2            |
| `continue.carry`                             | ctx.continueAsNew                                                                                                             | TypeError                | `<name>: continueAsNew's carry is "state" or absent, not <given>`                                                                                                                                                                                                                                                   | The one thing a continuation may carry beside its input is the run's declared state (WorkflowRun.state, FP-031); any other word would carry nothing and say nothing.                                                                                                                                                                                                                                                   | Write { carry: "state" } to copy the closed run's state onto the next run, or leave the option out to start it with none.                                                                                                                                                                                                                                                                                                                                            | ADR-0076 FP-032                                                       |
| `continue.inside_all`                        | ctx.continueAsNew                                                                                                             | Error                    | `<name>: continueAsNew inside ctx.all's member "<member>" is refused; a member cannot close the run while its siblings still write`                                                                                                                                                                                 | A group's members run abreast on one attempt: a continuation inside one would land the run CONTINUED under the siblings' open rows, which the next run never replays.                                                                                                                                                                                                                                                  | Continue after the all returns (or before it).                                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0076 FP-032                                                       |
| `continue.inside_step`                       | ctx.continueAsNew                                                                                                             | Error                    | `<name>: continueAsNew inside the step <step>; a run continues after a step returns, never inside one`                                                                                                                                                                                                              | A step served from its row never runs its closure, so a continuation asked for inside one would close the run on the attempt that ran the body alone and never on a resume that finishes the run from its rows; a batch chunk, a poll probe and a hook handler are steps too.                                                                                                                                          | Call ctx.continueAsNew(input) at the body's top level after the step returns: const out = await ctx.step(…); await ctx.continueAsNew({ …ctx.input, cursor: out.cursor }).                                                                                                                                                                                                                                                                                            | ADR-0076 FP-032                                                       |
| `continue.key.moved`                         | ctx.continueAsNew                                                                                                             | Error                    | `<name>: the next input keys to <next>, not this run's <key>; a continuation keeps the intent's key`                                                                                                                                                                                                                | The next run opens under the closed run's key whatever its input keys to, and the resumer, the redrive and the replay verdict re-key a run's stored input to its own key: an input that keys elsewhere would make the next run abandoned (`the input no longer keys to this run`) at its first resume.                                                                                                                 | Carry the key's fields unchanged into the next input (the requestId too when the key names it) and move the cursor into a field the key does not read.                                                                                                                                                                                                                                                                                                               | ADR-0076 FP-032                                                       |
| `continue.option.unknown`                    | ctx.continueAsNew                                                                                                             | TypeError                | `<name>: continueAsNew carries no option "<key>" (the one option is carry); a mis-spelled option past the type would be ignored`                                                                                                                                                                                    | An option the door does not take is dropped in silence, so a body that meant to carry its state would continue without it and never learn why.                                                                                                                                                                                                                                                                         | Spell the option as the door names it: ctx.continueAsNew(input, { carry: "state" }), or none.                                                                                                                                                                                                                                                                                                                                                                        | ADR-0076 FP-032                                                       |
| `continue.scope.moved`                       | ctx.continueAsNew                                                                                                             | Error                    | `<name>: the next input resolves the scope <next>, not this run's <scope>; a chain stays on one partition`                                                                                                                                                                                                          | The chain's ledger rows are one scope's chain and the next run is partitioned as the closed one was: an input that resolves another scope would write the next run's rows under a scope its key row never named.                                                                                                                                                                                                       | Carry the scope's field unchanged into the next input (the account's id, the tenant's); a continuation never moves a run between partitions.                                                                                                                                                                                                                                                                                                                         | ADR-0076 FP-032                                                       |
| `debounce.key`                               | on                                                                                                                            | TypeError                | `on(<name>): debounce.key must be a function of the payload, got <given>`                                                                                                                                                                                                                                           | A window is per key; without one every emit of the event would fold into one window and the listener would run once for all of them.                                                                                                                                                                                                                                                                                   | Write key: (payload) => payload.code, a pure function of the payload.                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0076 FP-029                                                       |
| `debounce.max_delay`                         | on                                                                                                                            | TypeError                | `on(<name>): debounce.maxDelay must be a duration of at least the period (<period>), got <given>`                                                                                                                                                                                                                   | A bound under the period would fire the window before the period passed, and a bare number or a word would bound it never or at once.                                                                                                                                                                                                                                                                                  | Spell maxDelay as a duration at least the period ("10s" over a "1s" period), or leave it out for a window that waits for the period alone.                                                                                                                                                                                                                                                                                                                           | ADR-0076 FP-029                                                       |
| `debounce.mode`                              | on                                                                                                                            | TypeError                | `on(<name>): debounce.mode must be "leading" or "trailing", got <given>`                                                                                                                                                                                                                                            | A mode the dispatcher does not know would run neither the first emit nor the last.                                                                                                                                                                                                                                                                                                                                     | Write mode: "trailing" (the last emit wins once the period passes, the default) or "leading" (the first runs at once, the rest are folded).                                                                                                                                                                                                                                                                                                                          | ADR-0076 FP-029                                                       |
| `debounce.period`                            | on                                                                                                                            | TypeError                | `on(<name>): debounce.period must be a duration from "1s" to "7d", got <given>`                                                                                                                                                                                                                                     | A period under a second is under the dispatcher's precision and would fire a window on every tick; one over seven days would hold a key's emits for longer than the outbox keeps a delivered row.                                                                                                                                                                                                                      | Spell period as a duration from "1s" to "7d" (Inngest's bounds).                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0076 FP-029                                                       |
| `debounce.shape`                             | on                                                                                                                            | TypeError                | `on(<name>): debounce must be { key, period, mode?, maxDelay? }, got <given>`                                                                                                                                                                                                                                       | A debounce that is no object folds nothing while the registration reads as if the emits of a key ran once per window.                                                                                                                                                                                                                                                                                                  | Write debounce: { key: (payload) => payload.code, period: "1s", mode: "trailing", maxDelay: "10s" }.                                                                                                                                                                                                                                                                                                                                                                 | ADR-0076 FP-029                                                       |
| `debounce.with_batch`                        | on                                                                                                                            | TypeError                | `on(<name>): debounce beside a batch listener on <event> is refused; a slice is one run over many rows and a window folds one key's rows, and the two would hold each other's rows`                                                                                                                                 | A slice formed over a debounced listener's rows would mark rows the window folded, and the window's run would never see them.                                                                                                                                                                                                                                                                                          | Debounce the fact on a one-fact listener alone, or batch it: the batch listener's slice is the fold.                                                                                                                                                                                                                                                                                                                                                                 | ADR-0076 FP-029                                                       |
| `debounce.with_throttle`                     | on                                                                                                                            | TypeError                | `on(<name>): debounce and throttle on one listener are refused; a window folds the emits and a bucket paces the runs, and the window's one run per period needs no bucket`                                                                                                                                          | A throttled window's run refused by the bucket would park the delayed fact that fired it, and the window's fold would stand open under a run that never came.                                                                                                                                                                                                                                                          | Keep one: debounce (one run per window) or throttle (at most limit runs per period).                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0076 FP-029                                                       |
| `due_scan.function`                          | dueScan                                                                                                                       | Error                    | `dueScan <name>: <fn> must be a function`                                                                                                                                                                                                                                                                           | The scan calls select, delay, check and onHit on every tick; one that is not a function would fail the first tick after the boot, where a spec is judged once.                                                                                                                                                                                                                                                         | Hand select (the items due), delay (the next moment per miss), check (a hit or a miss) and onHit (the host's keyed run) as functions.                                                                                                                                                                                                                                                                                                                                | ADR-0050 decision 4                                                   |
| `due_scan.limit`                             | dueScan                                                                                                                       | Error                    | `dueScan <name>: limit must be a positive integer`                                                                                                                                                                                                                                                                  | The limit bounds the rows one tick checks; zero or a fraction would check nothing or an unreadable page, and the due rows would never be looked at.                                                                                                                                                                                                                                                                    | Spell limit as a whole number above zero, or leave it out.                                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0050 decision 4                                                   |
| `due_scan.name`                              | dueScan                                                                                                                       | Error                    | `dueScan: name must be a non-empty string`                                                                                                                                                                                                                                                                          | The name is the scan's partition in DueStore and its tick task's name; a blank one would share its rows with every other blank scan and record under no task.                                                                                                                                                                                                                                                          | Name the scan (invoices.overdue) on the spec.                                                                                                                                                                                                                                                                                                                                                                                                                        | ADR-0050 decision 4                                                   |
| `due_scan.select_every`                      | dueScan                                                                                                                       | Error                    | `dueScan <name>: selectEveryMs must be a non-negative number`                                                                                                                                                                                                                                                       | selectEveryMs is how long the scan trusts its last select before asking the world again; a negative or non-numeric value names no moment and the select would run on every tick or never.                                                                                                                                                                                                                              | Spell selectEveryMs as a number of milliseconds at or above zero, or leave it out.                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0050 decision 4                                                   |
| `durable.auto_redrive.classify`              | createDurable                                                                                                                 | TypeError                | `durable: autoRedrive.classify must be a function of the cause alone, pure as a key: <fault> (given <given>)`                                                                                                                                                                                                       | The classify is asked at every landing over the stored cause (ADR-0084); a value that is no function answers nothing, and one that reads the clock or randomness would judge the same cause differently on every landing, so a chain would start or stop by the minute.                                                                                                                                                | Write classify: (cause) => true \| false \| null over cause.errorCode and cause.error alone.                                                                                                                                                                                                                                                                                                                                                                         | ADR-0084                                                              |
| `durable.auto_redrive.codes`                 | createDurable                                                                                                                 | TypeError                | `durable: autoRedrive.codes must be a list of non-empty strings, not <given>`                                                                                                                                                                                                                                       | A code is compared exactly against the fact's errorCode (ADR-0084); a list holding a number, an empty string or no list at all would match nothing and the engine would retry none of the transient causes the host meant to admit.                                                                                                                                                                                    | List the codes as errorCodeOf spells them; spread AUTO_REDRIVE_TRANSIENT_CODES to keep the engine's.                                                                                                                                                                                                                                                                                                                                                                 | ADR-0084                                                              |
| `durable.auto_redrive.delays`                | createDurable                                                                                                                 | TypeError                | `durable: autoRedrive.delays must be a non-empty list of durations above zero (<spellings>), not <given>`                                                                                                                                                                                                           | The n-th redrive waits delays[n - 1] (ADR-0084); an empty list or a delay off the grammar would queue the fact for never or for now, and a chain would run at once three times or not at all.                                                                                                                                                                                                                          | Spell delays as ["2m", "10m", "30m"]: the n-th redrive waits delays[n - 1], the last repeating.                                                                                                                                                                                                                                                                                                                                                                      | ADR-0084                                                              |
| `durable.auto_redrive.max`                   | createDurable                                                                                                                 | TypeError                | `durable: autoRedrive.max must be an integer from 1 to <bound>, not <given>`                                                                                                                                                                                                                                        | The bound is the count a failure chain stops at (ADR-0084); zero would retry never and schedule a row that says otherwise, a fraction compares to nothing, and a bound past ten would redrive a dead cause for an hour before a person saw it.                                                                                                                                                                         | Spell max as a whole number from 1 to 10 (3 unless said).                                                                                                                                                                                                                                                                                                                                                                                                            | ADR-0084                                                              |
| `durable.auto_redrive.shape`                 | createDurable                                                                                                                 | TypeError                | `durable: autoRedrive must be { max?, delays?, codes?, classify? }, not <given>`                                                                                                                                                                                                                                    | The auto-redrive policy is read at every transient landing (ADR-0084); a policy off its shape (a word, a list, a key the policy does not take, false at the boot) would be read as the defaults or as nothing, and the deployment would retry what its author never said or never retry what it meant to.                                                                                                              | Bind autoRedrive: { max: 3, delays: ["2m", "10m", "30m"], codes: [...AUTO_REDRIVE_TRANSIENT_CODES, ...], classify }, or leave it out for the defaults.                                                                                                                                                                                                                                                                                                               | ADR-0084                                                              |
| `durable.codec.shape`                        | createDurable                                                                                                                 | TypeError                | `durable: codec must be { id, encode, decode, prepare? } with id of the form [a-z0-9][a-z0-9._-]* (at most 64 characters), two functions and, when given, a third; given <given>`                                                                                                                                   | A codec without an id could not be named on the rows it sealed, so nothing could tell a sealed value from a plain one at a read; a codec with one function would seal what it cannot open, or open what it never sealed; a prepare that is no function would load no key and the synchronous halves would meet none.                                                                                                   | Bind codec: { id: 'kms-v1', encode: (json) => …, decode: (json) => … } (ADR-0063 B25), with prepare: async (values, { settings }) => … when its keys live on settings rows (ADR-0076 FP-040), or leave it out: the redaction policy stays the door for secrets.                                                                                                                                                                                                      | ADR-0063 B25; ADR-0076 FP-040                                         |
| `durable.default_scope`                      | createDurable                                                                                                                 | TypeError                | `durable: defaultScope must be a non-empty string`                                                                                                                                                                                                                                                                  | Work that belongs to no scope is partitioned under the default; an empty one would write rows under an empty partition no reader asks for.                                                                                                                                                                                                                                                                             | Bind defaultScope to the host's one spelling of its ledger partition.                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0046 §M step 3b                                                   |
| `durable.definitions`                        | createDurable                                                                                                                 | TypeError                | `durable: definitions must be "strict" or "lenient"`                                                                                                                                                                                                                                                                | The policy decides whether a definition without an example or a describe refuses the boot (strict) or is reported by the sweep (lenient); a third word would silently fall to one of them.                                                                                                                                                                                                                             | Spell definitions: "strict" (the default) or "lenient".                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0060 decision 11                                                  |
| `durable.environment.declared_role`          | createDurable                                                                                                                 | TypeError                | `durable: environment.declaredRole must be "production", "preview" or "local"`                                                                                                                                                                                                                                      | The declared role is what a listener's relay policy is read under; another word would read every policy as production's.                                                                                                                                                                                                                                                                                               | Bind declaredRole to the members file's role ("production" when it says nothing).                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0053 decision 4                                                   |
| `durable.environment.ephemeral`              | createDurable                                                                                                                 | TypeError                | `durable: environment.ephemeral: <message>`                                                                                                                                                                                                                                                                         | An ephemeral member (a preview, a laptop) is declared at boot, never in the file; a declaration off the rules would announce a member no peer admits.                                                                                                                                                                                                                                                                  | Fix the field the message names.                                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0053 decision 2                                                   |
| `durable.environment.ephemeral.name`         | createDurable                                                                                                                 | TypeError                | `durable: environment.ephemeral.name must be the identity's own name (<name>, not <given>)`                                                                                                                                                                                                                         | The ephemeral declaration names the member it is; a name other than the identity's would announce one member and fence another.                                                                                                                                                                                                                                                                                        | Bind ephemeral.name to environment.name.                                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0053 decision 2                                                   |
| `durable.environment.ephemeral.peer_is_self` | createDurable                                                                                                                 | TypeError                | `durable: environment.ephemeral.peers must name another member, not this app`                                                                                                                                                                                                                                       | An ephemeral member pairs with one declared member; naming itself would announce to nobody and relay to itself.                                                                                                                                                                                                                                                                                                        | Name the declared member the ephemeral joins.                                                                                                                                                                                                                                                                                                                                                                                                                        | ADR-0053 decision 2                                                   |
| `durable.environment.name`                   | createDurable                                                                                                                 | TypeError                | `durable: environment.name must be a non-empty string (which member this app is)`                                                                                                                                                                                                                                   | The name is this member on the mesh: what a peer's copy is recorded under, what a ping answers; without it every relayed row would carry no origin.                                                                                                                                                                                                                                                                    | Bind environment.name to this member's name of the members file.                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0046 §D                                                           |
| `durable.environment.peers`                  | createDurable                                                                                                                 | TypeError                | `durable: environment.peers must be a function answering the peers (read at each call)`                                                                                                                                                                                                                             | The peers are read at each call so a secret rotation or a registered ephemeral member is seen without a boot; a value bound once would be stale.                                                                                                                                                                                                                                                                       | Bind peers as a function.                                                                                                                                                                                                                                                                                                                                                                                                                                            | ADR-0046 §H                                                           |
| `durable.environment.previews`               | createDurable                                                                                                                 | TypeError                | `durable: environment.previews: <message>`                                                                                                                                                                                                                                                                          | The preview policy is what every ephemeral member that joins this member is held to; a policy off the rules would admit one under no secret.                                                                                                                                                                                                                                                                           | Fix the field the message names.                                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0053 decision 2                                                   |
| `durable.environment.previews.ephemeral`     | createDurable                                                                                                                 | TypeError                | `durable: environment.previews is a declared member's (a name of [a-z0-9-]); an ephemeral member accepts no previews`                                                                                                                                                                                               | An ephemeral member is itself a preview or a laptop; one accepting previews would chain ephemeral members under a secret none of them holds.                                                                                                                                                                                                                                                                           | Bind previews on the declared member alone.                                                                                                                                                                                                                                                                                                                                                                                                                          | ADR-0053 decision 2                                                   |
| `durable.environment.role`                   | createDurable                                                                                                                 | TypeError                | `durable: environment.role must be "production", "preview" or "local"`                                                                                                                                                                                                                                              | The role decides whether an ephemeral declaration is admitted and which listeners execute; another word would decide nothing.                                                                                                                                                                                                                                                                                          | Bind role to "production", "preview" or "local".                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0053 decision 4                                                   |
| `durable.environment.url`                    | createDurable                                                                                                                 | TypeError                | `durable: environment.url must be an absolute http(s) URL with no trailing slash (this member's entry of the members file)`                                                                                                                                                                                         | The URL is what a peer posts relayed rows to; a relative one or one with a trailing slash would post to a path the receiver does not serve.                                                                                                                                                                                                                                                                            | Bind url to this member's absolute URL without a trailing slash.                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0046 §D                                                           |
| `durable.fairness.group`                     | createDurable                                                                                                                 | TypeError                | `durable: fairness.group <fault>`                                                                                                                                                                                                                                                                                   | A group that is no function groups nothing; one that reads the clock or randomness would put one partition in different groups across a pass's choices, so the share would be counted against nobody.                                                                                                                                                                                                                  | Make group a pure function of the partition string (tenantGroup, or your own prefix rule).                                                                                                                                                                                                                                                                                                                                                                           | ADR-0078 D06 (SR-006)                                                 |
| `durable.fairness.shape`                     | createDurable                                                                                                                 | TypeError                | `durable: fairness must be { group } with group a function of the partition, not <given>`                                                                                                                                                                                                                           | The lane order reads the group at every pass; a fairness block off the shape (a word, a list, a key the block does not take) would group nothing or something else than its author read, and a tenant's share would be the partition's again with no line said.                                                                                                                                                        | Bind fairness: { group: (partition) => <the group's name> } (the plane's tenantGroup: the tenant's prefix of the partition, the partition whole otherwise), or leave it out: the partition itself is the group.                                                                                                                                                                                                                                                      | ADR-0078 D06 (SR-006)                                                 |
| `durable.fingerprints.not_array`             | createDurable                                                                                                                 | TypeError                | `durable: fingerprints must be an array of { match, group } rules`                                                                                                                                                                                                                                                  | The host's rules are read at every landing in order; a table that is not an array groups nothing, and the first landing would find out.                                                                                                                                                                                                                                                                                | Bind fingerprints as an array of { match: /<regex>/ \| (cause) => boolean, group: '<name>' } rules, in the order they are tried.                                                                                                                                                                                                                                                                                                                                     | ADR-0044 §3 (FW-053)                                                  |
| `durable.fingerprints.row`                   | createDurable                                                                                                                 | TypeError                | `durable: fingerprints[<index>] <fault>`                                                                                                                                                                                                                                                                            | A rule off the shape (no match, a global or sticky RegExp whose test moves lastIndex between two causes, a match that reads the clock, an empty group) would group causes by accident or differently on every landing.                                                                                                                                                                                                 | Fix the rule the message names: match a RegExp without the g or y flag or a pure function of the cause, group a non-empty string.                                                                                                                                                                                                                                                                                                                                    | ADR-0044 §3 (FW-053)                                                  |
| `durable.graph_index.shape`                  | createDurable                                                                                                                 | TypeError                | `durable: graphIndex must be the generated index ({ source, bodies: [] }), got <given>`                                                                                                                                                                                                                             | The reaction graph draws every body edge (what a body emits, waits on, starts) from the index the host hands in; a value of another shape would draw nothing and say nothing, so the catalog's graph would show every workflow as an island.                                                                                                                                                                           | Hand createDurable the generated graph-index.json (pnpm gen:graph-index), or leave graphIndex unset.                                                                                                                                                                                                                                                                                                                                                                 | ADR-0060 decision 14                                                  |
| `durable.ledger.partitions.schedule`         | createDurable                                                                                                                 | TypeError                | `durable: <message>`                                                                                                                                                                                                                                                                                                | The partition keeper's schedule (ledger.partitions.ensure) is refused at boot as a definition's own is; a schedule the tick cannot read would never make a month's partition ahead.                                                                                                                                                                                                                                    | Fix the field the message names.                                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0078 D08                                                          |
| `durable.logs.core_name`                     | createDurable                                                                                                                 | TypeError                | `durable: logs[<name>] is a row of the core's LOG_EVENTS and of the host's logs; a name lives in one table (drop the host's row: the core's says what a package site means by it)`                                                                                                                                  | Two rows under one name would say two things about one line.                                                                                                                                                                                                                                                                                                                                                           | Drop the host's row; the core's row is what a package site means.                                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0060 decision 17                                                  |
| `durable.logs.row`                           | createDurable                                                                                                                 | TypeError                | `durable: <message>`                                                                                                                                                                                                                                                                                                | A log row off the shape (a name off the grammar, a level the sites do not use, a missing meaning under a required prefix) would gloss a captured line wrong or not at all.                                                                                                                                                                                                                                             | Fix the row the message names.                                                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0060 decision 17                                                  |
| `durable.name`                               | createDurable                                                                                                                 | TypeError                | `durable: name is <given>, not a segment of the workflow-name grammar (<pattern>); it names the implicit plugin (the configuration's top-level fields) on every catalog row and graph node`                                                                                                                         | The implicit plugin's name is stamped on every host definition's row beside the plugins' names; one off the grammar could not be told from a plugin's or grouped by.                                                                                                                                                                                                                                                   | Name the implicit plugin with a lower-case letter first, then letters, digits and underscores (name: "core_app"), or leave it to the default "host".                                                                                                                                                                                                                                                                                                                 | ADR-0063 Appendix M U5                                                |
| `durable.observers.not_array`                | createDurable                                                                                                                 | TypeError                | `durable: observers must be an array of Observer objects`                                                                                                                                                                                                                                                           | An observer bound as anything but a list would be read by nothing: every boundary would pass unseen while the host believes it watches.                                                                                                                                                                                                                                                                                | Bind observers as an array (observers: [myObserver]), each an object with any of runStarted, stepLanded, runFinished, factEmitted and delivered.                                                                                                                                                                                                                                                                                                                     | ADR-0063 B08                                                          |
| `durable.observers.row`                      | createDurable                                                                                                                 | TypeError                | `durable: observers[<index>] <fault>`                                                                                                                                                                                                                                                                               | A hook that is not a function would throw at its first boundary, after the row committed, and every boundary after it would log the same throw.                                                                                                                                                                                                                                                                        | Fix the observer the message names: an object whose name is a string and whose hooks are functions.                                                                                                                                                                                                                                                                                                                                                                  | ADR-0063 B08                                                          |
| `durable.option.alias`                       | createDurable                                                                                                                 | TypeError                | `durable: <alias> and <canonical> are one value, spelled twice; keep <canonical> (<alias> is the deprecated spelling, admitted alone one release)`                                                                                                                                                                  | Two spellings of the strictness on one configuration would make the recorder strict or lenient by whichever the boot read, not what the author read on the other line.                                                                                                                                                                                                                                                 | Keep steps: "strict" (or "lenient") alone.                                                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0064 P15                                                          |
| `durable.option.unknown`                     | createDurable                                                                                                                 | TypeError                | `durable: no option "<key>" (the options are <known>); a mis-spelled option past the type would be ignored`                                                                                                                                                                                                         | A configuration built past the type (a spread of a loose object, a test's partial) carrying a mis-spelled key was silently ignored, so a deployment booted without the policy, the retention rule or the codec its author believed it bound.                                                                                                                                                                           | Spell the key as createDurable names it (steps, definitions, schemaPolicy, reconfigure, retention, …) and drop a key the configuration does not take.                                                                                                                                                                                                                                                                                                                | ADR-0064 P15                                                          |
| `durable.platform.max_duration`              | createDurable                                                                                                                 | TypeError                | `durable: platform.maxDurationS must be a positive number of seconds`                                                                                                                                                                                                                                               | The function limit is what every lease, batch park and poll window is cut against; without it a run could outlive its process.                                                                                                                                                                                                                                                                                         | Bind platform: vercelPlatform({ maxDurationS }) (or a test platform with a positive maxDurationS).                                                                                                                                                                                                                                                                                                                                                                   | ADR-0046 §M step 3b                                                   |
| `durable.platform.max_duration.plan`         | vercelPlatform                                                                                                                | TypeError                | `durable: platform.maxDurationS <value> is above the <plan> plan's maximum of <max> s (VERCEL_PLANS, @durable-sdk/vercel/plans): Vercel would cut the function at its own maximum while the lease, the pins and the stored kill are sized by <value>`                                                               | An explicit maxDurationS above the plan's maximum passes the type and the old positivity check, and the deploy may even accept the literal (Vercel refuses a number above the plan at build time only for some tiers); the engine would then believe in a kill later than the real one, so a run could be reclaimed while still writing.                                                                               | Bind vercelPlatform({ plan }) and let the limit derive from the plan row (planMaxDurationS), declare { name, extended: true } for the Extended beta tier where the plan has one, or lower maxDurationS to the plan's maximum.                                                                                                                                                                                                                                        | ADR-0066 D10                                                          |
| `durable.platform.queue.max_concurrency`     | vercelPlatform                                                                                                                | TypeError                | `durable: platform.queue.maxConcurrency must be a positive integer (the queue wake's push consumer concurrency, what vercel.json's durable-wake trigger declares as maxConcurrency), not <value>`                                                                                                                   | The value is what the host's guard holds vercel.json's trigger to and what the doctor's fix names; a zero, a float or a string would pass the type at the binding and fail the deploy's trigger validation, or declare a consumer no bound reads.                                                                                                                                                                      | Bind vercelPlatform({ queue: { maxConcurrency: <a positive integer> } }), or leave the option out for QUEUE_MAX_CONCURRENCY.                                                                                                                                                                                                                                                                                                                                         | ADR-0063 B15                                                          |
| `durable.plugin.log.twice`                   | createDurable                                                                                                                 | TypeError                | `durable: logs[<name>] is a row of two plugins, <first> and <again>; a log name lives in one table`                                                                                                                                                                                                                 | An object spread would keep one row silently, and the catalog's gloss of a line under that name would say the other plugin's meaning.                                                                                                                                                                                                                                                                                  | Keep the name's row in one plugin's log catalog; name the other plugin's line under its own prefix.                                                                                                                                                                                                                                                                                                                                                                  | ADR-0063 Appendix M U5                                                |
| `durable.plugin.name.twice`                  | createDurable                                                                                                                 | TypeError                | `durable: two plugins are named <name> (the second and <other>); a plugin's name is spelled once, since every catalog row and graph node is grouped by it`                                                                                                                                                          | Two plugins under one name would be one group on the catalog and the graph, and a duplicate between them (a fact, a reverter, a service) would be refused naming the same plugin twice.                                                                                                                                                                                                                                | Give each plugin a name of its own; the implicit plugin's is createDurable({ name }), "host" when unsaid.                                                                                                                                                                                                                                                                                                                                                            | ADR-0063 Appendix M U5                                                |
| `durable.plugin.reverter.twice`              | createDurable                                                                                                                 | TypeError                | `durable: reverters[<type>] is bound by two plugins, <first> and <again>; a ledger resource type has one reverter`                                                                                                                                                                                                  | An object spread would keep one reverter silently, and the undo of a row of that type would run the other plugin's inverse over it.                                                                                                                                                                                                                                                                                    | Bind the type's reverter in one plugin (the one whose steps write rows of that type) and leave the other's out.                                                                                                                                                                                                                                                                                                                                                      | ADR-0063 Appendix M U5                                                |
| `durable.plugin.route.twice`                 | createDurable                                                                                                                 | TypeError                | `durable: the console entry <route> is listed by two plugins, <first> and <again>; an entry's name is spelled once in the catalogue`                                                                                                                                                                                | The catalogue lists entries by name and the table answers the first a path matches, so the second plugin's door would be listed under the first's shape or never answered.                                                                                                                                                                                                                                             | Keep the entry in one plugin's routes, or give the second a name and a path of its own.                                                                                                                                                                                                                                                                                                                                                                              | ADR-0063 Appendix M U5                                                |
| `durable.plugin.service.twice`               | createDurable                                                                                                                 | TypeError                | `durable: services[<name>] is bound by two plugins, <first> and <again>; a service name has one factory`                                                                                                                                                                                                            | An object spread would keep one factory silently, and every i.services read of the name would answer the other plugin's client.                                                                                                                                                                                                                                                                                        | Bind the service's factory in one plugin (or at the top level) and let the other read it off the context.                                                                                                                                                                                                                                                                                                                                                            | ADR-0063 Appendix M U5                                                |
| `durable.plugins.not_array`                  | createDurable                                                                                                                 | TypeError                | `durable: plugins is not an array of definePlugin() values (createDurable({ plugins: [orders, campaigns] }))`                                                                                                                                                                                                       | The composition folds each plugin's families in order and loads each one's modules in turn; a value that is no list has no order to fold or load by.                                                                                                                                                                                                                                                                   | Bind plugins as an array of definePlugin() values, in load order.                                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0063 Appendix M U5                                                |
| `durable.plugins.row`                        | createDurable                                                                                                                 | TypeError                | `durable: plugins[<index>] is <given>, not a definePlugin() value; a plugin is defined once with definePlugin({ name, … }) and listed here`                                                                                                                                                                         | A bare object skipped definePlugin's door (the name's grammar, the loaders' shape), so the composition would fold fields nothing checked and stamp rows with a name nothing holds to the grammar.                                                                                                                                                                                                                      | Wrap the object in definePlugin({ name, events, workflows, … }) and list the value it answers.                                                                                                                                                                                                                                                                                                                                                                       | ADR-0063 Appendix M U5                                                |
| `durable.principal.prefix`                   | createDurable                                                                                                                 | TypeError                | `durable: principal prefix <prefix> must be an identifier (no colon)`                                                                                                                                                                                                                                               | An actor is <prefix>:<id>; a prefix carrying a colon or opening with a digit cannot be split back, and every actor label would read wrong.                                                                                                                                                                                                                                                                             | Declare prefixes as identifiers (user, cli, agent).                                                                                                                                                                                                                                                                                                                                                                                                                  | ADR-0046 §C                                                           |
| `durable.quotas.bucket`                      | createDurable                                                                                                                 | TypeError                | `durable: quotas.<bucket> must be { perSecond, burst } with perSecond a positive number and burst an integer of at least 1, not <given>`                                                                                                                                                                            | A bucket off the rate grammar would refill at no rate or hold no token, so every take at that door would be refused for good, or admit everything.                                                                                                                                                                                                                                                                     | Spell the bucket as the tier's numbers: { perSecond: <emits or starts a second>, burst: <the most in one burst> }, both above zero, the burst a whole number.                                                                                                                                                                                                                                                                                                        | ADR-0078 D06 (SR-006)                                                 |
| `durable.quotas.shape`                       | createDurable                                                                                                                 | TypeError                | `durable: quotas must be { tenant, emit?, start? } with tenant a function of the scope and at least one bucket, not <given>`                                                                                                                                                                                        | A quotas block off the shape (a word, a tenant with no bucket, a key the block does not take) would bind no bucket while its author believed the doors bounded, and a tenant's emits and starts would land unmetered with no line said.                                                                                                                                                                                | Bind quotas: { tenant: (scope) => <the tenant's id> \| null, emit: { perSecond, burst }, start: { perSecond, burst } } with at least one of the two buckets, or leave the block out: no door takes a token then.                                                                                                                                                                                                                                                     | ADR-0078 D06 (SR-006)                                                 |
| `durable.quotas.tenant`                      | createDurable                                                                                                                 | TypeError                | `durable: quotas.tenant <fault>`                                                                                                                                                                                                                                                                                    | A tenant resolver that is no function names nobody; one that reads the clock or randomness would charge one scope's calls to different buckets from call to call, so no bucket would bound anyone.                                                                                                                                                                                                                     | Make tenant a pure function of the scope (tenantOf: the tenant:<id> prefix, null otherwise), answering null for a scope that belongs to no tenant.                                                                                                                                                                                                                                                                                                                   | ADR-0078 D06 (SR-006)                                                 |
| `durable.reconfigure`                        | createDurable                                                                                                                 | TypeError                | `durable: reconfigure must be "refuse" or "rebind"`                                                                                                                                                                                                                                                                 | The policy decides whether a second definition under one name replaces the first (a dev server's hot reload) or is refused; another word would decide nothing.                                                                                                                                                                                                                                                         | Bind reconfigure: "rebind" for the dev server alone, "refuse" (the default) elsewhere.                                                                                                                                                                                                                                                                                                                                                                               | ADR-0060 decision 4                                                   |
| `durable.remedies.not_array`                 | createDurable                                                                                                                 | TypeError                | `durable: remedies must be an array of rows`                                                                                                                                                                                                                                                                        | The host's remedies join the engine's by code; a table that is not an array joins nothing.                                                                                                                                                                                                                                                                                                                             | Bind remedies as an array of { code, meaning, remedy, adr } rows.                                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0060 decision 15                                                  |
| `durable.remedies.row`                       | createDurable                                                                                                                 | TypeError                | `durable: <message>`                                                                                                                                                                                                                                                                                                | A remedies row without a field, a code off the alphabet, a stray * or a code spelled twice would be served half or twice on the Errors page.                                                                                                                                                                                                                                                                           | Fix the row the message names.                                                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0060 decision 15                                                  |
| `durable.retention.keep_unsent`              | createDurable                                                                                                                 | TypeError                | `durable: retention.keepUnsent must be a function answering a boolean`                                                                                                                                                                                                                                              | Whether an unsent fact waits for the peer is read inside every pass; a value bound once would prune relayed rows after a peer joined.                                                                                                                                                                                                                                                                                  | Bind keepUnsent as a function (() => durable.relay.enabled()).                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0046 §M step 6                                                    |
| `durable.retention.rule.days`                | createDurable                                                                                                                 | TypeError                | `durable: retention rule <name>: days must be a positive number`                                                                                                                                                                                                                                                    | The window is what the cutoff is computed from; zero or less would prune everything on the first pass.                                                                                                                                                                                                                                                                                                                 | Spell days as a positive number.                                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0046 §M step 6                                                    |
| `durable.retention.rule.name`                | createDurable                                                                                                                 | TypeError                | `durable: a retention rule needs a non-empty name`                                                                                                                                                                                                                                                                  | A rule's count lands on the pass's result under its name; one without a name would be counted nowhere.                                                                                                                                                                                                                                                                                                                 | Name the rule after the table it prunes.                                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0046 §M step 6                                                    |
| `durable.retention.rule.prune`               | createDurable                                                                                                                 | TypeError                | `durable: retention rule <name> has no prune function`                                                                                                                                                                                                                                                              | The pass calls prune with the cutoff and the batch; a rule without it would fail every pass.                                                                                                                                                                                                                                                                                                                           | Give the rule a prune({ cutoff, batch }) function.                                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0046 §M step 6                                                    |
| `durable.retention.rule.reserved`            | createDurable                                                                                                                 | TypeError                | `durable: retention rule <name> takes a reserved name (a core rule, the ledger or a result field: <reserved>)`                                                                                                                                                                                                      | A host rule under a core rule's name, the ledger or a result field would overwrite that count on the pass's result.                                                                                                                                                                                                                                                                                                    | Name the rule after the host's own table.                                                                                                                                                                                                                                                                                                                                                                                                                            | ADR-0046 §M step 6                                                    |
| `durable.retention.rule.twice`               | createDurable                                                                                                                 | TypeError                | `durable: retention rule <name> is registered twice`                                                                                                                                                                                                                                                                | Two rules under one name would prune twice and count once.                                                                                                                                                                                                                                                                                                                                                             | Register each rule once.                                                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0046 §M step 6                                                    |
| `durable.retention.schedule`                 | createDurable                                                                                                                 | TypeError                | `durable: <message>`                                                                                                                                                                                                                                                                                                | The retention pass's schedule is refused at boot as a definition's own is; a schedule the tick cannot read would never prune.                                                                                                                                                                                                                                                                                          | Fix the field the message names.                                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0050 decision 2                                                   |
| `durable.retention.windows`                  | createDurable                                                                                                                 | TypeError                | `durable: retention.windows: <message>`                                                                                                                                                                                                                                                                             | A listener window under the fact's would prune a run whose fact still stands, one over the run window prunes nothing of its own, a step window under the run window would strip a run the run rule is about to take, and an archive window past a year would keep what the plane's tiers never priced; a window judged at boot never reaches a pass.                                                                   | Bind retention.windows as an object over the window names (runsDays, stepsDays, listenerRunsDays, outboxDays, outboxUnsentDays, idempotencyDays, archiveDays, batch) with listenerRunsDays between outboxDays and runsDays, stepsDays at least runsDays and archiveDays at most 365, or leave it out for the shipped numbers.                                                                                                                                        | ADR-0026 amendment 2026-10-09 (FW-089); ADR-0076 FP-027 (archiveDays) |
| `durable.reverter.judge`                     | createDurable                                                                                                                 | TypeError                | `durable: reverter <type> has a judge that is not a function`                                                                                                                                                                                                                                                       | The judge says from the row alone what the reverter never restores; a non-function would be read as a verdict for every row.                                                                                                                                                                                                                                                                                           | Give judge a function, or leave it out.                                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0051 §13                                                          |
| `durable.reverter.name`                      | createDurable                                                                                                                 | TypeError                | `durable: a reverter needs a non-empty type name`                                                                                                                                                                                                                                                                   | A reverter is consulted per ledger row by the row's resourceType; one under an empty name would answer no row.                                                                                                                                                                                                                                                                                                         | Key the reverter by the resource type the rows spell.                                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0046 §M step 6                                                    |
| `durable.reverter.needs_client`              | createDurable                                                                                                                 | TypeError                | `durable: reverter <type> has a needsClient that is not a boolean`                                                                                                                                                                                                                                                  | needsClient decides whether the undo opens the scope's client before any run exists; a non-boolean would open one for a reverter that cannot use it or none for one that must.                                                                                                                                                                                                                                         | Spell needsClient as true or false.                                                                                                                                                                                                                                                                                                                                                                                                                                  | ADR-0051 §13                                                          |
| `durable.reverter.read`                      | createDurable                                                                                                                 | TypeError                | `durable: reverter <type> has a read that is not a function`                                                                                                                                                                                                                                                        | The drift read calls read per ledger row for the resource's current state; a non-function would be found at the first row of a real read.                                                                                                                                                                                                                                                                              | Give read a function (resourceId => the row's stored form, or null when gone), or leave it out.                                                                                                                                                                                                                                                                                                                                                                      | ADR-0063 B13                                                          |
| `durable.reverter.revert`                    | createDurable                                                                                                                 | TypeError                | `durable: reverter <type> has no revert function`                                                                                                                                                                                                                                                                   | The undo calls revert per row; a reverter without one would be found and fail at the first row of a real undo.                                                                                                                                                                                                                                                                                                         | Give the reverter a revert function.                                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0046 §M step 6                                                    |
| `durable.schema_policy`                      | createDurable                                                                                                                 | TypeError                | `durable: schemaPolicy must be "refuse", "warn" or an object over the keys behind, drifted, naming and ahead, each "refuse" or "warn"; found <found>`                                                                                                                                                               | The policy decides, case by case, whether a database behind the minimum, drifted from the stamped catalog, under another naming or ahead of the package refuses every run or is said once; another word or key would decide nothing.                                                                                                                                                                                   | Bind schemaPolicy: "refuse" (production: behind, drifted and naming refuse, ahead warns), "warn" (a test: every case warns), or an object naming the cases to change ({ drifted: "warn" } for one release while a false drift is diagnosed, { ahead: "refuse" } for the stricter rule).                                                                                                                                                                              | ADR-0062 unit 7                                                       |
| `durable.schema.ahead`                       | the schema probe under { ahead: "refuse" } (execute, emit, the resumer, the ticks, the relay receiver, the console's actions) | SchemaAhead              | `durable: the database is at schema version <found>, newer than this package's latest <latest>, and the policy refuses a schema ahead; deploy the package that wrote it (an older build was deployed), or let ahead run (the default)`                                                                              | A build older than the schema runs by default (expand-only keeps old code on a new schema, the code-rollback story); a host that bound { ahead: "refuse" } chose to stop such a build instead, and every entry point stops until the newer package serves.                                                                                                                                                             | Deploy the package that wrote the version, or bind schemaPolicy with ahead: "warn" (the default) to let the older build run.                                                                                                                                                                                                                                                                                                                                         | ADR-0062 unit 7                                                       |
| `durable.schema.drifted`                     | the schema probe (execute, emit, the resumer, the ticks, the relay receiver, the console's actions)                           | SchemaDrifted            | `durable: the framework schema differs from what durable-sdk recorded at version <version> (<reason>); run durable-sdk doctor --strict and apply its fix SQL, or durable-sdk migrate restamp after inspecting it`                                                                                                   | The live catalog's checksum is not the one the migrator stamped: a hand edit, a dropped index or an extra column changed the tables the engine's statements were measured against, or a database major re-spelled a deparsed text (the one false drift); every entry point stops within a minute of the change and asks again every minute.                                                                            | Run durable-sdk doctor --strict and apply its fix SQL (a real drift), or durable-sdk migrate restamp after inspecting the catalog (a false one); bind schemaPolicy: { drifted: "warn" } for one release while a false drift is diagnosed.                                                                                                                                                                                                                            | ADR-0062 unit 7                                                       |
| `durable.schema.naming_mismatch`             | the schema probe (execute, emit, the resumer, the ticks, the relay receiver, the console's actions), migrate                  | NamingMismatch           | `durable: the database records naming <recorded>, this configuration binds <bound>; set DURABLE_NAMING to the recorded preset, or move the tables under a new SDK version`                                                                                                                                          | The tables are spelled under one preset and the engine would read them under another: every statement would name columns and tables that are not there, so the wrong preset is refused at the door instead of failing inside a verb.                                                                                                                                                                                   | Set DURABLE_NAMING to the preset the row records (the migrator wrote it from the tables' own shape); a move between presets is a new SDK version, never a variable.                                                                                                                                                                                                                                                                                                  | ADR-0062 unit 7                                                       |
| `durable.scrub.environment`                  | createDurable                                                                                                                 | TypeError                | `durable: scrub.environment must be a function answering the key's environment name (read at each call)`                                                                                                                                                                                                            | The environment is read at each call so a deploy's name is the one keyed; a value bound at boot would be stale on the next deploy.                                                                                                                                                                                                                                                                                     | Bind scrub.environment as a function.                                                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0046 §M step 6                                                    |
| `durable.scrub.workflow`                     | createDurable                                                                                                                 | TypeError                | `durable: scrub.workflow must name a workflow (a non-empty string)`                                                                                                                                                                                                                                                 | The scrub marks runs of one workflow in one environment; without the name it would mark none or all.                                                                                                                                                                                                                                                                                                                   | Bind scrub: { workflow: <name>, environment: () => <name> }.                                                                                                                                                                                                                                                                                                                                                                                                         | ADR-0046 §M step 6                                                    |
| `durable.services.factory`                   | createDurable                                                                                                                 | TypeError                | `durable: services[<name>] is not a function; a service is a factory of the scope, (scope) => <client>, called at each read`                                                                                                                                                                                        | A client bound as a value would be one object for every scope and every attempt, never fenced on a relayed copy and never picked by store.                                                                                                                                                                                                                                                                             | Bind the service as a factory of the scope that opens the host's resolver (connectorFor(scope.scope), notifyFor()).                                                                                                                                                                                                                                                                                                                                                  | ADR-0063 Appendix M U4                                                |
| `durable.services.shape`                     | createDurable                                                                                                                 | TypeError                | `durable: services is not an object of factories (createDurable({ services: { <name>: (scope) => <client> } }))`                                                                                                                                                                                                    | The context's services Proxy reads the map by name at each step read; a value that is no map has no names to bind.                                                                                                                                                                                                                                                                                                     | Bind services as an object whose every value is a factory of the scope.                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0063 Appendix M U4                                                |
| `durable.services.unbound`                   | durable.service                                                                                                               | Error                    | `durable.service: no service is bound under <name>; createDurable({ services: { <name>: (scope) => <client> } }) declares it`                                                                                                                                                                                       | A route or a script reads a service outside any run through the instance; a name no factory stands under cannot answer a client.                                                                                                                                                                                                                                                                                       | Bind the service in createDurable({ services }) under the name the Services augmentation declares.                                                                                                                                                                                                                                                                                                                                                                   | ADR-0063 Appendix M U4                                                |
| `durable.sessions.unbound`                   | durable.sessions                                                                                                              | Error                    | `durable.sessions: no session factory is bound`                                                                                                                                                                                                                                                                     | The session factory is what opens a scope's client for the resumer, the redrive and the undo; without one every resume that needs a client would fail at its first step.                                                                                                                                                                                                                                               | Bind sessions in createDurable (the host's session factory).                                                                                                                                                                                                                                                                                                                                                                                                         | ADR-0046 §M step 3b                                                   |
| `durable.steps`                              | createDurable                                                                                                                 | TypeError                | `durable: steps must be "strict" or "lenient", not <given>`                                                                                                                                                                                                                                                         | The word decides whether the recorder holds a step's row to its declared effect (strict) or lets it pass (lenient); a third word would silently fall to one of them.                                                                                                                                                                                                                                                   | Spell steps: "strict" (a test, where a declared effect is proved) or "lenient" (the default under createDurable); strictSteps: true \| false is the deprecated spelling.                                                                                                                                                                                                                                                                                             | ADR-0041 item 31; ADR-0064 P15                                        |
| `durable.tick_task.name`                     | createDurable                                                                                                                 | TypeError                | `durable: a tick task needs a non-empty name`                                                                                                                                                                                                                                                                       | A tick task is timed and recorded on the tick under its name; one without a name records nothing a reader can find.                                                                                                                                                                                                                                                                                                    | Give the task a name.                                                                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0046 §M step 3c                                                   |
| `durable.tick_task.on_wake`                  | createDurable                                                                                                                 | TypeError                | `durable: tick task <name>: onWake must be a boolean`                                                                                                                                                                                                                                                               | onWake says whether the task also runs in a partition wake; a non-boolean would be read as true for every wake.                                                                                                                                                                                                                                                                                                        | Spell onWake as true or false.                                                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0045 step 5                                                       |
| `durable.tick_task.phase`                    | createDurable                                                                                                                 | TypeError                | `durable: tick task <name>: phase must be "before" or "after"`                                                                                                                                                                                                                                                      | The phase says whether the task runs before the lanes or after the resumer; another word would run it never.                                                                                                                                                                                                                                                                                                           | Spell phase as "before" or "after", or leave it out.                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0046 §M step 3c                                                   |
| `durable.tick_task.run`                      | createDurable                                                                                                                 | TypeError                | `durable: tick task <name> has no run function`                                                                                                                                                                                                                                                                     | The tick calls run per task; one without it would fail every tick as tick.task_failed.                                                                                                                                                                                                                                                                                                                                 | Give the task a run function.                                                                                                                                                                                                                                                                                                                                                                                                                                        | ADR-0046 §M step 3c                                                   |
| `durable.tick_task.settings`                 | createDurable                                                                                                                 | TypeError                | `durable: tick task <name>: settings must be a function of the entry's kind answering the keys the task reads`                                                                                                                                                                                                      | The tick reads the declared keys ahead in one statement for the phase; a value that is no function would be called at every tick and fail it before the tasks ran.                                                                                                                                                                                                                                                     | Spell settings as ({ kind }) => [<the keys the task reads at its start>], or leave it out: the task then reads the store itself.                                                                                                                                                                                                                                                                                                                                     | ADR-0050 decision 2 as landed by FW-092                               |
| `durable.tick_task.twice`                    | createDurable                                                                                                                 | TypeError                | `durable: tick task <name> is registered twice`                                                                                                                                                                                                                                                                     | Two tasks under one name would run twice a tick and record over each other.                                                                                                                                                                                                                                                                                                                                            | Register each task once.                                                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0046 §M step 3c                                                   |
| `emit.idempotency_key`                       | emit, ctx.emit, emitMany                                                                                                      | Error                    | `<name>: idempotencyKey is a producer's key, a non-empty string of at most <max> characters, not <given>`                                                                                                                                                                                                           | The producer's key is judged against its own row inside the fact's own insert (ADR-0076 D06): an empty key or one over the bound would be a row nothing can name, so it is refused before the payload is judged and before anything is written or queued.                                                                                                                                                              | Hand emit(name, payload, { idempotencyKey }) the request's own id (a webhook's delivery id, a provider's event id), a non-empty string under the bound; a longer value is hashed by the caller, never passed whole.                                                                                                                                                                                                                                                  | ADR-0076 D06 (FP-026)                                                 |
| `emit.idempotency_key.queued`                | ctx.emit, emitMany                                                                                                            | Error                    | `<name>: idempotencyKey <key> is already queued by this run's <queued>; a producer's key names one fact`                                                                                                                                                                                                            | A run's queued facts land in one statement at its finish, and two rows under one producer's key in one insert are a conflict Postgres refuses whole ("cannot affect row a second time"), which would fail the landing of every fact the run queued; refused at the queue instead, the body's own throw.                                                                                                                | Give each fact its own idempotencyKey (the request's id plus the fact's name, say), or emit the second fact without one.                                                                                                                                                                                                                                                                                                                                             | ADR-0076 D06 (FP-026)                                                 |
| `emit.inside_step`                           | ctx.emit                                                                                                                      | Error                    | `<name>: emitted inside the step <step>; a fact is queued after the step returns, from its output`                                                                                                                                                                                                                  | A step served from its row never runs its closure, so a fact emitted inside it is queued only on the attempt that ran the body and lost on every resume that finishes the run from its rows (a wake after a wait, a redrive, the retry after a crash): the finish publishes the finishing attempt's queue alone.                                                                                                       | Emit after the step returns, from its output: const out = await ctx.step(…); ctx.emit(name, { …out }); a batch chunk and a hook handler are steps too, so emit after the batch or the hook returns.                                                                                                                                                                                                                                                                  | ADR-0064 P01                                                          |
| `emit.key.too_long`                          | emit, ctx.emit, emitMany                                                                                                      | Error                    | `<name>: the key is <chars> characters, over the <max> the relay wire admits; a key names the intent by its ids, never by a payload, a name a person typed or a list`                                                                                                                                               | A key over the wire's bound lands locally, is dispatched here, and is refused as malformed at every peer it is published to (validateRelayEvent counts it rejected and the batch goes on), so the sender marks it sent and the peers never hold the fact: a copy lost with no error on either side.                                                                                                                    | Key the fact on the cause's ids (an order id, a request id, a webhook id) and put the long value in the payload; a key part valued from a list or a sentence is a catalog bug, fixed on the descriptor.                                                                                                                                                                                                                                                              | ADR-0040; FW-013 (2026-10-08)                                         |
| `emit.many.input_bound`                      | emitMany                                                                                                                      | Error                    | `emitMany: <count> facts spell <chars> characters stored, over the <max> a run's input holds whole; the run that lands them re-runs from its stored input after a crash`                                                                                                                                            | A lightweight run that dies before its landing is re-run whole from its stored input; an input over the cap is stored as a preview the resumer cannot run, so the facts would wait in limbo with nothing to re-run them from.                                                                                                                                                                                          | Split the list into calls whose facts fit MAX_RESUME_INPUT_CHARS (64 000 characters stored), or keep a payload to its ids and let the listener read the rest.                                                                                                                                                                                                                                                                                                        | ADR-0011 amendment 2026-10-30                                         |
| `emit.many.input_secret`                     | emitMany                                                                                                                      | Error                    | `emitMany: a fact of the <count> carries a part the policy redacts by name; the run that lands them re-runs from its stored input after a crash, and stored data never holds a secret`                                                                                                                              | The policy redacts the run's stored input by name, so a crash before the landing would leave a run the resumer cannot re-run (its input holds a secret, which stored data never does) and the facts in limbo; a resume that did land them would carry the redacted text in the secret's place.                                                                                                                         | Hand a fact ids and plain parts, never a secret (a key the policy names, or one ending in token, secret, password, key or credential); a listener reads what it needs under its own step.                                                                                                                                                                                                                                                                            | ADR-0011 amendment 2026-10-30                                         |
| `emit.many.key_duplicate`                    | emitMany                                                                                                                      | TypeError                | `emitMany: the facts at <first> and <second> key to the same fact <key>; every fact of one call is its own`                                                                                                                                                                                                         | Two facts under one catalog key in one insert land one row (the insert-if-absent skips the second), so the caller would count a fact that never existed and the second payload would be lost without a word; a repeat of one fact is one entry.                                                                                                                                                                        | Drop the duplicate before the call (the catalog key names the fact: a repeat of one fact is one entry), or give the second fact the key part that makes it another.                                                                                                                                                                                                                                                                                                  | ADR-0011 amendment 2026-10-30                                         |
| `emit.many.max`                              | emitMany                                                                                                                      | TypeError                | `emitMany: <given> facts is over the <max> one call lands; the run it starts lands its facts in one statement`                                                                                                                                                                                                      | The run emitMany starts queues every fact and lands them in its finish's one statement, so a list past the queue's bound would be refused at the queue after the run was started, a run in limbo for a count the door could have read.                                                                                                                                                                                 | Split the list into calls of at most EMIT_QUEUED_MAX (10 000) facts, one after another; each lands as its own run under its own key.                                                                                                                                                                                                                                                                                                                                 | ADR-0011 amendment 2026-10-30                                         |
| `emit.many.option.unknown`                   | emitMany                                                                                                                      | TypeError                | `emitMany takes no option "<key>" on <where> (the options are <known>); a mis-spelled option past the type would be ignored`                                                                                                                                                                                        | A delay, a producer's key or a priority under a mis-spelled key would be silently the default, and the facts would land now, unkeyed and in their plain order, while the caller believed otherwise.                                                                                                                                                                                                                    | Spell the call's options as the door names them (actor) and a fact's as emit names them (deliverAt, idempotencyKey, ttl, priority); drop a key the door does not take.                                                                                                                                                                                                                                                                                               | ADR-0011 amendment 2026-10-30                                         |
| `emit.many.options.shape`                    | emitMany                                                                                                                      | TypeError                | `emitMany takes { actor } as its options; given <given>`                                                                                                                                                                                                                                                            | A call with no options, or a value that is no object, names no actor to record the run for; told that an option named "undefined" is unknown, the caller would hunt a mis-spelled key where the options are missing whole.                                                                                                                                                                                             | Pass emitMany(facts, { actor }) with the actor the run is recorded for (the route's principal, a system actor for a sweep).                                                                                                                                                                                                                                                                                                                                          | ADR-0011 amendment 2026-10-30                                         |
| `emit.many.shape`                            | emitMany                                                                                                                      | TypeError                | `emitMany takes a non-empty array of facts, each { name, payload, options? }; given <given>`                                                                                                                                                                                                                        | An empty list would start a run that lands nothing under a key of nothing, and a value that is no list of named facts cannot be judged by the catalog or keyed.                                                                                                                                                                                                                                                        | Hand emitMany([{ name, payload }, …], { actor }) at least one fact of the catalog, a deliverAt as a Date; a list that may be empty is judged by the caller before the door.                                                                                                                                                                                                                                                                                          | ADR-0011 amendment 2026-10-30                                         |
| `emit.priority.bound`                        | emit, ctx.emit, emitMany, a definition's events                                                                               | TypeError                | `<name>: priority <given> is not an integer of seconds in −<max>…<max>; a priority moves the fact's place in its partition's order by that many seconds and nothing else`                                                                                                                                           | A priority past the bound would put a fact ahead of or behind rows minutes away in its partition, where a backlog that old is a stuck head's or a person's, and a fraction or a string would spell no ordering moment at all; the database's generated column computes the moment from the integer the door admitted.                                                                                                  | Spell priority as an integer of seconds within ±600 (positive ahead, negative behind), or leave it out for the row's own moment.                                                                                                                                                                                                                                                                                                                                     | ADR-0076 D06 (FP-025)                                                 |
| `emit.queued.max`                            | ctx.emit                                                                                                                      | Error                    | `<name>: this run has queued <max> facts, the most one run lands; a run's facts land in one statement at its finish`                                                                                                                                                                                                | The finish binds every queued fact into one insert and reads the landed rows back in one statement; a queue past the bound would hold the landing past the invocation's budget and bind arrays the driver cannot carry, the run abandoned with nothing landed and every fact lost with it.                                                                                                                             | Keep a run's facts under EMIT_QUEUED_MAX (10 000): split the work across runs (a child per slice through ctx.fanOut, or one keyed run per slice), or let a listener on one fact of the batch emit the rest.                                                                                                                                                                                                                                                          | ADR-0011 amendment 2026-10-30                                         |
| `emit.ttl`                                   | emit, ctx.emit, emitMany                                                                                                      | Error                    | `<name>: ttl is a key's window, a duration ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d") above zero and at most <max>, not <ttl>`                                                                                                                                                                                     | A window off the grammar, at zero or past thirty days would hold the producer's key for a span no platform's dedupe admits (SQS FIFO and EventBridge five minutes, Inngest and Restate a day, Trigger.dev thirty days), so it is refused before anything is written or queued.                                                                                                                                         | Spell ttl as "5m", "24h" or "30d" (24h when left out), never longer than 30d, beside the idempotencyKey it bounds.                                                                                                                                                                                                                                                                                                                                                   | ADR-0076 D06 (FP-026)                                                 |
| `emit.ttl.without_key`                       | emit, ctx.emit, emitMany                                                                                                      | Error                    | `<name>: ttl <ttl> names a window with no idempotencyKey to hold`                                                                                                                                                                                                                                                   | A ttl alone would be silently ignored, and the caller would believe a fact it meant to deduplicate was; refused before anything is written or queued.                                                                                                                                                                                                                                                                  | Pass idempotencyKey beside ttl, or leave both out (the catalog key alone collapses a repeat onto its row while the row lives).                                                                                                                                                                                                                                                                                                                                       | ADR-0076 D06 (FP-026)                                                 |
| `event.payload.invalid`                      | ctx.emit                                                                                                                      | InvalidPayload           | `<event>: the payload was refused by its schema at <path>: <message>`                                                                                                                                                                                                                                               | A payload off the schema would land as a row no listener can read as declared, or spell a missing key part as undefined into the key: the door refuses it, inserts nothing, and emit() answers { emitted: false, refused: "invalid_payload", issues } as a value, ctx.emit this error (the step's failure, the code InvalidPayload) and the relay receiver rejected.                                                   | Spell the payload the schema declares at the emit site (every key part, each field its type), or widen the schema where the payload is right; a step that failed on it is redriven after the fix.                                                                                                                                                                                                                                                                    | ADR-0063 B27                                                          |
| `execute.accept_version_mismatch`            | execute                                                                                                                       | Error                    | `run not started: acceptVersion <accepted> is not the deployed version of <name> (<version>); read the run again`                                                                                                                                                                                                   | A redrive accepted against the version a person read is refused once another deploys: the body would otherwise run over rows of a version nobody accepted.                                                                                                                                                                                                                                                             | Read the run again and accept the version now deployed.                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0051 §15                                                          |
| `execute.accept_version_not_redrive`         | execute                                                                                                                       | Error                    | `run not started: acceptVersion: only the redrive by id may accept a version (operator/redrive.ts)`                                                                                                                                                                                                                 | Accepting a version rewrites the run's stored version at the claim; from any caller but the redrive there is no run to rewrite.                                                                                                                                                                                                                                                                                        | Pass acceptVersion through run.redrive from the console.                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0051 §15                                                          |
| `execute.cancel_on.invalid`                  | execute                                                                                                                       | Error                    | `run not started: <name>: <at> answered <given> over the input, not <wanted>`                                                                                                                                                                                                                                       | A match that answers no object, or a since that answers no moment, over the live input would arm a row with a spelling no fact makes, or a floor no clock reads, and the run would never be cancelled by its fact.                                                                                                                                                                                                     | Make match answer an object of the payload's plain fields and since a Date, an ISO string or null, over every input the definition takes; the verifier judges both over the example.                                                                                                                                                                                                                                                                                 | ADR-0076 FP-033                                                       |
| `execute.concurrency_key_not_string`         | execute                                                                                                                       | Error                    | `run not started: <name>: concurrency.key() must return a string`                                                                                                                                                                                                                                                   | A cap's match is <workflow>:<key>; a key that is not a string would be spelled into the match as its stored form and cap the wrong runs together.                                                                                                                                                                                                                                                                      | Return a string from concurrency.key, or leave the key out.                                                                                                                                                                                                                                                                                                                                                                                                          | ADR-0052 decision 5                                                   |
| `execute.idempotency_key`                    | execute                                                                                                                       | Error                    | `run not started: idempotencyKey: a producer's key is a non-empty string of at most <max> characters, not <given> (the start of <name>)`                                                                                                                                                                            | The producer's key is judged against its own row inside the statement that begins the run (ADR-0076 D06): an empty key or one over the bound would be a row nothing can name, refused before any run exists so nothing is written.                                                                                                                                                                                     | Hand execute(input, { idempotencyKey }) the request's own id (a webhook's delivery id, a client's request id), a non-empty string under the bound; a longer value is hashed by the caller, never passed whole.                                                                                                                                                                                                                                                       | ADR-0076 D06 (FP-026)                                                 |
| `execute.invalidate_not_redrive`             | execute                                                                                                                       | Error                    | `run not started: invalidate: only the redrive by id may invalidate steps (operator/redrive.ts)`                                                                                                                                                                                                                    | Invalidating completed steps undoes them through the saga's loop before the replay; from any caller but the redrive there is no run to undo in.                                                                                                                                                                                                                                                                        | Pass invalidate through run.redrive from the console.                                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0051 §12                                                          |
| `execute.key_not_string`                     | execute                                                                                                                       | Error                    | `run not started: <name>: key() must return a non-empty string`                                                                                                                                                                                                                                                     | An empty or non-string key names no intent; the key row could not be written and a resume could never find the run.                                                                                                                                                                                                                                                                                                    | Return a non-empty string from key (or use a field list, pure by construction).                                                                                                                                                                                                                                                                                                                                                                                      | ADR-0051 §1                                                           |
| `execute.key_reused`                         | execute                                                                                                                       | value                    | `the key names run <runId>, started under another input: put the field that differs in the key, or start under a new requestId`                                                                                                                                                                                     | A key hit resumes the stored run or answers its outcome; a second caller under the same key with another input (a field the key does not name) would read the first's result as its own, so the start is refused as a value before any resume and nothing is written.                                                                                                                                                  | Put the field that differs in the key (a field-list key names every field two starts must share), or start the intent under a new requestId; a row stored before the input hash existed, or the same input again, resumes as it always did.                                                                                                                                                                                                                          | ADR-0063 B20                                                          |
| `execute.redrive_ticket`                     | execute                                                                                                                       | Error                    | `run not started: redrive: not the ticket the redrive workflow minted (operator/redrive.ts)`                                                                                                                                                                                                                        | A redrive claims a FAILED run by id; a caller that forged the option could replay a failed run from code, which the console alone may do.                                                                                                                                                                                                                                                                              | Redrive from the console (run.redrive); a test takes a ticket from redriveTicketForTests().                                                                                                                                                                                                                                                                                                                                                                          | ADR-0041 item 5                                                       |
| `execute.secrets.shape`                      | execute                                                                                                                       | Error                    | `run not started: secrets[<secret>]: a secret on execute options is a Secret<string>, not <given> (the start of <name>)`                                                                                                                                                                                            | The secrets channel hands an attempt's steps a credential the stored input may never hold (ADR-0060 decision 7): a plain string there would be a credential in clear on every path that reads the options, and a body that revealed it would read a string's method off nothing; refused before any run exists, so nothing is written and the intent is started again with the value wrapped.                          | Wrap the value in Secret before handing it on execute options (execute(input, { actor, secrets: { token: new Secret(token) } })) and read it inside the step as i.secrets?.token, answering a value when it is undefined (a resumed attempt carries none).                                                                                                                                                                                                           | ADR-0060 decision 7                                                   |
| `execute.signal_name`                        | execute                                                                                                                       | Error                    | `run not started: signals[<index>]: a signal's name is a non-empty string (the start of <name>)`                                                                                                                                                                                                                    | A start's signal is emitted as the fact run.signalled keyed on its name once the run exists; an empty or a non-string name would key a fact nobody waits under, so it is refused before any run.                                                                                                                                                                                                                       | Name each signal of execute(input, { signals }) with the token the body's waitForApproval waits under.                                                                                                                                                                                                                                                                                                                                                               | ADR-0063 B05                                                          |
| `execute.tags_invalid`                       | execute                                                                                                                       | Error                    | `run not started: <name>: <finding>; tags is a string map of at most 16 tags, each value at most 64 characters`                                                                                                                                                                                                     | The tags are written with the run's insert and never rewritten; an answer over the bounds for this input would land a row the search cannot serve, so the run is refused before it exists.                                                                                                                                                                                                                             | Make tags answer a flat map of at most 16 string values of at most 64 characters each for every input, or leave the field out.                                                                                                                                                                                                                                                                                                                                       | ADR-0063 B33                                                          |
| `execute.ttl`                                | execute                                                                                                                       | Error                    | `run not started: ttl: a key's window is a duration ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d") above zero and at most <max>, not <ttl> (the start of <name>)`                                                                                                                                                      | A window off the grammar, at zero or past thirty days would hold the producer's key for a span no platform's dedupe admits (SQS FIFO and EventBridge five minutes, Inngest and Restate a day, Trigger.dev thirty days), so it is refused before any run exists.                                                                                                                                                        | Spell ttl as "5m", "24h" or "30d" (24h when left out), never longer than 30d, beside the idempotencyKey it bounds.                                                                                                                                                                                                                                                                                                                                                   | ADR-0076 D06 (FP-026)                                                 |
| `execute.ttl.without_key`                    | execute                                                                                                                       | Error                    | `run not started: ttl <ttl> names a window with no idempotencyKey to hold (the start of <name>)`                                                                                                                                                                                                                    | A ttl alone would be silently ignored, and the caller would believe a start it meant to deduplicate was; refused before any run exists.                                                                                                                                                                                                                                                                                | Pass idempotencyKey beside ttl, or leave both out (the definition's key alone collapses a start while its run row lives).                                                                                                                                                                                                                                                                                                                                            | ADR-0076 D06 (FP-026)                                                 |
| `external.desired_carries_provider_id`       | defineExternalStep                                                                                                            | StepError                | `desired image carries the providerIdKey "<key>": the provider's id is identity, not state`                                                                                                                                                                                                                         | The provider's id is read off the image under providerIdKey as the resource's identity (the step's providerId); a desired image that spells it would write identity as state and a compare would never find the world at desired.                                                                                                                                                                                      | Leave the provider's id out of desired; the write answers it and the image carries it.                                                                                                                                                                                                                                                                                                                                                                               | ADR-0041 item 6                                                       |
| `external.needs.exceeds_invocation`          | ctx.step, defineExternalStep                                                                                                  | StepError                | `<step>: an external step with no needs starts with two calls, <needsMs> ms (2 × the spec's timeoutMs <timeoutMs> ms), more than one invocation holds for a step (userStepMaxMs <userStepMaxMs>: the function limit less the platform's reserve)`                                                                   | A spec whose timeoutMs is over half of userStepMaxMs passes the timeout's own door, and its derived default need never fits an invocation: the park before the step would park the run on a continue row at every wake, a run that never fails and never completes, one run.parked_before_kill line per tick.                                                                                                          | Declare needs between the spec's timeoutMs and userStepMaxMs (a non-idempotent spec's at or above its timeoutMs), keep the spec's timeoutMs at or under half of userStepMaxMs, or split the call.                                                                                                                                                                                                                                                                    | ADR-0066 D06; FW-020                                                  |
| `external.timeout.exceeds_invocation`        | defineExternalStep                                                                                                            | StepError                | `<step>: the spec's timeoutMs <timeoutMs> is more than one invocation holds for a step (userStepMaxMs <userStepMaxMs>: the function limit less the platform's reserve)`                                                                                                                                             | A call's window past the invocation could never be waited out: the platform kills the function first, and a non-idempotent intent inside that window is read as possibly in flight on every attempt.                                                                                                                                                                                                                   | Keep the spec's timeoutMs at or under userStepMaxMs (the default EXTERNAL_CALL_TIMEOUT_MS is a provider's minute), or split the call.                                                                                                                                                                                                                                                                                                                                | ADR-0066 D06                                                          |
| `fanout.child.capped`                        | ctx.fanOut                                                                                                                    | TypeError                | `<name>: <workflow> declares a concurrency cap, and a fan-out's children are born parked and woken by the resumer, which admits no cap; the fan-out's concurrency is their bound`                                                                                                                                   | A child woken through the resumer's claim counts under no slot, so the workflow's cap would be passed by every child; refused rather than a cap silently ignored.                                                                                                                                                                                                                                                      | Fan out a child workflow without `concurrency` (the fan-out's `concurrency` bounds the children in flight), or start the capped runs through `.execute()` one by one.                                                                                                                                                                                                                                                                                                | ADR-0076 FP-037                                                       |
| `fanout.chunk`                               | ctx.fanOut                                                                                                                    | TypeError                | `<name>: chunk must be a positive integer at or under <max>, got <given>`                                                                                                                                                                                                                                           | A chunk is one statement's bound arrays; an empty one inserts nothing forever and one past the ceiling is a round trip the driver cannot carry.                                                                                                                                                                                                                                                                        | Spell chunk as a positive integer at or under 1 000 (500 when absent).                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0076 FP-037                                                       |
| `fanout.concurrency`                         | ctx.fanOut                                                                                                                    | TypeError                | `<name>: concurrency must be a positive integer, got <given>`                                                                                                                                                                                                                                                       | Zero children in flight would never land, and a fraction counts no child.                                                                                                                                                                                                                                                                                                                                              | Spell concurrency as a positive integer (8 when absent).                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0076 FP-037                                                       |
| `fanout.concurrency.max`                     | ctx.fanOut                                                                                                                    | TypeError                | `<name>: concurrency <given> is above <max>`                                                                                                                                                                                                                                                                        | Every child in flight holds a store verb under the pool gate; above the ceiling the gate's permits are all the resumer's and the tick's other work starves.                                                                                                                                                                                                                                                            | Keep concurrency at or under the ceiling (32).                                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0076 FP-037                                                       |
| `fanout.inputs.key_duplicate`                | ctx.fanOut                                                                                                                    | TypeError                | `<name>: inputs <first> and <second> key to the same child run <key>; every child of a fan-out is its own intent`                                                                                                                                                                                                   | Two inputs under one key would insert one run (the key's insert-if-absent lands the first and skips the second), and the join, counting both, would wait for a child that never existed.                                                                                                                                                                                                                               | Give each input the fields the child's key reads so no two inputs spell one key (an index, an id), or drop the duplicate before the fan-out.                                                                                                                                                                                                                                                                                                                         | ADR-0076 FP-037                                                       |
| `fanout.inputs.max`                          | ctx.fanOut                                                                                                                    | TypeError                | `<name>: <given> inputs is over the <max> children one fan-out starts`                                                                                                                                                                                                                                              | The join's counters, the chunk statements and the resumer's drain are sized for the ceiling (Step Functions' Distributed Map's 10 000); a longer list would hold the parent's attempt inserting past its budget.                                                                                                                                                                                                       | Split the list into fan-outs of at most FANOUT_CHILDREN_MAX children, one after another, or make each child take a slice.                                                                                                                                                                                                                                                                                                                                            | ADR-0076 FP-037                                                       |
| `fanout.inputs.shape`                        | ctx.fanOut                                                                                                                    | TypeError                | `<name>: the inputs are <given>; a fan-out takes a non-empty array of the child workflow's inputs`                                                                                                                                                                                                                  | A fan-out of nothing would park the run on a join with 0 remaining and nothing to fire it, and a value that is no list cannot be chunked into children.                                                                                                                                                                                                                                                                | Hand an array with at least one input; a list that may be empty is judged by the body before the fan-out (skip it, or answer the empty outcome yourself).                                                                                                                                                                                                                                                                                                            | ADR-0076 FP-037                                                       |
| `fanout.inside_all`                          | ctx.fanOut                                                                                                                    | Error                    | `<name>: ctx.fanOut inside ctx.all's member "<member>" is refused; the join parks the run, and a member cannot park the run while its siblings still write`                                                                                                                                                         | The join parks the run WAITING in one transaction; a sibling member's step completing after it would be fenced on the moved status, its body run and its row never completed, so the wake would run it again.                                                                                                                                                                                                          | Fan out before or after the all, from the body.                                                                                                                                                                                                                                                                                                                                                                                                                      | ADR-0076 FP-037                                                       |
| `fanout.inside_batch`                        | ctx.fanOut                                                                                                                    | Error                    | `<name>: ctx.fanOut while the batch <batch> is open on this attempt is refused; the join parks the run, and a batch parks only between its waves`                                                                                                                                                                   | A batch's wave holds chunks in flight under the attempt's one lease; the join's park would move the run WAITING under them, fencing every chunk's completion.                                                                                                                                                                                                                                                          | Fan out before the batch or after it returns; a chunk's body runs under a step scope and is refused by fanout.inside_step.                                                                                                                                                                                                                                                                                                                                           | ADR-0076 FP-037                                                       |
| `fanout.inside_step`                         | ctx.fanOut                                                                                                                    | Error                    | `<name>: ctx.fanOut inside the step <step> is refused; a fan-out is a step of its own (the join wait) and runs from the body between steps`                                                                                                                                                                         | A step served from its row never runs its closure, so a fan-out started inside one would start its children on the attempt that ran the body alone and park nothing on a replay; a batch chunk and a hook handler run under the same step scope.                                                                                                                                                                       | Call ctx.fanOut from the run body, after the step returns, never inside a step's body, a batch chunk or a hook handler.                                                                                                                                                                                                                                                                                                                                              | ADR-0076 FP-037                                                       |
| `fanout.key.taken`                           | ctx.fanOut                                                                                                                    | StepError                | `<step>: the child key <key> is owned by the run <runId>, which is no child of this fan-out; a fan-out's children are its own runs`                                                                                                                                                                                 | A key another run owns lands no child (the insert-if-absent skips it) and that run's landing never decrements this join, so the parent would wait for a child it does not have.                                                                                                                                                                                                                                        | Key the children on an identifier of this fan-out (the parent's request id in each input) so they never collide with another run's, or let the intent that owns the key finish and undo it first.                                                                                                                                                                                                                                                                    | ADR-0076 FP-037                                                       |
| `fanout.on_fail`                             | ctx.fanOut                                                                                                                    | TypeError                | `<name>: onFail is "throw" (the default) or "return", not <given>`                                                                                                                                                                                                                                                  | Any other word would leave a failed join neither thrown nor handed back.                                                                                                                                                                                                                                                                                                                                               | Say onFail: "return" to take a failed join as a value ({ total, done, failed, failedIds }), or leave it out to throw JoinFailed and compensate.                                                                                                                                                                                                                                                                                                                      | ADR-0076 FP-037                                                       |
| `fanout.option.unknown`                      | ctx.fanOut                                                                                                                    | TypeError                | `<name>: ctx.fanOut takes no option "<key>" (the options are <known>); a mis-spelled option past the type would be ignored`                                                                                                                                                                                         | A tolerance or a concurrency under a mis-spelled key would be silently the default, and the join judged on another count than the author meant.                                                                                                                                                                                                                                                                        | Spell the option as the door names it (concurrency, tolerate, chunk, onFail, actor, name, id) and drop a key the door does not take.                                                                                                                                                                                                                                                                                                                                 | ADR-0076 FP-037                                                       |
| `fanout.tolerate`                            | ctx.fanOut                                                                                                                    | TypeError                | `<name>: tolerate must be a non-negative integer or a percentage ("5%"), got <given>`                                                                                                                                                                                                                               | A tolerance the park cannot fold into a count would leave the join's `tolerated` undecided and the fire judged on nothing.                                                                                                                                                                                                                                                                                             | Spell tolerate as a count (tolerate: 2) or a percentage of the total (tolerate: "5%", folded down at the park); leave it out for none.                                                                                                                                                                                                                                                                                                                               | ADR-0076 FP-037                                                       |
| `hook.call.undeclared`                       | ctx.hook                                                                                                                      | StepError                | `hook:<hook>: <workflow> declares no hook "<hook>" (declared: <declared>); name the hook under the definition's hooks before the body calls it`                                                                                                                                                                     | A hook the definition does not declare has no registrar, so no module could ever extend it, and the catalog could not list what the body offers; a typo in the body would run an empty hook for good.                                                                                                                                                                                                                  | Add the hook to the definition's hooks ({ <name>: { input: as<I>(), output?: as<O>() } }) and call ctx.hook with the declared name; the type refuses an undeclared name, so this is a cast's.                                                                                                                                                                                                                                                                        | ADR-0063 Appendix M U1                                                |
| `hook.handler.answer`                        | ctx.hook                                                                                                                      | StepError                | `hook:<hook>: handler "<handler>" answered <given>; a handler answers an object (merged shallowly into the hook's output) or nothing`                                                                                                                                                                               | The hook's output is the handlers' answers merged by key; a string or an array has no keys to merge and would be lost or spread into indexes, and the next handler's answer could not join it.                                                                                                                                                                                                                         | Return an object with the fields the hook's output declares, or nothing; the handler's row stands COMPLETED with its undo registered, and the saga undoes it with the rest.                                                                                                                                                                                                                                                                                          | ADR-0063 Appendix M U1                                                |
| `hook.handler.body`                          | workflow.hooks.<name>                                                                                                         | TypeError                | `<workflow>.hooks.<hook>("<handler>"): the handler is not a function`                                                                                                                                                                                                                                               | A registration without a body would land a step row the saga cannot invoke, failing every run of the workflow at the hook.                                                                                                                                                                                                                                                                                             | Pass the handler as the second argument: async (input, i) => { … }, answering an object (merged into the hook's output) or nothing.                                                                                                                                                                                                                                                                                                                                  | ADR-0063 Appendix M U1                                                |
| `hook.handler.declares`                      | workflow.hooks.<name>                                                                                                         | TypeError                | `<workflow>.hooks.<hook>("<handler>"): a handler declares undo or irreversible`                                                                                                                                                                                                                                     | A handler whose options carry neither has no answer for a failure after it: the saga could neither undo it nor say why not (the inline step's rule, ADR-0060 decision 2).                                                                                                                                                                                                                                              | Pass { undo, effect } or { irreversible: '<reason>' } as the handler's third argument.                                                                                                                                                                                                                                                                                                                                                                               | ADR-0063 Appendix M U1                                                |
| `hook.handler.name`                          | workflow.hooks.<name>                                                                                                         | TypeError                | `<workflow>.hooks.<hook>: handler name <given> is not of the grammar <pattern>`                                                                                                                                                                                                                                     | A handler's name is spelled into its step name (hook:<hook>#<handler>) and the id it derives under the hook's (<id>#<handler>); a name carrying # or : would collide with a chunk's or a park's derived id and the memo could serve one's row for the other.                                                                                                                                                           | Name the handler with letters, digits, dots, underscores and hyphens (the module or plugin that registers it, say).                                                                                                                                                                                                                                                                                                                                                  | ADR-0063 Appendix M U1                                                |
| `hook.input.shape`                           | ctx.hook                                                                                                                      | StepError                | `hook:<hook>: the hook's input is <given>, not an object; a hook's input is an object the handlers read and the rows store`                                                                                                                                                                                         | The hook's row and every handler's row store the input and merge the context into it; a primitive would be spread into characters and hashed as nothing a replay could match.                                                                                                                                                                                                                                          | Pass the hook's input as an object ({ ids }), and declare it so (input: as<{ ids: string[] }>()).                                                                                                                                                                                                                                                                                                                                                                    | ADR-0063 Appendix M U1                                                |
| `hook.output.invalid`                        | ctx.hook                                                                                                                      | StepError                | `hook:<hook>: the handlers' merged answer fails the declared output: <message>`                                                                                                                                                                                                                                     | A body that read a hook's output off its declared shape would act on a field a handler misspelled or mistyped; the declaration is the contract between the body and every extender.                                                                                                                                                                                                                                    | Make every handler answer fields of the declared output (the schema's message names the field), or widen the declaration where the hook's contract changed.                                                                                                                                                                                                                                                                                                          | ADR-0063 Appendix M U1                                                |
| `hook.undeclared`                            | workflow.hooks.<name>                                                                                                         | TypeError                | `<workflow>.hooks.<hook>: the definition declares no such hook (declared: <declared>); a handler registers on a hook the definition names under hooks`                                                                                                                                                              | A handler on a hook the body never calls would register a row nobody walks: its undo would never join a compensation and its effect never happen, while the catalog listed it as an extension.                                                                                                                                                                                                                         | Declare the hook on the definition (hooks: { <name>: { input: as<I>() } }) and call it in the body with ctx.hook, or register the handler on a hook the definition declares.                                                                                                                                                                                                                                                                                         | ADR-0063 Appendix M U1                                                |
| `input.unstorable`                           | execute, ctx.child                                                                                                            | UnstorableInput          | `run not started: <workflow>: the input carries <what> at <path>; <remedy>`                                                                                                                                                                                                                                         | Every attempt after the first reads the stored form of the input, where a client, a secret, a function, a Date, a Map, a Set, a bigint, bytes, a promise, an Error or a cycle does not survive: attempt 2 would read undefined, a string or {} where attempt 1 read the value.                                                                                                                                         | Put plain data in the input (ISO strings, arrays, decimal strings), hand a client on execute options as client, and read a secret inside the step; the finding's own remedy says which.                                                                                                                                                                                                                                                                              | ADR-0060 decision 7                                                   |
| `key.read.input_too_large`                   | readKey                                                                                                                       | value                    | `<workflow>: the input exceeds <max> characters once stored; a run whose stored input is truncated is stored not resumable`                                                                                                                                                                                         | The run store caps a stored input, and a truncated stored form keys to another string than the live input, so the resumer and the redrive would never find the run again.                                                                                                                                                                                                                                              | Shrink the input to what the run needs: an id, a request id and the fields the key and the steps read; the rest is read inside a step.                                                                                                                                                                                                                                                                                                                               | ADR-0060 decision 13                                                  |
| `key.read.key_threw`                         | readKey                                                                                                                       | value                    | `<workflow>: key(<over>) threw: <message>`                                                                                                                                                                                                                                                                          | A key that throws over an input throws at execute too, before any run exists (a part the policy redacts, a field read off undefined), and one that throws over the stored input alone would strand the run at its first resume.                                                                                                                                                                                        | Give the input the fields the key reads, as plain data; a part that holds a secret never names an intent (workflow.key.secret_part).                                                                                                                                                                                                                                                                                                                                 | ADR-0060 decision 13                                                  |
| `key.read.resolver_invalid`                  | readKey                                                                                                                       | value                    | `<workflow>: <what>(input) <finding>`                                                                                                                                                                                                                                                                               | The scope, scopeId and summary resolvers answer at execute and again over the stored input at every resume and redrive; one that throws or answers the wrong shape refuses the run before it exists.                                                                                                                                                                                                                   | Make scope and scopeId answer a string or null and summary a value, each over the input's stored fields; a partition field is a string or absent.                                                                                                                                                                                                                                                                                                                    | ADR-0060 decision 13                                                  |
| `key.read.secret_part`                       | readKey                                                                                                                       | value                    | `<workflow>: the key reads <part>, which the policy redacts; a key never carries a secret, so the key is not answered`                                                                                                                                                                                              | A function key that spells a part the policy redacts would print the secret in clear on the CLI's stdout, the route's wire and the agent's context, and the run it names keys on the placeholder once stored, so two secrets would be one intent; the key-part door refuses a field list the same way before any string is built.                                                                                      | Key on a plain identifier of the intent and hand the secret on execute options or read it inside the step.                                                                                                                                                                                                                                                                                                                                                           | ADR-0060 decision 13                                                  |
| `key.read.unknown_workflow`                  | readKey                                                                                                                       | value                    | `unknown workflow <name>: no registered definition carries the name (<registered> registered; the catalog lists them)`                                                                                                                                                                                              | A name the registry has not is a module the manifest never loaded, a misspelling or another deployment's workflow, so a key computed under it would name an intent nothing can run.                                                                                                                                                                                                                                    | Ask under a registered name: durable-sdk doctor --definitions and GET catalog/workflows list every definition this deployment knows.                                                                                                                                                                                                                                                                                                                                 | ADR-0060 decision 13                                                  |
| `lightweight.batch`                          | ctx.batch                                                                                                                     | StepError                | `<name>: a batch inside a lightweight run is refused; its chunks are step rows and its wave parks the run, neither of which a lightweight run has`                                                                                                                                                                  | A batch writes one step row per chunk with the chunk's intents and parks the run on its wave's refusals; a lightweight run writes no row and parks on nothing, so a chunk's progress would be lost at every crash and the whole batch re-run.                                                                                                                                                                          | Take lightweight: true off a definition that batches, or let the lightweight run start the batching workflow with .execute().                                                                                                                                                                                                                                                                                                                                        | ADR-0076 FP-038                                                       |
| `lightweight.cancel_scheduled`               | ctx.cancelScheduled                                                                                                           | Error                    | `cancelScheduled(<key>): a lightweight run makes no recorded write, and a cancel is one on the step's row`                                                                                                                                                                                                          | A cancel of a scheduled fact is a recorded write under the step's row (ADR-0050 amendment 2026-09-28); a lightweight run has no row, so the cancel would land with nothing to reconcile it from and be made again on the re-run.                                                                                                                                                                                       | Take lightweight: true off a definition that cancels a scheduled fact, or let the lightweight run start a keyed workflow with .execute() that cancels it.                                                                                                                                                                                                                                                                                                            | ADR-0076 FP-038                                                       |
| `lightweight.child`                          | ctx.child                                                                                                                     | StepError                | `<name>: a child (<child>) inside a lightweight run is refused; the parent would park on the child's end with no step row to resume from`                                                                                                                                                                           | A child parks the parent on a child wait bound to the parent's step row and hands the child's outcome back on the wake; a lightweight parent has no row, so the wake would start the child again under the same key and read nothing.                                                                                                                                                                                  | Start the child with .execute() (its own keyed run, its outcome a value or a fact the lightweight run does not wait on), or take lightweight: true off the parent.                                                                                                                                                                                                                                                                                                   | ADR-0076 FP-038                                                       |
| `lightweight.handlers`                       | defineWorkflow                                                                                                                | Error                    | `<name>: a lightweight definition declares no <which>; the state a query reads is written at every step boundary and an update's door is a step row the route long-polls for, neither of which a lightweight run has`                                                                                               | A query over a lightweight run would answer the state the row carried at its start (no boundary of such a run writes one, the landing alone does), and ctx.updates() would run as a read kept in memory with no door row for the route to find, so a caller's update would wait for a landing that never comes; refused at definition, so the boot sees it, rather than answered wrong.                                | Take queries and updates off the lightweight definition (answer the question off the run's output, or start a durable workflow with .execute() for the part that answers queries and takes updates), or take lightweight: true off it.                                                                                                                                                                                                                               | ADR-0076 FP-038 (over FP-031)                                         |
| `lightweight.hook.handlers`                  | ctx.hook                                                                                                                      | StepError                | `hook:<hook>: <handlers> handler(s) registered on <workflow>'s hook inside a lightweight run; a handler is a step with an undo or a reason, which a lightweight run refuses`                                                                                                                                        | A hook's handlers run as steps of the calling run, each declaring an undo or a reason (ADR-0063 Appendix M U1) and landing its own row; a lightweight run writes no row and undoes nothing, so a handler's effect would double on the re-run.                                                                                                                                                                          | Take lightweight: true off a definition whose hooks carry handlers, or keep the lightweight run's hooks handler-free (a hook with none is a read step of its own).                                                                                                                                                                                                                                                                                                   | ADR-0076 FP-038                                                       |
| `lightweight.patch`                          | ctx.patched, ctx.deprecatePatch                                                                                               | Error                    | `<name>: <verb>("<id>") inside a lightweight run is refused; a patch marker is a step row such a run never writes, and nothing of it replays, so there is no old branch to keep`                                                                                                                                    | A patch is judged from the run's rows (the marker's, or another step's at that seq); a lightweight run has none and re-runs whole, so ctx.patched would answer true on every attempt and ctx.deprecatePatch would count every open lightweight run as one without the marker, refusing for ever.                                                                                                                       | Change the lightweight body outright (a deploy over a lightweight run in flight re-runs it whole under the new body: nothing of the old attempt replays), or take lightweight: true off a definition that must carry both branches.                                                                                                                                                                                                                                  | ADR-0076 FP-038 (over FP-034)                                         |
| `lightweight.poll`                           | ctx.poll                                                                                                                      | StepError                | `<name>: a poll inside a lightweight run is refused; it sleeps between its probes, and a lightweight run has no step row to sleep on`                                                                                                                                                                               | A poll's probes are step rows and its sleeps are timer waits bound to them (ADR-0050 decision 4); a lightweight run has neither, so the first sleep would park a run whose wake re-runs the body from its start.                                                                                                                                                                                                       | Take lightweight: true off a definition that polls, or read once inside a step and let a scheduled or keyed workflow started with .execute() poll.                                                                                                                                                                                                                                                                                                                   | ADR-0076 FP-038                                                       |
| `lightweight.step.declares`                  | ctx.step                                                                                                                      | StepError                | `<step>: a lightweight run's step declares no undo and no irreversible reason (every step is a read kept in memory, the run re-run whole after a crash), not <declared>`                                                                                                                                            | A lightweight run writes no step row, so nothing replays: a resumed attempt runs every step again. A step declaring an undo or a reason says it changed the world, and that change would double on the re-run with no row to reconcile it from and no rollback to undo it.                                                                                                                                             | Make the step a read (drop undo, irreversible, effect and completion: ctx.step(name, body) or ctx.step(name, body, { id, retry, timeout, needs, onFail })), or take lightweight: true off the definition and declare the step's undo or reason as on any run.                                                                                                                                                                                                        | ADR-0076 FP-038                                                       |
| `lightweight.updates`                        | ctx.updates                                                                                                                   | StepError                | `<name>: ctx.updates() inside a lightweight run is refused; the door is a step row the route long-polls for, which such a run never writes`                                                                                                                                                                         | The updates door is a derived step whose row carries what it applied (the route's long-poll reads it, the next attempt skips what it applied); a lightweight run writes no step row, so the door would apply nothing the route can find and the next attempt would apply it again.                                                                                                                                     | Take the ctx.updates() call out of the lightweight body (a lightweight definition declares no updates, lightweight.handlers), or take lightweight: true off the definition.                                                                                                                                                                                                                                                                                          | ADR-0076 FP-038 (over FP-031)                                         |
| `lightweight.wait`                           | ctx.sleep, ctx.sleepUntil, ctx.waitFor, ctx.waitForApproval                                                                   | StepError                | `<name>: a <kind> wait inside a lightweight run is refused; the run has no step row to park on and its wake re-runs the body whole`                                                                                                                                                                                 | A wait parks the run on a wait row bound to the step's row and replays the wait's outcome from it on the wake (ADR-0050 decision 3); a lightweight run has no step row, so the wake would find no outcome to serve and run the body again up to the same wait, for good.                                                                                                                                               | Take lightweight: true off a definition that waits, or split the wait out: let the lightweight run start a keyed workflow with .execute() that sleeps, waits for the fact or the approval.                                                                                                                                                                                                                                                                           | ADR-0076 FP-038                                                       |
| `lightweight.write`                          | ctx.step, recordedWrite, defineExternalStep                                                                                   | StepError                | `<step>: <what> inside a lightweight run is refused; the run writes no step row to hold the intent and appends no ledger row, and a crash re-runs it whole`                                                                                                                                                         | A recorded write persists its intent on the step row before the call and its ledger row after it, the pair the next attempt reconciles the write from (ADR-0041 item 6); a lightweight run has no row for either, so the write would land with nothing to reconcile it and the re-run would make it again.                                                                                                             | Take lightweight: true off a definition that writes (its steps then carry their rows and intents as on any run), or keep the lightweight run to reads and let a keyed workflow it starts with .execute() make the write.                                                                                                                                                                                                                                             | ADR-0076 FP-038                                                       |
| `listener.batch.max_size`                    | on                                                                                                                            | TypeError                | `on(<name>): batch.maxSize must be a positive integer, got <given>`                                                                                                                                                                                                                                                 | A slice of zero rows never forms and the partition never moves; a fraction reads a slice no claim can cut.                                                                                                                                                                                                                                                                                                             | Spell maxSize as a positive integer.                                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0052 decision 3                                                   |
| `listener.batch.max_wait`                    | on                                                                                                                            | TypeError                | `on(<name>): batch.maxWait must be a duration ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d", zero admitted), got <given>; maxWaitMs (a finite number of milliseconds, zero and up) is the deprecated spelling`                                                                                                         | A short slice waits maxWait since its head's moment before it delivers; a negative or infinite wait, a bare number or a word would deliver never or always.                                                                                                                                                                                                                                                            | Spell maxWait as a duration ("5s"), zero and up.                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0052 decision 3; ADR-0064 P15                                     |
| `listener.batch.second`                      | on                                                                                                                            | TypeError                | `on(<name>): <event> already has the batch listener <other>; an event has one batch listener, since a slice's one run pins which rows its marks land on`                                                                                                                                                            | A slice is keyed on its head and the run found under that key names the rows it reacted to; a second batch run over the same head could name another membership, and the row's one delivered mark would then double one listener's reaction or lose the other's.                                                                                                                                                       | Make the second reaction a step of the first batch listener's run, or a listener (batch or not) on a fact the first emits; a listener without batch on the same event is delivered per row inside the slice as before.                                                                                                                                                                                                                                               | ADR-0052 decision 3 as landed 2026-10-08, FW-004                      |
| `listener.batch.shape`                       | on                                                                                                                            | TypeError                | `on(<name>): batch must be { maxSize, maxWait }, got <given>`                                                                                                                                                                                                                                                       | A batch window that is not an object sizes no slice; the dispatcher would claim nothing or everything.                                                                                                                                                                                                                                                                                                                 | Write batch: { maxSize: <n>, maxWait: "<n>s" }.                                                                                                                                                                                                                                                                                                                                                                                                                      | ADR-0052 decision 3                                                   |
| `listener.concurrency.key`                   | on                                                                                                                            | TypeError                | `on(<name>): concurrency.key must be a function of the payload, got <given>`                                                                                                                                                                                                                                        | A key that is no function would be read as none, and every run of the listener would share one cap where the registration meant one per tenant.                                                                                                                                                                                                                                                                        | Write key: (payload) => payload.accountId (a pure function of the payload), or leave key out for one cap per listener.                                                                                                                                                                                                                                                                                                                                               | ADR-0076 FP-028                                                       |
| `listener.concurrency.max`                   | on                                                                                                                            | TypeError                | `on(<name>): concurrency.max must be a positive integer, got <given>`                                                                                                                                                                                                                                               | A cap of zero would park every run for a slot that never frees; a fraction or a word would cap at nothing.                                                                                                                                                                                                                                                                                                             | Spell max as a whole number of at least 1.                                                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0076 FP-028                                                       |
| `listener.concurrency.shape`                 | on                                                                                                                            | TypeError                | `on(<name>): concurrency must be { max, key? }, got <given>`                                                                                                                                                                                                                                                        | A cap that is no object caps nothing while the registration reads as if the listener ran one at a time.                                                                                                                                                                                                                                                                                                                | Write concurrency: { max: 1 } or { max: 4, key: (payload) => payload.accountId }.                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0076 FP-028                                                       |
| `listener.concurrency.with_batch`            | on                                                                                                                            | TypeError                | `on(<name>): concurrency beside batch on <event> is refused; a slice's one run is keyed on its head, and a cap would park a slice whose rows its siblings' slices then re-form`                                                                                                                                     | A batch listener's run parked for a slot would hold its slice's claim through the park and the next tick would re-form the slice under the same key against a WAITING run.                                                                                                                                                                                                                                             | Cap the work inside the batch listener's body (a ctx.all with concurrency, a smaller maxSize), or make the listener a one-fact one with the cap.                                                                                                                                                                                                                                                                                                                     | ADR-0076 FP-028                                                       |
| `listener.describe.missing`                  | on                                                                                                                            | TypeError                | `on(<name>): no describe under definitions: "strict"; add describe: one sentence, what the listener does on <event>`                                                                                                                                                                                                | A listener without its sentence is an edge of the reaction graph nobody can read: the catalog, the doctor and the graph would show a name and nothing of what reacting to the fact means.                                                                                                                                                                                                                              | Add describe: one sentence, what the listener does, to the registration's options.                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0063 B23                                                          |
| `listener.key.reads_clock`                   | on                                                                                                                            | TypeError                | `on(<name>): <option>.key reads the clock or randomness; a key is a pure function of the payload`                                                                                                                                                                                                                   | A key valued from the clock or randomness names a new window, bucket or slot on every call, so nothing ever folds, caps or throttles and the rows under it are never found again.                                                                                                                                                                                                                                      | Key on the payload's fields alone (payload.accountId, payload.code); the moment is the row's own.                                                                                                                                                                                                                                                                                                                                                                    | ADR-0076 FP-028; ADR-0076 FP-029                                      |
| `listener.option.alias`                      | on                                                                                                                            | TypeError                | `on(<name>): batch.<alias> and batch.<canonical> are one value, spelled twice; keep <canonical> (<alias> is the deprecated spelling, admitted alone one release)`                                                                                                                                                   | Two spellings of one window on a registration would make the dispatcher wait by whichever the engine read, not what the author read on the other line.                                                                                                                                                                                                                                                                 | Keep batch: { maxSize: <n>, maxWait: "<n>s" } alone.                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0064 P15                                                          |
| `listener.option.unknown`                    | on                                                                                                                            | TypeError                | `on(<name>): no option "<key>" (the options are <known>); a mis-spelled option past the type would be ignored`                                                                                                                                                                                                      | A registration built past the type carrying a mis-spelled option (a window under another name, a relay policy under another key) was silently ignored, so a listener ran per fact that its author believed batched, or executed a copy it believed recorded.                                                                                                                                                           | Spell the option as on() names it (relay, describe, batch: { maxSize, maxWait }, retry: { maxReceiveCount, backoff, maxAge }, concurrency: { max, key }, debounce: { key, period, mode, maxDelay }, throttle: { limit, period, burst, key }) and drop a key on() does not take.                                                                                                                                                                                      | ADR-0064 P15                                                          |
| `listener.priority.bound`                    | on                                                                                                                            | TypeError                | `on(<name>): priority <given> is not an integer of seconds in −<max>…<max>; a listener's priority is the default of the facts its runs emit, never a place in the rows it is handed`                                                                                                                                | A listener's priority off the grammar would fail its every run at the first fact the body emits instead of the registration naming it; and a priority a listener could give the rows it receives would reorder a partition under a reaction, which the row's emitter alone decides.                                                                                                                                    | Spell priority as an integer of seconds within ±600 on the registration, or leave it out; a priority on the rows a listener receives is the emitter's (emit, ctx.emit, defineWorkflow).                                                                                                                                                                                                                                                                              | ADR-0076 D06 (FP-025)                                                 |
| `listener.retry.backoff`                     | on                                                                                                                            | TypeError                | `on(<name>): retry.backoff must be { base, factor?, max } with base and max durations above zero ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d"), max at least base and factor at least 1, got <given>`                                                                                                                 | A ladder whose cap is under its base, or whose factor shrinks, would retry a row faster on every failure, and a bare number or a word would wait never or always.                                                                                                                                                                                                                                                      | Write backoff: { base: "15s", factor: 2, max: "10m" } (the engine's own ladder), or leave backoff out for it.                                                                                                                                                                                                                                                                                                                                                        | ADR-0076 FP-028                                                       |
| `listener.retry.max_age`                     | on                                                                                                                            | TypeError                | `on(<name>): retry.maxAge must be a duration of at least a minute ("<n>m", "<n>h" or "<n>d"), got <given>`                                                                                                                                                                                                          | An age under the cron tick's precision would exhaust every row that waited one backoff; a bare number or a word would exhaust every row at once or never.                                                                                                                                                                                                                                                              | Spell maxAge as a duration of at least a minute ("1h", "1d"), or leave it out for no age limit.                                                                                                                                                                                                                                                                                                                                                                      | ADR-0076 FP-028                                                       |
| `listener.retry.max_receive_count`           | on                                                                                                                            | TypeError                | `on(<name>): retry.maxReceiveCount must be a positive integer at most <max>, got <given>`                                                                                                                                                                                                                           | A count of zero would exhaust a row before any attempt, a fraction or a word would exhaust it never or always, and one past EventBridge's ceiling would hold a partition for weeks of backoffs.                                                                                                                                                                                                                        | Spell maxReceiveCount as a whole number from 1 to 185 (SQS's default is 10, the engine's 8), or leave it out for MAX_ATTEMPTS.                                                                                                                                                                                                                                                                                                                                       | ADR-0076 FP-028                                                       |
| `listener.retry.shape`                       | on                                                                                                                            | TypeError                | `on(<name>): retry must be { maxReceiveCount?, backoff?, maxAge? }, got <given>`                                                                                                                                                                                                                                    | A retry policy that is no object names no count, no ladder and no age; the row would exhaust under the engine's defaults while the registration reads as if it had its own.                                                                                                                                                                                                                                            | Write retry: { maxReceiveCount: 3, backoff: { base: "15s", max: "10m" }, maxAge: "1h" }, each part optional; leave retry out for the engine's constants.                                                                                                                                                                                                                                                                                                             | ADR-0076 FP-028                                                       |
| `listener.throttle.burst`                    | on                                                                                                                            | TypeError                | `on(<name>): throttle.burst must be a positive integer, got <given>`                                                                                                                                                                                                                                                | A burst of zero is a bucket that holds no token and refuses every run; a fraction or a word would hold none or every run.                                                                                                                                                                                                                                                                                              | Spell burst as a whole number of at least 1 (the bucket's depth), or leave it out for the limit.                                                                                                                                                                                                                                                                                                                                                                     | ADR-0076 FP-029                                                       |
| `listener.throttle.key`                      | on                                                                                                                            | TypeError                | `on(<name>): throttle.key must be a function of the payload, got <given>`                                                                                                                                                                                                                                           | A key that is no function would be read as none, and every row of the listener would share one bucket where the registration meant one per tenant.                                                                                                                                                                                                                                                                     | Write key: (payload) => payload.accountId (a pure function of the payload), or leave key out for one bucket per listener.                                                                                                                                                                                                                                                                                                                                            | ADR-0076 FP-029                                                       |
| `listener.throttle.limit`                    | on                                                                                                                            | TypeError                | `on(<name>): throttle.limit must be a positive integer, got <given>`                                                                                                                                                                                                                                                | A limit of zero would refuse every run and park every row until a token that never comes; a fraction or a word would refuse none.                                                                                                                                                                                                                                                                                      | Spell limit as a whole number of at least 1 (the runs per period).                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0076 FP-029                                                       |
| `listener.throttle.period`                   | on                                                                                                                            | TypeError                | `on(<name>): throttle.period must be a duration from "1s" to "7d", got <given>`                                                                                                                                                                                                                                     | A period under a second would refill faster than the dispatcher asks; one over seven days would hold a key's rows longer than the outbox keeps a delivered row.                                                                                                                                                                                                                                                        | Spell period as a duration from "1s" to "7d" (Inngest's bounds).                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0076 FP-029                                                       |
| `listener.throttle.shape`                    | on                                                                                                                            | TypeError                | `on(<name>): throttle must be { limit, period, burst?, key? }, got <given>`                                                                                                                                                                                                                                         | A throttle that is no object paces nothing while the registration reads as if the listener ran at most limit times a period.                                                                                                                                                                                                                                                                                           | Write throttle: { limit: 10, period: "1s", burst: 10, key: (payload) => payload.accountId }.                                                                                                                                                                                                                                                                                                                                                                         | ADR-0076 FP-029                                                       |
| `listener.throttle.with_batch`               | on                                                                                                                            | TypeError                | `on(<name>): throttle beside a batch listener on <event> is refused; a slice is one run over many rows and a bucket paces one row's run, and the slice would hold the rows the bucket refused`                                                                                                                      | A slice formed over a throttled listener's rows would carry a row the bucket refused as delivered, or hold its siblings behind the refusal.                                                                                                                                                                                                                                                                            | Throttle the fact on a one-fact listener alone, or batch it and pace the work inside the batch listener's body.                                                                                                                                                                                                                                                                                                                                                      | ADR-0076 FP-029                                                       |
| `new_workflow.doctor.refused`                | durable-sdk new workflow                                                                                                      | Error                    | `<name>: the doctor refuses the would-be tree with <count>; nothing written`                                                                                                                                                                                                                                        | A file written past a finding is a definition the strict boot refuses or a rule the guards fail at the next check, so the generator writes only what the doctor passes and prints each finding line as doctor --host would.                                                                                                                                                                                            | Read each finding line's fix (durable-sdk doctor --host --explain <rule id> says the law and the hazard), correct the arguments and run the command again.                                                                                                                                                                                                                                                                                                           | ADR-0060 decision 19                                                  |
| `new_workflow.event.field_missing`           | durable-sdk new workflow                                                                                                      | Error                    | `--event <event>: the fact's payload carries no <field> to fill --key <fields> from (requestId is the fact's key); nothing written`                                                                                                                                                                                 | The registration hands the fact's payload fields to the workflow's input by name; a key field the payload lacks would be undefined in the key, and two facts would key to one run.                                                                                                                                                                                                                                     | Name --key fields the fact's payload carries (its declared fields, plus requestId), or choose a fact that carries them.                                                                                                                                                                                                                                                                                                                                              | ADR-0060 decision 19                                                  |
| `new_workflow.event.unknown`                 | durable-sdk new workflow                                                                                                      | Error                    | `--event <event>: the catalog (<catalog>) declares no such fact; nothing written`                                                                                                                                                                                                                                   | A listener on a name the catalog lacks is refused at the boot (on() takes the catalog's names alone), and the payload fixture map is exhaustive over the declared facts, so a registration on an undeclared fact fails every guard before it runs once.                                                                                                                                                                | Declare the fact in the catalog first (its payload, its key parts, its sentence, its fixture row), then run the command again naming it.                                                                                                                                                                                                                                                                                                                             | ADR-0060 decision 19                                                  |
| `new_workflow.file.exists`                   | durable-sdk new workflow                                                                                                      | Error                    | `<path> exists; nothing written`                                                                                                                                                                                                                                                                                    | A generator that overwrote a file would erase a workflow someone wrote, and a module registered twice under one name is refused at the boot.                                                                                                                                                                                                                                                                           | Name the workflow differently, write it under another --dir, or remove the file by hand first.                                                                                                                                                                                                                                                                                                                                                                       | ADR-0060 decision 19                                                  |
| `new_workflow.key.collides`                  | durable-sdk new workflow                                                                                                      | Error                    | `<name>: --key <fields> names no requestId and no --schedule names the slot, so two starts with the same <fields> would key to one run (<key>) and the second would answer the first's; nothing written`                                                                                                            | A key is the run's identity: without the request's moment in it, the second start of one intent finds the first run and answers it, so a retry of a failed order never runs again, and a schedule's slot is the one other moment a key may carry.                                                                                                                                                                      | Add requestId to --key (execute appends one to an input without it) or declare --schedule, whose slot the key names.                                                                                                                                                                                                                                                                                                                                                 | ADR-0060 decision 19                                                  |
| `new_workflow.schedule.key`                  | durable-sdk new workflow                                                                                                      | Error                    | `<name>: --schedule keys the slot alone (--key slotId), not <fields>; nothing written`                                                                                                                                                                                                                              | A scheduled run's input is what the schedule hands it from the slot, so a key field the slot cannot fill is undefined on every run and two slots would key to one run or none.                                                                                                                                                                                                                                         | Pass --key slotId with --schedule; a field the run needs beside the slot is read inside the step, never keyed.                                                                                                                                                                                                                                                                                                                                                       | ADR-0060 decision 19                                                  |
| `new_workflow.template.missing`              | durable-sdk new workflow                                                                                                      | Error                    | `<page>: <what>; the generator renders the page's recipe blocks and never a copy, so the page and the renderer must agree; nothing written`                                                                                                                                                                         | A template held outside the page would drift from what the docs prove; a block that lost an anchor the renderer reads would render a file the page never type-checked.                                                                                                                                                                                                                                                 | Run from the repository root with docs/durable/recipes.md present, and keep the fifth section's blocks spelling the anchors the renderer names (ANCHORS in packages/durable-cli/src/new-workflow.ts).                                                                                                                                                                                                                                                                | ADR-0060 decision 19                                                  |
| `new_workflow.tree.anchor_missing`           | durable-sdk new workflow                                                                                                      | Error                    | `<file>: no <anchor> to write the <what> at; nothing written`                                                                                                                                                                                                                                                       | An entry written anywhere else in the file would be a module the manifest never loads, a registration the registry never sees or a row the docs-parity guard never reads.                                                                                                                                                                                                                                              | Keep the manifest's MODULES list, the listener module's on() registrations and ADR-0040's policy table as they are, or write the entry by hand where the file now keeps it.                                                                                                                                                                                                                                                                                          | ADR-0060 decision 19                                                  |
| `new_workflow.tree.changed`                  | durable-sdk new workflow                                                                                                      | Error                    | `<file> changed while the doctor ran; nothing written`                                                                                                                                                                                                                                                              | An edited file is written as a compare-and-set on the text the render read; writing over a file that moved meanwhile would drop someone's lines.                                                                                                                                                                                                                                                                       | Run the command again; it reads the file as it now stands.                                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0060 decision 19                                                  |
| `patch.deprecate.old_branch`                 | ctx.deprecatePatch                                                                                                            | PatchStillOpen           | `deprecatePatch("<id>"): this run walked the old branch (attempt <attempt> wrote "<prior>" at seq <seq>, no patch:<id> marker); a deprecated patch serves a run that took it alone`                                                                                                                                 | The body past the deprecation has the new branch alone, and this run's rows past this point are the old branch's: the next step would meet another step's row at its seq, a divergence refused under strict and a provider called again under lenient.                                                                                                                                                                 | Deploy ctx.patched(id) with both branches again and redrive this run (or dismiss it); deprecate the patch once no run without the marker is open.                                                                                                                                                                                                                                                                                                                    | ADR-0076 D07 (FP-034)                                                 |
| `patch.deprecate.open_runs`                  | ctx.deprecatePatch                                                                                                            | PatchStillOpen           | `deprecatePatch("<id>"): <count> open run(s) of <workflow> carry no patch:<id> marker (<ids>); a patch is deprecated once no pre-patch run is open`                                                                                                                                                                 | A run that walked the old branch before the deploy and resumes under a body with the new branch alone would replay another step at its next seq: a divergence refused by name under strict, a provider called again under lenient.                                                                                                                                                                                     | Keep ctx.patched(id) with both branches deployed until every RUNNING or WAITING run of the definition without the marker has landed (the Runs page under the workflow; a redrive or a dismiss ends one), then deploy ctx.deprecatePatch(id) with the new branch alone; redrive the runs this deploy failed after the fix.                                                                                                                                            | ADR-0076 D07 (FP-034)                                                 |
| `patch.inside_step`                          | ctx.patched, ctx.deprecatePatch                                                                                               | Error                    | `<verb>("<id>"): a patch is judged between the body's steps, not inside <where>`                                                                                                                                                                                                                                    | A marker inside a step's body would be a step inside a step: the enclosing step is served from its row on the next attempt and never runs its closure, so the branch is judged on the attempt that ran the body alone; inside a ctx.all member the seqs are the group's, reserved in member order, and a marker there would take a sibling's.                                                                          | Call ctx.patched (or ctx.deprecatePatch) in the run body between steps, right before the branch it guards; never inside a step, a hook handler, a batch chunk or a ctx.all member.                                                                                                                                                                                                                                                                                   | ADR-0076 D07 (FP-034)                                                 |
| `peers.ephemeral.name`                       | createDurable                                                                                                                 | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: an ephemeral member's name is preview:<branch> or local:<user> ([a-z0-9-], 1 to 64 characters after the prefix)`                                                                                                                                                             | The ephemeral grammar is what a receiver admits under the preview secret and the file refuses; a name off it would be admitted by neither.                                                                                                                                                                                                                                                                             | Name the member preview:<branch slug> or local:<user>.                                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0053 decision 2                                                   |
| `peers.ephemeral.peers`                      | createDurable                                                                                                                 | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: peers must name exactly one declared member ([a-z0-9-])`                                                                                                                                                                                                                     | An ephemeral member pairs with one declared member under that member's preview secret; two or none would announce under no secret.                                                                                                                                                                                                                                                                                     | Name the one declared member the ephemeral joins.                                                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0053 decision 2                                                   |
| `peers.globs.grammar`                        | assertPeerDeclarations, createDurable                                                                                         | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: <field> glob <glob> is not "*", "<prefix>.*" or an event name`                                                                                                                                                                                                               | A glob off the grammar matches no fact, so the peer would silently receive none of what the author meant.                                                                                                                                                                                                                                                                                                              | Spell each glob as "_", "<prefix>._" or an event name.                                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0046 §H                                                           |
| `peers.globs.not_list`                       | assertPeerDeclarations, createDurable                                                                                         | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: <field> must be a list of globs`                                                                                                                                                                                                                                             | The publish globs decide which facts reach the peer; a value that is not a list would publish nothing or everything.                                                                                                                                                                                                                                                                                                   | Write publish (or previewPublish) as a list of globs ("_", "<prefix>._", an event name).                                                                                                                                                                                                                                                                                                                                                                             | ADR-0046 §H                                                           |
| `peers.members.not_array`                    | assertPeerDeclarations                                                                                                        | PeerMisconfigured        | `durable: peers misconfigured: the members must be an array`                                                                                                                                                                                                                                                        | The members file is read at import; a file whose members are not a list would declare no mesh and fail at the first relay instead of the boot.                                                                                                                                                                                                                                                                         | Write members as an array of { name, url, … } entries.                                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0046 §H                                                           |
| `peers.name.grammar`                         | assertPeerDeclarations                                                                                                        | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: a peer name is [a-z0-9-], 1 to 64 characters`                                                                                                                                                                                                                                | A member's name is the suffix of the pair secret's variable, the peer's partition (peer:<name>) and the wire's from; a name off the grammar would be spelled into none of them.                                                                                                                                                                                                                                        | Name the member with lower-case letters, digits and hyphens.                                                                                                                                                                                                                                                                                                                                                                                                         | ADR-0046 §H                                                           |
| `peers.name.twice`                           | assertPeerDeclarations                                                                                                        | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: declared twice`                                                                                                                                                                                                                                                              | Two entries under one name would be two URLs for one secret and one sequence.                                                                                                                                                                                                                                                                                                                                          | Declare each member once.                                                                                                                                                                                                                                                                                                                                                                                                                                            | ADR-0046 §H                                                           |
| `peers.previews.accept`                      | createDurable                                                                                                                 | PeerMisconfigured        | `durable: peers misconfigured: previews.accept must be a function answering the rotation's second secret (read at each call)`                                                                                                                                                                                       | The rotation's second secret is read at each call; a value bound at boot would miss the promote.                                                                                                                                                                                                                                                                                                                       | Bind previews.accept as a function, or leave it out.                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0053 decision 2                                                   |
| `peers.previews.secret`                      | createDurable                                                                                                                 | PeerMisconfigured        | `durable: peers misconfigured: previews.secret must be a function answering the preview pair secret (read at each call)`                                                                                                                                                                                            | The preview secret is read at each call and never held as a value; a value bound at boot would be stale on rotation and copied into the configuration's stored form.                                                                                                                                                                                                                                                   | Bind previews.secret as a function (previewSecretsFromEnv).                                                                                                                                                                                                                                                                                                                                                                                                          | ADR-0053 decision 2                                                   |
| `peers.resolver.not_array`                   | createDurable                                                                                                                 | PeerMisconfigured        | `durable: peers misconfigured: the peers resolver must answer an array`                                                                                                                                                                                                                                             | The peers are read at each call; a resolver answering anything but a list would be read as no peers at one call and fail at the next.                                                                                                                                                                                                                                                                                  | Answer an array of peers from environment.peers().                                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0046 §H                                                           |
| `peers.role`                                 | assertPeerDeclarations                                                                                                        | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: role must be "production", "preview" or "local"`                                                                                                                                                                                                                             | The role decides which listeners execute on a copy; another word would read every policy as production's.                                                                                                                                                                                                                                                                                                              | Write role as "production", "preview" or "local", or leave it out for production.                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0053 decision 4                                                   |
| `peers.secret.shape`                         | createDurable                                                                                                                 | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: <field> must be a Secret<string>`                                                                                                                                                                                                                                            | A pair secret is revealed at the signature alone; a bare string would be copied into every stored image and log line that carries the peer.                                                                                                                                                                                                                                                                            | Wrap the secret in Secret (peersFromEnv does).                                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0046 §H                                                           |
| `peers.self`                                 | createDurable                                                                                                                 | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: is this app's own name`                                                                                                                                                                                                                                                      | A peer under this app's own name would relay every fact to itself and record its own facts as a copy.                                                                                                                                                                                                                                                                                                                  | Leave this member out of its own peers.                                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0046 §H                                                           |
| `peers.url.not_http`                         | assertPeerDeclarations, createDurable                                                                                         | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: url must be an absolute http(s) URL`                                                                                                                                                                                                                                         | The sender posts relayed rows to the member's URL; a relative one or another scheme would post nowhere.                                                                                                                                                                                                                                                                                                                | Write the member's absolute http(s) URL.                                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0046 §H                                                           |
| `peers.url.trailing_slash`                   | assertPeerDeclarations, createDurable                                                                                         | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: url must carry no trailing slash`                                                                                                                                                                                                                                            | The receiver's path is joined onto the URL; a trailing slash would double it and the post would 404.                                                                                                                                                                                                                                                                                                                   | Drop the trailing slash.                                                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0046 §H                                                           |
| `peers.wire`                                 | assertPeerDeclarations                                                                                                        | PeerMisconfigured        | `durable: peer "<peer>" misconfigured: wire must be 1 or 2`                                                                                                                                                                                                                                                         | The wire version pins the envelope the sender posts; another number would post one no receiver reads.                                                                                                                                                                                                                                                                                                                  | Pin wire: 1 or wire: 2, or leave it to the sender.                                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0046 §M step 7                                                    |
| `plugin.events.shape`                        | definePlugin                                                                                                                  | TypeError                | `definePlugin(<name>): events is <given>, not a defineEvents() value (an object of descriptors by fact name)`                                                                                                                                                                                                       | The catalog's merge reads the descriptors by name; a value with no names would declare nothing while the plugin's workflows emit facts no catalog keys.                                                                                                                                                                                                                                                                | Hand events: defineEvents({ "<name>": { key, parts } }) with the facts the plugin's workflows emit.                                                                                                                                                                                                                                                                                                                                                                  | ADR-0063 Appendix M U5                                                |
| `plugin.loaders`                             | definePlugin                                                                                                                  | TypeError                | `definePlugin(<name>): <field><index> is <given>, not a thunk of the module, () => import(…); the loaders are a list of thunks the engine awaits one at a time`                                                                                                                                                     | load() awaits each loader in turn; a value that is no function would throw inside the load, leaving the manifest failed and every resume, redrive and dispatch refused with NotLoaded.                                                                                                                                                                                                                                 | List each module as a thunk of its path, () => import(…), under workflows, listeners or hooks.                                                                                                                                                                                                                                                                                                                                                                       | ADR-0063 Appendix M U5                                                |
| `plugin.name`                                | definePlugin                                                                                                                  | TypeError                | `definePlugin: a plugin's name is a segment of the workflow-name grammar (<pattern>), not <given>`                                                                                                                                                                                                                  | A plugin's name is stamped on every catalog row and graph node of its definitions beside workflow names; a name off the grammar (a space, a dot, a hyphen, an upper-case start) would read as a workflow segment nothing can group by.                                                                                                                                                                                 | Name the plugin with a lower-case letter first, then letters, digits and underscores (orders, campaign_send).                                                                                                                                                                                                                                                                                                                                                        | ADR-0063 Appendix M U5                                                |
| `query.threw`                                | GET runs/:id/query/:name                                                                                                      | value                    | `<workflow>: the query <query> threw: <error>`                                                                                                                                                                                                                                                                      | A query handler is a read; a throw is the handler's own verdict over this state and these args, answered as a value so the route never reads as a server fault.                                                                                                                                                                                                                                                        | Read the handler's sentence: fix the args, or make the handler total over the state it may meet (a field absent on a young run).                                                                                                                                                                                                                                                                                                                                     | ADR-0076 FP-031                                                       |
| `query.unknown`                              | GET runs/:id/query/:name                                                                                                      | value                    | `<workflow> declares no query <query> (declared: <known>)`                                                                                                                                                                                                                                                          | A query not declared has no handler; answering the state itself in its place would hand out what the body kept private.                                                                                                                                                                                                                                                                                                | Ask one of the declared queries (the catalog row's queries, the run page's list), or declare the query on the definition.                                                                                                                                                                                                                                                                                                                                            | ADR-0076 FP-031                                                       |
| `query.workflow.unknown`                     | GET runs/:id/query/:name                                                                                                      | value                    | `<workflow> is not a workflow this deployment knows: the query <query> has no handler here`                                                                                                                                                                                                                         | A query is answered by the registered definition's handler over the stored state; a deployment that does not know the workflow (an older build, a plugin not loaded) holds no handler to run.                                                                                                                                                                                                                          | Ask the deployment that defines the workflow (the one the run started under), or deploy the definition here.                                                                                                                                                                                                                                                                                                                                                         | ADR-0076 FP-031                                                       |
| `rate.burst`                                 | rateLimit on a connector account (acquireToken, reportLimited)                                                                | Error                    | `<what>: burst must be an integer of at least 1`                                                                                                                                                                                                                                                                    | A bucket holds burst tokens at most and a call takes one; a burst under one or not whole could never hold a token, so no call would ever pass.                                                                                                                                                                                                                                                                         | Declare burst as a whole number of at least 1 (the provider's burst allowance) beside perSecond.                                                                                                                                                                                                                                                                                                                                                                     | ADR-0052 decision 5                                                   |
| `rate.key.parts`                             | rateKey                                                                                                                       | Error                    | `rateKey: a connector and an account id are needed`                                                                                                                                                                                                                                                                 | The bucket is one settings row per account, rate.<connector>.<account id>, shared by every instance; an empty part would key every account of the connector, or every connector, onto one bucket.                                                                                                                                                                                                                      | Hand the connector's name and the account's id, both non-empty, from the account the client was given.                                                                                                                                                                                                                                                                                                                                                               | ADR-0052 decision 5                                                   |
| `rate.per_second`                            | rateLimit on a connector account (acquireToken, reportLimited)                                                                | Error                    | `<what>: perSecond must be a positive number`                                                                                                                                                                                                                                                                       | The bucket refills perSecond tokens a second; a rate of zero, below zero or not a number would never refill, so every call over the burst would park its run for good.                                                                                                                                                                                                                                                 | Declare rateLimit: { perSecond, burst } on the account with perSecond a positive number (the provider's rate), in the account module alone.                                                                                                                                                                                                                                                                                                                          | ADR-0052 decision 5                                                   |
| `rate.tokens`                                | acquireToken                                                                                                                  | Error                    | `acquireToken: tokens must be a positive number (<key>)`                                                                                                                                                                                                                                                            | The weight is what the take subtracts from the bucket; zero, a negative or a non-number would take nothing or add tokens, so the bucket would never pace the call.                                                                                                                                                                                                                                                     | Hand tokens as a positive number: the call's cost in the provider's points, or leave it out for one.                                                                                                                                                                                                                                                                                                                                                                 | ADR-0061 decision 3                                                   |
| `rate.tokens.over_burst`                     | acquireToken                                                                                                                  | Error                    | `acquireToken: a take of <tokens> tokens over a burst of <burst> (<key>); the operation costs more than the plan's bucket holds`                                                                                                                                                                                    | A full bucket holds burst tokens; a take above it could never be served, so the call would wait to the bound and park the run at every attempt, for good.                                                                                                                                                                                                                                                              | Make the call cheaper (a smaller page, fewer fields) or declare the plan's real burst on the account; the weight is the call's last measured cost.                                                                                                                                                                                                                                                                                                                   | ADR-0061 decision 3                                                   |
| `run.await.timeout.grammar`                  | awaitRun                                                                                                                      | TypeError                | `awaitRun: timeout is a duration above zero ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d": "20s"), not <given>`                                                                                                                                                                                                        | A timeout off the grammar names no moment to stop at, so a waiter would hold its LISTEN session and its request for good or for nothing.                                                                                                                                                                                                                                                                               | Spell timeout as a duration above zero, awaitRun(id, { timeout: "20s" }); a longer wait is a loop of bounded ones.                                                                                                                                                                                                                                                                                                                                                   | ADR-0076 FP-035                                                       |
| `run.await.wait.grammar`                     | GET runs/:id?wait=                                                                                                            | value                    | `wait: must be a duration above zero ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d": 20s), got <given>`                                                                                                                                                                                                                 | A wait off the grammar names no moment to answer at: the route would hold the request for nothing or for good, and a run the client meant to await would be read as it stands with no wait at all.                                                                                                                                                                                                                     | Spell wait= as a duration above zero and at most 20s (wait=20s); leave it out for the run as it stands.                                                                                                                                                                                                                                                                                                                                                              | ADR-0076 FP-035                                                       |
| `run.await.wait.too_long`                    | GET runs/:id?wait=                                                                                                            | value                    | `wait: at most <max> a request (SQS's WaitTimeSeconds; a longer wait is the next request), got <given>`                                                                                                                                                                                                             | A request held past the bound sits on a LISTEN session and a function's budget longer than the platform or a proxy keeps a connection open, so the answer would be lost to a timeout the client never sees.                                                                                                                                                                                                            | Ask for at most 20s and ask again while the run has not landed (durable-sdk await <runId> --api <url> loops so); a host's own code waits in process through awaitRun.                                                                                                                                                                                                                                                                                                | ADR-0076 FP-035                                                       |
| `run.cancel.continued`                       | run.cancel                                                                                                                    | value                    | `the run is CONTINUED: it went on as run <next>; cancel the chain's newest run`                                                                                                                                                                                                                                     | A run closed by continue-as-new holds no function and no lease and reaches no boundary again: a cancel on it would stand on the row for good, met by nothing, while the chain runs on in the next run.                                                                                                                                                                                                                 | Follow continuedTo to the chain's newest run (the run the key names) and cancel that one.                                                                                                                                                                                                                                                                                                                                                                            | ADR-0076 FP-032                                                       |
| `run.client.absent`                          | clientOf(ctx)                                                                                                                 | Error                    | `the run was handed no client (scope <scope>): a body that needs one reads it through clientOf on a run started with one`                                                                                                                                                                                           | A body that reaches for ctx.client on a run started without one (a fact whose scope is no store, an execute with no client) would fail at the provider's door with a message naming nothing; read by name, the failure names the run's scope and the remedy.                                                                                                                                                           | Start the run with a client (execute's client option; a listener run's is the fact's scope's through the bound session factory), or return before the read on a scope that has none.                                                                                                                                                                                                                                                                                 | ADR-0063 B22 PR 2                                                     |
| `run.dismiss.continued`                      | run.dismiss                                                                                                                   | value                    | `the run is CONTINUED: it went on as run <next>; a run that continued is not in limbo`                                                                                                                                                                                                                              | A dismissal takes a FAILED or COMPENSATED run off the Errors page; a CONTINUED run was never there, and marking it would say a person settled a failure that never was.                                                                                                                                                                                                                                                | Nothing: the chain went on; read the chain's newest run (follow continuedTo) and dismiss or redrive that one if it failed.                                                                                                                                                                                                                                                                                                                                           | ADR-0076 FP-032                                                       |
| `run.hold.completed`                         | run.hold                                                                                                                      | value                    | `the run is COMPLETED: a completed run is undone, not held`                                                                                                                                                                                                                                                         | A completed run reaches no boundary again: a hold on it would stand on the row for good, met by nothing.                                                                                                                                                                                                                                                                                                               | Undo the run if its effects are not wanted (runs/:id/undo).                                                                                                                                                                                                                                                                                                                                                                                                          | ADR-0063 B37                                                          |
| `run.hold.continued`                         | run.hold                                                                                                                      | value                    | `the run is CONTINUED: it went on as run <next>; hold the chain's newest run`                                                                                                                                                                                                                                       | A run closed by continue-as-new reaches no boundary again: a hold on it would stand on the row for good, met by nothing, while the chain runs on in the next run.                                                                                                                                                                                                                                                      | Follow continuedTo to the chain's newest run (the run the key names) and hold that one.                                                                                                                                                                                                                                                                                                                                                                              | ADR-0076 FP-032                                                       |
| `run.hold.in_limbo`                          | run.hold                                                                                                                      | value                    | `the run is <status>: a run in limbo is dismissed or redriven, not held`                                                                                                                                                                                                                                            | A FAILED or COMPENSATED run holds no function and no lease, so a hold on it would never be met at a boundary and would stand on the row until a redrive's claim cleared it, saying nothing.                                                                                                                                                                                                                            | Redrive the run (a redrive's claim clears a hold as it clears a cancel) or dismiss it with the reason; hold it once it is RUNNING or WAITING again.                                                                                                                                                                                                                                                                                                                  | ADR-0063 B37                                                          |
| `run.hold.undone`                            | run.hold                                                                                                                      | value                    | `the run is UNDONE: nothing runs`                                                                                                                                                                                                                                                                                   | An undone run is over twice: nothing of it runs or will run, so a hold on it is a flag with no reader.                                                                                                                                                                                                                                                                                                                 | Start the intent again under a new request id if the work is still wanted.                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0063 B37                                                          |
| `run.redrive.continued`                      | run.redrive                                                                                                                   | value                    | `the run is CONTINUED: it went on as run <next>; redrive the chain's newest run`                                                                                                                                                                                                                                    | A redrive claims a run in limbo under its key; a CONTINUED run's key names the next run, so a claim of it would run a body whose rows the chain left behind and whose key another run owns.                                                                                                                                                                                                                            | Follow continuedTo to the chain's newest run (the run the key names) and redrive that one if it is in limbo.                                                                                                                                                                                                                                                                                                                                                         | ADR-0076 FP-032                                                       |
| `run.resume.landed`                          | run.resume                                                                                                                    | value                    | `the run is <status>: a hold it carried is cleared by a redrive's claim, not by a resume`                                                                                                                                                                                                                           | A run that failed ahead of its boundary keeps the hold on its row; a resume there would clear a flag no attempt reads and fire no wait, saying the run went on when it did not.                                                                                                                                                                                                                                        | Redrive the run (the claim clears the hold with the cancel) or dismiss it with the reason; undo a COMPLETED one if its effects are not wanted.                                                                                                                                                                                                                                                                                                                       | ADR-0063 B37                                                          |
| `run.resume.not_held`                        | run.resume                                                                                                                    | value                    | `the run is <status> with no hold on it: nothing to resume`                                                                                                                                                                                                                                                         | A resume with no hold standing would fire nothing and clear nothing, and a run page offering it would promise a change the engine never makes.                                                                                                                                                                                                                                                                         | Nothing: the run is going on (RUNNING) or waiting on something else (WAITING: a timer, a fact, a signal, a child); hold it first if a hold is wanted.                                                                                                                                                                                                                                                                                                                | ADR-0063 B37                                                          |
| `run.state.unstorable`                       | ctx.state (a step boundary, the landing)                                                                                      | StepError                | `<workflow>: the run's state could not be stored whole on run <runId> (<verdict>); a state is plain data under the step-output cap with nothing the policy redacts`                                                                                                                                                 | The state on the run row is what every query answers over and what a resumed attempt starts from; a truncated or a redacted state would answer a preview to a query and hand the next attempt a state the body never had.                                                                                                                                                                                              | Keep ctx.state to the counts, the ids and the flags a query reads (the rest on the steps' rows and the ledger), and never a credential, a token or a value under a secret-suffixed key; a one-time value goes through ctx.reply.                                                                                                                                                                                                                                     | ADR-0076 FP-031                                                       |
| `run.undo.continued`                         | undo.run                                                                                                                      | value                    | `the run is CONTINUED: it went on as run <next>; the chain is undone from its newest run, never from a closed one`                                                                                                                                                                                                  | A closed run's rows stand under the chain's key and its state rode onto the next run: reverting it alone would leave the next run standing over a world it no longer matches.                                                                                                                                                                                                                                          | Undo the chain's newest run once it landed (follow continuedTo); a closed run's ledger rows are read there with the rest of the chain's.                                                                                                                                                                                                                                                                                                                             | ADR-0076 FP-032                                                       |
| `run.wake.already_fired`                     | run.wake                                                                                                                      | value                    | `the timer fired already (<firedBy>): the run is waking`                                                                                                                                                                                                                                                            | A fired row is the run's wake in flight: a second fire is refused by the store's compare-and-set anyway, and a run offered a wake it cannot take would say it changed something.                                                                                                                                                                                                                                       | Nothing: the tick's resumer claims the run within the minute; a run still WAITING with its timer fired past that is a dispatch tick that did not run, never a second fire.                                                                                                                                                                                                                                                                                           | ADR-0050 amendment 2026-10-09 (FW-073)                                |
| `run.wake.not_a_timer`                       | run.wake                                                                                                                      | value                    | `the run waits on <kind>, not a timer: a wake fires a timer alone`                                                                                                                                                                                                                                                  | Every other wait has its own door or its own moment: a signal fired here would carry no payload, a hold would bypass the resume, a child wait fired early would fail the parent's `ctx.child` outside any step, and a slot, rate, retry or continue park fired early would run the step before the engine's reason for the park is gone.                                                                               | Fire a signal or fact wait with run.signal under its name; release a hold with run.resume; cancel or signal a child from its own page and the parent follows; leave a slot, a rate bucket, a retry or a continue park to the engine's moment.                                                                                                                                                                                                                        | ADR-0050 amendment 2026-10-09 (FW-073)                                |
| `run.wake.not_waiting`                       | run.wake                                                                                                                      | value                    | `the run is <status>: it sleeps on no timer`                                                                                                                                                                                                                                                                        | A run that is not WAITING holds no open timer: a wake there would fire nothing, and a run page offering it would promise a change the engine never makes.                                                                                                                                                                                                                                                              | Nothing for a RUNNING run (it is going on; hold it with run.hold if a pause is wanted); redrive or dismiss a run in limbo; undo a COMPLETED one if its effects are not wanted.                                                                                                                                                                                                                                                                                       | ADR-0050 amendment 2026-10-09 (FW-073)                                |
| `schedule.actor.grammar`                     | defineWorkflow, createDurable                                                                                                 | Error                    | `<name>: schedule.actor must be <prefix>:<id>`                                                                                                                                                                                                                                                                      | Every run records its actor as <prefix>:<id> under the bound principal grammar; a schedule's actor off it would be refused at every fire as a BadActor instead of here.                                                                                                                                                                                                                                                | Spell actor as <prefix>:<id>, or leave it out for system:schedule:<workflow>.                                                                                                                                                                                                                                                                                                                                                                                        | ADR-0050 decision 2                                                   |
| `schedule.both`                              | defineWorkflow, createDurable                                                                                                 | Error                    | `schedule: every or cron, not both`                                                                                                                                                                                                                                                                                 | Two grammars name two slots for one moment; the tick could not say which one keyed the run.                                                                                                                                                                                                                                                                                                                            | Keep every or cron.                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ADR-0050 decision 2                                                   |
| `schedule.catch_up`                          | defineWorkflow, createDurable                                                                                                 | Error                    | `<name>: schedule.catchUp: 0 or 1`                                                                                                                                                                                                                                                                                  | The tick fires the current slot and at most one missed one, never a backlog; another number would promise a catch-up the tick does not run.                                                                                                                                                                                                                                                                            | Write catchUp: 1 for the one slot before the current, or leave it out.                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0050 decision 2                                                   |
| `schedule.cron.not_string`                   | defineWorkflow, createDurable                                                                                                 | Error                    | `schedule.cron: not a string`                                                                                                                                                                                                                                                                                       | A cron expression is parsed from its five fields; anything else names no occurrence.                                                                                                                                                                                                                                                                                                                                   | Spell cron as "<five fields>" (UTC).                                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0050 decision 2                                                   |
| `schedule.every.grammar`                     | defineWorkflow, createDurable                                                                                                 | Error                    | `schedule.every: "<every>" is not <n>ms, <n>s, <n>m, <n>h or <n>d`                                                                                                                                                                                                                                                  | A period off the grammar names no slot, so no run would ever be keyed.                                                                                                                                                                                                                                                                                                                                                 | Spell every as "<n>m", "<n>h" or "<n>d" (or "<n>s" of at least 60: the tick runs once a minute).                                                                                                                                                                                                                                                                                                                                                                     | ADR-0050 decision 2                                                   |
| `schedule.every.not_string`                  | defineWorkflow, createDurable                                                                                                 | Error                    | `schedule.every: not a string`                                                                                                                                                                                                                                                                                      | A period is parsed from its spelling; anything else names no slot.                                                                                                                                                                                                                                                                                                                                                     | Spell every as "<n>m", "<n>h" or "<n>d" (or "<n>s" of at least 60: the tick runs once a minute).                                                                                                                                                                                                                                                                                                                                                                     | ADR-0050 decision 2                                                   |
| `schedule.every.sub_minute_floor`            | defineWorkflow, createDurable                                                                                                 | Error                    | `schedule.every: "<every>" is under 10 s, the floor of a schedule below the minute (six slots a minute at most)`                                                                                                                                                                                                    | A schedule below the minute is the minute's slots emitted at one tick as delayed facts; a period under ten seconds would make a tick emit more than six and the queue's whole-second delay could not place them.                                                                                                                                                                                                       | Use a period of at least 10 s ("10s", "15s", "30s"), or a poll inside a run for a finer cadence.                                                                                                                                                                                                                                                                                                                                                                     | ADR-0076 FP-036                                                       |
| `schedule.every.under_minute`                | defineWorkflow, createDurable                                                                                                 | Error                    | `schedule.every: "<every>" is under a minute, the cron tick's precision; a period of at least 10 s is admitted where the bound platform holds a wake inside the minute (Platform.subMinute: a queue or inline on a plan whose cron runs every minute), not here`                                                    | The tick runs once a minute, and without a wake the platform holds inside it a shorter period would miss most of its slots and catch up one at most; under a queue (DURABLE_WAKE=queue or inline on a plan whose cron runs every minute) the tick emits the minute's slots as delayed facts, each delivered at its moment.                                                                                             | Use a period of at least a minute, or a poll inside a run; a period of at least 10 s is admitted where the platform says subMinute (a queue or inline on Pro or Enterprise), never under none, self or on Hobby.                                                                                                                                                                                                                                                     | ADR-0050 decision 2; ADR-0076 FP-036                                  |
| `schedule.input.not_function`                | defineWorkflow, createDurable                                                                                                 | Error                    | `<name>: schedule.input must be a function of the slot`                                                                                                                                                                                                                                                             | The slot is data handed to input at every fire; an input that is not a function hands the same value to every slot, and every slot keys one run.                                                                                                                                                                                                                                                                       | Write input: (slot) => ({ …, bucket: slot.id }) with the slot in a field the key names.                                                                                                                                                                                                                                                                                                                                                                              | ADR-0050 decision 2                                                   |
| `schedule.input.threw`                       | defineWorkflow                                                                                                                | Error                    | `<name>: schedule.input threw for slot <slotId>: <message>; input is a function of the slot alone`                                                                                                                                                                                                                  | The slot is data: an input (or a key over it) that throws for the probe's slot throws for every slot of that shape, and the tick would log the throw at every fire instead of running anything.                                                                                                                                                                                                                        | Make input and key total over the slot (read slot.id, slot.at, slot.until and nothing the slot does not carry).                                                                                                                                                                                                                                                                                                                                                      | ADR-0060 decision 5                                                   |
| `schedule.missing`                           | defineWorkflow, createDurable                                                                                                 | Error                    | `schedule: every or cron is required`                                                                                                                                                                                                                                                                               | A schedule with neither names no slot and the tick would never fire it.                                                                                                                                                                                                                                                                                                                                                | Write every or cron.                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0050 decision 2                                                   |
| `schedule.not_object`                        | defineWorkflow, createDurable                                                                                                 | Error                    | `<name>: schedule must be an object`                                                                                                                                                                                                                                                                                | A schedule that is not an object declares no period and no input; the tick would find nothing to fire.                                                                                                                                                                                                                                                                                                                 | Write schedule: { every: "<n>m", input: (slot) => … } or { cron: "<five fields>", input }.                                                                                                                                                                                                                                                                                                                                                                           | ADR-0050 decision 2                                                   |
| `schedule.parse`                             | defineWorkflow, createDurable                                                                                                 | Error                    | `<name>: <reason>`                                                                                                                                                                                                                                                                                                  | The schedule's grammar did not parse (the reason is the parser's own sentence); a schedule the tick cannot read fires nothing and says nothing.                                                                                                                                                                                                                                                                        | Fix the spelling the reason names.                                                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0050 decision 2                                                   |
| `schedule.slot_not_in_key`                   | defineWorkflow                                                                                                                | Error                    | `<name>: schedule.input must put the slot in a key field: two slots key the same run (<key>); use slot.id or slot.at in a field the key names`                                                                                                                                                                      | An input that leaves the slot out of a key field keys every slot to one run, which the engine reuses forever: the schedule would run once and answer that run at every fire after.                                                                                                                                                                                                                                     | Put slot.id or slot.at in a field the key names.                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0060 decision 5                                                   |
| `schedule.tz.not_utc`                        | defineWorkflow, createDurable                                                                                                 | Error                    | `<name>: schedule.tz: UTC alone`                                                                                                                                                                                                                                                                                    | The cron matcher reads UTC alone; another zone would fire at the wrong hour, differently across daylight time, and two environments would key different slots.                                                                                                                                                                                                                                                         | Leave tz out or write tz: "UTC".                                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0050 decision 2                                                   |
| `schedule.tz.on_period`                      | defineWorkflow, createDurable                                                                                                 | Error                    | `<name>: schedule.tz: a period has no zone`                                                                                                                                                                                                                                                                         | A period is an index of the epoch and has no zone to read; a tz beside every would be read as a promise the engine cannot keep.                                                                                                                                                                                                                                                                                        | Leave tz out of a period schedule.                                                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0050 decision 2                                                   |
| `secret.rule`                                | assertSecretStrength, judgeSecretStrength                                                                                     | TypeError                | `a strength rule is { minLength, minEntropyBits }, each a finite number of at least 0, not <given>`                                                                                                                                                                                                                 | A floor that is no number compares as false against every value, so a weak value would pass the judgement by a typo in the rule.                                                                                                                                                                                                                                                                                       | Spell the rule as { minLength: 32, minEntropyBits: 80 } (a minted bearer's) or read the host registry's rule for the kind.                                                                                                                                                                                                                                                                                                                                           | ADR-0076 D08, unit SOC-14                                             |
| `secret.weak`                                | assertSecretStrength (a host's boot over the secrets it holds)                                                                | Error                    | `<name> is weak: <finding>; a secret of its kind is at least <minLength> characters with <minEntropyBits> bits of Shannon entropy over them`                                                                                                                                                                        | A placeholder left on a project (a word, a short token, a few letters repeated) is a bearer anyone can guess and a key anyone can search, and nothing on the request path tells it from a minted one; the boot is the one moment every secret is read by name, so the floors are judged there, the value kept by nothing and never said.                                                                               | Mint the value anew (`openssl rand -base64 32`, or `durable-sdk secret rotate <NAME> --stage --vercel --project <p>`, which mints one and opens the overlap) and set it on the project; a production deployment refuses to boot on a weak value, every other role warns once (`secrets.weak`) and goes on.                                                                                                                                                           | ADR-0076 D08, unit SOC-14                                             |
| `session.absent`                             | a deferred client's first use (deferClient; a listener run's ctx.client)                                                      | Error                    | `the scope <scope> has no session: the client the run was handed cannot open`                                                                                                                                                                                                                                       | A listener run is handed its scope's client before the body runs and the session is read on the client's first use; a scope whose session is gone (a store uninstalled, its offline token revoked) can only be found out at that use, inside the step that needed it, so the step fails here by name and the run is a value in limbo instead of a provider error three calls down.                                     | Install the app on the store again (or hand execute a client), then redrive the run; a body that may meet an uninstalled store reads the store's record first and returns before it touches the client.                                                                                                                                                                                                                                                              | ADR-0063 B22 PR 2                                                     |
| `settings.take_tokens.duplicate_key`         | takeTokens                                                                                                                    | TypeError                | `takeTokens: the key <key> is taken from twice in one call; a bucket is taken from once a statement`                                                                                                                                                                                                                | The Postgres take judges every bucket through a correlated subquery over the takes, which answers a doubled key as a store failure (more than one row), a thrown take the console gate reads as no bound at all and admits; the memory double's ordered loop would debit the key twice instead. One answer on both doubles, by name, before any statement.                                                             | Take from each bucket once a call: fold the two takes' costs into one, or list the key once.                                                                                                                                                                                                                                                                                                                                                                         | ADR-0052 decision 5 as amended 2026-10-09 (FW-086's review)           |
| `step.cancel_scheduled_outside_step`         | ctx.cancelScheduled                                                                                                           | Error                    | `cancelScheduled(<key>): not inside a step; the cancel is a recorded write and needs the step's row`                                                                                                                                                                                                                | A cancel is a recorded write under the run's actor: outside a step it has no row to hold its intent and a crash could cancel twice or not at all.                                                                                                                                                                                                                                                                      | Call ctx.cancelScheduled(key) inside a ctx.step body.                                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0050 amendment 2026-09-28                                         |
| `step.completion.effect`                     | ctx.step, defineStep                                                                                                          | StepError                | `<step>: a completion is carried behind for a read step alone (completion: "behind" on effect: "<effect>")`                                                                                                                                                                                                         | A provider, ledgered or external step's COMPLETED row is the proof the world was touched: carried behind, a crash between the body's return and the next boundary would leave the world moved with the row STARTED, and the next attempt would call the provider or write again with nothing to reconcile it from.                                                                                                     | Keep completion: "behind" on effect: "read" alone (a step that changes nothing, so its re-invoke after a crash is harmless), or drop the option: a write's completion is its own statement.                                                                                                                                                                                                                                                                          | ADR-0076 D05 (3) as landed (FP-011)                                   |
| `step.completion.value`                      | ctx.step, defineStep                                                                                                          | StepError                | `<step>: completion is "now" (the default) or "behind", not <given>`                                                                                                                                                                                                                                                | The policy decides whether the step's answer lands on its row before the body goes on: a value that is neither would be read as one of the two by accident, and the promise the author read on the line (a read replayed after any crash, or one statement a step) would not be the one the engine kept.                                                                                                               | Say completion: "behind" on a read step whose re-invoke after a crash costs nothing (one statement a step: its COMPLETED row rides the next boundary's statement), or leave it out for the default ("now": the row in its own statement before the body goes on).                                                                                                                                                                                                    | ADR-0076 D05 (3) as landed (FP-011)                                   |
| `step.effect.external_without_intent`        | ctx.step                                                                                                                      | StepError                | `declared effect 'external' and returned changed: true, but persisted no pending image (strictSteps)`                                                                                                                                                                                                               | An external step's write is reconciled on the next attempt from the intent persisted before the call; one that wrote without an intent cannot be reconciled after a crash and would write twice.                                                                                                                                                                                                                       | Write through recordedWrite (the intent lands on the step row before the call), or declare the effect the step really has.                                                                                                                                                                                                                                                                                                                                           | ADR-0041 item 6                                                       |
| `step.effect.ledgered_without_row`           | ctx.step                                                                                                                      | StepError                | `declared effect 'ledgered' and returned changed: true, but appended no ledger row for step <step> (strictSteps)`                                                                                                                                                                                                   | A ledgered step that says it changed something and left no row leaves the undo nothing to restore and the console nothing to show.                                                                                                                                                                                                                                                                                     | Append the ledger row with the before and after images inside the step, or answer changed: false.                                                                                                                                                                                                                                                                                                                                                                    | ADR-0041 item 31                                                      |
| `step.effect.read_appended_row`              | ctx.step                                                                                                                      | StepError                | `declared effect 'read' but appended a ledger row for step <step>; say effect: "ledgered" (strictSteps)`                                                                                                                                                                                                            | A read step is one the saga never undoes; a ledger row from it says the body changed something the compensation will never restore.                                                                                                                                                                                                                                                                                    | Declare effect: "ledgered" (and an undo) on a step that appends ledger rows.                                                                                                                                                                                                                                                                                                                                                                                         | ADR-0041 item 31                                                      |
| `step.id.grammar`                            | ctx.step, ctx.poll, ctx.batch, ctx.waitFor, ctx.sleep, ctx.child, ctx.waitForApproval, ctx.patched, ctx.deprecatePatch        | Error                    | `<name>: a step id is [a-z0-9._-]+, not <given>`                                                                                                                                                                                                                                                                    | A step id is the stable identity the recorder replays a step by whatever seq it sits at; # and : are what the poll and the batch derive their ids with (<id>#<n>, <id>#<n>:sleep), so an id carrying them would collide with a derived one.                                                                                                                                                                            | Spell the id in lower-case letters, digits, dots, underscores and hyphens.                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0051 §15                                                          |
| `step.inline.declares`                       | ctx.step                                                                                                                      | TypeError                | `<name>: an inline step declares undo or irreversible`                                                                                                                                                                                                                                                              | An inline step whose third argument carries neither has no answer for a failure after it: the saga could neither undo it nor say why not.                                                                                                                                                                                                                                                                              | Pass { undo, effect } or { irreversible: '<reason>' } as the step's third argument.                                                                                                                                                                                                                                                                                                                                                                                  | ADR-0051 §1                                                           |
| `step.name.grammar`                          | ctx.step, ctx.poll, ctx.batch, defineStep, defineExternalStep                                                                 | TypeError                | `a step name is [a-zA-Z0-9._-]+ opening with a letter or digit, not <given>: # and : are the engine's (a poll's probe, a reconcile row)`                                                                                                                                                                            | A step's name is its replay key; # and : spell the engine's derived rows (<name>#<n> a poll's probe or a batch's chunk, <name>:reconcile, <name>:diverged, <name>:compensate), so a name carrying either would share a replay key or a ledger row with a derived one and attempt 2 would serve the wrong memo.                                                                                                         | Name the step with letters, digits, dots, underscores and hyphens, opening with a letter or digit.                                                                                                                                                                                                                                                                                                                                                                   | ADR-0060 decision 4                                                   |
| `step.needs.exceeds_invocation`              | ctx.step, ctx.poll, defineStep, defineExternalStep                                                                            | StepError                | `<step>: needs <needsMs> ms is more than one invocation holds for a step (userStepMaxMs <userStepMaxMs>: the function limit less the platform's reserve)`                                                                                                                                                           | A step that needs more than an invocation holds could never start: every boundary would find less of the budget left than it needs and park the run again, a park per wake for good.                                                                                                                                                                                                                                   | Split the work into steps or a batch (each chunk under the ceiling), or declare what one invocation holds (needs at or under userStepMaxMs) and read i.budget.leftMs() inside the body.                                                                                                                                                                                                                                                                              | ADR-0066 D06                                                          |
| `step.needs.grammar`                         | ctx.step, ctx.poll, ctx.batch, defineStep, defineExternalStep                                                                 | StepError                | `<step>: needs is a duration ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d": "30s", "2m") or 0 (start me with whatever is left), not <given>`                                                                                                                                                                           | The need is what the engine parks the run on before the step (less of the budget left than the step needs); a negative number, a bare number of milliseconds or a word would park every step at once, never, or by a guess.                                                                                                                                                                                            | Say needs: "30s" for a step that holds thirty seconds, needs: 0 for one that reads i.budget itself, or leave it out for the default (min(20 s, timeoutMs)).                                                                                                                                                                                                                                                                                                          | ADR-0066 D06                                                          |
| `step.needs.under_call_timeout`              | ctx.step, defineExternalStep                                                                                                  | StepError                | `<step>: needs <needsMs> ms is under one call's timeout (<timeoutMs> ms) on a spec with retry.idempotent: false; a non-idempotent write starts with room for its whole call`                                                                                                                                        | A non-idempotent write started with less of the budget left than its call takes is aborted client-side at the budget while the provider may still apply it, and the next attempt pays the in-flight window before it reads; declared near every budget, that is a park per wake by construction.                                                                                                                       | Declare needs at or above the spec's timeoutMs (EXTERNAL_CALL_TIMEOUT_MS, a minute, without one), or leave needs out for the default: two calls plus what is left of a prior intent's window.                                                                                                                                                                                                                                                                        | ADR-0066 D06; FW-020                                                  |
| `step.onfail.value`                          | ctx.step, defineStep                                                                                                          | StepError                | `<step>: onFail is "throw" (the default) or "return", not <given>`                                                                                                                                                                                                                                                  | The failure policy is read the moment the body throws: a value that is neither would leave the step neither thrown nor answered, the row FAILED while the body went on with nothing in hand.                                                                                                                                                                                                                           | Say onFail: "return" to take the failure as { failed: true, error, code } once the retries are spent, or leave it out to throw and compensate.                                                                                                                                                                                                                                                                                                                       | ADR-0063 Appendix M U6                                                |
| `step.option.alias`                          | ctx.step, ctx.poll, ctx.batch, defineStep, defineExternalStep                                                                 | StepError                | `<step>: <alias> and <canonical> are one value, spelled twice; keep <canonical> (<alias> is the deprecated spelling, admitted alone one release)`                                                                                                                                                                   | Two spellings of one value on a declaration would make the engine pick one by accident, and the row's declared timeout or delay would not be what the author read on the other line.                                                                                                                                                                                                                                   | Keep the canonical spelling alone: timeout: "10s", delays: ["400ms"], backoff: { base: "500ms", max: "10s" }, needs: "60s" on a batch.                                                                                                                                                                                                                                                                                                                               | ADR-0064 P15                                                          |
| `step.option.unknown`                        | ctx.step, ctx.poll, ctx.batch, defineStep, defineExternalStep                                                                 | StepError                | `<step>: the step carries no option "<key>" (the options are <known>); a mis-spelled option past the type would be ignored`                                                                                                                                                                                         | A step declaration built past the type (a cast, a spread of a loose object, a host's wider wrapper) carrying a mis-spelled option was silently ignored, so a step ran without the timeout, the retry, the id or the need its author believed it declared.                                                                                                                                                              | Spell the option as the door names it (timeout, retry, needs, id, onFail, completion, effect, undo or irreversible) and drop a key the door does not take.                                                                                                                                                                                                                                                                                                           | ADR-0064 P15                                                          |
| `step.output.redacted`                       | ctx.step                                                                                                                      | UnreplayableOutput       | `<step>: the output carries a value the policy redacts and could not replay from its row; a step with effect <effect> must hand a one-time value back with ctx.reply, never as its output`                                                                                                                          | The row would hold [redacted] where the value was, so after any crash or wait the step would re-invoke its body with the first value gone and a provider step would mint again; refused on the attempt that ran the body, after its ledger row landed and before its row completes, the saga compensating as on any step failure.                                                                                      | Keep secrets out of a step's output: hand a one-time value back with ctx.reply on the attempt that minted it and return counts and ids; a read step is never refused.                                                                                                                                                                                                                                                                                                | ADR-0060 decision 9                                                   |
| `step.output.truncated`                      | ctx.step                                                                                                                      | UnreplayableOutput       | `<step>: the output would be stored truncated (<chars> chars, the cap is <maxChars>) and could not replay from its row; a step with effect <effect> must return a bounded delta and put the rest on the ledger`                                                                                                     | The row would hold the cap's preview, which serves no later attempt, so after any crash or wait the step would re-invoke its body and a provider step would call its provider again; refused on the attempt that ran the body, after its ledger row landed and before its row completes, the saga compensating as on any step failure.                                                                                 | Return a bounded delta from the step (the ids, the moments and the columns a caller keys on; never a row's lines or a list the world's size decides) and put the rest on the ledger; a read step is never refused.                                                                                                                                                                                                                                                   | ADR-0060 decision 9                                                   |
| `step.pending_write.unreached`               | ctx.step, recordedWrite                                                                                                       | StepError                | `pending write <writeKeys> not reconciled`                                                                                                                                                                                                                                                                          | An earlier attempt of the step intended a write under the key and this attempt's body never reached it, so whether that write landed is unknown and would stay unknown for good.                                                                                                                                                                                                                                       | Keep every recordedWrite of a step under its key on every attempt (the same writes in the same order), so the next attempt reconciles each intent from the landed row or the world.                                                                                                                                                                                                                                                                                  | ADR-0041 item 6                                                       |
| `step.pending.unreadable`                    | ctx.step                                                                                                                      | StepError                | `<step>: attempt <attempt>'s row holds no pending list (<shape>); its intents cannot be read, so nothing of them is reconciled`                                                                                                                                                                                     | A prior row whose pending column is no list (a value sealed under a codec this deployment does not bind, a column another writer spoiled) read as no intent at all, so the step re-ran its body over a write of unknown fate and a landed write was written again; the step fails by name on the attempt that meets the row, before any read.                                                                          | Deploy the build that bound the codec the row is sealed under, or inspect the row (runs/:id) and dismiss the run with the reason; a redrive meets the same row until the column is a list again.                                                                                                                                                                                                                                                                     | ADR-0063 amendment 2026-10-08 (the audit)                             |
| `step.pending.unstorable`                    | recordedWrite, defineExternalStep                                                                                             | StepError                | `<step>: the intent under <writeKey> would be stored <verdict> and could not be reconciled from the row; an intent's images are bounded plain data`                                                                                                                                                                 | The pending list is what the next attempt reconciles the write from after a crash: an image the policy redacted compares as its placeholder and an image the cap cut is a preview, so the write would be judged against neither of its images and written again or taken as landed; refused at the intent, before the row is touched and before the call, so nothing is asked of the world.                            | Keep the intent's images to the columns the write compares (an id, a status, a count), never a credential, a token or a list the world's size decides; a chunk's intents share its row's cap, so size a chunk under it.                                                                                                                                                                                                                                              | ADR-0063 amendment 2026-10-08 (the audit)                             |
| `step.replay.input_changed`                  | ctx.step                                                                                                                      | ReplayDiverged           | `step "<step>" (seq <seq>) diverged from the run's rows: its input is not what attempt <attempt> handed it (a body must not branch on the clock, randomness or a row read outside a step); the row is FAILED before any re-invoke`                                                                                  | A step whose input moved between attempts would re-invoke with a provider called again over a value the first attempt never saw, so a crash between the call and the row lands the effect twice and the ledger's before image is stale.                                                                                                                                                                                | Put the moment in the run's input (a requestId), read a row inside a step with an id, derive the step's input from the run's input alone; then redrive. A definition that must keep the old re-invoke says replay: "lenient" with its reason in the ADR.                                                                                                                                                                                                             | ADR-0063 B04                                                          |
| `step.replay.name_changed`                   | ctx.step                                                                                                                      | ReplayDiverged           | `step "<step>" (seq <seq>) diverged from the run's rows: attempt <attempt> walked "<prior>" there (a step inserted or reordered without ids, or renamed under its id); the row is FAILED before any re-invoke`                                                                                                      | A body that walks another step at a seq than its rows hold would re-invoke every step after the insertion (a provider called again, a counter moved twice) or be served another step's output under its id, with nothing on the run but a second effect in the world.                                                                                                                                                  | Give the step an id or bump version; add a step at the end, never reorder; then redrive. A definition that must keep the old count-and-serve says replay: "lenient" with its reason in the ADR.                                                                                                                                                                                                                                                                      | ADR-0063 B04                                                          |
| `step.retry.attempts`                        | ctx.step, ctx.poll, defineStep                                                                                                | StepError                | `<step>: retry.attempts is how many times the body may run in all, an integer of at least 2, not <given>`                                                                                                                                                                                                           | The cap is what a crash between tries resumes against (the count on the row), so a cap that is not a whole number, or one under 2, would either retry forever or never and say neither.                                                                                                                                                                                                                                | Say attempts: 3 for two retries (the first try counts); leave retry out for none.                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0063 B03                                                          |
| `step.retry.classifies`                      | ctx.step, ctx.poll, defineStep                                                                                                | StepError                | `<step>: retry says what is transient: classify (a judgement of the thrown value) or codes (a non-empty list of error codes)`                                                                                                                                                                                       | A retry that names nothing transient would retry a business refusal (an order not found, a rule that says no) and hide it from the person who must act behind the delays, or retry nothing and say so nowhere.                                                                                                                                                                                                         | Name the codes a retry answers (codes: ["http_5xx", "StepTimedOut"]) or hand a classify over the thrown value (a connector's transient flag).                                                                                                                                                                                                                                                                                                                        | ADR-0050 decision 5; ADR-0063 B03                                     |
| `step.retry.delays`                          | ctx.step, ctx.poll, defineStep                                                                                                | StepError                | `<step>: retry names one of delays (a non-empty list of durations, "<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d") and backoff ({ base, factor?, max }, each a duration), not <given>; delaysMs and { baseMs, maxMs } are the deprecated spellings in milliseconds`                                                      | The wait before a retry is what decides between a sleep inside the attempt and a park on a retry wait; two spellings or none would make that moment a guess.                                                                                                                                                                                                                                                           | Write delays: ["1s", "5s"] (the last repeats) or backoff: { base: "500ms", max: "10s" } (factor 2 unless given), not both.                                                                                                                                                                                                                                                                                                                                           | ADR-0063 B03; ADR-0064 P15                                            |
| `step.retry.effect`                          | ctx.step, ctx.poll, defineStep                                                                                                | StepError                | `<step>: a write's <option> is its spec's: declare external (retry and timeoutMs are admitted on effect: "read" alone, not "<effect>")`                                                                                                                                                                             | A retried or timed-out write runs or lands twice: a plain step persists no intent before its call, so a second try after a try that landed, or a redrive after a timeout that landed, doubles the effect with nothing to reconcile it from; a read changes nothing, so a read alone may try again.                                                                                                                     | Declare the write as an external step (defineExternalStep or recordedWrite) and put the retry and the timeout on its spec (retry: { idempotent, classify, delaysMs }, timeoutMs), or make the step a read.                                                                                                                                                                                                                                                           | ADR-0050 decision 5; ADR-0063 B03                                     |
| `step.retry.resume`                          | ctx.step, ctx.poll, defineStep                                                                                                | StepError                | `<step>: retry.resume is "inline" (the next try after the delay inside the attempt, a park past the budget alone) or "park" (every next try on a fresh invocation after a retry park), not <given>`                                                                                                                 | Where the next try runs decides whether a transient of the process itself (a frozen instance, a poisoned socket pool) is met again: a word off the two would be ignored past the type and the step would retry inline where the author meant a fresh invocation, or the reverse, and say so nowhere.                                                                                                                   | Say resume: "park" for a retry whose next try must land on a fresh invocation (the run parks on a retry wait at every retry, the resumer wakes it at the delay's end), resume: "inline" or nothing for the sleep inside the attempt.                                                                                                                                                                                                                                 | ADR-0063 B03 amendment 2026-10-10 (LB-004)                            |
| `step.timeout.exceeds_invocation`            | ctx.step, ctx.poll, defineStep                                                                                                | StepError                | `<step>: timeoutMs <timeoutMs> is more than one invocation holds for a step (userStepMaxMs <userStepMaxMs>: the function limit less the platform's reserve)`                                                                                                                                                        | A try's timeout past the invocation could never be honoured: the platform kills the function first, the timeout never fires and the step's retry never sees StepTimedOut.                                                                                                                                                                                                                                              | Keep timeoutMs at or under userStepMaxMs (a try fits one invocation), or split the call.                                                                                                                                                                                                                                                                                                                                                                             | ADR-0066 D06                                                          |
| `step.timeout.ms`                            | ctx.step, ctx.poll, defineStep                                                                                                | StepError                | `<step>: timeout is a duration ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d") above zero, not <given>; timeoutMs (a positive number of milliseconds) is the deprecated spelling`                                                                                                                                       | The timeout is the moment the try's signal aborts; a zero, a negative, a bare number or a word would abort every try at once or never.                                                                                                                                                                                                                                                                                 | Say timeout: "10s" for ten seconds a try, or leave it out for the lease alone.                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0063 B03; ADR-0064 P15                                            |
| `step.undo.blank`                            | ctx.step, ctx.poll, ctx.batch, defineStep, defineExternalStep                                                                 | TypeError                | `<step>: compensate has no body; restore the before image or say why with irreversible: '<reason>'`                                                                                                                                                                                                                 | An empty compensation passes every test that runs once and undoes nothing when the saga rolls back, so the run reads COMPENSATED while the side effect stands.                                                                                                                                                                                                                                                         | Write the undo (restore the before image through the same client) or declare irreversible with the reason.                                                                                                                                                                                                                                                                                                                                                           | ADR-0060 decision 2                                                   |
| `step.undo.both`                             | ctx.step, ctx.poll, ctx.batch, defineStep, defineExternalStep                                                                 | TypeError                | `<step>: a step declares compensate or irreversible, not both`                                                                                                                                                                                                                                                      | A step that declares both says two things about one failure: the saga would run the compensation and still record the step as irreversible, and the Errors page would say the run is both undone and not.                                                                                                                                                                                                              | Keep one of the two: the undo, or the reason there is none.                                                                                                                                                                                                                                                                                                                                                                                                          | ADR-0041 item 4; ADR-0060 decision 2                                  |
| `step.undo.declares`                         | ctx.step, ctx.poll, ctx.batch, defineStep, defineExternalStep                                                                 | TypeError                | `<step>: a step declares compensate or irreversible`                                                                                                                                                                                                                                                                | A step that declares neither has no answer for a failure after it: the saga could neither undo it nor say why not, and the run would land COMPENSATED with a side effect still standing.                                                                                                                                                                                                                               | Declare compensate (an undo that restores the before image) or irreversible: '<reason>' (why it cannot be undone).                                                                                                                                                                                                                                                                                                                                                   | ADR-0041 item 4; ADR-0060 decision 2                                  |
| `step.undo.effect`                           | ctx.step, ctx.poll, ctx.batch, defineStep, defineExternalStep                                                                 | TypeError                | `<step>: a step with an undo declares what it changed; say effect: "provider" (a call whose answer the ledger keeps), "ledgered" or "external"`                                                                                                                                                                     | A step with an undo and no effect is read: it lands no ledger row, no reversesId, nothing for undo.run, so the console cannot show what it changed and the undo has no image to restore.                                                                                                                                                                                                                               | Declare the effect beside the undo: "provider" for a call whose answer the ledger keeps, "ledgered" for rows the body appends, "external" for a recorded write.                                                                                                                                                                                                                                                                                                      | ADR-0060 decision 2                                                   |
| `step.undo.reason`                           | ctx.step, ctx.poll, ctx.batch, defineStep, defineExternalStep                                                                 | TypeError                | `<step>: irreversible needs a reason a person can read on the Errors page, not "<given>"`                                                                                                                                                                                                                           | The reason is what the console shows a person deciding whether a COMPENSATED run left anything standing; an empty one or punctuation alone tells them nothing at the moment they need it.                                                                                                                                                                                                                              | Say what cannot be undone and why, in words: irreversible: 'a sent email cannot be unsent'.                                                                                                                                                                                                                                                                                                                                                                          | ADR-0060 decision 2                                                   |
| `step.write_key.shared`                      | recordedWrite                                                                                                                 | StepError                | `two writes in step <step> share writeKey <writeKey>; give each write its own: writeKey(<base>, <row id>)`                                                                                                                                                                                                          | The second intent would replace the first on the step row, so a crash mid-step would reconcile the last write alone and leave the first's landed write unrecorded; refused in every mode, before any intent is persisted, and the first write's intent stands untouched.                                                                                                                                               | Give every write of a step its own key: writeKey(<base>, <row id>) inside a loop over rows (the id slot is the row's identity), writeKey(<step>:<resource>) for a step's one write of a row.                                                                                                                                                                                                                                                                         | ADR-0060 decision 3                                                   |
| `transient.option.unknown`                   | retryTransient                                                                                                                | TypeError                | `<boundary>: retryTransient takes no option "<key>" (the options are leftMs and landed); a mis-spelled option past the type would be ignored`                                                                                                                                                                       | An option the ladder does not take is dropped in silence: a site that meant to bound its retries by the attempt's budget would retry past the kill, or one that meant a landed lookup would run its statement twice, and say so nowhere.                                                                                                                                                                               | Spell the option as the door names it: retryTransient(boundary, call, { leftMs, landed }).                                                                                                                                                                                                                                                                                                                                                                           | ADR-0078 D07                                                          |
| `update.await.timeout.grammar`               | awaitUpdate                                                                                                                   | TypeError                | `awaitUpdate: timeout is a duration above zero ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d": "20s"), not <given>`                                                                                                                                                                                                     | A timeout off the grammar names no moment to stop at, so a waiter would hold its request for good or for nothing.                                                                                                                                                                                                                                                                                                      | Spell timeout as a duration above zero, awaitUpdate(id, updateId, { timeout: "20s" }); a longer wait is a loop of bounded ones.                                                                                                                                                                                                                                                                                                                                      | ADR-0076 FP-031                                                       |
| `update.landed`                              | POST runs/:id/update/:name                                                                                                    | value                    | `the run is <status>: an update is applied by a run going on or parked, never by one that landed`                                                                                                                                                                                                                   | A landed run reaches no door again: a signal landed on it would stand as a fact nobody reads, and the waiter would hold its request for nothing.                                                                                                                                                                                                                                                                       | Nothing for a COMPLETED or UNDONE run; redrive a run in limbo first, then send the update again under the same id.                                                                                                                                                                                                                                                                                                                                                   | ADR-0076 FP-031                                                       |
| `update.open.max`                            | POST runs/:id/update/:name                                                                                                    | value                    | `<workflow>: <max> updates are open on the run already (landed, not yet applied); the next is refused until the body applies them`                                                                                                                                                                                  | The body applies what is pending at its next door in one row whose output carries every value; an unbounded backlog would grow that row past the cap and hold a hundred waiters on one run.                                                                                                                                                                                                                            | Wait for the body's next door (the open updates apply there) and send again under the same id; a body that must take more applies at more doors.                                                                                                                                                                                                                                                                                                                     | ADR-0076 FP-031                                                       |
| `update.output.unstorable`                   | ctx.updates                                                                                                                   | StepError                | `<workflow>: the updates door's row could not store its output whole on run <runId> (<verdict>); an update's value and the state after it are plain data under the step-output cap`                                                                                                                                 | The door's row is what a resumed attempt restores the state from and what the update's waiter reads the value off; a truncated or a redacted row would restore a preview and answer nothing.                                                                                                                                                                                                                           | Answer a bounded value from apply (the ids and the counts a caller keys on, never a list the world's size decides) and keep the state small; a secret never reaches a value (ctx.reply hands a one-time value back).                                                                                                                                                                                                                                                 | ADR-0076 FP-031                                                       |
| `update.refused`                             | POST runs/:id/update/:name                                                                                                    | value                    | `<workflow>: the update <update> was refused by its validator: <error>`                                                                                                                                                                                                                                             | The validator is the author's own verdict over the stored state and the args, run before any row so a refused update leaves no signal, no run and no fact behind.                                                                                                                                                                                                                                                      | Read the validator's sentence: fix the args, or send the update once the state admits it (a query says what the state holds).                                                                                                                                                                                                                                                                                                                                        | ADR-0076 FP-031                                                       |
| `update.signal`                              | POST runs/:id/update/:name                                                                                                    | value                    | `<workflow>: the update <update> could not be landed: the run.signal run ended <outcome>`                                                                                                                                                                                                                           | The signal is a keyed run of its own; one that did not complete left the update unlanded, and a waiter would hold for a value no door will answer.                                                                                                                                                                                                                                                                     | Read the run.signal run on the Errors page (keyed run.signal:<runId>:update:<id>), redrive or dismiss it, then send the update again under the same id.                                                                                                                                                                                                                                                                                                              | ADR-0076 FP-031                                                       |
| `update.unknown`                             | POST runs/:id/update/:name                                                                                                    | value                    | `<workflow> declares no update <update> (declared: <known>)`                                                                                                                                                                                                                                                        | An update not declared has no validator and no apply; landing it would leave a signal the body can only refuse at its door.                                                                                                                                                                                                                                                                                            | Send one of the declared updates (the catalog row's updates, the run page's list), or declare the update on the definition.                                                                                                                                                                                                                                                                                                                                          | ADR-0076 FP-031                                                       |
| `update.wait.grammar`                        | POST runs/:id/update/:name                                                                                                    | value                    | `wait: must be a duration above zero ("<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d": 20s), got <given>`                                                                                                                                                                                                                 | A wait off the grammar names no moment to answer at: the route would hold the request for nothing or for good.                                                                                                                                                                                                                                                                                                         | Spell wait as a duration above zero and at most 20s ("wait": "20s"); leave it out for the bound.                                                                                                                                                                                                                                                                                                                                                                     | ADR-0076 FP-031                                                       |
| `update.wait.too_long`                       | POST runs/:id/update/:name                                                                                                    | value                    | `wait: at most <max> a request (SQS's WaitTimeSeconds; a longer wait is the next request under the same updateId), got <given>`                                                                                                                                                                                     | A request held past the bound sits on a function's budget longer than the platform or a proxy keeps a connection open, so the value would be lost to a timeout the client never sees.                                                                                                                                                                                                                                  | Ask for at most 20s and ask again under the same updateId while the answer is in_flight: it answers the value once applied.                                                                                                                                                                                                                                                                                                                                          | ADR-0076 FP-031                                                       |
| `update.workflow.unknown`                    | POST runs/:id/update/:name                                                                                                    | value                    | `<workflow> is not a workflow this deployment knows: the update <update> has no handler here`                                                                                                                                                                                                                       | The validator runs in the route before any row; a deployment without the definition holds none, and landing the signal blind would let the body meet an update it never declared.                                                                                                                                                                                                                                      | Send the update to the deployment that defines the workflow, or deploy the definition here.                                                                                                                                                                                                                                                                                                                                                                          | ADR-0076 FP-031                                                       |
| `wait.bound`                                 | ctx.waitFor                                                                                                                   | StepError                | `<name>: a wait names a deadline or says forever: true; a wait without one is the run's for good`                                                                                                                                                                                                                   | A fact wait with no deadline waits for good when the fact never comes; the run reads WAITING forever and nothing on the Errors page says so.                                                                                                                                                                                                                                                                           | Name a deadline (a Date or ISO from the input, a prior output or the bound clock) or write forever: true as a decision.                                                                                                                                                                                                                                                                                                                                              | ADR-0060 decision 10                                                  |
| `wait.child_not_reverted`                    | ctx.child                                                                                                                     | Error                    | `child <childRunId> not reverted: undo.run <result>`                                                                                                                                                                                                                                                                | A child wait declared undo: "revert" reverts its completed child through the core's undo.run, a keyed run of its own whose outcome is a value; counting the child undone over a revert that did not complete (a row no reverter takes, a provider call's among them; a target a redrive claimed) would land the parent COMPENSATED over a child that stands.                                                           | Read the undo.run run the sentence names (the Errors page lists it by the child's key, undo.run:<childRunId>): a row no reverter takes means the child is not what undo: "revert" is for (its steps' own undos ran when it failed; a completed child of provider steps stands by design), so declare undo: "keep" and undo the child from its page; a refusal for a run in flight means a redrive claimed the child meanwhile, so redrive the parent once it landed. | ADR-0063 amendment 2026-10-08 (FW-011)                                |
| `wait.duration.grammar`                      | ctx.sleep, ctx.poll                                                                                                           | Error                    | `duration: "<duration>" is not <n>ms, <n>s, <n>m, <n>h or <n>d`                                                                                                                                                                                                                                                     | A duration off the grammar parses to no moment, and a run that parked on it would never be woken.                                                                                                                                                                                                                                                                                                                      | Spell the duration as "<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d".                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0050 decision 3                                                   |
| `wait.duration.not_positive`                 | ctx.sleep, ctx.poll                                                                                                           | Error                    | `duration: "<duration>" is not positive`                                                                                                                                                                                                                                                                            | A zero duration is a moment already passed and parks nothing; a poll every zero seconds would probe without end.                                                                                                                                                                                                                                                                                                       | Spell a duration above zero.                                                                                                                                                                                                                                                                                                                                                                                                                                         | ADR-0050 decision 3                                                   |
| `wait.duration.not_string`                   | ctx.sleep, ctx.poll                                                                                                           | Error                    | `duration: not a string`                                                                                                                                                                                                                                                                                            | A duration is parsed from its spelling; anything else is no moment to wake at.                                                                                                                                                                                                                                                                                                                                         | Spell the duration as "<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d".                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0050 decision 3                                                   |
| `wait.hold_row_outcome`                      | ctx.waitFor, ctx.sleep, ctx.child, ctx.waitForApproval                                                                        | Error                    | `wait <waitId> is a person's hold (fired by a resume) and has no outcome: a hold row never serves a step`                                                                                                                                                                                                           | A hold is a person's park at the boundary before a step, with no step row of its own (ADR-0063 B37); read as the step's own fired wait it answers nothing, the step fails on a person's pause, and the saga compensates what the person meant only to hold.                                                                                                                                                            | Nothing in a body: the two readers of a step's wait rows (the memo and the wait step) skip hold rows through isHoldRow; a reader that reaches this line is reading the wrong row.                                                                                                                                                                                                                                                                                    | ADR-0064 P02                                                          |
| `wait.match.redacted`                        | ctx.waitFor                                                                                                                   | Error                    | `match: a field among <fields> is redacted by the stored policy; match on plain identifiers`                                                                                                                                                                                                                        | Both sides hash what the policy lets through: a match on a field the policy redacts (a token, a secret) could never fire, or would fire on the placeholder alone and take any fact of the name.                                                                                                                                                                                                                        | Match on plain identifiers (an order id, a request id).                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0050 decision 3                                                   |
| `wait.moment.invalid`                        | ctx.sleepUntil, ctx.waitFor, ctx.waitForApproval                                                                              | Error                    | `not a moment: <given>`                                                                                                                                                                                                                                                                                             | A moment that does not parse (an empty string, a malformed ISO) is no time to wake at: the row would store an invalid date and the resumer would never find it due.                                                                                                                                                                                                                                                    | Hand a Date or an ISO string (from the input, a prior output or the bound clock) as the deadline, the since or the moment.                                                                                                                                                                                                                                                                                                                                           | ADR-0050 decision 3                                                   |
| `wait.outside_step`                          | ctx.waitFor, ctx.sleep, ctx.child, ctx.waitForApproval                                                                        | StepError                | `a wait runs inside a step's scope`                                                                                                                                                                                                                                                                                 | A wait's row is found again by the step's seq and name on the wake; without a step scope there is no row to park under.                                                                                                                                                                                                                                                                                                | Call the wait from the workflow's body through the context.                                                                                                                                                                                                                                                                                                                                                                                                          | ADR-0050 decision 3                                                   |
| `wait.woken_open`                            | ctx.waitFor, ctx.sleep, ctx.child, ctx.waitForApproval                                                                        | StepError                | `woken without its wait: wait <waitId> is still open`                                                                                                                                                                                                                                                               | A WAITING run is claimed only once its wait fired or its moment passed; a step reached with its row still open would park the run a second time on one wait.                                                                                                                                                                                                                                                           | Nothing in a body: the row is the engine's; redrive the run from the console.                                                                                                                                                                                                                                                                                                                                                                                        | ADR-0050 decision 3                                                   |
| `workflow.auto_redrive.classify`             | defineWorkflow, on                                                                                                            | Error                    | `<name>: autoRedrive.classify must be a function of the cause alone, pure as a key: <fault> (given <given>)`                                                                                                                                                                                                        | The classify is asked first at every landing of this definition's runs over the stored cause (ADR-0084); a value that is no function answers nothing, and one that reads the clock or randomness would judge the same cause differently on every landing, so a chain would start or stop by the minute.                                                                                                                | Write classify: (cause) => true \| false \| null over cause.errorCode and cause.error alone.                                                                                                                                                                                                                                                                                                                                                                         | ADR-0084                                                              |
| `workflow.auto_redrive.codes`                | defineWorkflow, on                                                                                                            | Error                    | `<name>: autoRedrive.codes must be a list of non-empty strings, not <given>`                                                                                                                                                                                                                                        | A code is compared exactly against the fact's errorCode (ADR-0084); a list holding a number, an empty string or no list at all would match nothing and the definition's transient causes would never be retried.                                                                                                                                                                                                       | List the codes as errorCodeOf spells them; spread AUTO_REDRIVE_TRANSIENT_CODES to keep the engine's.                                                                                                                                                                                                                                                                                                                                                                 | ADR-0084                                                              |
| `workflow.auto_redrive.delays`               | defineWorkflow, on                                                                                                            | Error                    | `<name>: autoRedrive.delays must be a non-empty list of durations above zero (<spellings>), not <given>`                                                                                                                                                                                                            | The n-th redrive of this definition's runs waits delays[n - 1] (ADR-0084); an empty list or a delay off the grammar would queue the fact for never or for now, and a chain would run at once three times or not at all.                                                                                                                                                                                                | Spell delays as ["2m", "10m", "30m"]: the n-th redrive waits delays[n - 1], the last repeating.                                                                                                                                                                                                                                                                                                                                                                      | ADR-0084                                                              |
| `workflow.auto_redrive.max`                  | defineWorkflow, on                                                                                                            | Error                    | `<name>: autoRedrive.max must be an integer from 1 to <bound>, not <given>`                                                                                                                                                                                                                                         | The bound is the count a failure chain of this definition stops at (ADR-0084); zero would retry never and schedule a row that says otherwise, a fraction compares to nothing, and a bound past ten would redrive a dead cause for an hour before a person saw it.                                                                                                                                                      | Spell max as a whole number from 1 to 10 (the bound policy's unless said).                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0084                                                              |
| `workflow.auto_redrive.shape`                | defineWorkflow, on                                                                                                            | Error                    | `<name>: autoRedrive must be false or { max?, delays?, codes?, classify? }, not <given>`                                                                                                                                                                                                                            | A definition's auto-redrive policy is read off the registry at every transient landing of its runs (ADR-0084); a value off its shape (a word, true, a list, a key the policy does not take) would be read as the bound policy or as nothing, and the definition would be retried as its author never said or never opted out as it meant to.                                                                           | Write autoRedrive: false to opt the definition out, or an object over the four fields (max, delays, codes, classify).                                                                                                                                                                                                                                                                                                                                                | ADR-0084                                                              |
| `workflow.cancel_on.count`                   | defineWorkflow                                                                                                                | TypeError                | `<name>: cancelOn names <count> entries; at most <max>`                                                                                                                                                                                                                                                             | Every entry is a wait row armed on every run and a look-back at every arming; an unbounded list would make a run's start cost the list's length.                                                                                                                                                                                                                                                                       | Keep at most five entries; a sixth reason to cancel is a fact a listener turns into run.cancel.                                                                                                                                                                                                                                                                                                                                                                      | ADR-0076 FP-033                                                       |
| `workflow.cancel_on.event`                   | defineWorkflow                                                                                                                | TypeError                | `<name>: <at>.event must be a fact's name, not <given>`                                                                                                                                                                                                                                                             | The row's eventName is what the dispatcher's lookup reads; a value that is no name would arm a row no fact ever reaches.                                                                                                                                                                                                                                                                                               | Name the fact as the catalog declares it (event: "order.cancelled").                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0076 FP-033                                                       |
| `workflow.cancel_on.match`                   | defineWorkflow                                                                                                                | TypeError                | `<name>: <at>.match must be an object of the payload's fields or a function of the input, not <given>`                                                                                                                                                                                                              | The match is hashed over its keys at the arming and judged at every delivery; a value of another shape would hash to a spelling no payload ever makes.                                                                                                                                                                                                                                                                 | Write match: { <field>: <value> } for a constant match, match: (input) => ({ <field>: input.<field> }) to bind the run's own input, or leave it out for every fact of the name.                                                                                                                                                                                                                                                                                      | ADR-0076 FP-033                                                       |
| `workflow.cancel_on.option`                  | defineWorkflow                                                                                                                | TypeError                | `<name>: <at> carries no option "<key>" (the options are <known>); a mis-spelled option past the type would be ignored`                                                                                                                                                                                             | An entry's option the type does not know (Inngest's timeout, a since misspelled) would be ignored and the author would read a bound the engine never kept.                                                                                                                                                                                                                                                             | Spell the entry as { event, match?, since? } and drop a key the entry does not take; a bound in time is the definition's timeout.                                                                                                                                                                                                                                                                                                                                    | ADR-0076 FP-033                                                       |
| `workflow.cancel_on.shape`                   | defineWorkflow                                                                                                                | TypeError                | `<name>: cancelOn must be an array of { event, match?, since? }, not <given>`                                                                                                                                                                                                                                       | A list of another shape would arm no row and cancel nothing, while the author reads the definition as cancellable by its fact.                                                                                                                                                                                                                                                                                         | Write cancelOn: [{ event: "<fact>", match: (input) => ({ <field>: input.<field> }) }], at most five entries.                                                                                                                                                                                                                                                                                                                                                         | ADR-0076 FP-033                                                       |
| `workflow.cancel_on.since`                   | defineWorkflow                                                                                                                | TypeError                | `<name>: <at>.since must be a function of the input, not <given>`                                                                                                                                                                                                                                                   | A constant moment would be read as every run's floor: a run started a week later would look back a week, and one started before it would look forward.                                                                                                                                                                                                                                                                 | Write since: (input) => input.<moment> (a Date, an ISO string, or null for the run's start), or leave it out.                                                                                                                                                                                                                                                                                                                                                        | ADR-0076 FP-033                                                       |
| `workflow.cancel_on.unknown_event`           | defineWorkflow                                                                                                                | TypeError                | `<name>: <at> names <event>, which the bound catalog does not name`                                                                                                                                                                                                                                                 | A fact the catalog does not declare is never emitted here, so the entry would cancel nothing and nobody would say so.                                                                                                                                                                                                                                                                                                  | Declare the fact in the host's catalog (defineEvents) first, or name one the catalog declares; durable-sdk doctor --definitions lists them.                                                                                                                                                                                                                                                                                                                          | ADR-0076 FP-033                                                       |
| `workflow.concurrency.key_not_function`      | defineWorkflow                                                                                                                | Error                    | `<name>: concurrency.key must be a function of the input`                                                                                                                                                                                                                                                           | A cap's match is computed from the input at every start, resume and redrive; a key that is not a function would be a constant every run shares, or nothing, and the cap would park every run under one match.                                                                                                                                                                                                          | Write concurrency.key as a function over the input's fields (the store, the account), or leave it out for one match per workflow.                                                                                                                                                                                                                                                                                                                                    | ADR-0052 decision 5                                                   |
| `workflow.concurrency.max`                   | defineWorkflow                                                                                                                | Error                    | `<name>: concurrency.max must be an integer of at least 1, not <given>`                                                                                                                                                                                                                                             | A cap of zero or a fraction admits no run, or a different number of runs than the author read, so every start parks for good or the cap counts wrong.                                                                                                                                                                                                                                                                  | Spell max as an integer of at least 1.                                                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0052 decision 5                                                   |
| `workflow.concurrency.shape`                 | defineWorkflow                                                                                                                | Error                    | `<name>: concurrency must be { max, key? }`                                                                                                                                                                                                                                                                         | A cap that is not an object caps nothing, and every start would run unbounded against the provider the cap protects.                                                                                                                                                                                                                                                                                                   | Write concurrency: { max: <n> } or { max: <n>, key: (input) => <match> }.                                                                                                                                                                                                                                                                                                                                                                                            | ADR-0052 decision 5                                                   |
| `workflow.fingerprint.shape`                 | defineWorkflow                                                                                                                | TypeError                | `<name>: fingerprint must be a function of the cause ({ step, errorCode, error, input }) answering a list of strings, not <given>`                                                                                                                                                                                  | The finish and the resumer call the hook over every landing's cause; a value that is not a function would throw at the first failure, where a throw is only a line and the cause would sign under the normaliser without a word.                                                                                                                                                                                       | Write fingerprint: ({ step, errorCode, error, input }) => [<the identity's parts>] (or nothing for the normaliser's reading), reading the cause and the input alone.                                                                                                                                                                                                                                                                                                 | ADR-0044 §3 (FW-053)                                                  |
| `workflow.hooks.input`                       | defineWorkflow                                                                                                                | TypeError                | `<name>: hooks.<hook> declares no input shape; a hook declares input: as<I>() (a type alone) or a schema with safeParse`                                                                                                                                                                                            | Without a declared input the registrar could not type a handler's first argument and the catalog could not say what the hook hands its extenders; a cast past the type would register bodies over an unknown shape.                                                                                                                                                                                                    | Add input: as<{ … }>() to the declaration, or a zod schema where the shape should reach the catalog and the output be checked.                                                                                                                                                                                                                                                                                                                                       | ADR-0063 Appendix M U1                                                |
| `workflow.hooks.name`                        | defineWorkflow                                                                                                                | TypeError                | `<name>: hook name <hook> is not of the grammar <pattern>`                                                                                                                                                                                                                                                          | A hook's name is spelled into its step name (hook:<name>) and its handlers' (hook:<name>#<handler>); a name off the step name's grammar, or carrying # or :, would be refused at the step door on every run or collide with a derived id.                                                                                                                                                                              | Name the hook with a letter or digit first, then letters, digits, dots, underscores and hyphens (productsCreated, order.placed).                                                                                                                                                                                                                                                                                                                                     | ADR-0063 Appendix M U1                                                |
| `workflow.hooks.output`                      | defineWorkflow                                                                                                                | TypeError                | `<name>: hooks.<hook>.output is neither as<O>() nor a schema with safeParse`                                                                                                                                                                                                                                        | The merged output is held to the declared shape at the door when it is a schema; a value of another kind could neither be checked nor rendered on the catalog, and the body would read an output nothing described.                                                                                                                                                                                                    | Declare output as as<{ … }>() or a zod schema, or leave it out (the handlers' answers then merge as they come).                                                                                                                                                                                                                                                                                                                                                      | ADR-0063 Appendix M U1                                                |
| `workflow.hooks.shape`                       | defineWorkflow                                                                                                                | TypeError                | `<name>: hooks is an object of declarations by hook name ({ <hook>: { input: as<I>(), output?: as<O>() } })`                                                                                                                                                                                                        | The registrars and the catalog are built from the declarations' keys; an array or a primitive has none, so no module could extend the workflow and the body's ctx.hook would be refused at every call.                                                                                                                                                                                                                 | Declare the hooks as an object keyed by hook name, each with an input shape.                                                                                                                                                                                                                                                                                                                                                                                         | ADR-0063 Appendix M U1                                                |
| `workflow.input.scope_not_string`            | execute                                                                                                                       | Error                    | `run not started: <name>: the input's <which> is <what>, not a string; a scope is a string or null`                                                                                                                                                                                                                 | A definition that names no scope resolver reads the input's own scope field (or its deprecated alias) as the partition; a mistyped field (an object, a number) would land the run in the default partition without a word and every reader scoped to the store would miss it.                                                                                                                                          | Put the partition in the input as a string under scope, or null for work that belongs to no scope.                                                                                                                                                                                                                                                                                                                                                                   | ADR-0051 §1                                                           |
| `workflow.key.empty`                         | defineWorkflow                                                                                                                | Error                    | `<name>: key: at least one field`                                                                                                                                                                                                                                                                                   | An empty field list names no intent: every input would key to the workflow's bare name and every start after the first would answer the first run.                                                                                                                                                                                                                                                                     | List the fields that name the intent (what makes two starts the same work), with requestId for the moment.                                                                                                                                                                                                                                                                                                                                                           | ADR-0051 §1                                                           |
| `workflow.key.reads_clock`                   | defineWorkflow                                                                                                                | TypeError                | `<name>: key reads the clock or randomness; put the moment in the input as requestId`                                                                                                                                                                                                                               | A key is re-read from the stored input by the resumer, the redrive and the operator actions; a key valued from the clock or randomness names a new intent on every call, so a resume or a redrive starts a second run instead of continuing the first.                                                                                                                                                                 | Key on the input's fields alone (a field list, or a function over the input) and put the moment in the input as requestId.                                                                                                                                                                                                                                                                                                                                           | ADR-0060 decision 5                                                   |
| `workflow.key.secret_part`                   | defineWorkflow, execute                                                                                                       | Error                    | `run not started: key: the part <part> holds a secret, which a key never carries`                                                                                                                                                                                                                                   | The key column is stored run data read by the console, the bundle and the relay; a part the policy redacts (a field named like a secret, a credential's shape, a Secret<T>) would either leak there or key on the placeholder alone, so two different secrets would be one intent.                                                                                                                                     | Key on a plain identifier of the intent and hand the secret on execute options or read it inside the step.                                                                                                                                                                                                                                                                                                                                                           | ADR-0051 §1                                                           |
| `workflow.lightweight.shape`                 | defineWorkflow, on                                                                                                            | Error                    | `<name>: lightweight must be true or false, not <given>`                                                                                                                                                                                                                                                            | A lightweight run is one run row and no step row, re-run whole after a crash (ADR-0076 FP-038); a flag off its shape (a string, a number, an object) would read as truthy and turn a definition lightweight its author never meant to, or as falsy and keep the rows its author meant to drop.                                                                                                                         | Write lightweight: true for a run of reads kept in memory with no step row (every step a read whose re-run costs nothing, no wait, no child, no batch, no poll, no recorded write), or leave it out.                                                                                                                                                                                                                                                                 | ADR-0076 FP-038                                                       |
| `workflow.name.grammar`                      | defineWorkflow                                                                                                                | TypeError                | `<name>: a workflow name is <domain>.<verb> (<pattern>), not <given>`                                                                                                                                                                                                                                               | A workflow name is stored on every run row, key and signature, so a name off the grammar (a space, a hyphen, a segment opening upper-case or with a digit, a bare word) would be spelled into rows no reader can group or rename.                                                                                                                                                                                      | Name it <domain>.<verb>: segments joined by dots, each opening with a lower-case letter and going on with letters, digits and underscores.                                                                                                                                                                                                                                                                                                                           | ADR-0060 decision 4                                                   |
| `workflow.name.reserved`                     | defineWorkflow                                                                                                                | TypeError                | `<name>: the name is the core's (<owner>); name the workflow under your own domain`                                                                                                                                                                                                                                 | The names the core owns outside a reserved prefix (relay.backfill, relay.policy.override, issue.resolve) are operator actions the console runs; a host definition under one would replace the action under a dev server's rebind and the console would run the host's body.                                                                                                                                            | Name the workflow under your own domain; relay.ping and relay.pong stay a host's own, and so does any other issue.* name.                                                                                                                                                                                                                                                                                                                                            | ADR-0060 decision 4                                                   |
| `workflow.name.reserved_prefix`              | defineWorkflow                                                                                                                | TypeError                | `<name>: the prefix "<prefix>" is the core's (<owner>); name the workflow under your own domain`                                                                                                                                                                                                                    | The core registers its own workflows under the prefix (the listeners' runs, the operator actions, the schedules, the undo, retention), so a host definition there would shadow or be shadowed by one of them at the resumer.                                                                                                                                                                                           | Name the workflow under your own domain (<domain>.<verb>); the reserved prefixes are listed by reservedWorkflowPrefixes().                                                                                                                                                                                                                                                                                                                                           | ADR-0060 decision 4                                                   |
| `workflow.option.unknown`                    | defineWorkflow                                                                                                                | Error                    | `<name>: the definition carries no option "<key>" (the options are <known>); a mis-spelled option past the type would be ignored`                                                                                                                                                                                   | A definition built past the type (a cast, a spread of a loose object, a host's wider wrapper) carrying a mis-spelled option was silently ignored, so a workflow ran without the timeout, the schedule or the cap its author believed it declared.                                                                                                                                                                      | Spell the option as the definition names it (timeout, schedule, concurrency, version, replay, …) and drop a key the definition does not take.                                                                                                                                                                                                                                                                                                                        | ADR-0064 P15                                                          |
| `workflow.priority.bound`                    | defineWorkflow                                                                                                                | TypeError                | `<name>: priority <given> is not an integer of seconds in −<max>…<max>; the definition's priority is the default of the facts its runs emit`                                                                                                                                                                        | A definition whose priority is off the grammar would hand every fact its runs emit a moment the door refuses at the queue, so every run of it would fail at its first emit instead of the boot naming the definition.                                                                                                                                                                                                  | Spell priority as an integer of seconds within ±600 on the definition, or leave it out; a run's ctx.emit may still name its own.                                                                                                                                                                                                                                                                                                                                     | ADR-0076 D06 (FP-025)                                                 |
| `workflow.queries.handler`                   | defineWorkflow                                                                                                                | TypeError                | `<name>: queries.<query> is not a function; a query is (state, args) => value`                                                                                                                                                                                                                                      | A query is run by the route over the stored state at every GET; a value in its place would throw at the first read and answer nothing a person could act on.                                                                                                                                                                                                                                                           | Write the query as a function of the state: count: (state) => state.count.                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0076 FP-031                                                       |
| `workflow.queries.name`                      | defineWorkflow                                                                                                                | TypeError                | `<name>: query name <query> is not of the grammar /^[a-zA-Z0-9][a-zA-Z0-9._-]*$/`                                                                                                                                                                                                                                   | A query's name is a path segment of GET runs/:id/query/:name and a column of the catalog; a name with a space, a slash or a leading dot could not be asked for by its route.                                                                                                                                                                                                                                           | Name the query with a letter or digit first, then letters, digits, dots, underscores and hyphens (count, items.open).                                                                                                                                                                                                                                                                                                                                                | ADR-0076 FP-031                                                       |
| `workflow.queries.shape`                     | defineWorkflow                                                                                                                | TypeError                | `<name>: queries is an object of handlers by query name ({ <query>: (state, args) => value })`                                                                                                                                                                                                                      | The catalog's query names and the query route's lookup are built from the declaration's keys; an array or a primitive has none, so no query could be answered and GET runs/:id/query/:name would refuse every name.                                                                                                                                                                                                    | Declare the queries as an object keyed by query name, each a function of the state (and the caller's args).                                                                                                                                                                                                                                                                                                                                                          | ADR-0076 FP-031                                                       |
| `workflow.replay.invalid`                    | defineWorkflow                                                                                                                | Error                    | `<name>: replay must be <policies>, not <given>`                                                                                                                                                                                                                                                                    | The memo reads the definition's replay policy at every divergence; a misspelt word would read as neither, and a body that diverged would be served or refused by accident rather than by the definition's say-so.                                                                                                                                                                                                      | Spell replay as "strict" (the default: a divergence is ReplayDiverged) or "lenient" (counted and served, with the reason in the ADR of who may).                                                                                                                                                                                                                                                                                                                     | ADR-0063 B04                                                          |
| `workflow.resolver.reads_clock`              | defineWorkflow                                                                                                                | TypeError                | `<name>: <what> reads the clock or randomness; a <what> is a function of the input alone (put the moment in the input as requestId)`                                                                                                                                                                                | scope, scopeId, summary, tags, concurrency.key and (since FW-053) fingerprint are re-read from the stored input by the resumer, the redrive and the operator actions; one that read the clock would answer another partition, summary, cap match or cause identity on attempt 2 than on attempt 1.                                                                                                                     | Derive the field from the input's fields alone; put the moment in the input as requestId.                                                                                                                                                                                                                                                                                                                                                                            | ADR-0060 decision 5                                                   |
| `workflow.tags.invalid`                      | defineWorkflow                                                                                                                | TypeError                | `<name>: <finding>; tags is a string map of at most 16 tags, each value at most 64 characters, read from the input alone`                                                                                                                                                                                           | A run's tags are stored at its birth and matched by containment on the search; a map over the bounds would bloat every row and the GIN index, and a value that is not a string could never be asked for as tag=k:v.                                                                                                                                                                                                    | Make tags answer a flat map of at most 16 string values of at most 64 characters each, with no colon in a key, from the input's fields alone.                                                                                                                                                                                                                                                                                                                        | ADR-0063 B33                                                          |
| `workflow.timeout.grammar`                   | defineWorkflow                                                                                                                | Error                    | `<name>: timeout must be "<n>ms", "<n>s", "<n>m", "<n>h" or "<n>d", not <given>`                                                                                                                                                                                                                                    | A timeout is parsed once at definition into the deadline every run of the workflow is stamped with at its start; one off the grammar (a number, an empty string, a unit the engine does not spell) names no moment, so a run on `forever: true` or a long chain would live for good with nothing to end it, or every run would end at once.                                                                            | Spell timeout as a duration, "7d", "1h", "30m" or "<n>s", the grammar ctx.sleep takes; leave it out for a workflow that must never time out.                                                                                                                                                                                                                                                                                                                         | ADR-0063 B16                                                          |
| `workflow.updates.handler`                   | defineWorkflow                                                                                                                | TypeError                | `<name>: updates.<update> is { validate?, apply } with apply a function (and validate one when given)`                                                                                                                                                                                                              | apply runs inside the body's door and its answer is the update's value on the door's row; a handler without one would land every update under this name refused, and a validate that is no function would throw in the route in place of a refusal.                                                                                                                                                                    | Write the update as { apply: (state, args) => value } with an optional validate: (state, args) => void that throws to refuse.                                                                                                                                                                                                                                                                                                                                        | ADR-0076 FP-031                                                       |
| `workflow.updates.name`                      | defineWorkflow                                                                                                                | TypeError                | `<name>: update name <update> is not of the grammar /^[a-zA-Z0-9][a-zA-Z0-9._-]*$/`                                                                                                                                                                                                                                 | An update's name is a path segment of POST runs/:id/update/:name and rides the run.signalled fact's payload; a name with a space, a slash or a leading dot could not be asked for by its route.                                                                                                                                                                                                                        | Name the update with a letter or digit first, then letters, digits, dots, underscores and hyphens (add, items.close).                                                                                                                                                                                                                                                                                                                                                | ADR-0076 FP-031                                                       |
| `workflow.updates.shape`                     | defineWorkflow                                                                                                                | TypeError                | `<name>: updates is an object of handlers by update name ({ <update>: { validate?, apply } })`                                                                                                                                                                                                                      | The catalog's update names, the update route's lookup and the body's door are built from the declaration's keys; an array or a primitive has none, so no update could be landed or applied.                                                                                                                                                                                                                            | Declare the updates as an object keyed by update name, each { validate?: (state, args) => void, apply: (state, args, i) => value }.                                                                                                                                                                                                                                                                                                                                  | ADR-0076 FP-031                                                       |
| `workflow.version.invalid`                   | defineWorkflow                                                                                                                | Error                    | `<name>: version must be a positive integer, not <given>`                                                                                                                                                                                                                                                           | A run stores the version it started under and the resumer and the redrive compare it with the definition's; a fraction, zero, a negative number or a string would compare to nothing and a run in flight could be replayed over another version's rows.                                                                                                                                                                | Spell version as a positive integer (1 when absent).                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0051 §15                                                          |
| `write_key.base`                             | writeKey                                                                                                                      | TypeError                | `writeKey(<base>): a base is one or more segments of [a-zA-Z0-9._-]+ joined by ":"`                                                                                                                                                                                                                                 | A key outside the grammar (a space, a slash, a quote, an empty segment) is one the recorder cannot tell apart from its neighbour on the row, one no page or log filter finds whole, and one whose join with an id is ambiguous.                                                                                                                                                                                        | Spell the base as <step> or <step>:<resource> and hand the row's identity as the id: writeKey(base, id).                                                                                                                                                                                                                                                                                                                                                             | ADR-0060 decision 3                                                   |
| `write_key.id`                               | writeKey                                                                                                                      | TypeError                | `writeKey(<base>, <id>): an id is one segment of [a-zA-Z0-9._-]+ or a non-negative safe integer`                                                                                                                                                                                                                    | An id with a colon, a slash or a space would make two keys read as one or hide the join, so a reconcile by key could match another row's intent.                                                                                                                                                                                                                                                                       | Hand the row's own id (a cuid, a code, a cycle) and put a resource word in the base: writeKey("<step>:<resource>", row.id).                                                                                                                                                                                                                                                                                                                                          | ADR-0060 decision 3                                                   |
| `write_key.too_long`                         | writeKey                                                                                                                      | TypeError                | `writeKey(<key>): <chars> characters, over the <max> a key may hold`                                                                                                                                                                                                                                                | A key past the bound bloats every pending entry and intent row that carries it and shows truncated on every page.                                                                                                                                                                                                                                                                                                      | Key on the row's id, never on a payload, a name a person typed or a list of ids.                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0060 decision 3                                                   |
| `write.compared.undefined`                   | compareAndSet                                                                                                                 | TypeError                | `compareAndSet(<writeKey>): the compared column <column> is undefined on <id>; a fence over undefined constrains nothing (the client drops the entry), so the compare-and-set would widen to the id alone`                                                                                                          | An ORM client drops a `where` entry valued `undefined` (ADR-0041 item 10: `{ runId: undefined }` matches every row), so a compared column a callback valued through an optional chain, a `?? undefined` or a field the row does not carry silently leaves the fence: the compare-and-set lands on the id alone and a row another attempt moved is overwritten, the StaleWrite the whole design stands on never thrown. | Compare the column as the row holds it: null for a nullable column (`parentId: row.parentId ?? null`), the row's own field for every other, never an optional chain, a `?? undefined` or a name the model lacks; a column the write does not own is left out of `compared`, not valued undefined.                                                                                                                                                                    | ADR-0041 item 10                                                      |
| `write.outside_step`                         | recordedWrite                                                                                                                 | Error                    | `recordedWrite(<writeKey>): not inside a step; a recorded write needs the step's row`                                                                                                                                                                                                                               | The write's intent is persisted on the step row before the call so the next attempt can reconcile it; outside a step there is no row, and a crash after the call would leave a write nobody can find.                                                                                                                                                                                                                  | Call recordedWrite inside a ctx.step body (or a defineStep's invoke).                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0041 item 6                                                       |

### What each primitive costs (43)

What a primitive holds, locks or parks, what a crash between its call and its row does, what a redrive does: one sentence each (`DRAWBACKS` beside the registry; the reaction graph's edges read the same rows).

| Primitive                   | Call                                                                                                                                                                                                                                                                                                                                 | Drawback                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR                                                                                                               |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `ctx.step`                  | `ctx.step(name, body, { undo, effect } \| { irreversible })`                                                                                                                                                                                                                                                                         | One step row per call, started before the body and finished after it, the ledger rows the body appends under its effect; a crash between the body and the row's finish re-invokes the body on the next attempt (a provider call is replayed from its ledger row, a read is run again), and a redrive replays every finished row and re-runs the step that failed. A read step declared completion: "behind" (FP-011 as landed, opt-in) lands its COMPLETED row on the next boundary's statement or the finish instead of its own, one statement a step where there were two, at the price that a crash between its body's return and that statement leaves the row STARTED and the next attempt reads again; the default ("now") keeps the answer on its row before the body goes on, replayed after any crash (ADR-0063 B22).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0051 §1; ADR-0076 D05 (3)                                                                                     |
| `ctx.poll`                  | `ctx.poll(name, probe, { every, until, done })`                                                                                                                                                                                                                                                                                      | One step row per probe (<name>#<n>) and a timer wait between probes (a wait row, the function released), the window read from the first probe's row; a crash mid-probe re-runs that probe and never an earlier one, and a timeout is a value, { timedOut: true, last }, not a failure.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0050 decision 4                                                                                               |
| `ctx.batch`                 | `ctx.batch(name, source, { size, concurrency, ledger }, body, undo)`                                                                                                                                                                                                                                                                 | One step row per chunk (<name>#<index>) with the cursor on it; holds up to concurrency chunk bodies (a wave) in one function under one lease and one signal, the next chunk started once the previous read answered its cursor; locks the scope's ledger once per chunk flush (under ledger: "chunk" a chunk's images land in one transaction at the flush or not at all), the chain's seq following commit order under a wave while the step rows keep index order; parks only between waves (the run WAITING, continued by the tick's resumer): a deadline or a bucket's refusal waits for the chunks in flight (about one chunk's budget, the author's expected chunk length; a sibling runs to its end or the attempt's deadline, nothing cuts it at budget), then parks once, a refusal on the latest retryAt of the wave's refusals (a bucket refilled meanwhile costs one tick), the refused chunks re-running from their STARTED rows, a failure or a fence among the siblings winning over either park; refuses concurrency above 8, a second batch on the attempt and read beside an undo; a crash mid-wave leaves the wave's STARTED rows to the next attempt, which replays the COMPLETED ones and re-invokes the rest from their cursors; a RateLimited in a step outside the batch while a wave is open parks at once and fences the wave. | ADR-0052 decisions 2 and 4; ADR-0061 decision 1                                                                   |
| `ctx.all`                   | `ctx.all({ name: () => ctx.step(…) }, { concurrency, id })`                                                                                                                                                                                                                                                                          | No row of its own: each member's steps are this run's rows, their seqs reserved at the call in member order (with id, replayed by <id>#<member>), at most concurrency (8) members in flight under the attempt's one lease; the first failure is held while the rest settle, then every completed member is undone in the reverse of completion order; a member's rate refusal is held and the group parks once after the settle, and any other wait inside a member (a sleep, a signal, a child, a poll, a batch's deadline park) is refused at the door; a bare Promise.all over steps is refused by the authoring guard.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0063 Appendix M U2                                                                                            |
| `ctx.hook`                  | `ctx.hook("<name>", input, { id })`                                                                                                                                                                                                                                                                                                  | One step row for the hook (hook:<name>, read, no undo of its own) and one per registered handler inside it (hook:<name>#<handler>, each with its own undo or reason), the handlers run one after another in registration order under the attempt's one lease, their answers merged by key into the hook's output (null with no handler); a crash between a handler's row and the hook's re-runs the hook's body, which replays the landed handlers from their rows and invokes the rest; a later failure undoes the handlers in reverse with the run's other steps, and a handler's throw fails the run naming the handler.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0063 Appendix M U1                                                                                            |
| `workflow.hooks`            | `workflow.hooks.<name>("<handler>", async (input, i) => …, { undo, effect } \| { irreversible })`                                                                                                                                                                                                                                    | One handler per name on a hook, registered at boot by a module the manifest lists (a duplicate name by the same copy is refused, or replaced in place under a dev server's rebind); a handler added while runs are in flight is an insertion among ids (no version bump: a run past the hook replays its rows and walks the new handler on its next attempt), and a handler's effect happens inside the saga of every run that reaches the hook, never outside one.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ADR-0063 Appendix M U1                                                                                            |
| `ctx.waitFor`               | `ctx.waitFor(name, { match, deadline \| forever, since, check, onTimeout })`                                                                                                                                                                                                                                                         | The run parks WAITING on one wait row and holds no function; the look-back reads the delivered rows of the name since the run began before the park, the dispatcher fires the row on a later fact, a deadline fails the run (WaitTimedOut) unless onTimeout: "return" makes it a value ({ fired: "deadline" }), a redrive after the failure waits again; a look-back lost to a crash between the park's commit and its fire is swept by the resumer a minute later.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ADR-0050 decision 3; ADR-0060 decision 10                                                                         |
| `ctx.sleep`                 | `ctx.sleep(duration) / ctx.sleepUntil(moment)`                                                                                                                                                                                                                                                                                       | The run parks WAITING on one timer row and holds no function until the tick's resumer wakes it at the moment (the cron's minute is the precision); a moment already passed parks nothing, and a crash after the park loses nothing, the row being the run's.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | ADR-0050 decision 3                                                                                               |
| `ctx.child`                 | `ctx.child(workflow, input, { onFail, undo })`                                                                                                                                                                                                                                                                                       | One run of its own under the child's key and a child wait row on the parent (the parent WAITING, no function held) until the child ends; the child's input is judged storable at the door, a child that fails fails the parent's step (ChildFailed) unless onFail: "return" hands it back as a value, and the parent's compensation undoes a completed child only under undo: "revert" (the core's undo.run through the host's reverters).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0050 decision 3                                                                                               |
| `ctx.fanOut`                | `ctx.fanOut(workflow, inputs, { concurrency, tolerate, chunk, onFail })`                                                                                                                                                                                                                                                             | One step row for the fan-out and one join wait row on the parent, N children inserted as parked runs through one statement per chunk (500 a chunk; a run, a key and a birth wait each), the parent WAITING on the join until every child landed (remaining 0) or the failures passed tolerate (fired failed at once, the children still going left to land); each child's finish decrements the counter in its own statement and spends its pointer, the resumer wakes the children concurrency abreast and drains its due page while they remain; the outcome is bounded ({ total, done, failed, failedIds }, never the children's outputs), the undo cancels the children still in flight in one statement and leaves the landed ones, a crash between the chunks resumes from the rows (the open row found, the chunks idempotent on the children's keys) and a redrive after JoinFailed re-joins the children as they stand; refused inside a step, a batch or an all, over 10 000 inputs, on a duplicate or a foreign key and on a capped child workflow.                                                                                                                                                                                                                                                                                           | ADR-0076 FP-037                                                                                                   |
| `ctx.waitForApproval`       | `ctx.waitForApproval({ token, deadline })`                                                                                                                                                                                                                                                                                           | The run parks WAITING on a signal wait row under its token, fired by run.signal from the console with a payload the step reads, or at once by a signal sent before the park (buffered as the fact run.signalled: to a RUNNING run, to one WAITING on something else, or with the start's signals), read back at the park and never twice; nothing but the deadline wakes it otherwise, and the token is the only door.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0050 decision 3; ADR-0063 B05                                                                                 |
| `ctx.state`                 | `ctx.state (a plain object the body reads and assigns); defineWorkflow({ queries, updates }); await ctx.updates()`                                                                                                                                                                                                                   | No row of its own: the state is written onto the run row in the next step boundary's own statement when it moved (and at the landing), bounded as a step output is and refused by name past the cap or under a redacted value; a query reads the row as it stands (the state as of the last boundary, never the body's live object) and writes nothing; an update is one signal under its id, applied at the body's next ctx.updates() as one step row whatever it applied (the values and the state after them on the row, so a resumed attempt restores the state from it and applies nothing twice, and the steps after the door never move), ten open per run at most; a body that never calls the door never applies an update, and one that calls it before a wait applies nothing that landed during the wait.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0076 FP-031                                                                                                   |
| `recordedWrite`             | `recordedWrite({ writeKey, read, compare, desired, write, image })`                                                                                                                                                                                                                                                                  | Its intent lands on the step row (WorkflowStep.pending) before the call and its ledger row after it; a crash between the two is reconciled by the next attempt from the landed row or the world (RECONCILED), never written twice; its writeKey is minted (writeKey(base, id?), a plain string a compile error) and names one write of the step, a second write under it refused in every mode.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ADR-0041 item 6; ADR-0060 decision 3                                                                              |
| `defineExternalStep`        | `defineExternalStep({ resource, read, compare, desired, write, image, undo \| irreversible })`                                                                                                                                                                                                                                       | Read, compare, write, image: the before and after images on one ledger row, the write skipped when the world already carries desired (changed: false), a compensation that restores the before image; a crash between the write and the row is reconciled by the next attempt from the provider's own id.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0041 item 6                                                                                                   |
| `emit`                      | `ctx.emit(name, payload, { deliverAt }) / emit(name, payload)`                                                                                                                                                                                                                                                                       | One outbox row under the catalog's key, inserted with the run's commit and dispatched after it, a second emit under the key collapsing onto the row; with deliverAt the row does not exist for the dispatcher, the relay or retention until its moment, and a cancel by key before it leaves the row cancelled for good; ctx.emit sits after a step returns and never inside its body, a batch chunk or a hook handler (a step served from its row never runs its closure, so an in-step emit is refused at the door, emit.inside_step).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0041 wave 2; ADR-0050 decision 1; ADR-0064 P01                                                                |
| `on`                        | `on(event, name, body, { relay, batch: { maxSize, maxWait } })`                                                                                                                                                                                                                                                                      | A keyed run per fact (listener.<name>:<id>) delivered in partition order, a throw backing the row off and an outcome a value; with batch a slice of the partition's contiguous rows claimed in one statement and run once under one key, a short slice waiting maxWait, and a slice backed off re-forming under the same key.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ADR-0041 wave 2; ADR-0052 decision 3                                                                              |
| `on: record`                | `on(event, name, body) (relay: "record", the default)`                                                                                                                                                                                                                                                                               | Records, never acts: on a peer's copy the row is recorded and the body never runs, on the origin the body runs as a keyed run per fact in partition order, and a body that reaches a scope resolver on a copy fails its run as a value (ActsOnRelayedCopy).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0040; ADR-0046 §C                                                                                             |
| `on: execute`               | `on(event, name, body, { relay: "execute" \| { execute: [peers] } })`                                                                                                                                                                                                                                                                | The fence: the body runs on the origin and on every named peer's copy as that app's own keyed run, so it may touch only that app's own database, never a store session, a connector or a shared table (every scope resolver refuses a copy, ActsOnRelayedCopy), and a workflow it starts runs local, never under the copy's origin.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ADR-0040; ADR-0046 §C                                                                                             |
| `on: batch`                 | `on(event, name, body, { batch: { maxSize, maxWait } })`                                                                                                                                                                                                                                                                             | One run over a contiguous slice of the partition's rows of the event, claimed in one statement and keyed by its head, the membership the run's own; a short slice waits maxWait since its head's moment before it delivers, a slice bounded by another name or a stuck row delivers at once, and a slice re-formed from the same head under any membership finds the one run, whose stored slice is what is marked, so its body is reused, never repeated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0052 decision 3                                                                                               |
| `execute`                   | `workflow.execute(input, { actor, client, requestId })`                                                                                                                                                                                                                                                                              | A run keyed by the input: a second start under the key answers the first run (reused), a run that failed stays in limbo until a person redrives it or, for a transient cause under the bound policy, the engine's auto-redrive does (ADR-0084), and RunNotStarted and KeyCollision are the only throws, both before a run exists; everything after is a value.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0041 item 5; ADR-0051 §1                                                                                      |
| `reverter`                  | `createDurable({ reverters: { <type>: { revert, judge, needsClient } } })`                                                                                                                                                                                                                                                           | An undo restores a ledger row's before image as a compare-and-set on the row's current state, one transaction per row, a moved row refused as a value and never overwritten; a type with no reverter cannot be undone, judge says from the row alone what is never restored, and an image the redaction policy blanked at the write or the cap cut (a [redacted] value under any key, a truncated preview) is refused by the one judgement naming the key before any reverter writes, since a placeholder is never written back over the world nor fenced on.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ADR-0046 §M step 6; ADR-0051 §13; ADR-0076 D09 (FP-039)                                                           |
| `relay`                     | `publish globs of a peer (the members file)`                                                                                                                                                                                                                                                                                         | A copy, fenced: a fact a peer's globs admit lands at the peer as a copy under the receiver's own id with its origin, delivered in partition order and never relayed again; on the copy a listener acts only under execute (record never runs its body, and every scope resolver refuses a copy), a workflow such a listener starts is the receiver's own local run whose facts relay to every peer the globs admit, the origin included, and the sender's fence:<name> marker keeps what was dispatched before the relay began from travelling as history.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | ADR-0040; ADR-0046 §C and §H                                                                                      |
| `schedule`                  | `defineWorkflow({ schedule: { every \| cron, input: (slot) => … } })`                                                                                                                                                                                                                                                                | The tick emits schedule.due per slot the settings row has not recorded, at most one missed slot caught up; the slot is data handed to input, and a key that leaves it out keys every slot to one run the engine reuses forever (refused at definition).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | ADR-0050 decision 2; ADR-0060 decision 5                                                                          |
| `concurrency`               | `defineWorkflow({ concurrency: { max, key } })`                                                                                                                                                                                                                                                                                      | A start over the cap parks as a slot wait before any step, admitted in start order as runs of the match finish, fail or park; a cap parks, never drops, and a redrive of a capped run is count-checked too.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0052 decision 5                                                                                               |
| `cancelOn`                  | `defineWorkflow({ cancelOn: [{ event, match, since }] })`                                                                                                                                                                                                                                                                            | One cancel wait row per entry on every run (at most five), inserted with the run's own create and closed with its landing (landed), no step row and no park; a look-back over the facts delivered since the run began at every arming (one read per entry at the create and at a redrive's claim, the entry's since moving the floor either way); on a match the dispatcher runs run.cancel under the fact's request id before it fires the row (the cancel first, so a crash between leaves the row open for the next delivery and never a cancel lost; the action's key makes a second landing a reuse), and the cancel is ADR-0051 §12's: the next step boundary ends the attempt, a call in flight is aborted through i.stop, the completed steps compensate; a fact from before the run began is ignored unless since says otherwise, a fact an earlier entry's row took never cancels a redriven run again, and a run that landed first is untouched.                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0076 FP-033                                                                                                   |
| `timeout`                   | `defineWorkflow({ timeout: "7d" \| "1h" \| "30m" \| "<n>s" })`                                                                                                                                                                                                                                                                       | Every run is stamped its start plus the timeout (WorkflowRun.deadlineAt); the recorder reads it at every step boundary and the body's end, a run past it ends RunTimedOut and the saga compensates the completed steps (a cause, with a signature); the resumer's sweep fires a WAITING run's open wait timeout so the wake meets it, and marks a run parked for a slot FAILED without a wake; a redrive's claim re-arms it from its own moment; a definition without one never times out, so a forever wait under none stays until a person signals it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0063 B16                                                                                                      |
| `rate bucket`               | `acquireToken(account) inside a provider client's request`                                                                                                                                                                                                                                                                           | A provider call takes a token, or its weight in the provider's points, from its account's bucket first (one settings row per account, one conditional statement under the row lock, as a claim; a weight over the burst is refused by name); over the bucket the call waits inside the step within the attempt's budget less the call's window (so the token and the call both fit before the kill), then parks the run on a rate wait, and a 429 or a throttled answer lowers the bucket for the window named and halves its refill for a minute.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0052 decision 5                                                                                               |
| `definePlugin`              | `definePlugin({ name, events, workflows: [() => import(…)], listeners, hooks, tickTasks, retention, reverters, remedies, logs, routes, services, observers }) and createDurable({ plugins })`                                                                                                                                        | One object per product, folded into the configuration at the boot (the keyed families merged with a duplicate refused naming both plugins, the listed ones appended after the host's, the facts merged with a duplicate refused naming both owners) and loaded one plugin at a time after the host's own loaders, each plugin's modules one after another under its name (the slot every registration made meanwhile reads: the catalog rows and the graph say which plugin each definition, listener and handler is); a module two plugins list is evaluated once and is the first's, a module the host imports statically before any load is the implicit plugin's, and nothing of a plugin runs before load() ran.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ADR-0063 Appendix M U5                                                                                            |
| `redaction policy`          | `createDurable({ redaction: withPolicy(DEFAULT_POLICY, { secretKeys, keepKeys, omitEverywhere, isSecretValue, isClient, textShapes }) })`                                                                                                                                                                                            | Every stored copy of run data (an input, an output, a step's input and output, a log line's fields and, since ADR-0076 FP-039, a ledger image: the before and the after, the single append's and a batch's) is walked at the write: a key the policy names, or one ending in a secret suffix (secret, token, password, apiKey, privateKey, credential, …) that keepKeys does not name, keeps its key and loses its value, a credential inside a URL's query or userinfo is blanked in place, and a client is dropped under any key; a ledger image is walked before the hash and the hash covers the stored form, so a row written before the walk verifies as it was written and no epoch closes, and a value the policy blanked is never restored or fenced by an undo (the judgement refuses the row naming the key: a host image that needs such a value by design keeps it by name through keepKeys, a customer field never); a redacted step output cannot be replayed from its row, so a read step re-invokes its body on every attempt and a non-read step is refused (ADR-0060 decision 9), which is why an identifier under a secret suffix (a pagination cursor, a label's code) is kept by name rather than stored redacted, and why a one-time secret is handed back with ctx.reply, never returned.                                        | ADR-0041 item 1; ADR-0060 decision 7; ADR-0064 P08; ADR-0076 D09 (FP-039)                                         |
| `i.services`                | `i.services.<name> (a step), ctx.services.<name> (a body), durable.service(name) (a route or a script)`                                                                                                                                                                                                                              | A lazy getter per read: the bound factory is called with the context's scope and client on every read and nothing is memoised; the name is recorded on the step's row (declared.services) and drawn on the graph as a uses edge; a read with no step of the run open is answered and said once per name on the run (run.services_outside_step: a resumed attempt reads it again, the double-run guard's finding); nothing is refused at runtime, the host's Services augmentation being the one fence (a name it does not declare fails tsc).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | ADR-0063 Appendix M U4                                                                                            |
| `through`                   | `a helper a body calls by name, folded by the index walk four hops deep (the reaction graph's through edge, body → module)`                                                                                                                                                                                                          | A fold's record is the walk's reach, not a call graph: the modules a body's helpers were read from, four hops deep by name, so a change to one of them reaches every body the graph draws through it; a helper called as a method, passed as a value or reached past the fourth hop stays outside the record and is never guessed, and an edge's absence under an unindexed body is unknown, not none.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | ADR-0060 decision 14 (as amended 2026-10-30, GR-005)                                                              |
| `raw`                       | `<client>.<delegate>.<verb>({ … }) inside a step's fold, outside recordedWrite and recordedRowWrite (the reaction graph's raw edge, step → table)`                                                                                                                                                                                   | A delegate mutation outside a recorded write has no key, no before and after image and no undo of its own: a crash after it leaves the row as it wrote it, a redrive writes it again, and no ledger row says it happened; the graph names each one (the step, the table, the verb, the columns, the site) so a guard can forbid it by door and name, an external spec's own write phase among them, which its spec keys, images and undoes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0060 decision 14 (as amended 2026-10-30, GR-005); ADR-0041 item 6                                             |
| `admits`                    | `<workflow>.execute(input, { actor }) inside a door's branch, after the door's judge read the rows (<judge>(<door>, …); the reaction graph's admits edge, door → workflow)`                                                                                                                                                          | A door judges from the rows as read and answers a refusal as a value before any run exists, and the step keeps the same guard as the race's backstop: two posts a moment apart both pass the door's reading and the step's compare-and-set refuses the second from the row as it stands, so the door's judgement is a courtesy to the phone, never the fence; the run the door admits is keyed by the input and a second post under the key answers the first run (reused).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0060 decision 14 (as amended 2026-10-30, GR-007); ADR-0023 (the door's reading)                               |
| `refuses`                   | `new <Refusal>(<sentence>) / refuse(<status>, <sentence>) / new <CodeRefusal>(<code>, …) inside a door's or a step's fold, or in a run's own text between its steps (the reaction graph's refuses edge, door, step or body → refusal)`                                                                                               | A refusal is a value the door, the step or the run answers, never a failure: at the door it is judged from the rows as read and the request ends with the sentence and no run; inside a step it is the step's answer, the run lands as a value with the sentence on it and nothing goes to limbo; between its steps it is the run's own answer, landed the same; a sentence outside the catalogue has no row to say where it is judged or why, so the graph lists it under no registry, and a judgement the door makes that the step does not repeat is lost in the race.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | ADR-0060 decision 14 (as amended 2026-10-30, GR-007); ADR-0023 amendment 2026-10-13 (the catalogue)               |
| `execute: after the answer` | `keepAlive(<workflow>.execute(…)) in a door's branch, past its own answer (the reaction graph's starts edge from a door under after: "answer")`                                                                                                                                                                                      | A run handed past the answer never fails the door's own answer: the door answers the phone first and the platform's keep-alive carries the start after it, so a refusal of the handed run is a value the floor never sees at the door (the start's row says it), the run is keyed by its input and a second post collapses onto it, and the handed run outlives the request's budget only as far as the platform's keep-alive does, the function's own deadline the cut.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ADR-0060 decision 14 (as amended 2026-10-30, GR-007); ADR-0099 D02 (the hand)                                     |
| `calls`                     | `<connector>.<capability>(…, { signal: i.stop }) on a connector a resolver bound inside a step (a wrapper of the resolver or a parameter typed as the connector's interface among them; the reaction graph's calls edge, step → provider)`                                                                                           | A provider call is reached through a connector by capability, never a provider's name (business code branches on the connector's capabilities, the connector modules alone import a client), takes a token from its account's bucket first and carries the step's stop so a cancel or a deadline aborts it in flight; it is never retried by the client when non-idempotent, and the call has no row of its own: once the step's row landed the call is replayed from it, and a crash between the call and the row's finish re-invokes the step on the next attempt and sends it again (the ctx.step row), so a call that must not be sent twice is read for first or made under a recordedWrite or an external step, whose row is written before it; a call the walk reads outside any step is a provider reached with no row to replay from, said as the body's.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | ADR-0060 decision 14 (as amended 2026-10-30, GR-008); ADR-0030 (the connectors); ADR-0052 decision 5 (the bucket) |
| `imports`                   | `a module's import of another: a static import declaration, an export-from, a bare import of a module for its effects or a dynamic import() (the reaction graph's imports edge, module → module, off graph-refs.json)`                                                                                                               | An import is the checkout's edge, not the program's: it says one module's text names another at build, so a change to the far module reaches every importer and the tests in their closure, while what runs is the bodies' edges (through, declares, writes, calls); an import every spelling of which is type-only (`#t` in the file, `type only` on the edge) reaches no runtime and is left out of a blast radius unless asked; the edge is drawn offline from the committed file alone, never served by a deployment, and is no call graph: a module imported and never called is reached all the same.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0060 decision 13 (as amended 2026-10-30, GR-011)                                                              |
| `twin`                      | `a file of twenty lines or more byte-equal to a file under another root (the reaction graph's twin edge, module ↔ module, by content hash off graph-refs.json)`                                                                                                                                                                      | A twin is a copy no import carries: a module a host keeps byte-equal under another root (a judge the server, the console and the phone each hold a copy of) stays equal only while a rule holds it, or by chance, so a change to one is a change to every twin in the same PR, which no import closure will ever name; the edge is data off the hash, never a rule parsed (the rule that holds a pair rides on the rule's own row, GR-012), and a set that drifts apart leaves the graph with no finding of its own.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ADR-0060 decision 13 (as amended 2026-10-30, GR-011)                                                              |
| `tests`                     | `a *.test.ts file's import of a module, or a tests/replays/<workflow>/ directory (the reaction graph's tests edge, test → module or workflow, off graph-refs.json)`                                                                                                                                                                  | A test names what it imports and a replay the workflow it replays: the tests one hop from a module are what a change to it proves first and the import closure's the rest (what durable-sdk test --changed runs through vitest's own graph); a guard that reads the tree with node:fs imports nothing it holds, so a rule's holder is never on this edge (the rule's own row names it, GR-012), and an absence under it is a module no test imports, not a module no test proves.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | ADR-0060 decision 13 (as amended 2026-10-30, GR-011)                                                              |
| `holds`                     | `a rule row's holds field (`holds: ["column:Invoice.total", "app/lib/invoices.ts"]` in the guard rules' registry or the core guard pack's CORE_RULES), or the law's prose where the row carries none (the reaction graph's holds edge, rule → node, off graph-refs.json)`                                                            | A rule that names no node holds nothing an agent can find: the edge is the row's own word where the row carries the field, exact and held by the guard (a token no spelling of the indexes answers is a finding), and the law's prose otherwise, every token a spelling answers, marked prose on the edge so a reader knows it was parsed and the generator lists the row that can gain the field; a path the law names keeps the law current (a module the law names and the tree lacks is a finding), and a rule's guard file rides on the rule's node, never on a tests edge, since a guard reads the tree and imports nothing it holds.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | ADR-0060 decision 13 (as amended 2026-10-30, GR-012)                                                              |
| `names`                     | `a rulebook paragraph (docs/rulebook/*.md, a block between blank lines or a top-level list item) or an ADR (docs/adr/*.md) spelling a path, a name, a door path, a Model.column, a rule id or an ADR id the indexes define (the reaction graph's names edge, page or adr → node, off graph-refs.json)`                               | A name in prose is a text match on a spelling the indexes define, never a claim about the program: a page that names a door says the paragraph is about it, and the paragraph is the unit (a rulebook page carries no headings, so the line it opens on is its id and the line the name is first spelled on rides on the edge); a bare word that is also a table's model or a one-word door path counts inside backticks alone, so prose's own words name nothing; a rule id a page spells under a guard file's stem that no row answers is a stale reference and a finding, while a console route under the same word is not.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | ADR-0060 decision 13 (as amended 2026-10-30, GR-012); decision 21 (the rulebook)                                  |
| `reads`                     | `a column named as a key inside a call on the model's delegate (<client>.<delegate>.<verb>({ where: { … }, orderBy: { … }, select: { … } }), tx.<delegate> inside a transaction too) or on a value typed as the model (invoice.total with invoice: Invoice) (the reaction graph's reads edge, module → column, off graph-refs.json)` | A reader is claimed by delegate or by type alone, never by a word: the call's section rides on the edge (where, orderBy, select, include, data, …, typed), so a site under data is a write by delegate printed with its word, which the index's raw and writes edges hold inside a step and nothing holds outside one; a read through a row the module built by hand, a destructured field or a value whose type the module does not spell stays a mention or nothing, never guessed; a file under tests/ (a test, a helper, a fixture) is no reader of the program (its reads are the tests' own; the tests edges name a test); one edge per module and word, the first site's line and the further sites counted.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ADR-0060 decision 13 (as amended 2026-10-30, GR-012)                                                              |
| `mentions`                  | `a module that spells a column's bare name on a line and the model's name or its delegate anywhere in its text (the reaction graph's mentions edge, module → column, off graph-refs.json)`                                                                                                                                           | A mention is a text match, not a read: it says the module spells the word beside the model and no more (a registry's column id, a rule action's field, a console cell), so it is graded apart from reads on the card (by text) and never merged into them; a column named like a common word (id, status, kind) is mentioned by every module that names its model, said whole and folded on the card, since dropping a line would be a guess; the reader lines of the same column are left out, so a site is one edge or the other.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | ADR-0060 decision 13 (as amended 2026-10-30, GR-012)                                                              |

---

Prompt for an agent:

```text
Read https://durablesdk.com/docs/reference/refusals.md, then apply what it says to this app; run durable-sdk doctor --host before and after; a refused line is a refusal id: durable-sdk explain <id>
```
