From 652fbada4859d32c028860c2596138d9d05e0190 Mon Sep 17 00:00:00 2001 From: syui Date: Tue, 24 Mar 2026 15:22:17 +0900 Subject: [PATCH] refactor(config): tighten daily preset agent task prompts for conciseness --- src/config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.rs b/src/config.rs index 999639d..6b668d9 100644 --- a/src/config.rs +++ b/src/config.rs @@ -20,9 +20,9 @@ pub fn preset(name: &str) -> Option> { let cwd = default_cwd(); match name { "daily" => Some(vec![ - AgentConfig { name: "health".into(), task: "Run cargo test and cargo build --release. Report: pass? warnings?".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: "idea".into(), task: "Read docs/architecture.md and git log -10. Suggest one practical improvement.".into(), cwd }, + 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 only.".into(), cwd: cwd.clone() }, + 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![ AgentConfig { name: "diff-review".into(), task: "Review the git diff. Report problems or say 'no issues'.".into(), cwd: cwd.clone() },