AI can ship a feature quickly. But when responsibilities, shared contracts and regression tests fall behind, the next change can become harder. What should you watch for?
2026-11Observations from public code histories
Architecture debt rarely arrives all at once. Watch for the same modules being edited repeatedly, small requests touching more files, and regressions that keep returning. Historical signals and practical checks can help you decide where to look first.
Two signals worth watching
30 DAYS
1.313× 95% CI 1.234–1.399
Fix-like follow-up is more frequent
After stratifying by file size and previous change frequency, files flagged with elevated architecture risk were 1.313× as likely to receive a fix-like commit within 30 days (95% interval: 1.234–1.399). Commit subjects are a proxy for follow-up work, not confirmed bugs.
What to do: if a repeatedly patched file also shows structural pressure, inspect whether its responsibilities have grown beyond a clear boundary.
90 DAYS
64.6%
Risk signals tend to persist
Of risk findings with enough follow-up, 64.6% were still present at the first usable snapshot at least 90 days later. This does not mean 64.6% of projects had defects.
What to do: define a condition for addressing persistent debt. “It still runs” does not demonstrate that maintainability has improved.
Four warning signs you can check today
These are practical engineering patterns to inspect, not causal claims established by this cohort.
01Every feature goes into the same file
One module handles routes, business decisions, persistence and caching; three unrelated requests all modify it.
Compare recent feature diffs for unrelated responsibilities. Clarify boundaries before splitting anything.
02One small change fans out everywhere
Changing a field forces edits in a UI, API, background worker and several mapping layers.
See which files change together repeatedly. Prefer a clear data contract over another mapping layer.
03The same rule has several copies
The UI, server and worker each implement their own version of a state transition, and they begin to drift.
Check for existing capabilities before writing new logic. Reuse a stable contract instead of duplicating it.
04Fixes keep breaking old behaviors
A payment callback fix affects refunds or retries, without tests for the critical paths.
Protect recurrent failure paths with regression tests before the next localized change.
A three-minute check before your next AI-coded feature
1Read the last 5–10 relevant commits: which files keep getting touched?
2Map the responsibilities, existing contracts and tests the feature may affect; does an implementation already exist?
3Review the final diff: new duplication, cross-layer coupling or missing behavior tests?
Give this to your coding agent
Before implementing this feature, read the relevant modules and the last five feature commits. Tell me: (1) what each module currently owns; (2) which interfaces and business constraints must remain stable; (3) what files need to change and which must not; (4) how existing behavior will be checked. Propose the smallest safe change first. After coding, flag any duplicated logic or new cross-layer dependencies, and report the test results.
About these numbers
Historical snapshots from 326 non-random public repositories, summarized in October 2026 with analyzer 1.0.11. Architecture findings are heuristic indicators; follow-up fixes are approximated from commit subjects. These are observational associations, not evidence that AI agents caused the issues or a basis for agent rankings.