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
Commit f5d9f83
Browse filesBrowse the repository at this point in the historyBrowse files
fix(claude): compact at the same point Codex does, not at 350k
The auto-context compact window was 350,000, chosen when the widest native row
advertised 372,000. It now sits at 829,800 — the exact auto-compaction limit the
Codex catalog ships for the same models (922,000 window, clamped to the measured
input ceiling).
Leaving the two apart meant one model compacting at 350k under Claude Code and at
829,800 under Codex. The new value still clears the measured 922,000 ceiling by
~92k, so compaction has room to run before the upstream refuses.
This value is also the floor shouldMarkOneMillion uses, so a model must be able to
host the window to carry the [1m] marker. Raising it drops the marker from routed
500k rows (grok-4.6) — correct, since a 500k model could never host a 1M
accounting anyway. The 922k natives clear it and keep the marker.
The GUI's manual-env fallback and the type comment move with it: a pasted export
that disagrees with what the runtime injects is its own bug.
0 commit comments