Hidden configuration in a coding agent: a starting-context switch under a fixed model and client version, recovered from per-run telemetry
Evaluations of coding agents treat the model name and the client version as the experimental condition. This paper shows that, for one widely used coding agent, they did not identify it. Over sixteen days in which the resolved model (claude-sonnet-5) and the client (Claude Code 2.1.278) were unchanged, the agent's starting context switched three times between about 19,700 and about 32,000 tokens, alongside changes in its output ceiling. The model name, the version string and the provider's documentation recorded none of this. The telemetry each run already emits recorded every switch; a daily canary run for the purpose recorded one. In a daily experiment registered in advance, the agent's compliance with a project rule moved with the state: the required record was written in 18/18 small-context runs and 11/48 large-context runs. The association is observational. The two states also differed in output ceiling and possibly in serving configuration or model build, the state was never manipulated, and the independent units are eleven days, not 66 runs; within the one week in which the state switched in both directions, the chance of the observed ordering under no association is 1 in 10. A replication registered in advance on the same model reproduced the large-context behaviour but could not test the state, and a test that can is registered and pending. The primary contribution is therefore not that hidden context changes agent behaviour. It is that model and client version labels can fail to identify the experimental condition under which a coding agent runs, and that the failure is detectable from per-run telemetry.
Authors
- S Wheeler (ORCID: https://orcid.org/0009-0009-8693-0148)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-10-08
- DOI
- https://doi.org/10.5281/zenodo.23243034
- Primary Topic
- Software Engineering Research
- Type
- preprint