Not a Rabbit.
Review beyond the diff.

A diff-only reviewer reads the lines a pull request changes. A full-codebase reviewer also looks up the code around them, such as callers, tests and the files that depend on the change. That is often where the bug is.

billing/charge.ts

changed: charge() gains an argument

  • workers/refund.ts

    not read

  • api/invoices.ts

    call updated

  • tests/charge.test.ts

    covers the new argument

Reads 3 files. The diff leaves out the refund worker, so the reviewer cannot check which arguments it passes to charge().

An illustration, not a real review.

Free credits unlock when you connect a repository.

The gap

What diff-only review misses

Three changes that look fine inside the diff and break something outside it.

A changed signature

In the diffcharge() gains an argument

Not in the diffthe refund worker

The pull request updates one caller and a test. Another caller, in the refund worker, is not in the diff and still passes the old arguments.

A shared helper

In the diffformatMoney() rounds differently

Not in the diffthe invoice export

The invoice export uses the same helper. It is not in the diff, and its totals no longer match the ledger.

A schema change

In the difforders.total can now be empty

Not in the diffa nightly job

A nightly job three folders away assumes the column always has a value.

How it works

What full-codebase review does instead

  1. 1

    Index

    Octopus splits the repository into chunks and stores an embedding of each one, so related code can be found by meaning.

  2. 2

    Find

    For each pull request it looks up the code most related to the change, wherever it lives in the repository.

  3. 3

    Review

    The model reviews the diff with that code in view and posts its findings on the pull request.

At a glance

Diff-only vs full-codebase review

AspectDiff-only reviewFull-codebase review
ReadsThe changed linesThe changed lines, plus related code elsewhere in the repository
Can flagBugs visible in the diffAlso bugs visible in related code
Speed and costFaster and cheaperNeeds an index first, and each review carries more context
Best whenThe change is small and self-containedThe change touches shared code

Diff-only review is faster and cheaper. Even a one-line change can be worth a wider look if other code relies on it.

Octopus
The name

Where “Not a Rabbit” came from

“Not a Rabbit. Don’t follow trails.” started as an internal joke and ended up on a sticker we handed out at AWS Summit. A rabbit picks one trail and runs. An octopus wraps around the whole thing. Read the story behind the sticker.

Frequently asked questions

Is full-codebase review always better than diff-only review?

No. If the diff shows everything you need to check a small change, a diff-only review is faster and cheaper. More context helps when you need to check an unchanged caller or even an earlier line in the same function.

Does Octopus send my whole repository to a model?

During indexing, Octopus sends your code to the embedding service in chunks. During a review, the diff and the chunks found for it go to the AI service you configured. Self-hosted Octopus with local AI services keeps that processing on your infrastructure.

What does Octopus index?

Octopus indexes supported code files and skips folders such as node_modules, dist and build. Each chunk has a target size of 1,500 characters. For multiline code, the next chunk carries over up to three lines. When Octopus splits a single long line, the pieces overlap by 200 characters.

Does full-codebase review cost more?

Somewhat. Indexing uses embedding calls, and each review sends more context to the model than the diff alone. On Octopus Cloud these use credits. If you bring your own provider key, the review-model call is billed by your provider instead; platform embeddings still use credits.

Stop following trails.
Start seeing everything.

Octopus is source-available, free to self-host, and ready to review your next pull request.