CODE-078: grep at linux scale: the cap counts suspects and the 12-bit slot saturates

Now
OPEN
Sev
MED
Rep
///bee
Ask
gritzko
Rev
///bee#8cb69a0
See
BEE-071
See
BEE-066
See
SPOT-002

Input

Context

view/grep.js:64:EJ caps on SUSPECTS, so a needle present in ZERO files is refused: against the real /src/linux lane reftable_stack_destroy (absent from linux) yields 733 candidate files -> "733 files may carry them — narrow the query"; kfree yields 61032 of 95k files in 2.5 s of descent; on git.git strbuf yields 616. index/tridex.js:31:zw: 12 bits of prefix_hl12 saturate — the fills 4096/4096 depth-3 slots in linux, printk/str/buf/EXPORT_SYM all >= 3874 — so the file-level test is noise, and DIR_DEPTHS = 3 gives no dir pruning below drivers/net. Found in the 2026-09-18 index review.

Goals

Confirm candidates under a byte/file budget and cap on CONFIRMED hits; widen the file slot (a u64 lane, or a per-depth trigram block) and/or raise DIR_DEPTHS so deep files still prune.

WIP

Design decisions

TODOs

Blockers and bummers

Outcome