AI coding agent context: give it a map, not your whole repo
Three habits that stop a coding agent inventing hooks and tables: an AGENTS.md file it has to keep updated, real documentation and schema files in the context, and a fresh thread when the task changes.