Load no MCP server in a headless claude call that is denied tools
CI / tests (pull_request) Successful in 3m45s

This commit is contained in:
Lilleman
2026-11-20 17:15:42 +01:00
parent 00b87e3fb9
commit 700ac3e2ce
12 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ def picked(store: EpicStore, issue: EpicIssue, team: LabelRepos, rule: str, rung
known = recorded(issue, team)
if known is not None:
return known
reply = claude_reply(claude, ["--json-schema", json.dumps(PICK_SCHEMA), *rung.flags(), "--tools", ""], cwd, prompt(rule, issue), "the repo pick")
reply = claude_reply(claude, ["--json-schema", json.dumps(PICK_SCHEMA), *rung.flags(), "--tools", "", "--strict-mcp-config"], cwd, prompt(rule, issue), "the repo pick")
if isinstance(reply, Failure | Limited):
return reply
answer = answer_of(structured_output(reply))