diff options
| author | Agando <roduccomm@gmail.com> | 2026-10-27 16:32:21 +0100 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-10-27 16:32:21 +0100 |
| commit | 675397058b3562a67319e92bd455761168908090 (patch) | |
| tree | 257277206b29bc61b1a640174d73ce9cdb192766 /chat/chat-ui.html | |
| parent | 40c4f5ccd9a54b60cad3a3f29c6c9d32d3fbdac5 (diff) | |
test(newos4): prove the mixed-batch loop ceiling stops an agent at 9 identical calls
MAINT-006 was the last open board item and it needed a live run, not another code argument.
The fix landed in 5058d3b (the hard stop was only reachable when EVERY call in a batch was blocked,
so one repeated call + one novel call per turn ran to maxTurns).
- Live probe on v4.6.116 with the deployed class and a deterministic model stub (repeat read_file
+ a fresh list_files each turn): the loop stopped at turn 9 with
"⛔ main: no progress after 9 identical calls — ending loop with partial result" and returned
{finalAnswer, toolTurns} with a 400-char partial answer.
- test-agent-loop-ceiling.js (9 asserts, real module via its constructor): A mixed batch stops before
maxTurns / B all-blocked batch still stops / C a productive loop that never repeats is NOT stopped.
- RED on 52d188a (pre-fix): 8 passed, 1 FAILED — the mixed batch ran to "AI reached the 12/12 tool
limit" with no ceiling line. Suite in that checkout: 19 files, this one failing.
- Suite now 19/19 files; maintain OK.
No bundle change: the shipped code already contains the ceiling.
Diffstat (limited to 'chat/chat-ui.html')
0 files changed, 0 insertions, 0 deletions