AGENTS.md: Unified Rules for Agentic Coding with Refusal Principles
One more AGENTS.md that combines Karpathy’s four refusal principles in agentic programming and the Claude Code workflow by Boris Cherny.
Key changes: the agent will challenge your mistakes, make only the minimally necessary changes, won’t touch unrelated code without a reason, will run checks before reporting completion, and will ask questions whenever there is any ambiguity.
The file is about 200 lines long; only two blocks are edited (project context and accumulated project experience), the rest are fixed, concise rules of conduct. Thanks to symlinks for CLAUDE.md and GEMINI.md, a single file can centrally govern the behavior of all agents.