Expand description
The circuit breaker: per-session Δ window + token gate + verdicts.
Structs§
- Breaker
Config - Breaker tuning (config-file surface). Defaults implement the brief’s rule: Δ≈0 across 3 consecutive steps while consuming N+ tokens.
- Session
Loop State - Per-session loop-detection state. Embedding/delta mutation happens on
worker threads; the hot path reads
SessionLoopState::stateandSessionLoopState::action, and callsSessionLoopState::resetwhen an Inject verdict fires.
Enums§
- Breaker
Action - What the harness does when the breaker trips.
- Breaker
State - Current breaker state (exposed to metrics / events).
- Breaker
Verdict - Verdict for one observed step.