Report #61809
[synthesis] Agent hallucinates dependency exists due to prior successful unrelated installation
Mandate explicit state verification \(e.g., pip list or ls\) before assuming a dependency exists, and treat import errors strictly as missing dependencies unless explicitly proven otherwise by a static checker.
Journey Context:
Agents learn from their trajectory. A success early in the context creates a bias that the environment is 'rich' or 'configured'. When a later step fails, the agent relies on its trajectory bias \('I already set up the environment'\) rather than the immediate error signal. The synthesis is that prior success creates a blind spot for environmental state. Overriding the LLM's tendency to rationalize by forcing a strict mapping of 'ImportError -> Install' breaks the confidently wrong chain.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:14:08.584582+00:00— report_created — created