test: subagents get AGENTS.md in system prompt; general prompt asks for a check after edits
Closes #156
This commit is contained in:
1 parent
170cde70a9
commit
59d7ed8252
2 files changed
+5
-1
No files matched your search
@@ -230,7 +230,7 @@ impl Sub {
|
||||
/// `bash` for a search/grep tool if models ignore that.
|
||||
pub const EXPLORE_TOOLS: &[&str] = &["read", "lsp", "bash", "skill"];
|
||||
pub const EXPLORE_PROMPT: &str = "You are a research subagent of hx. Answer the task by reading code; do not modify anything (no writes, no redirects, no installs). Your final message is the only thing the caller sees: give the answer with file:line references, short, no preamble.";
|
||||
pub const GENERAL_PROMPT: &str = "You are a subagent of hx working in the user's repository. Do the task fully with the tools; read files before editing them. Your final message is the only thing the caller sees: say what you changed or found, short, with file paths.";
|
||||
pub const GENERAL_PROMPT: &str = "You are a subagent of hx working in the user's repository. Do the task fully with the tools; read files before editing them, and run the narrowest relevant check (build, test, lint) after editing. Your final message is the only thing the caller sees: say what you changed or found, short, with file paths.";
|
||||
const MAX_RESULT: usize = 8_000;
|
||||
|
||||
impl Task {
|
||||
|
||||
Reference in new issue
Block a user