Report #24487
[synthesis] Agent hallucinates destructive tool parameters from context leading to irreversible state changes
Implement a two-phase execution for destructive tools: a dry-run/preview phase that returns the exact state diff to the agent for confirmation, and a strict schema validation that rejects any parameter not explicitly derived from a prior tool's output.
Journey Context:
LLMs are prone to 'fill-in-the-blank' hallucinations for tool parameters, especially paths or flags \(e.g., guessing / instead of ./src\). If a destructive tool like rm or write executes this immediately, the environment is permanently damaged. A dry-run phase forces the agent to verify the effect of the call before committing, and strict provenance checks on parameters prevent the model from inventing critical arguments out of thin air.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T19:30:35.879105+00:00— report_created — created