AI News HubLIVE
In-site rewrite2 min read

Show HN: PreFlight – A local AST background daemon to catch AI code drift

PreFlight is a local AST daemon, MCP server, and VS Code extension that blocks hallucinated code, broken Supabase RLS policies, and silent schema drift in real-time as you type.

SourceHacker News AIAuthor: Avenassh

⚡ LAUNCH WEEKEND SPECIAL: Save over 85% on the PreFlight Pro Lifetime Founder's Pass. Use code DISCOUNTHUB at checkout to get it for $30 / ₹2,499 before it changes to a $19/month subscription this Sunday night.

Local AST daemon · MCP · VS Code companion

Stop AI Agents from Breaking Your Production Database Architecture.

PreFlight is a local AST background daemon, MCP server, and VS Code extension that blocks hallucinated code, broken Supabase RLS policies, and silent schema drift in real-time as you type.

View Interactive Quick StartInstall Extension via VS Marketplace

hard block caught on save

PREFLIGHT HARD BLOCK Detected: RLS_DRIFT File: app/api/profiles/route.ts:42 Evidence: AI-generated mutation bypasses tenant boundary Action: preflight fix app/api/profiles/route.ts

The Eye is watching

Save-time alerts in VS Code/Cursor. Native Windows popup fallback when no extension client is connected.

Interactive Quick Start

The developer flow: free first, upgrade later.

No account wall. No key required to start watching. Try the local daemon, then unlock unlimited remediation when the Founder's Key is in hand.

1Step 1

Start Free (Local Sandbox)

Install PreFlight locally to get 10 complimentary structural fixes to test the AST engine in your editor without an account.

terminal

$npm install -g preflight-pro@latest

$preflight start

2Step 2

Upgrade Anytime (Unlock Unlimited Lifetime Access)

Once you have your Founder's Key, authenticate instantly via the CLI to lift all restrictions.

terminal

$preflight auth YOUR_LIFETIME_KEY

High-Velocity Drift

AI coding tools move fast, but they don't know your deep structural architecture boundaries.

Silent Bypasses

A single hallucinated clause can accidentally bypass a critical Supabase RLS policy or security guardrail.

Local Prevention

Don't wait for a failed CI/CD pipeline or a broken production database. Catch it in the editor as you type.

All-in weekend offer

Founder's Lifetime Pass

$35 / ₹3,000 (Standard Lifetime)

$30 / ₹2,499

One-Time Payment

Strictly limited to launch weekend. Permanently changes to a recurring $19/month subscription on Sunday night.

Full local CLI background daemon (forever)

Real-time VS Code Companion Extension (forever)

Advanced MCP Server for Claude/Cursor integration (forever)

Lifetime updates with zero recurring fees or hidden expirations

Global checkout

🏷️ Use code DISCOUNTHUB at checkout for the $30 weekend rate

Pay by card and receive your Founder's Key after confirmation.

Open Polar Checkout

⚠️ Beta Architecture & Safety Notice: PreFlight Pro is currently in active Beta. While our local AST daemon is designed to catch severe structural anomalies, hallucinated syntax, and potential Supabase RLS drifts in real-time, it does not guarantee 100% error elimination. AI-assisted code should always be explicitly reviewed by a senior engineer before being pushed to a production environment. Use PreFlight as an advanced automated guardrail, not a replacement for manual code review.