2026-11-26 15:48 UTC

SchemaGate targets misleading “no records” responses in text-to-SQL

state: seedheat: lowuncertainty: highrelevance: mediumtext-to-sql agent-authorization database-securitySchemaGateashishsinha1602

What is this?

SchemaGate is a project by GitHub user ashishsinha1602, presented in two September 2026 Show HN posts about text-to-SQL and row-level security. The first frames its problem as assistants reporting “no records found” when access was denied; the second describes choosing tables before RLS runs and links to a browser demo. The supplied sources establish the project’s framing, but do not independently verify its behavior or effectiveness.

Why it matters

SchemaGate targets a consequential but narrow failure mode in AI-powered database access: a user may be told there are no matching records when access controls actually blocked the query. If the tool reliably distinguishes these outcomes, it could make text-to-SQL assistants more transparent and easier to audit. The supplied evidence describes the project’s framing, not verified behavior or real-world adoption.

Current assessment

SchemaGate, attributed to GitHub user ashishsinha1602, is presented in two Show HN posts dated September 9–10, 2026. One frames the problem as text-to-SQL systems saying “no records found” when they should say “denied”; the other says the demo selects tables before row-level security (RLS) runs and links to a browser demo. These are publisher descriptions, not independent validation. The supplied GitHub entry only echoes the first post’s framing, and the search results provide no relevant confirmation of the tool’s capabilities, security properties, or adoption. The key unresolved question is whether its table-selection approach accurately distinguishes authorization filtering from genuinely empty results without weakening database protections. If demonstrated, this could improve the reliability and auditability of natural-language database interfaces; no broader impact is established here.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1890h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-08 21:39 (minted)⭐ origin echo-reconstructedThe linked Show HN submission frames the tool around text-to-SQL saying “no records found” when it should say “denied.”
ashishsinha1602 on github (echo) · attributed from hn.story.49616999 · published time unknown
—
09-08 21:03first on hacker news · published · lag ?Show HN: Text-to-SQL says "no records found" when it should say "denied"
asinha0216
—
09-08 21:03amplified on hacker news 👑hn.story.49616999
asinha0216
peak 1 · 0 comments · 51% of case engagement
09-09 23:52amplified on hacker newshn.story.49636308
asinha0216
peak 1 · 0 comments · 51% of case engagement
09-08 21:21our radar first saw it · lag ?discovery anchor: hn.story.49616999—

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Text-to-SQL says "no records found" when it should say "denied"asinha021610
🟧 echo.github ⭐The linked Show HN submission frames the tool around text-to-SQL saying “no records found” when it should say “denied.”ashishsinha1602——
🟧 hnShow HN: Text-to-SQL picks tables before RLS runs – demo in the browserasinha021610

Interpretation history

Decision trace