[claude] Fix mimo swarm worker tool access — add -t terminal,code_execution (#1203) #1204
Reference in New Issue
Block a user
Delete Branch "claude/issue-1203"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1203
Root Cause
worker-runner.pyandmimo-worker.shinvokedhermes chatwithout-t terminal,code_execution, so the mimo-v2-pro LLM had no shell tools available. It could describe what to do but couldn't actually execute git clone, push, or any other shell commands.Changes
worker-runner.py: Added-t terminal,code_executionto thehermes chatinvocation so mimo-v2-pro gets tool accessmimo-worker.sh: Replaced invalidhermes --profile timmy-sprint -p "$PROMPT"(invalid flags) withhermes chat -q "$PROMPT" --provider nous -m xiaomi/mimo-v2-pro --yolo -t terminal,code_execution -Qmimo-swarm/scripts/for version-controlled trackingmimo-swarm-dispatcher(every 10 min) — claims issues, writes prompt filesmimo-swarm-worker-1/2/3(every 5 min each) — picks up prompts, runs hermes with tool accessWhy This Works
hermes tools listconfirmsterminalandcode_executionare available toolsets for CLI. Without-t, hermes chat defaults to no tools for the LLM turn. With-t terminal,code_execution, the model can execute shell commands, run git, push branches, and create PRs.