Catch cross-vendor bugs before your coding agent ships them.
TypeScript and unit tests pass while PRs leak Postgres pooler slots, expose UploadThing routers, or break Vercel Hobby crons. One local CLI, GitHub PR Check, and MCP server for the Next.js + Drizzle + Supabase + Clerk stack.
npx @pitcheye/check --changed-only
zero install · zero credentials · 100% offline AST
whyItBreaks: Every request opens a new TCP connection that is never explicitly closed. Against a pooler (PgBouncer/Supabase/Neon) the slot stays checked out until it times out, so the app serves a few hundred requests and then hangs forever on connection acquisition — the classic "works locally, dies on deploy at ~200 rps" failure.
full rule doc →High-signal v1.0 rule catalog
Mutating endpoint has no authentication
Role is enforced in the UI, not on the server
<UserProfile.Page> is missing a required prop
Middleware protects webhook routes
`auth()` is not awaited in middleware
`supabase.auth.getSession()` used on the server
Import from the deprecated `@supabase/auth-helpers-nextjs`
Service-role key referenced in a client module
Middleware never refreshes the Supabase session
`cookies()` used synchronously on Next 15
Database client constructed per request
Shared client configured with `max: 1`
Table created in `public` with no RLS
RLS policy is `USING (true)`
Pooler URL used for migrations
postgres.js against a pooler without `prepare: false`
`db.transaction()` on the Neon HTTP driver
Cron schedule is not allowed on the Hobby plan
Missing secret env var is swallowed instead of failing fast
Long-running AI call with no `maxDuration`
Server action trusts an `any` parameter
Secret exposed through a `NEXT_PUBLIC_` variable
UploadThing route has no auth in `.middleware()`
File route declares no size limit
Webhook parses the body without verifying its signature
Payment webhook update has no lifecycle predicate
Side effect runs outside `step.run()`
`step.run()` nested inside another `step.run()`
Inngest serve() does not export `PUT`
Function has neither `retries` nor `idempotency`
Coming in v1.1: Expo Monorepo Pack — monorepo/public-env-skew, expo/eas-preflight-config, monorepo/shared-contract-drift
Free locally forever. Upgrade for CI + production trace stitching.
CLI & Local MCP
- ✓
npx @pitcheye/checkCLI (SARIF + JSON) - ✓
@pitcheye/mcp(check_repo, check_diff, explain_rule, verify_fix) - ✓ All 30 v1.0 stack rules, 100% offline
- ✓ Zero telemetry, zero prod credentials
Pro
- ✓ Everything in Open-Core Free
- ✓ Managed GitHub App + inline PR fix prompts
- ✓ Live Vercel / Supabase env & RLS drift checks
- ✓ StackLens (Phase 2): cross-stack trace stitcher (
explain_failure()MCP)
Team
- ✓ Everything in Pro across unlimited repos
- ✓ Custom org rules & policy enforcement
- ✓ StackStage (Phase 3): ephemeral PR preview harness
- ✓ Seeded Postgres branch + Clerk test personas + webhook replay