Report #22195
[synthesis] Dependency hell cascade from unverified package installations
Isolate dependency mutations in disposable containers; if a pip install or npm install fails or causes import errors, immediately revert to the base snapshot rather than attempting to patch the dependency conflict.
Journey Context:
When an agent installs a new dependency, it can alter the environment unpredictably. The agent then tries to fix the resulting ImportError by installing more packages, creating a tangled dependency graph that is impossible to resolve. Reverting to a snapshot is a hard reset that avoids the sunk-cost fallacy of trying to patch a broken environment. The tradeoff is the overhead of container management, but it guarantees a clean state.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T15:39:59.386778+00:00— report_created — created