Skip to main content

OUTLINE_MIN_LINES

Constant OUTLINE_MIN_LINES 

Source
pub const OUTLINE_MIN_LINES: usize = 300;
Expand description

Above this many lines a ctx_read that names no range answers with an outline; at or below it the file comes whole (owner decision 2026-10-30).

Measured on pilot P8 (42 Haiku default-arm runs): every file the model read whole with mode="full" had at most 283 lines, every file it navigated by symbol=/lines: had 417 or more (service.py 1062, factories.py 1517, flows.py 473, views.py 464). Both no-range outlines of a 238-line test file were followed by a whole-file read of the same file, so a smaller threshold buys a round trip, not tokens.