huskies: merge 862

This commit is contained in:
dave
2026-04-29 13:24:10 +00:00
parent 69930fb29f
commit b4854cf693
9 changed files with 190 additions and 6 deletions
+2 -1
View File
@@ -87,7 +87,8 @@ mod tests {
assert!(names.contains(&"get_version"));
assert!(names.contains(&"remove_criterion"));
assert!(names.contains(&"mesh_status"));
assert_eq!(tools.len(), 67);
assert!(names.contains(&"run_check"));
assert_eq!(tools.len(), 68);
}
#[test]
@@ -151,6 +151,20 @@ pub(super) fn system_tools() -> Vec<Value> {
"required": []
}
}),
json!({
"name": "run_check",
"description": "Run script/check (cargo check --tests --workspace) in the agent's worktree for fast compile-only feedback. Returns the full, untruncated output so every compiler diagnostic is visible. Much faster than run_tests — use this while iterating to catch compile errors; call run_tests only to validate the full pipeline before committing.",
"inputSchema": {
"type": "object",
"properties": {
"worktree_path": {
"type": "string",
"description": "Optional absolute path to a worktree to run the check in. Must be inside .huskies/worktrees/. Defaults to the project root."
}
},
"required": []
}
}),
json!({
"name": "git_status",
"description": "Return the working tree status of an agent's worktree (staged, unstaged, and untracked files). The worktree_path must be inside .huskies/worktrees/. Push and remote operations are not available.",