fix(core): run claude -p judges and answerers without the operator's … · basicmachines-co/basic-memory@f07172f · GitHub
Skip to content

Commit f07172f

Browse files
phernandezclaude
andcommitted
fix(core): run claude -p judges and answerers without the operator's MCP servers
A plain `claude -p` boots the whole Claude Code configuration for one answer: every configured MCP server starts, including npx-launched browser tooling at 60-80% CPU each, per call. The BEAM QA stage makes 400 such calls; the first attempt took a laptop's load average past 100. The runner now passes --strict-mcp-config with a persistent empty config, which keeps the OAuth login and drops the servers. --bare would also drop hooks but forces API-key auth, which is not the account these stages bill. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014pmKq6bqCi6Zp6BTHuZjrp Signed-off-by: phernandez <paul@basicmachines.co>
1 parent dd0bd55 commit f07172f

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

benchmarks/src/basic_memory_benchmarks/llm/runners.py

Lines changed: 19 additions & 0 deletions

benchmarks/tests/llm/test_runners.py

Lines changed: 8 additions & 0 deletions

0 commit comments

Comments
 (0)