Expand description
Goal-loop primitives: GoalStatus, GoalState, GoalVerdict, and
the GoalEvaluator judge model.
These types live here so crate::runtime only carries the
AgentRuntime impl + its loop method.
The actual run_goal_loop body stays in runtime.rs because it mutates
private runtime state.
All types are re-exported via crate::runtime::Goal* for backwards
compatibility, so external callers (e.g. src/http.rs:496,
src/tui/app.rs) continue to work unchanged.
Structs§
- Goal
Evaluator - Calls the LLM provider to decide whether a goal condition is met.
- Goal
State - Per-session goal state set by
/goal <condition>. - Goal
Verdict - Verdict returned by
GoalEvaluator::evaluate.
Enums§
- Goal
Status - Status of an active goal loop.