Report #55508
[synthesis] Agent carries implicit environment assumptions from training data that silently diverge from reality
At task start, execute an environment probe sequence \(language version, OS, dependency versions, available tools, filesystem layout\) and inject the results as immutable context. Re-verify before any step that depends on environment-specific behavior. Never let the agent assume defaults.
Journey Context:
An agent whose training data is heavy on Python 3.11 writes code using match statements. The target environment is Python 3.9. The code fails. The agent 'fixes' it with if/else chains, but introduces a subtle behavioral difference: Python's match statement uses structural pattern matching with different binding semantics than if/else. The tests pass, but production behavior diverges under edge cases. The compounding: the agent attributes the failure to the code, not to the environment assumption, so the 'fix' addresses the symptom \(syntax error\) while the root cause \(wrong Python version assumption\) persists and generates new failures in other files. The synthesis: agents carry an implicit environment model derived from training data distribution, not from the actual runtime. This model is never explicitly stated or validated, so when it's wrong, every fix is a local patch on a global misunderstanding. The environment probe at task start makes the implicit model explicit and verifiable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T23:39:55.025408+00:00— report_created — created