Claude Code for Continuous Integration
Your Claude Code CI pipeline automatically runs tool-returned shell commands against a staging environment as part of a nightly build validation workflow. Over three nights in a row, you observe unexpected package installations and environment variable overwrites occurring during runs — none of which were in the original test scripts. Logs show the tool results ingested by Claude contain strings from an external dependency-resolution API. What is the most likely root cause of this behavior?