Skip to content

Fix #374 #376: --no-mcp-servers for workers + cached config#377

Merged
justrach merged 1 commit intomainfrom
fix/no-mcp-servers-and-caching
Mar 25, 2026
Merged

Fix #374 #376: --no-mcp-servers for workers + cached config#377
justrach merged 1 commit intomainfrom
fix/no-mcp-servers-and-caching

Conversation

@justrach
Copy link
Copy Markdown
Owner

Two fixes found and applied by run_swarm self-review:

Buffered reader (#375) deferred — Zig 0.15 API changed, needs separate investigation.

🤖 Generated with Claude Code

#374 (P0): Add --no-mcp-servers to Claude CLI argv so swarm workers
don't inherit MCP servers and get blocked on tool permissions. This
was the #1 cause of worker failures (success rate ~25%).

#376 (P1): Cache config.loadDefault in a global (mutex + probed flag),
matching the skills.zig pattern. Config read once from disk, reused
for all resolveWithProbe calls. Eliminates N+2 file reads per swarm.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@justrach justrach merged commit 97b986d into main Mar 25, 2026
2 checks passed
@justrach justrach deleted the fix/no-mcp-servers-and-caching branch March 25, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant