Triage system prompts read "MUST call fn_review_spec()" but Sonnet 4.6 routed through pi-claude-cli writes PROMPT.md and silently skips the call — even with the addendum explaining the deferred-tool protocol. Confirmed by the FN-2564 agent log: model called other MCP tools (fn_memory_search, fn_task_list) fine but consistently never reached fn_review_spec, leaving triage looping on "fn_review_spec was never called" and falling back to zai/glm-5.1 every time. Rewrite bare `fn_*` (and any non-built-in custom tool name) references in the system prompt to their `mcp__custom-tools__fn_*` form before sending. The prompt now literally says "call mcp__custom-tools__fn_review_spec()" so the model has no inference step, and the deferred-tool reminder Claude Code injects matches verbatim. Word-boundary safe (won't touch fn_review_specifier) and idempotent (won't double-prefix already-MCP-named occurrences). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 lines
249 B
Markdown
6 lines
249 B
Markdown
---
|
|
"@runfusion/fusion": patch
|
|
---
|
|
|
|
Speed up `fn init` project-name detection by skipping git remote lookup when the target directory is not a git repository. This avoids unnecessary subprocess work and reduces timeout risk in test/CI environments.
|