mirror of
https://github.com/qwibitai/nanoclaw.git
synced 2026-07-09 18:57:08 +08:00
60d1324652
TOOL_ALLOWLIST named five tools that don't exist on claude-code 2.1.197 (Task was renamed Agent upstream; TodoWrite, TeamCreate, TeamDelete, and ToolSearch are gone). Remove the phantoms and correct the comment: allowedTools is a permission auto-approve list, not an availability filter — but it does promote the optional Glob/Grep tools onto the surface, which is why those stay listed. No wire-visible change. Add a wire-captured fixture (sdk-tools-baseline.json, regenerated via dump-sdk-tools.ts inside the agent image with a zero-API-cost 401-stub capture) and claude.tools.test.ts, which fails on any future claude-code pin bump until the fixture is regenerated and the lists re-verified. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>