goal_system.rs — Goal Management & Intent
Oxyde agents pursue goals that guide their behavior, dialogue tone, and memory weighting. The goal system enables emergent, purposeful interactions beyond reactive chat.
🎯 Core Structs
pub struct Goal {
pub description: String,
pub priority: f32,
pub is_active: bool,
pub conditions: Vec<String>,
}
pub struct GoalManager {
pub goals: Vec<Goal>,
}🔁 Goal Evaluation
fn evaluate_goals(&mut self)