Context window
About 1M tokens is the practical ceiling — and a legacy codebase fills it fast.
- Scale: 50k lines of Java ≈ 600k tokens; the New Testament ≈ 260k.
- He said context windows “stalled at a million” — Gemini 1.5 Pro had 2M in June 2024 and Llama 4 Scout advertised 10M; the fair version is that ≈1M is the practical ceiling for frontier coding models.
- Consequences: fresh subagents in legacy code (Legacy refactoring), a fresh model per chapter (Ralph loop).
See also: Legacy refactoring · Ralph loop · Prompt caching · Home Source: Responsibly Dimming the Lights in the Software Factory @ Devoxx Belgium, Day 1 (6 Oct 2026) — section Testing (2:24:10)