rd0review debt, to zero
GitHub
open sourceMITCPU onlyno LLMno API key

Agents write the PRs.
Humans still review them.

Writing a pull request is now nearly free; reading one is not. rd0 is three small checks that remove the review work that should not exist: duplicates, broken repo rules and changes nobody asked for. Each leaves one comment with its reasons, before a reviewer opens the diff.

// 01the problem

Review debt is reviewer time spent on work that shouldn't need it.

1 in 5

duplicate agent PRs had already been reviewed by a human before anyone noticed the duplicate.

311 cross-author duplicates in AIDev, Jinx study

44%

of agent-PR reverts come from unintended side effects (22.3%) or overengineering (22.1%), more than from functional bugs (17.7%).

MSR 2026 study of 33,580 agent PRs

6 ms

per PR for a Jinx check on a CI machine's CPU (4 threads): cheap enough to run on every push, with no LLM.

Jinx latency benchmark

// 02the tools

One question each, answered before review.

rd0/jinxv0.1.0 on PyPI

Jinx

Is another open PR already doing this?

Checks every new pull request against the open ones and leaves one comment when it finds a likely duplicate, naming the PR it matches and why.

1.9

false alarms per 100 PRs with no known duplicate

Shipping duplicate bots: 4.5 to 5.5. On ranking the right PR first, Jinx (91.7%) ties the strong methods and the plain link rule scores higher (93.6%).

pip install rd0-jinx
Two PRs change the same lines and Jinx scores the match 1.00
rd0/trellisv0.1.0 on PyPI

Trellis

Does it break the rules written in AGENTS.md?

Shows which agent rules nothing enforces, writes the ESLint, Ruff or import-linter config for the ones a tool can check, and flags agent slop: workaround comments, bare suppressions, commented-out code.

0

LLM calls or API keys

Ratchets: a PR fails only when a rule set to error gets more hits than before, so old debt never blocks new work. Benchmark in progress.

pip install rd0-trellis
trellis audit reports which AGENTS.md rules are enforced; trellis scan flags problems in an agent PR, each with a fix
rd0/fenceearly: PyPI release pending

Fence

Does it change more than the issue asked for?

Reads the linked issue, then labels every changed file: in scope, or out of scope with a reason (unrelated code, CI, dependencies, docs, formatting).

56.6%

of 51,697 agent PRs with a scoped issue have a part Fence flags

Fence's own flags on AIDev; precision is not measured yet. On human scope-creep labels, plain PR size ranks better than Fence (AUROC 0.757 vs 0.577).

pip install git+https://github.com/ReviewDebtZero/rd0-fence#subdirectory=packages/rd0-fence
An issue and a PR, the fence CLI run, and the comment the Fence Action posted
// 03agent skill

Better still: the agent runs them on itself.

The coding agent already has the task, the diff and the open PRs. The rd0 skill tells it to run all three checks before it opens a pull request, then revert or justify each flagged change, apply each rule fix, and stop if another PR already does the work.

  • Claude Code: copy skills/rd0/ into .claude/skills/.
  • Codex, Cursor, Copilot, Devin: paste the AGENTS.md snippet.
  • Any CI: keep each tool’s Action as the independent check the agent can’t skip.

The agent passes the task verbatim, so it cannot widen the scope by paraphrasing it.

pip install rd0-jinx rd0-trellis "git+https://github.com/ReviewDebtZero/rd0-fence#subdirectory=packages/rd0-fence"
Get the skill on GitHub →
rd0-check.sh on an agent branch
rd0-check.sh --title "truncate() crashes on negative n" \
  --body-file task.txt --base origin/main

== Fence: changes outside the task
fence: 2 part(s) outside the issue's scope, 4/7 changed lines (57%)
  [high] requirements.txt: changes dependencies; the issue does not ask for that
  [high] utils/dates.py: edits a code file no path, name or term in the issue points to
== Trellis: repo rules and agent slop
  WARN  requirements.txt  [scope] outside the area the PR description names
== Jinx: open PRs that may already do this
  #7  score 0.24  Raise ValueError when truncate gets negative n
      - shares 1 of 3 changed files (utils/text.py)
// 04what we don't claim yet

Honest by default: here is what is not measured.

  • No deployment study yet: we measure what the checks catch, not reviewer time saved.
  • All numbers come from public GitHub data (AIDev, CC BY 4.0); private repos may differ.
  • Jinx's duplicate labels are silver (from duplicate comments); the human audit is pending.
  • Fence and Trellis precision against human labels is not measured yet.
  • Fence needs a task written before the work: an issue, ticket or the agent's prompt.

Data: AIDev on Hugging Face. Every number links back to a committed result file in its tool’s repo.