I asked an AI coding assistant to generate a DynamoDB query. A few seconds later it confidently gave me this: const result = await dynamo . query ({ TableName : " Orders " , IndexName : " customerId-createdAt-index " , KeyConditionExpression : " customerId = :customerId " , }); Enter fullscreen mode Exit fullscreen mode Looks clean. Looks professional. Looks like something a senior backend engineer would casually approve during code review while fighting for survival in their 14th Slack thread of the day. Tiny issue though. The index did not exist. And honestly, this is becoming one of the biggest problems with AI coding tools: they are extremely good at generating things that look correct . The AI Wasn't Being Stupid That’s the interesting part. The assistant actually made a pretty reasonable guess. It saw: DynamoDB usage query patterns naming conventions nearby code …and predicted what probably existed. Which is exactly what LLMs are designed to do.…