---
title: "doc0 PR reviews"
description: "Review AI-generated pull requests by their architecture, not line by line: see the parts of your system each one touches, how they connect, and what still depends on them."
last_updated: "2026-10-16"
canonical_url: "https://www.doc0.dev/pr-reviews"
---

Your agent writes the code. You review the architecture.

# See what each AI-generated pull request does to your architecture.

> For dev teams that ship code written by AI agents: doc0 draws each pull request as the parts of your system it touches, how they connect, and what could break.

[Start 3-day trial](https://www.doc0.dev/login) or [Book a demo](https://www.calendar0.app/book/alessandro-a/30min).

## Your agent writes code without seeing your architecture.

It sees the files it opened, not the system around them. Then 451 lines in 27 files wait for your review, and the diff never says what they did to your design.

- Layers crossed: Code reaches into a layer it never used, like a page that queries the database itself.
- Dependencies tangled: New calls join parts of your code that never talked before.
- Design drift: Each merge moves the code further from the docs your team reads.

And it is not just you. Across 22,000 developers, as their teams used more AI:

- +51% bigger pull requests
- 5× longer in review
- +31% pull requests merged with no review at all

Source: Faros AI, AI Engineering Report 2026.

You can’t read every line. You can see what each change does to your system.

## Connect your repository. doc0 maps its architecture.

Its functions and types, what calls what, and the areas they form: 2,260 of them for aflsolutions/hono. The map follows your code as you push.

## Give your agent the map before it changes your code.

One setup command gives Claude Code, Codex or Cursor a rule: before changing code that other code uses, ask doc0 what calls it and what the change would break.

What doc0’s setup adds to your agent’s instructions:

> Before refactoring or changing widely-used code, call `doc0_impact_analysis` (blast radius) and `doc0_symbol_context` (callers and callees) on the affected symbols.

## Open a pull request. Review it as architecture, not as a diff.

One check on the pull request opens it, with no bot comments. Each change comes in the order to read it: the parts of your system it touches, and how they connect. doc0 calls this view a lens.

## See what could break before you merge.

Each change comes with the answers you would otherwise go and search for.

- Removed, but still called: With the file and line of the call.
- How far it reaches: Callers up to three calls away.
- Flows it runs in: The paths through your code that pass it.
- Docs that may need updating: doc0 pages written from its files.
- Pull requests it collides with: Open ones changing the same files.

## The map only draws calls it can prove: 99.9% precision on Next.js.

A call is drawn only when doc0 can show where it goes. A guess stays off the map.

99.9% of the 8,786 calls doc0 drew in Next.js that the TypeScript compiler could check, the compiler drew too (vercel/next.js at eeab6f4, packages/next/src, measured 2026-10-12).

- Time to draw a lens: 37 s, the median over 339 lenses in production.
- Bot comments: 0, One check on the pull request opens the lens.

## Keep your architecture yours. Start with your next pull request.

Connect a repo, open a pull request, read its lens, then decide. [Start 3-day trial](https://www.doc0.dev/login). Prefer to talk first? [Book a demo](https://www.calendar0.app/book/alessandro-a/30min).

## Questions before you connect a repo

### Does doc0 comment on my pull requests?

No. It adds one check, whose link opens the lens. Nothing is posted in the conversation.

### Which pull requests get a lens?

Those opened, reopened or pushed to, drafts included, up to a daily limit per workspace.

### How long does a lens take?

Usually under a minute for the lens and its check. The words that walk you through it follow within about three minutes.

### Which languages does the lens read?

JavaScript, TypeScript, Python, Java, Kotlin, C#, Go, Rust, C, C++, PHP, Ruby and Swift.

### Can a lens fail my pull request?

No. Its check never fails a pull request. The lens shows what each change does to your architecture, and you decide what to merge.

### Does doc0 keep my code?

Your repository is cloned, analyzed in memory, and deleted after processing. We keep file hashes, the indexed chunks we use to write and update your docs, and their embeddings, never a copy of your repository. Your code is never used for training. Generation, search and chat use third-party AI sub-processors; our full sub-processor list, with where each one processes data, is in the privacy policy. A lens reads the pull request's two commits the same way, and the diffs you open in it are read from GitHub and are not stored.

## Sitemap

See the full [sitemap](https://www.doc0.dev/llms.txt) for all pages, and the [home page](https://www.doc0.dev/).
