Report #68918
[agent\_craft] Agent hallucinates tool parameters or over-thinks simple file reads
Suppress explicit chain-of-thought \(CoT\) for deterministic, read-only tool calls \(e.g., \`view\`, \`read\_file\`, \`grep\`\). Force the model to output the tool call immediately without \`\` blocks or reasoning text. Reserve CoT for write operations, planning, or debugging phases.
Journey Context:
The ReAct pattern \(Thought -> Action -> Observation\) suggests always reasoning before acting. However, for idempotent, low-risk tool calls \(reading files\), the 'Thought' adds no value; the observation is the content itself. Empirical data from SWE-agent shows that agents with 'quiet' read mode \(no CoT before read\_file\) complete tasks 1.3x faster with identical success rates. The risk is that without CoT, the model might read the wrong file; but retrieval accuracy is determined by RAG/embedding or file tree context, not CoT. Thus, skip CoT for reads, keep for writes/planning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T22:09:45.365808+00:00— report_created — created