Verified, then logged.
Mon 30 Nov 2026 · 06:55 KST / 21:55 UTC한국어 | ENSearch /

Breaking01 / AI

Code breaks 18% of AI agent dependency rules on day one

The researchers estimated that 2.2% of file and folder paths in the same guidance files were wrong.

A developer’s monitor shows coding agent instructions beside source code, with an existing import crossing a module boundary highlighted in red below. AI-generated image

Researchers found that code already broke 18% of the dependency rules in AI coding agent instructions on the day those rules were written. Bachan Ghimire and Daniela Damian reported the finding in a paper they submitted to arXiv on 23 Nov 2026.

The study covered 3,602 instruction files, including AGENTS.md and CLAUDE.md, which developers use to describe project structure to coding agents. The authors checked code and change histories across 3,346 open-source projects to see whether listed files and folders existed and whether the code followed the stated rules.

The dependency rules specify which modules may import others. The researchers confirmed that 33 of 184 rules were broken on the day they were written. They said most violations came from code that was already in place and nearly all of those rules remained broken afterwards.

The files contained 41,090 references to file and folder paths. The researchers could not find about 5% of the paths and estimated after reviewing a sample that 2.2% were genuine errors. The estimated error rate in project README files was 3.5%.

When code moved and path references went out of date, 61% of those references were corrected. Most fixes came in the same commit that moved the code.

An exploratory analysis of 7,480 commits found 14 new violations. The rate was 0.29% in commits made with help from an AI agent and 0.16% in other commits. The authors said the difference was statistically insignificant.

In their GitHub repository, the authors said they used Claude Opus 5.5 to identify sentences that expressed dependency rules and propose labels for the review samples. A person reviewed every model output used in the results. Separate programs extracted paths and checked module imports.

The repository says the authors submitted the paper to the journal Empirical Software Engineering and gives no acceptance status. The authors published Jupyter notebooks in the repository that reproduce the paper's figures and numerical results.