Drift: what your last 20 merges did together

Review happens one pull request at a time, and each one can be routine on its own. Twenty of them together can still give your backend new routes, new paths to your data and auth gaps that nobody decided on. No single diff shows that, so nobody approved it. Drift reads the merges together and shows what they added up to.

Run it

In any git repository with a backend in it:

npx wyro-check --drift

It walks the last 20 commits on your current branch that touched the directory, reading only the main line of history. On a default branch that means one commit per merged pull request, whether you squash or merge. For each commit it builds the same deterministic map Wyro uses everywhere else, and compares each map with the one before it.

Wyro drift · acme/api · 20 merges, 2026-10-27 → 2026-11-24

  routes                       41  →   58 (+17)
  tables                       12  →   15 (+3)
  route → table reaches        63  →   97 (+34)
  no-auth routes on data        2  →    6 (+4)
  error findings                1  →    4 (+3)
  warnings                      9  →   14 (+5)

Each merge was small: the median one touched 1 route. Together:
  9 of 20 changed which tables a route reaches
  4 moved an authentication boundary
  3 added an error-level finding (NO-GO), 5 more only warnings (WATCH)

Merges that moved the map, newest first:
  NO-GO a1b2c3d 2026-11-21 "Add CSV export for customers"
        GET /customers/export: added, NO AUTH, reads customers
  ...

The example above is illustrative. Your own run shows your own commits.

Options

  • --steps 50: walk more merges (up to 100).
  • --since 30.days: only merges in that window. Anything git log --since accepts works.
  • --json: every step in full, for a dashboard or a weekly report.
  • A path argument checks one service in a monorepo, for example npx wyro-check services/api --drift.
Tip:A shallow clone only has recent history. In CI, use fetch-depth: 0 on actions/checkout, or at least enough depth to cover the merges you want to walk.

What each line means

  • route → table reaches: one for each table a route reads or writes. When this grows faster than your routes, existing routes are reaching more of your data.
  • no-auth routes on data: routes with no authentication in front of them that still read or write a table. Some are meant to be public. Each one is worth a look.
  • moved an authentication boundary: a merge changed which routes authenticate, or edited auth or middleware code.
  • NO-GO / WATCH: the same verdicts as check_change, applied to each merge after the fact.

Why this exists

Agents now open a lot of the pull requests, and review tools like Claude Code Review and Claude Approvals judge each one against its diff. That catches a bad change. It doesn't catch twenty reasonable ones that together moved your backend somewhere nobody chose. Drift is the view across all of them. Like the rest of Wyro it reads the code without a model, so the same history always gives the same report.

Run it weekly, before a release, or when you take over a codebase. To stop the next merge from adding to it, put the check in CI.

Or we'll run it for you

If you'd rather not install anything, create a free account and check your public repo in the first step. Within a day we'll email you its drift report: the merges that moved your backend most, every merge that changed auth, and where the map stands now. A person reads it before it's sent. We're doing this for the first 25 repos.