{
   "name": "pg_grammar_guard",
   "abstract": "Compile a token-level grammar from your live catalog, and watch it for drift",
   "description": "pg_grammar_guard compiles a GBNF grammar from the identifiers in your live catalog, so a constrained language model cannot emit a table, column or value that doesn't exist. Approve a grammar once and it reports when the schema has drifted away from it. Pure SQL, no shared library.",
   "version": "0.4.7",
   "date": "2026-10-09T16:41:31Z",
   "maintainer": [
      "Manuel Reyes <manuelreyesbravo@gmail.com>"
   ],
   "release_status": "stable",
   "user": "manu15",
   "sha1": "d3c1264869c4fba55505fb3ddba4ec9c266e3ac9",
   "license": "apache_2_0",
   "prereqs": {
      "runtime": {
         "requires": {
            "PostgreSQL": "11.0.0",
            "pg_living_assertions": "0.5.8"
         }
      }
   },
   "provides": {
      "pg_grammar_guard": {
         "abstract": "Generate a grammar from the live catalog and detect when it drifts",
         "docfile": "README.md",
         "file": "pg_grammar_guard--0.4.1.sql",
         "version": "0.4.7"
      }
   },
   "tags": ["grammar", "llm", "structured output", "constrained decoding", "gbnf", "json schema", "catalog", "drift", "text to sql", "guard"],
   "resources": {
      "bugtracker": {
         "web": "https://github.com/Manuelreyesbravo/pg_grammar_guard/issues"
      },
      "repository": {
         "type": "git",
         "url": "https://github.com/Manuelreyesbravo/pg_grammar_guard.git",
         "web": "https://github.com/Manuelreyesbravo/pg_grammar_guard"
      }
   }
}
