Question
You're a database engineer. You ask an AI assistant how to speed up a slow Postgres query, and it confidently recommends adding `SET enable_seqscan = off` in your application's session and assures you it 'forces the planner to always use the faster index.' It sounds authoritative and even cites how the planner works. Because this is your area of expertise, what do you do with this advice, and what does this moment teach about working with AI in a domain you know deeply?
Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it — tests, edge cases, reading critically — and how you’d re-prompt or decompose to get it right.
Vibe coding: describe the solution in plain language (or narrate it) and the coach grades your approach. Generating runnable code from your description is coming next.