Independent review layer keeps LLM data agent from judging its own SQL
AIA data analysis agent built by @Sumanth_077 separates generation, deterministic guardrails, and review: Qwen writes read-only SELECT queries, code enforces hard rules such as a single SELECT, SQLite read-only mode, and a 200-line limit, and a separate TypeSafe AI Jev model checks question clarity, SQL relevance, and whether answers are grounded in returned rows. Answers that fail grounding are marked as unverified drafts while the SQL and data are kept for human inspection.