Report #90403
[synthesis] Agent fails to install a required package or set an environment variable because it assumes the execution environment matches its training data
Mandate an environment discovery step \(e.g., \`pip list\`, \`env\`, \`ls\`\) at the start of every new task to ground the agent in the actual state of the system before writing code.
Journey Context:
Agents 'know' a lot about standard environments, so they often skip checking if a library is installed or if a specific version is present. This leads to immediate runtime errors that cascade into confusing debugging loops. The synthesis is that an agent's parametric knowledge is a liability if it overrides empirical observation of its current sandbox. Grounding prevents the 'confidently wrong' cascade.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:20:14.571447+00:00— report_created — created