Skip to content

Index. Review. Verify. Learn.

MergeHarbor combines a continuously updated map of your codebase with an agent that investigates each pull request and checks its own work.

Index

A map of your codebase, kept current

When you connect a repository, MergeHarbor parses it into a graph of files, functions, classes, and call relationships, builds a semantic index with plain-language summaries of each file, and builds a fast text-search index. After the first pass, only changed files are processed.

  • Calls resolved and marked exact or likely in Go, Java, JavaScript, TypeScript and Python; symbols matched by name in other languages
  • Large binaries and generated or vendored code are skipped automatically
  • Reviews start immediately; indexing adds context as it completes
Repositories being indexed with per-repository progress
  1. Progress across every repository
  2. Reviews start right away; context is added as each repository finishes
From the console, with a sample organization

Review

An agent that investigates like a senior engineer

For each pull request, the reviewer reads the change and then decides what else to read: callers of a modified function, similar code elsewhere, the file's recent history, and your team's rules. New code in the pull request is visible to its tools alongside the indexed codebase.

  • Follows changes across files and modules, not just the diff
  • Applies your rules, strictness, and categories
  • Very large pull requests are reviewed in parts and combined into one summary
A verified critical finding on a pull request, with its confidence and the code it points to
  1. Verified before it was posted, with its confidence
  2. A suggested change on the exact lines
  3. Closed when the next commit fixes it
From the console, with a sample organization

Verify

Every finding is challenged before it is posted

An independent verification pass tries to disprove each finding using the same codebase context. Findings that do not hold up are dropped; uncertain ones are posted with lower confidence. Filters for minimum severity and confidence keep reviews focused.

  • Each verdict cites the files and lines the verifier read
  • Confidence on every finding and a merge-readiness score on every review
  • Comments similar to ones your team rejected are suppressed
Overview of open critical and major findings across repositories
  1. Open critical and major findings across repositories
From the console, with a sample organization

Learn

Reviews that get closer to your standards over time

Engineers react to comments and reply in the pull request. MergeHarbor turns consistent feedback into proposed rules that an admin approves, and applies rules taught with @mergeharbor remember from the next review onward.

  • Rules scoped to paths and repositories
  • Approval workflow for learned rules
  • A knowledge base of module docs, conventions and pages you write
Rules list with proposed rules awaiting approval
  1. Proposed from your team's reactions
  2. Learned from accepted findings, scoped to a path
From the console, with a sample organization

How MergeHarbor reviews a pull request

A good review finds the bugs that matter and says nothing else. Each stage below exists for one of those two goals.

  1. Understand the repository

    Before any pull request

    MergeHarbor indexes each repository into a code graph (definitions, calls, types), a text index for exact search, and a semantic index for finding code by meaning. After each push only the changed files are re-indexed.

  2. Run the deterministic checks

    Every review, no model cost

    Built-in rules catch defects that need no judgment: committed secrets, SQL and shell commands built from values, unsafe deserialization, disabled TLS checks, debugger statements, missing awaits and more. They are measured on clean code so they stay quiet when nothing is wrong.

  3. Rank the changes by risk

    Before the model reads the diff

    Each part of the diff gets a risk score from what it touches: removed guards, queries, concurrency, error handling, boundaries, money and authentication. The reviewer starts with the riskiest changes and only skims tests, docs and formatting.

  4. Trace what depends on the change

    Deep and Max reviews, or when turned on

    From the functions, types and settings the pull request changes, MergeHarbor follows the graph to their callers, implementations and config readers, and ranks what to show within a fixed budget. The summary states the blast radius: how many call sites, files and modules depend on the change, and whether tests cover them.

  5. Bring in related code

    Deep and Max reviews, or when turned on

    Related code comes from three sources: exact text search, semantic search, and graph neighbours. Results are merged, ranked, de-duplicated and trimmed to a token budget, so the reviewer sees the relevant parts without paying for whole files.

  6. Investigate

    The review itself

    The reviewer reads files, follows calls, searches the codebase and checks history, deciding its own next step. Deeper review tiers give it more steps, a stronger model and a larger context budget.

  7. Try to disprove every finding

    Before anything is posted

    A second pass tries to show that each finding is wrong, citing the code it checked. Disproved findings are never posted, and the share it stops is shown in your analytics.

  8. Hold every tier to the same bar

    Before anything is posted

    Deeper tiers look harder, but they do not get to say more. Notes about missing tests, naming, documentation or style are held back unless your settings ask for them. A small note about code that already has a serious finding is folded into that finding instead of becoming a second comment. Anything Max's final completeness pass adds is posted only if the check confirms it.

  9. Merge duplicates and score confidence

    Before anything is posted

    The same issue found in several places becomes one comment, and issues already raised on the pull request are not repeated. With evidence-based scoring turned on, each finding's confidence is recomputed from what the verifier found, whether a deterministic check agrees, and how your team has responded to that kind of comment. With a precision target set, only findings that together meet it are posted. Critical findings always are.

  10. Learn from your team

    After every review

    MergeHarbor watches what happens next: which comments get fixed before merge, which are left unchanged, reactions, dismissals, replies, and the points your own reviewers keep raising. Replies that explain a convention become proposed rules. Kinds of comments your team keeps passing on are held back in that repository or folder, with the reason shown in the console and a one-click undo. Security and correctness findings are never held back.

Measuring quality

Every change to the review pipeline is replayed against a fixed set of pull requests with known bugs and clean pull requests that should get no comments. The method, the measured results and their limits are on the benchmarks page. In your own organization, Insights → Quality shows how your team responds to MergeHarbor's comments over time.

Pay for depth only where it matters

Routine changes get a focused pass; risky ones get a full investigation. Admins see what every review used and can cap it.

  1. Every pull request

    Free deterministic checks

    Secrets, SQL and shell injection, XSS sinks, eval, disabled TLS verification, conflict markers, and large binaries or data dumps. No model call, no cost.

  2. Ordinary changes

    One focused model pass

    Most pull requests are reviewed in a single model call with the relevant codebase context.

  3. High-risk or cross-cutting changes

    Agentic deep review

    Changes to authentication, payments, migrations, or many modules get a full investigation across the codebase, within a per-review cost cap.

  • A cost cap on every review, and monthly budgets that warn or pause
  • Economy, Balanced, and Max quality routing modes
  • Binaries and datasets reviewed from metadata only
  • Cost per review, per pull request, and per developer

Essentials, Team and Advanced use Economy routing. Balanced and Max quality are available on Enterprise.

Everything around the review

Command palette

Jump to any repository, pull request, setting, or action from the keyboard.

Analytics

Findings by severity, review latency, time to merge and addressed rate, by team, repository and author.

Usage and budgets

Credits per review, per pull request and per developer, with monthly budgets and caps.

Audit log

Every change and sign-in in a hash-chained log, with export and streaming to your SIEM.

API and API keys

Automate setup and reporting with scoped API keys.

Every major code host

GitHub, GitLab, Bitbucket, Azure DevOps, Gitea, and Perforce, in the cloud or self-managed.

Review every pull request with the context of your whole codebase

Connect a code host in minutes. Reviews start right away, and codebase context is added as indexing completes.