Metraipolis › archive › dc_17478a91562e
The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Tasks — arXiv:2608.16630
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.16630
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T14:28:58.399Z
- SHA-256 of the archived text
e4b8420dad71f6ee4e55a6728f2ce7369597ccbc51af39c5a08571173bca6b18- Stable URL of this page
https://metraipolis.com/documento/dc_17478a91562e
How to cite
The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Tasks — arXiv:2608.16630 — arXiv (en), https://arxiv.org/abs/2608.16630 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_17478a91562e (Metraipolis archive dc_17478a91562e, sha256 e4b8420dad71f6ee4e55a6728f2ce7369597ccbc51af39c5a08571173bca6b18)
BibTeX
@misc{dc17478a91562e,
title = {The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Tasks — arXiv:2608.16630},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.16630},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_17478a91562e; sha256 e4b8420dad71f6ee4e55a6728f2ce7369597ccbc51af39c5a08571173bca6b18},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.16630. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Repository-scale coding requires an agent to keep tests, imports, configuration, and migration rules consistent within a bounded context window. We model this as reconstructing a coupled-fact graph: at each edit, a required fact comes from recent context or parametric memory, and the facts covered by neither form coherence debt. We supply and withhold each channel and inject faults across seven models and five harnesses. As expected, no model completes a task on an unseen API with both channels empty, and putting the facts in the prompt restores success. When a rename defeats what models memorized about a real library, all seven fail in the same place, passing and missing the same tests. Availability decides the outcome and distance does not: withholding a fact costs exactly the work it supports, and a supplied fact works as well far from the edit as next to it. Harnesses pay unequal prices for it: configurations that all pass every test differ more than tenfold in tokens consumed because they rebuild the same content at different rates, and spending more recovers nothing when facts are withheld. A missing fact produces wrong work rather than absent work: an agent asked to act acts, fabricating the file or guessing the value, so instruments built on reads look for a hole already filled. How often it says it is blocked instead is a property of the model, from every trial to none. Availability does not settle every edit: where standard and code disagree, agents follow the standard even when it prescribes the worse code, so a stale convention file costs more than no file. Because parametric memory substitutes for reading, on SWE-bench, where models likely know the repositories, reads no longer predict success. Harnesses should keep the facts an edit depends on available when the agent writes, and check that availability against what the agent produces rather than what it reads. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-19 in cs.AI). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2608.16630 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T14:27:54.334Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-19?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).