You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[idea] Context diet: Stages 0–4 should start at ≤25k toolkit text (runbook spine, run-don't-read, per-stage routing) #166
The idea: cut the default context load of early-stage sessions. Measured with chars/4:
conversion-runbook.md is ~23k and is read in full every session.
interview-protocol.md is ~5k.
The stage "-" baselines are ~7k.
Script rows are ~25k when an agent reads a script instead of running it.
That comes to about 40–70k before the task starts, and it is re-read on every call. Proposals:
Split the runbook into a ~4–5k spine plus per-stage sections. This is the biggest saving, ~18k per session.
Change the bin/*.sh routing rows to "run with --help", so agents run scripts instead of reading them.
Render stub routing per agent and per stage.
Pass agents the slice they work on, not the whole spec.
Add a "context at start: Nk" line to each Live Checklist.
Why this belongs in the toolkit: it applies to every entry mode, since every session reads the runbook.
Field evidence: ProcureFlow cook-off. Details in contrib/inbox/2026-09-29-context-diet-early-stages.md (#165).
Done = a Stage 0–4 session starts at ≤25k toolkit text, measured from the first call of a transcript, with no gate regressions (render-routing.sh --check, stage fixtures).
Rough size: a cluster (runbook, routing TSV + renderer, stubs).
Status after 1.0 (v2026.10.19): the always-loaded tier fell from 79,997 to 73,682 words and the mdl helper's Stage 5 load from 56,236 to 30,647 (#223, #226, #385). Still open: splitting the runbook into a spine, and measuring the Stage 0 to 4 start against the 25k target.
Parked on the roadmap: #579 (re-architecture). Lazy-loading PRs #570–#572 already cut the always-loaded baseline from 72.9k to 64.0k words. The next step is a per-stage preload measurement with context-audit.sh.
Activity
Merge #323: inbox promotions — exec refusal table, UI fix rounds, mea…
MendixMau commentedon Oct 19, 2026
Status after 1.0 (v2026.10.19): the always-loaded tier fell from 79,997 to 73,682 words and the mdl helper's Stage 5 load from 56,236 to 30,647 (#223, #226, #385). Still open: splitting the runbook into a spine, and measuring the Stage 0 to 4 start against the 25k target.
MendixMau commentedon Oct 26, 2026
Parked on the roadmap: #579 (re-architecture). Lazy-loading PRs #570–#572 already cut the always-loaded baseline from 72.9k to 64.0k words. The next step is a per-stage preload measurement with
context-audit.sh.Generated by Claude Code