Restructure AGENTS.md as a pointer tree; move depth into docs/ (#832)