OhMyBug
← Back to your landing/How it works
Technical note

How a code change
becomes a finding.

The review separates finding a possible bug from checking that it is real.

SYSTEM OVERVIEW5 MIN READ11 SEPTEMBER 2026
In brief

OhMyBug reviews a specific diff in an isolated cloud workspace. Review passes propose concrete failure scenarios; a second pass tries to disprove them. Findings that hold up go back to your coding agent for a repository check. You approve the verdicts. Tests and the merge decision stay with you. In CI, the CLI takes the agent’s place: there is no verdict step, and the job fails on a medium or worse finding.

01 / INPUT

The change sets the scope.

A review starts with the latest version of your change, read with your repository: callers, types, configuration, and nearby code. No pull request is required: your agent can review a feature branch, uncommitted changes, recent commits on main (“hunt bugs in my last 5 commits”), or a folder with no git at all. Your coding agent uploads the diff and, before it, a snapshot of your working copy (untracked files included; in a folder without git, its files). It may also send context files, and it sends the files the reviewers ask for during the review. When your agent reviews a commit pushed to a GitHub repository OhMyBug can read (public, or with the OhMyBug GitHub App installed), it uploads no diff and no snapshot: it sends where to find the commit, with the review’s details (such as the branch name and title), and OhMyBug reads the change and the repository at that commit from GitHub. The CLI 0.5.0 or later does the same for a pushed commit whose base is an origin branch at the same commit as on the runner, still with its list of file paths and related files. Otherwise, and whenever OhMyBug cannot read the commit, the diff is uploaded as described here.

Without an agent: the CLI and CI

In CI or any shell, it works from a repository hosted anywhere (source). The ohmybug CLI, run in CI or a shell, asks no one: it sends the diff, the list of file paths at the reviewed head and related files read from the reviewed commit, answers the reviewers’ file requests from that commit, and, when the service asks for it, first uploads a snapshot of the reviewed tree. The snapshot leaves out ignored files that are not committed, files named like secrets (such as .env, *.pem, *.key, .npmrc, .ssh/, in any letter case) and submodules; in a folder without git it also leaves out top-level dot-folders and dependency and build folders. The snapshot command an agent runs also leaves out nested repositories, bare ones included, names them in its output, and sends nothing when nothing is left to pack. The filter goes by file name: a secret in a file under another name is not caught by it. The snapshot is not shown file by file. With diff mode turned on in the account’s hunting policy, a fast review of an uploaded diff takes no snapshot: the diff goes with the selected or related files, and the result may differ from a review of the whole repository. With no agent there is no verdict step: a key on CI billing is charged when the result holds a medium or worse finding, whether or not anyone checks it. Setup: the CLI and CI guide.

The goal is not to audit every line. It is to understand what this change can break, including effects outside the edited files.

FIG. 01 — THE REVIEW BOUNDARYDIFF → EVIDENCE → VERDICT
YOUR WORKSPACEChange + repository

Your agent prepares the change; the repository comes as a snapshot or is read on GitHub.

Change in →
OHMYBUG CLOUDReview → challenge

Review passes propose bugs. A second pass tests each claim.

Candidate findings →
YOUR WORKSPACEVerify + decide

Your agent checks the evidence. You decide.

REAL / NOT_REAL / UNCLEAR
The cloud produces candidates. The final verdict comes back from your side.
02 / METHOD

Find a failure. Then try to disprove it.

The review looks for different kinds of failure across independent passes; every finding still has to show a concrete failure scenario.

  • LogicConditions, boundaries, calculations, and defaults.
  • StateRaces, retries, lifecycle, and cleanup.
  • ContractsCallers, data shapes, nulls, and compatibility.
  • Error pathsFailures, authorization gaps, and unsafe inputs.
  • CalibrationClaims, limits, and tests that disagree with the code.

Duplicate candidates are combined. The second pass checks reachability, guards, and missing context. A plausible story is not enough; a finding needs a concrete scenario grounded in the code.

Context matters. Reviewers may ask for more files. The service retrieves files it can access or asks your agent or the CLI for them. Missing context limits what we can establish.
03 / OUTPUT

Every finding is something you can check.

Each result names the location, severity, and failure scenario. Your coding agent checks it against the repository and returns REAL, NOT_REAL, or UNCLEAR, with a reason. Finding a possible bug and confirming it are separate steps.

Illustrative finding / not a customer report

Two requests spend the same credit.

Both requests read the balance before either writes the debit. Each proceeds with the same available credit.

LOCATION
Balance check → debit write
TRIGGER
Two concurrent requests on one account
VERIFY
Check whether a transaction or lock makes that sequence impossible.

The charge is $1 for a lite review, $2 for a snap review and $4 for a fast review, when it has at least one confirmed medium-or-higher bug, no matter how many; a deep hunt is $12, or $24 on a very wide change – one spread over many parts of the codebase; when we offer a deep hunt, the offer states both prices before you start it. Minor-only, rejected, and clean results cost $0. Your first bug-finding review is free. When a review is billed, including a fast review with a billing deadline, is set out in when billing happens. Separately, a key on CI billing is charged when the result holds a medium or worse finding, whether or not anyone checks it.

04 / EXECUTION

An isolated workspace, not open access.

Each review runs in its own VM on Sprites by Fly.io. Network access is limited to model inference and the OhMyBug API. Review code never runs in your production environment.

Fast review

Independent reviewers read the diff with your repository (read from GitHub, or the snapshot you upload; in diff mode, the diff with the selected or related files only), and can ask for more context while they run. Up to 15 minutes; on our OMBench benchmark it finds 76.5% of known bugs. On the benchmark a typical fast review took 1.9 min on our side.

Optional deep review

After a fast review, we may offer a full-repository review when more context could help—for example, on a change wide enough to review folder by folder, or after an incomplete run. It needs your approval. A deep review always reads the whole repository: from GitHub for a pushed commit OhMyBug can read, or from a snapshot you upload, which diff mode does not turn off. The reviewed diff still sets the scope. On a change spread over many folders, the review also splits it into folder chunks reviewed in parallel. Up to 2 hours; on our OMBench benchmark it finds 86.1% of known bugs. On the benchmark a typical deep review took 4.6 min on our side.

Each run has time and inference budgets. If it stops before there is enough evidence, that is not the same as a clean review.
05 / DATA HANDLING

Temporary input is not zero retention.

We do not keep a permanent repository copy. We keep some review records so you can inspect results and we can investigate failures.

MaterialWhat happens to it
Submitted diff and filesRemoved from the database after the sandbox receives them. A retry may temporarily store them again.
Repository snapshotOne you upload is kept until the review ends, or until its upload ticket expires unused, then deleted by the regular cleanup (an extra run keeps its own copy until it ends); one we read from GitHub is temporarily cached while parallel reviews seed their sandboxes. The retention and seeding limits are in the privacy policy.
Run transcriptKept for 7 days after a completed review; 30 days after a failed review.
Report and findingsKept in your review history until account deletion. They can quote code.

We do not use submissions to train models. Inference providers process them under their API terms. See the privacy policy for processors, regions, retention, and deletion requests.

06 / LIMITATIONS

More evidence, not proof.

Reviewers can miss bugs or be wrong. Missing files, time budgets, and model limits affect the result. Independent passes reduce reliance on one reading; they do not remove model errors.

Keep CI, tests, human judgment, and any specialist security review your system needs. Re-review meaningful fixes on the new diff. A clean review means this run found no supported bug—not that none exists.

Ready for a second look?
Send your next diff.

Try the first review free ↗

This note describes the review workflow, not a warranty or benchmark. FAQ · Terms · Privacy policy