aboutsummaryrefslogtreecommitdiff
path: root/modules/core/module-loader.js
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-11-02 20:51:14 +0100
committerAgando <roduccomm@gmail.com>2026-11-02 20:51:14 +0100
commitc72164911cdf416c50130191f7ffc05f54adcc7b (patch)
treeb6834210c6ac5f3c5da08eedcfa959c4f4c33883 /modules/core/module-loader.js
parent9c2d867e073c269c2071d78310fb085500443e63 (diff)
test(newos4): guard chat()'s return and tool-turn survival
The regression in 32608bc shipped because nothing exercised chat() itself. test-chat-return.js runs 7 assertions against the real module: a tool-using turn must not throw, must return {content, toolTurns}, the orchestrator projection must keep the answer, a tool-free turn must return too, the lock must be released after a failed turn, and a second turn must return its own answer. Green 7/7 on 8a9333b; against 32608bc it exits 1 (ReferenceError: recent). Auto-discovered by newos4-maintain (23/23 node tests).
Diffstat (limited to 'modules/core/module-loader.js')
0 files changed, 0 insertions, 0 deletions