huskies: merge 1142 story Force coder agents through MCP-validated Edit/Write/Bash to prevent writes to master worktree
This commit is contained in:
@@ -107,6 +107,9 @@ pub async fn dispatch_tool_call(
|
||||
// Freeze / unfreeze story
|
||||
"freeze_story" => story_tools::tool_freeze_story(&args, ctx),
|
||||
"unfreeze_story" => story_tools::tool_unfreeze_story(&args, ctx),
|
||||
// Worktree-sandboxed file editing (replaces Claude's built-in Edit/Write for coder agents)
|
||||
"edit" => shell_tools::tool_edit(&args, ctx),
|
||||
"write" => shell_tools::tool_write(&args, ctx),
|
||||
// Shell command execution
|
||||
"run_command" => shell_tools::tool_run_command(&args, ctx).await,
|
||||
"run_tests" => shell_tools::tool_run_tests(&args, ctx).await,
|
||||
|
||||
Reference in New Issue
Block a user