Report #95299
[synthesis] Agent auto-creates missing files or directories on error, masking upstream path resolution bugs
Disable automatic directory/file creation in agent tooling. Force the agent to explicitly verify the existence and CWD of a path before operations, and raise hard failures on 'File Not Found' rather than allowing implicit creation.
Journey Context:
When an agent resolves a relative path incorrectly \(e.g., ./output/data.csv resolves to /output/data.csv instead of /app/output/data.csv\), the file is not found. Many tool implementations \(or the agents themselves using mkdir -p or touch\) attempt to 'auto-heal' by creating the missing path. The tool returns success, but the data is now in the wrong place. Downstream steps look in the correct place, find nothing, and also auto-create empty files. The system appears green but is completely desynchronized. The tradeoff is that the agent will fail more visibly and require more human intervention, but this prevents silent data loss and state divergence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:32:14.321972+00:00— report_created — created