doc: refine size snapshot to highlight core runtime vs boilerplate

Backend adapters (~8.3K) are mostly mechanical API glue.
Core runtime is ~25K lines (22K Go core + 3K compiled tools).
KDE adds another ~15.7K. The interesting logic is concentrated.
This commit is contained in:
Levi Neely 2026-10-06 12:59:20 +02:00
parent 83f51dffef
commit 53efc8945e
1 changed files with 10 additions and 8 deletions

View File

@ -104,19 +104,21 @@ gantt
## Current Size (Aug 22)
| Component | Lines | Files |
|-----------|------:|------:|
| Go core (cmd/, lib9p/, virtfs/, etc.) | ~30,700 | 173 |
| Compiled tools (tools/) | ~3,000 | — |
| KDE integration (kde/) | ~15,700 | — |
| Script tools (data/tools/) | ~2,600 | — |
| CLI scripts (data/scripts/) | ~960 | — |
| Component | Lines | Notes |
|-----------|------:|-------|
| Go core (excluding backends) | ~22,000 | Agent, session, tools, 9P |
| Backend adapters | ~8,300 | 7 providers (mostly boilerplate) |
| Compiled tools (tools/) | ~3,000 | Code intel, file, LSP, web |
| KDE integration (kde/) | ~15,700 | GUI, Kate, KRunner |
| Script tools (data/tools/) | ~2,600 | Python/Bash tools |
| CLI scripts (data/scripts/) | ~960 | `o` wrapper and helpers |
| Prompts (data/prompts/) | ~600 | — |
| Skills (data/skills/) | ~1,280 | — |
| Documentation (doc/) | ~4,800 | — |
| **Total** | **~59,600** | — |
| **Core runtime** | **~25,000** | Excluding backends, docs, skills |
Agent profiles: 14. The codebase remains focused on composition over construction.
Agent profiles: 14. Backend code is largely mechanical API adaptation; the interesting logic lives in ~25K lines of core runtime plus ~15.7K of KDE integration.
## Phase 1: Monorepo Bootstrap (Apr 11)
Started as independent git repos unified under a monorepo with submodules.