Question
You're debugging why a script can't connect to your company's Postgres database, and you want to ask an AI assistant for help. The error and the connection code both include the full connection string: `postgres://app:Sup3rSecret!@prod-db.internal:5432/orders`. You're about to paste the whole thing into the chat to get faster help. What's the problem, and what do you paste instead?
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.