refactor(config): tighten daily preset agent task prompts for conciseness
This commit is contained in:
@@ -20,9 +20,9 @@ pub fn preset(name: &str) -> Option<Vec<AgentConfig>> {
|
|||||||
let cwd = default_cwd();
|
let cwd = default_cwd();
|
||||||
match name {
|
match name {
|
||||||
"daily" => Some(vec![
|
"daily" => Some(vec![
|
||||||
AgentConfig { name: "health".into(), task: "Run cargo test and cargo build --release. Report: pass? warnings?".into(), cwd: cwd.clone() },
|
AgentConfig { name: "health".into(), task: "Run cargo test and cargo build --release. One line: pass or fail, warning count.".into(), cwd: cwd.clone() },
|
||||||
AgentConfig { name: "quality".into(), task: "Find one unwrap() that could panic and one function over 50 lines. Give file:line.".into(), cwd: cwd.clone() },
|
AgentConfig { name: "quality".into(), task: "Find one unwrap() that could panic and one function over 50 lines. Give file:line only.".into(), cwd: cwd.clone() },
|
||||||
AgentConfig { name: "idea".into(), task: "Read docs/architecture.md and git log -10. Suggest one practical improvement.".into(), cwd },
|
AgentConfig { name: "idea".into(), task: "Read docs/architecture.md and git log -5. Suggest one practical improvement. 3 sentences max.".into(), cwd },
|
||||||
]),
|
]),
|
||||||
"review" => Some(vec![
|
"review" => Some(vec![
|
||||||
AgentConfig { name: "diff-review".into(), task: "Review the git diff. Report problems or say 'no issues'.".into(), cwd: cwd.clone() },
|
AgentConfig { name: "diff-review".into(), task: "Review the git diff. Report problems or say 'no issues'.".into(), cwd: cwd.clone() },
|
||||||
|
|||||||
Reference in New Issue
Block a user