AI-assisted teams ship faster — and some of them quietly ship worse: rising churn, duplicated code, shallower reviews, more defects escaping to production. This playbook sets up a five-signal quality watch with explicit thresholds, so drift triggers a standards review while it is cheap — never a hunt for whoever "used AI wrong."
Workflow area: Measurement & ROI · Tier: Advanced · Hands-on time: ~40 minutes
The industry data is uncomfortable: GitClear-class analyses of large commit datasets show code churn (lines rewritten within weeks of merging) and copy-paste duplication rising alongside AI adoption. That does not mean AI degrades your codebase — it means AI can, and that the degradation is gradual enough that nobody notices until refactoring becomes archaeology. Velocity metrics will look great the whole way down. The countermeasure is a small set of trailing quality signals watched deliberately, with thresholds agreed before anyone is over them.
Pick five signals you can actually pull. The canonical set: churn rate (share of merged lines significantly revised within 2–4 weeks — GitClear-class tools compute this, or approximate with git log analysis), duplication (SonarQube duplicated-lines density), review depth (median substantive comments per PR and median time-in-review, from your Git platform), defect escape rate (production incidents or bug tickets per release traced back to recent changes), and revert/hotfix frequency. Resist adding more; five signals maintained beats fifteen abandoned.
Baseline before you judge. Pull 3–6 months of history for each signal before drawing any conclusions — you need the pre-AI or early-AI baseline, seasonality (release crunches spike churn honestly), and per-repo variance. A monorepo's platform directory and a greenfield service will have wildly different natural churn.
Set thresholds as tripwires for review, not alarms for blame. With the team, agree numbers like:
QUALITY WATCH — agreed thresholds (reviewed quarterly)
- Churn: >25% relative rise over trailing-90-day baseline,
sustained 4 weeks → standards review
- Duplication: density +2 pts absolute on any core repo
→ standards review
- Review depth: median substantive comments/PR falls below
[baseline − 40%] while median PR size grows → review-norms
retro
- Defect escape: 2 consecutive releases above baseline
→ standards review
- Reverts/hotfixes: >2x baseline in any month → immediate retro
A tripped threshold convenes a 45-minute standards review.
It never appears in any individual's performance conversation.
Writing the "never appears" line into the document is not decoration — it is what makes the data trustworthy enough that engineers stop fearing it.
Run the monthly read with a fixed prompt. Export the month's numbers and have Claude draft the narrative you sanity-check:
You are analyzing engineering quality signals for drift. Here
are monthly values for churn, duplication, review depth, defect
escape, and reverts, per repo, with 6 months of history and the
agreed thresholds.
Produce:
1. STATUS — each signal: within band / drifting / threshold
tripped, with the numbers.
2. CORRELATIONS — signals moving together (e.g., PR size up +
review depth down) and what systemic cause could explain
them. Offer 2-3 rival explanations, not one story.
3. WHAT WOULD CONFIRM — for each hypothesis, the specific
evidence to check next (sample PRs, incident links).
Do not attribute anything to individuals or teams by name.
Do not assume AI is the cause; release pressure, team changes
and refactors are equally valid hypotheses.
Data: [PASTE MONTHLY EXPORT]
When a threshold trips, review standards — not people. The 45-minute standards review asks: did our definition of "reviewable PR" keep up with AI-sized diffs? Do we need stricter duplication gates in CI? Should AI-heavy changes carry a self-review checklist (see pb-25's review standards)? Sample 5–10 real PRs from the drifting period together as calibration, output one or two standards changes, and re-check the signal next month. If it does not move, the hypothesis was wrong — iterate, don't escalate.
Churn, review and defect data slices to individuals in two clicks — publish only repo- and org-level aggregates, write "never used in performance conversations" into the watch's charter, and clear any per-engineer telemetry with HR and, where applicable, works-council rules before it exists at all.
Watch churn, duplication, review depth, defect escape and reverts against agreed thresholds, and treat a tripped threshold as a trigger to review your standards — the teams that regress are not the ones using AI most, they are the ones who stopped looking.