★ Insight ─────────────────────────────────────
Documentation drift is one of the most common issues in actively developed projects. The pattern here is classic: code evolves through PRs but docs only get updated in the files closest to the change (e.g., ARCHITECTURE.md got V7 right because it was updated in the PR, but CLAUDE.md's quick-reference wasn't touched). This is why many teams add "docs updated?" to their PR checklist.
─────────────────────────────────────────────────
Documentation Audit Results
Here's the consolidated findings across all five audit areas:
1. Schema Version Mismatch (CRITICAL)
| File | Says | Actual |
|---|
| CLAUDE.md (line 120) | Schema V5 | V7 |
| MEMORY.md (line 15) | Schema V6 | V7 |
| docs/PRODUCT.md | Schema V7 | V7 ✅ |
| docs/ARCHITECTURE.md | V1–V7 | V7 ✅ |
2. CLI Commands — Undocumented Subcommands & Flags
Missing from CLAUDE.md entirely:
| Command | Missing |
|---|
config set <key> <value> | Subcommand not documented |
config llm | Subcommand not documented (with --provider, --model, --api-key, --base-url, --show) |
telemetry status/disable/enable | Subcommands not documented |
sync prune | In PRODUCT.md but missing from CLAUDE.md |
sync --verbose | Flag not documented |
sync --regenerate-titles | Flag not documented |
reflect --week <YYYY-WNN> | Flag not documented |
reflect --section <name> | Flag not documented |
reflect --project <name> | Flag not documented |
reflect backfill --period/--project/--dry-run/--prompt-quality | 4 flags not documented |
dashboard --port/--no-open | Flags not documented |
open --project | Flag not documented |
3. API Routes — Significant Gaps in ARCHITECTURE.md
Entire route groups missing from docs:
/api/export — 3 endpoints (markdown, generate, generate/stream)
/api/analysis — 5 endpoints (session, session/stream, prompt-quality, prompt-quality/stream, recurring)
/api/reflect/generate and /api/reflect/results
/api/facets/aggregated and /api/facets/missing
/api/config/llm/test and /api/config/llm/ollama-models
/api/health — health check endpoint
The documented routes (sessions, projects, insights, analytics, facets CRUD, reflect/weeks, reflect/snapshot) are accurate.
4. Dashboard Pages — Accurate ✅
All 9 documented pages match their implementations. Two minor notes:
/sessions/:id is actually a redirect to the sessions page with a detail panel (not a standalone page)
- Dashboard route is
/dashboard with / redirecting to it
5. Tech Stack — Mostly Accurate ✅
All dependency versions confirmed correct:
- React 19.0.0 ✅, Tailwind 4.0.9 ✅, Recharts 3.7.0 ✅, Hono 4.7.4 ✅
- All 4 LLM providers implemented ✅
- Minor: CLAUDE.md lists
uuid as a utility, but it's not in any package.json or imports
6. PRODUCT.md / VISION.md / ROADMAP.md — Phase Accuracy
These three files are well-maintained. Phase 8, 8.5, and 9 are correctly marked as complete. The "What's Next" sections are consistent across all three files.
Summary: Priority Fixes
| Priority | File | Fix |
|---|
| P0 | CLAUDE.md | Schema V5 → V7 |
| P1 | CLAUDE.md | Add missing CLI subcommands and flags (config, telemetry, reflect, sync prune) |
| P1 | docs/ARCHITECTURE.md | Add ~20 missing API routes (export, analysis streaming, config/llm sub-routes) |
| P2 | CLAUDE.md | Remove uuid from tech stack utilities |
| P2 | MEMORY.md | Schema V6 → V7 |
| P3 | docs/ARCHITECTURE.md | Clarify dashboard route as /dashboard not / |
Want me to fix these? I can tackle them in priority order — P0 + P1 first (CLAUDE.md schema + CLI commands, ARCHITECTURE.md routes), then P2/P3.