I asked Claude Code to add a handler for processOrders , a Lambda wired up to consume from orders-queue and read the matching row out of the Orders DynamoDB table. It wrote one immediately — confidently, in one shot, the way it writes most things. It also parsed the event body wrong. The problem: Claude Code didn't know the Lambda had an SQS trigger processOrders is invoked by orders-queue through an event source mapping — that's not in processOrders 's source file, ...