PreFlight – A local AST scanner to catch AI architectural drift
Catches AI architectural drift locally before GitHub Advanced Security sees it.
An AST-powered, local-first CLI that visualizes complex system architectures and enforces architectural boundaries via instant Git hooks.
It uses AST parsing (Tree-sitter) to map out codebase architecture and automatically blocks spaghetti code and bad dependencies locally before you even commit. I heavily optimized the concurrency, so it can parse 50k+ files in under 10 seconds.
Catches AI architectural drift locally before GitHub Advanced Security sees it.
Catches AI code debt deterministically with AST analysis when linters only check style.
AST-based contracts beat raw code for AI, but codebase analyzers are increasingly crowded.
Fingerprints hardware interaction graphs to catch trojans functional testing misses.
AST-level symbol anchoring beats text-matching for catching stale docs in CI.
Catches architectural erosion that Ruff and Semgrep miss entirely.