The Kane CLI merge gate for dependency bots

Verified
Dependency Upgrades

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
Live on real Dependabot PRs · 3 merged, 2 fixed by Claude Code ↗
#4 Bump zod from 3.25.76 to 4.6.7 open
D
dependabotBOT09:02

Bumps zod from 3.25.76 to 4.6.7.

✓ CI / build · passed in 38s
B
BumpgateAPP09:03

CI says it builds. Kane is replaying 3 journeys on main and on this bump…

Kane CLI replayreal browser · localhost:4319
Journeymainbump
Find a product, add to cartpasspass
Checkout explains what is wrongpassbroke · step 3
Buy with valid detailspasspass
rule every journey that passes on main must pass on the bump
B
BumpgateAPP09:07

The checkout broke, so I blocked the merge. Claude Code migrated it from Kane's evidence, and Kane re-verified every journey.

Agent execution
Migrate error.errors → error.issuessrc/pages/Checkout.jsx · claude-code · attempt 1/3
status: running
Guardrails.kane/ untouched · zod kept at 4.6.7
status: held
Kane re-verify3/3 journeys pass on the migrated code
status: running
Open PR auto-merge after re-verify · evidence stays on the PR
Comment on #4…
Built on
KANECLITestMu AI ✳ Claude Code GitHub Actions dependabot · renovate
Undone by hand, after green CI

Real 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.

Bumpgate turns bot PRs
into verified merges

A gate on every bot PR, every week. The model proposes, code decides.

01 /

Replay every journey

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.

Replay journeys on main and the bump3 journeys · recorded once on main
⬆
Bump zod from 3.25.76 to 4.6.7dependabot · npm_and_yarn · package.json
MAJOR
CI build ✓2 worktreesport :4319Kane 0.10.7
Evidence captured
▢ Screenshots⌁ Console⇅ Network “Add to cart”“Place order”“See the errors” Failed stepBug verdictSelf-heal flag
02 /

Code decides

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.

The rule, in codesrc/gate.mjs · 15 tests on this rule
zod 4.6.7 changed what the app does
Pass on main3/3base 48060a8
Pass on bump2/3confirmed 2/2
New console error+1TypeError · forEach
Three lights
Green · nothing broke, no healauto-merge
Amber · passed after a self-healone look
Red · a journey brokeblocked
03 /

Fix until verified

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.

Migrate, then prove itblocked bump · fix loop
Claude Code, attempt 1 of 3
Read Kane's evidence packcomplete
Apply zod 4 release notescomplete
Guardrails: journeys untouched, bump keptcomplete
Re-verify and merge
Kane replays 3/3 on the migrated codecomplete
Commit status on the verified commitcomplete
Auto-mergemerged

Loop closed, evidence kept

The verdict, both screenshots and Kane's own bug title stay on the PR, so a reviewer can check it in seconds.

Outcome
✓
bumpgatedemo #4zod 4.6.7 · migrated
no human needed · 1 attempt
→
On the PR
base vs bump screenshots
Kane bug verdict
verified commit status

The agent proposes.
Code decides.

The whole merge decision is a few lines you can read. A maintainer can always override.

src/gate.mjs
// 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 });
Fail closed

If Kane can't run a journey, nothing merges.

Base-only exam

Journeys and config are read from main, so a PR can't edit its own exam.

Two of three

A disagreeing run is repeated until two of three agree.

Already broken?

A journey that fails on main can't block a bump.

Every verdict arrives
with evidence

Real Dependabot PRs, real Kane runs, real migrations.

Why this only works on Kane CLI

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-url

The same journey runs against each PR build on localhost.

--local

A heal on the bump can't rewrite main's recording.

test_md_adaptive_heal

Passed only after a self-heal: the amber light.

.evidence

Screenshots, console and network for the fix agent and the reviewer.

Meets you where you merge

On the PR, in your terminal, in CI. Pick whichever fits the day.

◎bumpgate commented on #4
Fixed and re-verified
Checkout explains what is wrong
main pass · bump pass after fix
Claude Code · 1 attempt · journeys untouched
Pull requestThe verdict, screenshots and fix land as a comment.
$bumpgate check --fix
▸ zod 3.25.76 → 4.6.7
✓ base · 3/3 journeys
✗ bump · “See the errors”
✓ fixed · Kane 3/3
CLIRun the same gate locally against any bump branch.
⚙.github/workflows/bumpgate.yml
- uses: Maheswar-Sah00/bumpgate@v1.1
with:
lt-username: ${{ secrets… }}
agent: claude
GitHub ActionOne file. Runs only on Dependabot and Renovate PRs.

Judges: start here

Check it in five minutes, no sign-up. Or watch the 3-minute demo film ↗

.github/workflows/bumpgate.yml
# .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.

Every Dependabot PR · every week

Every bump,
verified.