vios_app/devteam/
planner.rs1use super::types::*;
2#[derive(Debug, Default)]
3pub struct Planner;
4impl Agent for Planner {
5 fn role(&self) -> Role {
6 Role::Planner
7 }
8 fn step(&self, task: &TaskSpec, _state: &TeamState) -> TeamEvent {
9 let mut steps = vec![
10 "Clarify acceptance criteria".into(),
11 "Identify touched files".into(),
12 "Draft minimal patch".into(),
13 "Self-review and test".into(),
14 ];
15 if !task.constraints.is_empty() {
16 steps.push(format!(
17 "Honor constraints: {}",
18 task.constraints.join(", ")
19 ));
20 }
21 TeamEvent::Planned(steps)
22 }
23}