This file governs the docs/ directory. It is the schema for this project's Karpathy-style LLM Wiki: the rules any human or agent follows when extending, querying, or linting the wiki.
Raw layer = the codebase itself. (Edit this line in your repo to list the actual top-level code directories, e.g.
app/,config/,services/,lib/,db/.) Wiki layer = everything underdocs/. Schema layer = this file (docs/AGENTS.md, also reachable asdocs/CLAUDE.md).
The code is read-only from the wiki's perspective: do not edit code to make the wiki "correct". If the wiki contradicts the code, update the wiki.