Bumpgate replays your app's critical journeys on every Dependabot and Renovate PR. It merges what still works, and fixes what broke.
uses: Maheswar-Sah00/bumpgate@v1.1
Bumps zod from 3.25.76 to 4.6.7.
CI says it builds. Kane is replaying 3 journeys on main and on this bump…
The checkout broke, so I blocked the merge. Claude Code migrated it from Kane's evidence, and Kane re-verified every journey.
error.errors → error.issuessrc/pages/Checkout.jsx · claude-code · attempt 1/3Real Dependabot PRs from six public GitHub repos. Each one passed CI, merged and deployed a blank page, and a human had to revert or fix it. Kane CLI replayed all six and blocked every one at step 1.
A gate on every bot PR, every week. The model proposes, code decides.
Bumpgate builds main and the bump side by side. Kane CLI replays your plain-English journeys in a real browser on both, with screenshots, console and network for every step.
No model votes on the merge. Every journey that passes on main must pass on the bump. Disagreements re-run until two of three agree; if Kane can't run, nothing merges.
On red, Claude Code gets Kane's failed step, screenshot, console errors and the release notes. Code checks its diff, Kane re-runs every journey. Three tries, then a human.
The verdict, both screenshots and Kane's own bug title stay on the PR, so a reviewer can check it in seconds.
The whole merge decision is a few lines you can read. A maintainer can always override.
// excerpt from decide(rows): the whole merge decision const red = decided.filter((r) => r.decision.light === 'red'); const comparable = decided.filter((r) => r.decision.base === 'pass'); if (red.length) { verdict = 'red'; action = 'block'; } // fail closed: nothing to compare, no merge else if (held.length || comparable.length === 0) { verdict = 'inconclusive'; action = 'hold'; } // the rule itself, as a boolean the tests pin down const everyBasePassStillPasses = comparable.every( (r) => ['green', 'amber'].includes(r.decision.light)); // src/fix.mjs: the fix agent can't touch the exam or undo the bump guardrails({ files, journeysDir, bumps, headPkg, newPkg, headLock, newLock });
If Kane can't run a journey, nothing merges.
Journeys and config are read from main, so a PR can't edit its own exam.
A disagreeing run is repeated until two of three agree.
A journey that fails on main can't block a bump.
Real Dependabot PRs, real Kane runs, real migrations.
A recorded selector script breaks when a UI kit renames classes, even when the shop works, so teams skip it on bot PRs. A Kane journey is plain English. It survives cosmetic churn and fails on broken behaviour.
--override-start-urlThe same journey runs against each PR build on localhost.
--localA heal on the bump can't rewrite main's recording.
test_md_adaptive_healPassed only after a self-heal: the amber light.
.evidenceScreenshots, console and network for the fix agent and the reviewer.
On the PR, in your terminal, in CI. Pick whichever fits the day.
bumpgate commented on #4bumpgate check --fix.github/workflows/bumpgate.ymlCheck it in five minutes, no sign-up. Or watch the 3-minute demo film ↗
A shop with real bot PRs: two blocked, migrated by Claude Code and merged; one green auto-merge.
Open PRs ↗ 02 · 1 minRead the ruleThe merge decision is plain code with unit tests. No prompt decides a merge.
src/gate.mjs ↗ 03 · 2 minRun it yourselfClone the demo, then run bumpgate check on the zod bump from PR #4. Needs a Kane CLI login.
# .github/workflows/bumpgate.yml
name: Bumpgate
on:
pull_request:
types: [opened, synchronize, reopened]
permissions: { contents: write, pull-requests: write, issues: write, statuses: write }
concurrency: { group: "bumpgate-${{ github.event.pull_request.number }}", cancel-in-progress: true }
jobs:
gate:
if: github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'renovate[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- uses: actions/setup-node@v4
with: { node-version: 22 }
- uses: Maheswar-Sah00/bumpgate@v1.1
with:
lt-username: ${{ secrets.LT_USERNAME }}
lt-access-key: ${{ secrets.LT_ACCESS_KEY }}
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
Dependabot PRs read only Dependabot secrets: add them under Settings → Secrets → Dependabot.