A pick on the Agents page redraws its square at once and writes behind
it, queued (commit, and the effort slider's onchange). The test read the
fixture's last write as soon as the square changed, so a slow write raced
it: in a broad Routing run, six files at a time, Chromium's en 1100 case
read "high" for the subagent effort just set back to Default.
Each pick now waits for its /api/set answer, which the fixture sends
after noting the write. The app is unchanged.
Checked with the fixture's write held 300 ms (a probe, not committed):
the test before this fails 4 of 4 (Chromium and WebKit, 1100 and 420,
en) at "Desktop pick posts the catalog id", the model pick #2081 brought;
with this change it passes 4 of 4. Unheld, the race is rare: six runs of
the whole file at once pass 120/120 before this and after it. The file
alone: 20/20. The three UI breaks of the subagent effort still fail 4 of
4 (zh), and pass restored.