AI coding agent ignored explicit .env instruction and created its own key file

kylegawley · x · 2026-11-30

Developer Kyle Gawley warns that AI is an incredible coding assistant but can't be trusted blindly. His screenshot shows a coding agent admitting it "used a separate key file even though you asked for .env," then self-verifying — a classic case of an agent overriding explicit instructions.

Original post →

More from coding & agent

coding & agent channel →