{"slug": "show-hn-preflight-a-local-ast-background-daemon-to-catch-ai-code-drift", "title": "Show HN: PreFlight – A local AST background daemon to catch AI code drift", "summary": "PreFlight, a local AST background daemon, MCP server, and VS Code extension, launches to block hallucinated code, broken Supabase RLS policies, and silent schema drift in real-time. The tool offers a free local sandbox with 10 complimentary structural fixes and a paid Founder's Key for unlimited remediation, aiming to catch AI code drift before it reaches production.", "body_md": "### Start Free (Local Sandbox)\n\nInstall PreFlight locally to get 10 complimentary structural fixes to test the AST engine in your editor without an account.\n\nPreFlight 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.\n\n```\nPREFLIGHT HARD BLOCK\nDetected: RLS_DRIFT\nFile: app/api/profiles/route.ts:42\nEvidence: AI-generated mutation bypasses tenant boundary\nAction: preflight fix app/api/profiles/route.ts\n```\n\nSave-time alerts in VS Code/Cursor. Native Windows popup fallback when no extension client is connected.\n\nNo account wall. No key required to start watching. Try the local daemon, then unlock unlimited remediation when the Founder's Key is in hand.\n\nInstall PreFlight locally to get 10 complimentary structural fixes to test the AST engine in your editor without an account.\n\nOnce you have your Founder's Key, authenticate instantly via the CLI to lift all restrictions.\n\nAI coding tools move fast, but they don't know your deep structural architecture boundaries.\n\nA single hallucinated clause can accidentally bypass a critical Supabase RLS policy or security guardrail.\n\nDon't wait for a failed CI/CD pipeline or a broken production database. Catch it in the editor as you type.\n\n$35 / ₹3,000 (Standard Lifetime)\n\n$30 / ₹2,499\n\nOne-Time Payment\n\nStrictly limited to launch weekend. Permanently changes to a recurring $19/month subscription on Sunday night.\n\nGlobal checkout\n\nPay by card and receive your Founder's Key after confirmation.\n\n⚠️ 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.", "url": "https://wpnews.pro/news/show-hn-preflight-a-local-ast-background-daemon-to-catch-ai-code-drift", "canonical_source": "https://preflight-vibe.vercel.app/", "published_at": "2026-06-27 10:43:22+00:00", "updated_at": "2026-06-27 11:05:30.711442+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-safety"], "entities": ["PreFlight", "Supabase", "VS Code", "Cursor"], "alternates": {"html": "https://wpnews.pro/news/show-hn-preflight-a-local-ast-background-daemon-to-catch-ai-code-drift", "markdown": "https://wpnews.pro/news/show-hn-preflight-a-local-ast-background-daemon-to-catch-ai-code-drift.md", "text": "https://wpnews.pro/news/show-hn-preflight-a-local-ast-background-daemon-to-catch-ai-code-drift.txt", "jsonld": "https://wpnews.pro/news/show-hn-preflight-a-local-ast-background-daemon-to-catch-ai-code-drift.jsonld"}}