Log the Prompt or the Rendered SQL? An Agent Audit Debate
A warehouse assistant drafts a query. A policy layer adds a tenant filter, then an operator approves the rewritten statement. The model's proposed SQL and the database's execution record answer different audit questions. Keeping the prompt cannot establish which rows the warehouse examined. Decide…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-03 04:42 · DEV Community — AI
Log the Prompt or the Rendered SQL? An Agent Audit Debate