# Adopting a Review-Debt Score in a Team <!-- ref: @knowledge/protocols/reviewdebt-adoption-five-steps type: protocol tags: [code review, governance, team management, automation, engineering] triggers: [code production exceeds review capacity, need for governance without slowing delivery, high volume of pull requests] trigger_prompt: When a team finds that their code production has outpaced their ability to review, leading to potential governance issues. version: 2 updated_at: 2026-07-18T22:56:59.039Z --> Roll out a PR review-burden score in five steps, and watch the weekly slope, not the level. *Synthesized from Sachin Gupta (eBay), ReviewDebt: Scoring Every Pull Request (AI Engineer World's Fair 2026).* Use when a team's code production has outrun its human review capacity (typically after adopting coding agents) and you want governance without slowing delivery. **Steps:** 1. **Backfill** — run the scorer over your last ~200 merged PRs; look at the highest-scoring ones to sanity-check the weights against real reviewer experience. 2. **Threshold** — set a justification line (e.g. any PR scoring ≥50 requires a comment from the *author*). 3. **Surface** — post the score as a PR comment on every PR. Do **not** block on it; visibility is the point. 4. **Aggregate weekly per team** — the *slope* of a team's review-debt over time is the leading indicator an engineering manager should watch (slope matters more than any single level). 5. **Talk about it** — bring the number to retros and roadmap reviews so the conversation shifts from feeling to measurement. **Companion habits (behavioral, not tooling):** one logical change per PR; tests ship with the change and the *human* author confirms they assert intended behavior (not just current behavior); stay in one code-owner's territory; the author (never the agent) writes the "why"; apply the same review standard to AI and human PRs. **Anti-patterns to kill:** "approve-with-comment" merges, "we'll catch it in QA," and reflexive LGTM. Gotcha: a healthy PR should produce a near-empty, almost ceremonial report — the tool must not complain by default, or teams will tune it out. --- *Related: `@protocol/protocol-api` · `@content/youtube/yifan-bth/how-i-use-ai-git-to-code-3x-faster-real-dev-workflow-with-cursor` · `@content/youtube/yifan-bth/openai-codex-revolutionary-workflow-or-200-mistake` · `@content/youtube/yifan-bth/my-day-to-day-ai-dev-workflow-git-cursor-windsurf-cline-playwright-supabase-replit` · `@content/youtube/eo-global/15-years-after-the-lean-startup-eric-ries-explains-why-great-companies-go-bad`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*