81bbff6d
docs: server.zig is 4.0k lines, and its tests are siblings
a73x 2026-08-26 17:15
Commit message
CLAUDE.md
| Old | New | ||
|---|---|---|---|
| @@ -23,7 +23,8 @@ First build after a clean checkout fetches ~30MB of QUIC deps (minutes, once). | |||
| 23 | Files are large and comment-dense (~44% of Zig bytes are `//`). Reading the repo | 23 | Files are large and comment-dense (~44% of Zig bytes are `//`). Reading the repo |
| 24 | costs ~800k tokens; every token stays in context and is re-billed each turn. | 24 | costs ~800k tokens; every token stays in context and is re-billed each turn. |
| 25 | 25 | ||
| 26 | - **Never `cat` these:** `src/server.zig` (9.6k lines, ~110k tok), | 26 | - **Never `cat` these:** `src/server.zig` (4.0k lines, ~40k tok; its tests are |
| 27 | siblings, `src/server_test_*.zig`, none over 1.6k), | ||
| 27 | `test/e2e.sh` (7.0k), `docs/decisions.md` (4.9k), `src/wallview.zig` (3.0k), | 28 | `test/e2e.sh` (7.0k), `docs/decisions.md` (4.9k), `src/wallview.zig` (3.0k), |
| 28 | `src/interact.zig` (2.9k). | 29 | `src/interact.zig` (2.9k). |
| 29 | Use `grep -n` for the symbol, then `sed -n 'A,Bp'` for a window. | 30 | Use `grep -n` for the symbol, then `sed -n 'A,Bp'` for a window. |