From 53efc8945e31fbb7d1a700ee4e3502940d3209f0 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Tue, 6 Oct 2026 12:59:20 +0200 Subject: [PATCH] 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. --- doc/evolution.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/doc/evolution.md b/doc/evolution.md index 80919c7..37858c7 100644 --- a/doc/evolution.md +++ b/doc/evolution.md @@ -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.