pub struct GoalOrchestration {Show 36 fields
pub goal_id: String,
pub objective: String,
pub status: GoalStatus,
pub phase: GoalPhase,
pub token_budget: Option<i64>,
pub elapsed_ms: u64,
pub created_at: String,
pub current_subagent_id: Option<String>,
pub current_subagent_role: Option<String>,
pub total_worker_rounds: u32,
pub total_verify_rounds: u32,
pub budget_limit_reported: bool,
pub token_baseline: i64,
pub tokens_used_high_water: i64,
pub parent_tokens_spent: i64,
pub last_session_tokens_seen: Option<i64>,
pub history: Vec<GoalHistoryEntry>,
pub pause_message: Option<String>,
pub classifier_stall_count: u32,
pub classifier_runs_attempted: u32,
pub rounds_since_verify: u32,
pub consecutive_not_achieved: u32,
pub last_strategist_fired_at: u32,
pub strategist_cap_bonus: u32,
pub last_strategy_path: Option<String>,
pub last_strategy_recommendation: Option<String>,
pub changes_baseline_commit: Option<String>,
pub last_gap_fingerprint: Option<String>,
pub live_subagent_tokens: u64,
pub live_tokens_by_model: Vec<(String, u64)>,
pub live_context_window: u64,
pub live_context_pct: u8,
pub live_turn_count: u32,
pub live_tool_call_count: u32,
pub planning_in_flight: bool,
pub verifying_in_flight: bool,
}Expand description
Full persisted state for a goal orchestration.
Fields§
§goal_id: StringUnique identifier for the goal.
objective: StringHuman-readable objective description.
status: GoalStatusCurrent lifecycle status.
phase: GoalPhaseCurrent execution phase.
token_budget: Option<i64>Optional token budget cap.
elapsed_ms: u64Elapsed wall-clock time in milliseconds.
created_at: StringISO-8601 creation timestamp.
current_subagent_id: Option<String>Currently executing subagent ID, if any.
current_subagent_role: Option<String>Role of the current subagent.
total_worker_rounds: u32Total worker rounds executed.
total_verify_rounds: u32Total verification rounds executed.
budget_limit_reported: boolWhether the budget limit notification has already been emitted.
token_baseline: i64Baseline token count when the goal started.
tokens_used_high_water: i64High-water mark for tokens used.
parent_tokens_spent: i64Tokens spent by the parent session before this goal started.
last_session_tokens_seen: Option<i64>Last observed session token count.
history: Vec<GoalHistoryEntry>Ordered history of lifecycle events.
pause_message: Option<String>User-facing pause message, if any.
classifier_stall_count: u32Number of consecutive classifier stall detections.
classifier_runs_attempted: u32Total classifier run attempts.
rounds_since_verify: u32Rounds since the last verification pass.
consecutive_not_achieved: u32Consecutive not-achieved verdicts.
last_strategist_fired_at: u32Turn at which the strategist last fired.
strategist_cap_bonus: u32Bonus tokens granted by the strategist.
last_strategy_path: Option<String>Path of the last strategy recommendation, if any.
last_strategy_recommendation: Option<String>Last strategy recommendation text, if any.
changes_baseline_commit: Option<String>Commit hash at the last strategy change baseline, if any.
last_gap_fingerprint: Option<String>Fingerprint of the last gap signature, if any.
live_subagent_tokens: u64Live token count for active subagents.
live_tokens_by_model: Vec<(String, u64)>Live token usage broken down by model.
live_context_window: u64Live context window size in tokens.
live_context_pct: u8Live context window utilization percentage (0-100).
live_turn_count: u32Live turn count for the current goal.
live_tool_call_count: u32Live tool call count for the current goal.
planning_in_flight: boolWhether a planning pass is currently in flight.
verifying_in_flight: boolWhether a verification pass is currently in flight.
Trait Implementations§
Source§impl Clone for GoalOrchestration
impl Clone for GoalOrchestration
Source§fn clone(&self) -> GoalOrchestration
fn clone(&self) -> GoalOrchestration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more