Skip to content

Commit 9446475

Browse files
committed
Added cloc tip box
1 parent 1fb6a6c commit 9446475

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

website/docs/methodology/lesson-5-grounding.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@ Your codebase size determines which grounding approach works. Here's how to choo
157157
| **10-100K LOC** | **Claude Code:** Explore agent<br/>**Other CLI agents:** ChunkHound code research (MCP)<br/>**Alternative:** Semantic search (Claude Context, Serena via MCP) | Searches returning 50+ files start overwhelming context | Sub-agents isolate research in separate contexts. Semantic search extends agentic search with meaning-based queries. ChunkHound is the only MCP-based sub-agent option. |
158158
| **100K+ LOC** | ChunkHound code research (structured sub-agent) | Agentic search misses architectural connections across modules | Essential at 1M+ LOC. Only approach with progressive aggregation across large codebases. |
159159

160+
:::tip Measuring LOC
161+
162+
Use [`cloc`](https://github.com/AlDanial/cloc) to measure your codebase: `cloc .` returns language-by-language breakdown. Focus on the "Code" column for accurate LOC counts.
163+
:::
164+
160165
<details>
161166
<summary>Deep Dive: ChunkHound Architecture</summary>
162167

0 commit comments

Comments
 (0)