Two users, same moment, real PostgreSQL. VibeRaven loads your Supabase migrations into a real PostgreSQL that runs inside the Node process, opens two sessions with real locks, and tries the statement orders a normal test never hits: the last seat sold twice, a late Stripe webhook that turns a cancelled plan back on, a write lost under load. When an order breaks, it replays byte for byte, so the same order proves the fix.
It also reads your repo for missing RLS, Data API grants and Stripe webhook problems, from the terminal or on every pull request.
- No Docker, no database server. PostgreSQL 18.6 in WebAssembly, several sessions in one process (
@viberaven/sessions). - Not a flaky test. Statement orders are enumerated within a bound. A failure comes back as a replayable trace, and a scene finding counts only after it fails twice.
- Evidence, not guesses. Findings point to the file and line when available, and anything the engine could not settle is reported as incomplete, never as a pass.
| Where you work | How to run it |
|---|---|
| GitHub pull requests | Install the VibeRaven PR Check app. Each PR gets a check run, and findings arrive as one comment with file and line. Free on public repositories. |
| Terminal or coding agent | npx -y viberaven@1.20.2 check |
| Browser or phone | Sign in at viberaven.dev/app, connect a public GitHub repo and press Check now. Nothing to install. |
| ChatGPT, Claude or another MCP client | Add https://viberaven.dev/mcp |
Bugs VibeRaven reproduced in open-source apps, fixed and merged by the maintainers:
- supabase-community/nextjs-subscription-payments#8: two first checkouts at once could lose a Stripe customer mapping. Merged December 1, 2026.
- octree-labs/octree#452: a late Stripe
subscription.updatedevent could reactivate a cancelled plan. Without the fix 10 of 20 event orders broke, with it 0 of 20. Merged November 25, 2026.
Run the synthetic booking example in an empty folder with Node 24 or later:
npx -y viberaven@1.20.2 race --exampleThe unguarded example oversold the last seat in 24 of 60 tested statement orders and exits with code 1. The booking fixture shows the guard-row fix and how to rerun the assertion.
Use with Claude Code, Codex or Cursor · Check your Supabase migrations · Connect an MCP client
Website · Engine · Connect your chat · Docs · Discord
npx -y viberaven@1.20.2 check # what is risky before launch
npx -y viberaven@1.20.2 race # what breaks when two users act at oncecheckreviews Supabase migrations, application code and configuration. Findings include the file and line when available. Usecheck --replayto test supported Stripe handlers locally with repeated or out-of-order events.check --scene <file.scene.mjs>runs a route, job or webhook with two or three actors on a local PostgreSQL. It checks that an effect happens once (exactly_once), that acknowledged writes are kept (no_lost_write), and that an older event cannot overwrite a newer one (latest_wins). A failure must replay twice before it is reported.raceruns the rule in yourviberaven.race.json: setup, two requests and the SQL that must stay true. Spec template.- Fix, run
raceagain, and replay the reported order. Exit 0: no order broke. Exit 1: broken. Exit 2: incomplete.
race needs Node 24+ (the CLI enables JSPI). check runs on Node 20+.
Current release · VibeRaven 1.20.2 on npm · Changelog · GitHub Releases
Version 1.20.2 fixes npm configuration in the feedback workflow generated by init --github. It includes the 1.20.1 fix that sets up the local race engine automatically on a cold install when a race check needs it.
| Frozen-engine check | Result |
|---|---|
| PostgreSQL isolation specs | 122/124 |
| Hidden new statement orders | 199/200, native PostgreSQL 200/200 |
| Hidden real-app interleavings | 1,500/1,500, native PostgreSQL 1,500/1,500 |
| Byte-equal replays | 80/80 |
| Leaks between sessions | 0 in 60 isolation cases |
- Your
supabase/migrationsload verbatim into a fresh, pinned PostgreSQL 18.6. - Two independent sessions run in one PGlite WebAssembly instance, with real locks.
- Bounded statement orders are enumerated and checked against your rule.
- A broken order replays byte for byte, so a fix can be confirmed.
The engine is @viberaven/sessions.
From the root of your app, run the row for your agent to add project instructions. Append --dry-run to preview the changes.
| Agent | Setup |
|---|---|
| Claude Code | npx -y viberaven@1.20.2 init --agents claude |
| Codex | npx -y viberaven@1.20.2 init --agents codex |
| Cursor | npx -y viberaven@1.20.2 init --agents cursor |
Then ask: “Review my Supabase migration files for missing RLS and Data API grants. Show the relevant file and line, and tell me what I should verify against my deployed project.”
For ChatGPT, Claude or another remote MCP client, add https://viberaven.dev/mcp. The hosted server can review supplied migration SQL or migrations in a supported public GitHub repo. Local MCP tools are available via npx -y @viberaven/mcp@1.20.2. See the agent hub for setup and scope.
Building an agent that answers provider errors? The AI SDK provider-context example adds search_guides and recent_provider_changes from the hosted MCP endpoint.
npx -y viberaven@1.20.2 opens the local Studio: chat with your coding agent, the provider board, versions and diffs, and a Race test tab that runs race and replays a broken order.
| Package | Purpose | License |
|---|---|---|
viberaven |
The npx entry |
MIT |
@viberaven/cli |
Studio, check and race |
MIT |
@viberaven/mcp |
Local repository tools over MCP stdio | MIT |
@viberaven/sessions |
Several PostgreSQL sessions in one process | Apache-2.0 |
- By default,
checkuses repository evidence. With--db, it can compare live schema metadata with your migrations. A clear result covers the checks that ran. racecovers the SQL, inputs and bounded statement orders you supply. Rules beyond a simple count limit need an explicit spec. Omitted roles run aspostgres.- An incomplete run is not a pass. Replay needs the same migrations, spec, options and runtime.
- Cloud Auth, HTTP and external I/O are outside the test. Run only SQL you trust; the engine is not a security sandbox.
- No universal PostgreSQL compatibility, and no advantage over a plain coding agent in bug finding, is claimed.
CLI and MCP: MIT. @viberaven/sessions: Apache-2.0, with PostgreSQL and third-party notices. Contributing · Security · Changelog
gemini extensions install https://github.com/ohad6k/VibeRaven --ref v1.20.2Run /viberaven-check in your repo to review a migration change with the pinned local CLI. For a public GitHub repo URL, use the hosted VibeRaven MCP check from the same command.


