This project uses agentlens for AI-optimized documentation.
Follow this order to understand the codebase efficiently:
- Start here:
.agentlens/INDEX.md- Project overview and module routing - AI instructions:
.agentlens/AGENT.md- How to use the documentation - Module details:
.agentlens/modules/{module}/MODULE.md- File lists and entry points - Before editing: Check
.agentlens/modules/{module}/memory.mdfor warnings/TODOs
.agentlens/
├── INDEX.md # Start here - global routing table
├── AGENT.md # AI agent instructions
├── modules/
│ └── {module-slug}/
│ ├── MODULE.md # Module summary
│ ├── outline.md # Symbol maps for large files
│ ├── memory.md # Warnings, TODOs, business rules
│ └── imports.md # Dependencies
└── files/ # Deep docs for complex files
- Use
.agentlens/modules/{module}/outline.mdto find symbols in large files - Check
.agentlens/modules/{module}/imports.mdfor dependencies - For complex files, see
.agentlens/files/{file-slug}.md
| Task | Command |
|---|---|
| Regenerate docs | agentlens |
| Fast update (changed only) | agentlens --diff main |
| Check if stale | agentlens --check |
| Force full regen | agentlens --force |
- Module boundaries:
mod.rs(Rust),index.ts(TS),__init__.py(Python) - Large files: >500 lines, have symbol outlines
- Complex files: >30 symbols, have L2 deep docs
- Hub files: Imported by 3+ files, marked with 🔗
- Memory markers: TODO, FIXME, WARNING, SAFETY, RULE
Generated by agentlens