v0.14.4
Highlights
- Preemptive chunking at every high-severity LLM call site. Large docs sites used to occasionally trip
ErrTokenBudgetExceededpartway through analysis. The reactivefitContentToBudget/chunkObservationsToFithelpers are gone; in their place a newinternal/chunkerpackage splits content on heading → paragraph → sentence boundaries while protecting code fences, tables, and lists, applied before the call ever leaves the box. Coverage:internal/chunker93.9%,internal/analyzer92.3%. - Call sites updated:
analyze_page,screenshot_gaps, the drift investigator + judge, andsynthesize. - Drift investigator compression. The system prompt is rewritten to be shorter, and the full symbol / page lists are now exposed through two new tools the model can call on demand instead of being inlined into the prompt.
synthesizemap-reduce fallback. Adds per-page summary compression with a map-reduce fallback path for very large docs sites that would otherwise exceed the synthesis budget.- Cleaner overflow logs. Any remaining
ErrTokenBudgetExceededfalls through to a single WARN-level log with full site context, instead of bubbling up as an unrecognized error.
See .plans/CONTEXT_OVERFLOW_AUDIT.md and .plans/CONTEXT_OVERFLOW_REMEDIATION.md for the call-site audit and full design.
What's Changed
Full Changelog: v0.14.3...v0.14.4