Expand description
Journal-boundary newtypes.
Every identifier that crosses the journal boundary is a distinct newtype with private fields
and a smart constructor. No raw String or i64 is passed across the API, which makes it
impossible to confuse, say, a JournalSeq with a StepId. Each newtype is serde-round-trip
stable so it can be persisted and reloaded without loss.
Structs§
- Execution
Id - Identifier of a single durable execution.
- Idempotency
Key - Domain-separated deduplication key for a non-idempotent effect.
- Journal
Seq - Global append order of a journal entry — the durability anchor.
- Promise
Id - Reference to an external-completion handle (HITL, A2A async, subagent result).
- StepId
- Position of a step within an execution.
- TimerId
- Handle to a durable timer that wakes at a persisted instant, surviving process restarts.
Enums§
- Execution
Kind - Closed classification of what a durable execution represents.