Report #11538
[research] LLM assumes the existence of specific local file paths, environment variables, or database schemas without verification
Mandate tool use \(e.g., ls, cat, grep\) to verify the existence and contents of files and environment states before referencing them in code.
Journey Context:
Zero-shot generation often relies on common tropes \(e.g., config.yaml, .env\). Without explicit grounding in the actual filesystem, the agent will write code that fails at runtime due to FileNotFoundError. Tool-augmented generation mitigates this by forcing observation before action.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:39:37.934931+00:00— report_created — created