A Guard Between
Model And Database
Every query the model writes is parsed with Postgres’s own parser and checked against an allowlist. Only a single SELECT gets through, and what runs is re-emitted from the checked tree, not the model’s text.