Your agent wrote the app.
Make it follow launch-security rules.
Last Mile Rules are drop-in rules files for Cursor, Claude Code, Codex, Lovable and Bolt: 110 rules that keep your keys, database and payments safe, each with a check that proves it held.
- ✗ Your Stripe or
service_rolekey is in the JS bundle. Rule LM-01 keeps secrets server-side;scan-bundle.shand the free URL check prove it. - ✗ A new Supabase table returns
42501, and the agent turns RLS off. Rule LM-03 grants the right roles in the migration instead (Supabase change, Oct 30, 2026). - ✗ Paid features unlock on the /success page. Rule LM-04 grants access from the signed, deduplicated Stripe webhook only.
Free starter rules (10 rules, MIT) →
Free: scan your live app first
Paste your public URL. Headers, leaked key patterns in your JS, exposed /.env and source maps, in about 10 seconds. No signup, nothing stored.

Free pre-launch check
Paste a public URL. We scan headers, secret patterns in JS, /.env, source maps and basic SEO.
Guides
RLS, Stripe webhooks, leaked keys, and how to ship Cursor / Claude Code apps without drama.
Read guides →What it does
Last Mile Rules put the fix where your agent actually reads it: drop-in rules files. Every rule comes with a Verify step, a command, query or click-through that proves it held. "The agent said it's fine" doesn't count. Setup adds to your existing rules files instead of overwriting them.
What's inside
- ✓ 110 rules: 10 core rules (LM-01 to LM-10) and the 100 Last Mile checks, each with its Verify step
- ✓ Every format:
.cursor/rules/*.mdc,CLAUDE.md+.claude/rules/,AGENTS.md, and paste-in text for Lovable, Bolt, v0 and Replit - ✓
.claude/settings.jsonthat stops Claude Code reading.envand asks before edits to auth, payment, webhook or migration files - ✓ Verify scripts: a bundle secret scanner that decodes Supabase keys, a live-site exposure check, read-only Supabase RLS and grants queries
- ✓ The Last Mile launch kit: 28-page PDF, 100-check checklist and 43 fix-it prompts
- Pro adds: security headers per host, a retest routine after every agent edit, stack editions
Look inside



Who it's for
Solo builders and small teams shipping with Cursor, Claude Code, Codex, Lovable, Bolt, v0 or Replit whose app will hold real user data or take real money.
Not for: teams with a security engineer, or apps handling health records, children's data or payouts between users without expert help.
Pricing
Standard
- 110 rules in every format
- Verify scripts and Claude Code settings
verify-checklist.md(110 checks)- The full launch kit: PDF, checklist, 43 prompts
Pro
- Everything in Standard
- Security headers per host: Next.js, Vercel, Netlify, Cloudflare Pages (report-only CSP)
- Retest after every agent edit:
retest.sh, 10-minute test script, independent-review prompt - Stack editions for Next.js + Supabase + Stripe and React + Firebase + Stripe
- Every v2.x update
Full refund within 14 days, no questions. Checkout on Gumroad.
FAQ
What is Last Mile Rules?
Last Mile Rules are drop-in rules files for Cursor, Claude Code, Codex, Lovable and Bolt: 110 launch-security rules (10 core rules plus the 100 Last Mile checks), each with a Verify step that proves it held, plus the Last Mile launch kit. It costs $9 (Standard) or $19 (Pro) at launch, normally $12 and $24. The 10 core rules are free at /rules.
How do I install it?
Copy one folder into your project root (one terminal command, or drag and drop). Cursor and Claude Code pick the rules up on their own. For Lovable, Bolt, v0 and Replit, paste one text file into project knowledge or instructions.
Do rules make my agent follow them?
Mostly, not always. That's why every rule has a Verify step, and why Claude Code gets a settings file that enforces the riskiest ones. Pro adds a retest routine for after every agent session.
Do I need to know how to code?
You need to read a diff and follow steps. If you don't use a terminal, checks that need one carry "No terminal?" notes, and prompt P42 walks your builder through any check.
Which tools does it work with?
Cursor, Claude Code, Codex, Lovable, Bolt, v0, Replit, and any agent that reads AGENTS.md.
Does it guarantee my app is secure?
No. It catches the common, costly mistakes. Checking every box lowers your risk. It does not guarantee your app is secure. It is practical guidance, not legal, tax or professional security advice.
What's the difference between Standard and Pro?
Standard ($9 launch, $12 regular) has all 110 rules in every format, the verify scripts, the Claude Code settings file, the verify checklist and the full launch kit (28-page PDF, checklist.md, 43 prompts). Pro ($19 launch, $24 regular) adds security header configs per host (Next.js, Vercel, Netlify, Cloudflare Pages), a retest routine to run after every agent edit, stack editions of the highest-risk prompts, and every v2.x update.
I bought Last Mile v1.x. Do I get this?
Yes. Your Gumroad download now has v2.0 for your tier.
Refunds?
Full refund within 14 days, no questions. Reply to your Gumroad receipt to ask for one.
How do I get help?
Reply to your Gumroad receipt.
Get launch notes
$ subscribe --launch-notes # new checks, prompts and shipping tips for vibe coders. No spam.