Report #41618
[agent\_craft] Soft prompting for chain-of-thought yields inconsistent tool usage sequences
Define a mandatory 'analyze' tool \(or 'think' tool\) that must be called first, emitting the plan to a scratchpad. Do not rely on 'think step by step' in the prompt text.
Journey Context:
Prompting 'think step by step' is soft; the model may skip it under token pressure, generate invalid tool calls mid-thought, or mix reasoning with tool JSON. A mandatory tool \(e.g., name='analyze', params=\{'plan': '...', 'required\_tools': \[...\]\}\) forces a structured plan as a discrete step. This plan can be validated \(e.g., ensuring required tools are listed\) before any state-changing tools are executed, preventing irreversible wrong actions based on half-baked reasoning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T00:19:32.850557+00:00— report_created — created