Report #77364
[agent\_craft] Agent with mandatory chain-of-thought produces verbose, incorrect fixes for simple syntax errors, or leaks implementation details into planning stages
Enable CoT only for debugging complex logic errors or multi-step refactoring; disable CoT for simple syntax fixes, linting, or when generating new boilerplate. Use explicit '' tags that are stripped from final output.
Journey Context:
CoT forces the model to externalize reasoning, which helps for complex debugging \(tracing variable states\) but harms simple tasks by increasing token cost and occasionally leading the model astray with over-analysis \('paralysis by analysis'\). For syntax errors, the fix is usually localized; adding reasoning steps introduces global context that confuses the model. The pattern: wrap CoT in delimiters and strip them before tool execution or file writing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T12:27:20.516539+00:00— report_created — created