hoobnn on Discord (#general, after v0.1.2572): on Usage > Context, Use
on Codex's Compact at showed "In use" with Undo over Today, but over 7
or 30 days the card never said "In use".
Cause: adviceRow checked `same` (Now equals the advice) before
`applied` (magpie put the advice in). Over 7 and 30 days the moved
models' Now reads the advice after Use, so the chip said "Already the
leanest for how you work". Today's calls were Codex's own models, so
Now stayed and `applied` won. Now `applied` is read first, in every
range; adviceRow is the only place the verdict is drawn (Claude rows
and TTL rows go through it too).
Test: context-tune's new "Use on Codex's window is In use with Undo
over Today, 7 and 30 days" (every language, 360 and 1100 wide), and
three existing assertions that wanted "Already the leanest" after Use
now want "In use".
Run:
- Red on the old code (mote, base 9621168c4, old context.js + new
test): 20 of 30 subtests per engine red, all of 7 and 30 days,
"Expected 'In use', actual 'Already the leanest for how you work'";
the three updated tests red too. Today passed.
- Green at da275848b (wsl-run; mote is out of disk, ENOSPC on Go
builds and browser launch): go test -tags nogui -run
'TestCoreScriptBudget|TestTune' ./internal/gui/ ok; node --test
context-tune.test.cjs i18n-keys.test.cjs 244/244 in Chromium and
WebKit, en/zh/zh-TW/ja/de.
- origin/main moved 3 commits since (85e37162e), none touching
context.js, its test, tune.go, i18n.js or internal/tune.
Broken by hand: putting the old order back turns the new test red
(above).
Not tried: the whole GUI suite (a broad WSL run of the context files,
i18n and the zh-TW/ja/de files was killed from outside at ~91 tests,
none failed by then). hoobnn also said Undo was missing over 7 and 30
days; on the old code Undo showed there (the test's wait for Undo
passed), so that part was not reproduced. hoobnn's real Codex config
was not tried.
Reported-by: hoobnn (Discord)