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().
Reads 4 files. The review can point at workers/refund.ts, which still passes two arguments to charge().
An illustration, not a real review.
Free credits unlock when you connect a repository.
Three changes that look fine inside the diff and break something outside it.
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.
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.
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.
1
Octopus splits the repository into chunks and stores an embedding of each one, so related code can be found by meaning.
2
For each pull request it looks up the code most related to the change, wherever it lives in the repository.
3
The model reviews the diff with that code in view and posts its findings on the pull request.
| Aspect | Diff-only review | Full-codebase review |
|---|---|---|
| Reads | The changed lines | The changed lines, plus related code elsewhere in the repository |
| Can flag | Bugs visible in the diff | Also bugs visible in related code |
| Speed and cost | Faster and cheaper | Needs an index first, and each review carries more context |
| Best when | The change is small and self-contained | The 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.

“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.
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.
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.
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.
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.
Octopus is source-available, free to self-host, and ready to review your next pull request.