Skip to main content

Crate ergo_supervisor

Crate ergo_supervisor 

Source
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§

CaptureBundle
CapturedActionEffect
A captured action effect with a deterministic hash for replay verification.
CapturedIntentAck
A captured durable-accept acknowledgment for a dispatched intent.
CapturingDecisionLog
CapturingSession
Constraints
DecisionLogEntry
EpisodeId
EpisodeInvocationRecord
Supervisor

Enums§

CaptureJsonStyle
CaptureWriteError
Decision

Constants§

NO_ADAPTER_PROVENANCE

Traits§

DecisionLog
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