Expand description
Core types for the reasoning loop
Defines observations, proposed actions, loop configuration, state, and recovery strategies for the observe-reason-gate-act cycle.
Structs§
- Buffered
Journal - In-memory journal that retains entries in a bounded ring buffer.
- Journal
Entry - A journal entry for durable execution.
- Loop
Config - Configuration for a reasoning loop instance.
- Loop
Result - The final result of a completed reasoning loop.
- Loop
State - Runtime state of the reasoning loop.
- Observation
- An observation that feeds into the reasoning step.
Enums§
- Journal
Error - Errors from the journal system.
- Loop
Decision - The policy gate’s decision for a proposed action.
- Loop
Event - Events emitted during loop execution for observability.
- Proposed
Action - An action proposed by the reasoning step, pending policy evaluation.
- Recovery
Strategy - Strategy for recovering from tool execution failures.
- Termination
Reason - Why the loop terminated.
Traits§
- Journal
Writer - Trait for writing journal entries.