Ankit Patel
WritingPapersLabsAboutContact
Paper Reviews··2 min read·232 views

Who Understands This Change?

Code Ownership Under AI Assistance · arXiv 2026

I have watched a two-line default change demand deeper system knowledge than a two-hundred-line feature.

An internal service exposes an optional include_pending parameter defaulted to false. A pull request flips that default to true, adds a clean unit test for the new behavior, and matches every style rule in the repo. Reading the diff takes thirty seconds.

Every existing caller that omitted include_pending now receives pending records in live responses. Because none of those upstream callers were edited, their tests do not appear in the diff and may not run in the repository's local suite. A contributor can explain both edited lines accurately and still ship an outage.

Coding agents lower the friction of opening pull requests in unfamiliar services. Used well, cross-service contributions widen team capability. Merged on surface neatness alone, they ship unowned state changes while leaving the contributor no wiser about how the service behaves.

The review question that protects production looks outside the diff:

Which callers omit include_pending today, and what do they assume about returned records? Include a test covering an existing caller path before changing the default.

Answering that question forces the author to trace live callers and gives the service maintainer concrete invariants to pass along. A generated PR summary claiming backward compatibility is worthless next to one traced caller.

Gao et al.'s January 2026 empirical study, On Autopilot? Code Ownership and Review Under AI Assistance, puts numbers behind that risk. Over 67.5% of the AI-assisted pull requests studied came from contributors without prior file ownership, and many merged with minimal recorded review interaction. Because Git blame approximates true domain knowledge and synchronous review chats go unlogged in PR comments, task selection explains part of the gap, yet the pattern matches what engineering leaders see in growing queues.

Routing every cross-team PR to the same two staff engineers turns domain ownership into a permanent bottleneck. Treating selected reviews as structured knowledge transfer takes longer up front because the maintainer names the subtle invariant and the author traces the caller rather than tossing the ticket back.

When the contributor returns with the caller map and a compatibility regression test, two things improve at once: the next engineer editing that interface inherits a real guardrail, and one more person on the team can actually maintain what merged. How are your teams keeping review depth intact as cross-repo AI pull requests climb?

Continue in Paper Reviews