Expand description
ergo_supervisor
Purpose:
- Define the kernel supervisor surface for deterministic execution, capture, and replay.
Owns:
- The public kernel replay/capture APIs and the typed errors they expose.
- Canonical capture bundle/session types used by higher layers.
Does not own:
- Host orchestration, CLI descriptors, or product-facing runtime setup.
- Adapter/runtime semantic authorities already owned in sibling kernel crates.
Connects to:
ergo_host, CLI, SDK, and tests that build on supervisor capture/replay.
Safety notes:
- Public capture/replay exports should preserve typed kernel errors so higher layers do not have to flatten them into strings.
Modules§
- replay
- replay
Structs§
- Capture
Bundle - Captured
Action Effect - A captured action effect with a deterministic hash for replay verification.
- Captured
Intent Ack - A captured durable-accept acknowledgment for a dispatched intent.
- Capturing
Decision Log - Capturing
Session - Constraints
- Decision
LogEntry - Episode
Id - Episode
Invocation Record - Supervisor
Enums§
Constants§
Traits§
- Decision
Log - SUP-7: DecisionLog is write-only. No read/query surface is ever exposed.
Functions§
- compute_
effect_ hash - Compute a deterministic SHA-256 hash for an
ActionEffect. - write_
capture_ bundle