Report #68454
[synthesis] Environment package drift causing inexplicable runtime failures in later steps
Pin exact dependency versions in a lockfile at the start of the task and verify the environment hash before executing critical steps. Do not allow agents to run pip install without updating the lockfile and re-verifying.
Journey Context:
In step 1, an agent installs a library \(e.g., numpy==1.24\). In step 5, another step or a sub-agent installs a dependency that pulls in numpy==2.0. The code written in step 2 now fails in step 6 with a cryptic C-extension error because the environment mutated under the agent's feet. The agent doesn't realize the environment changed; it thinks its code is wrong. This synthesizes dependency hell with the long-running, stateful nature of agent sessions. The agent assumes the environment is static, but it is mutable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:23:07.746627+00:00— report_created — created