<feed xmlns='http://www.w3.org/2005/Atom'>
<title>newos4/modules/test/test-chat-return.js, branch v4.6.151</title>
<subtitle>newOS4 - the browser terminal that runs WebX11 user spaces</subtitle>
<id>https://newos.webx11.duckdns.org/newos4/atom?h=v4.6.151</id>
<link rel='self' href='https://newos.webx11.duckdns.org/newos4/atom?h=v4.6.151'/>
<link rel='alternate' type='text/html' href='https://newos.webx11.duckdns.org/newos4/'/>
<updated>2026-11-02T19:51:14+00:00</updated>
<entry>
<title>test(newos4): guard chat()'s return and tool-turn survival</title>
<updated>2026-11-02T19:51:14+00:00</updated>
<author>
<name>Agando</name>
<email>roduccomm@gmail.com</email>
</author>
<published>2026-11-02T19:51:14+00:00</published>
<link rel='alternate' type='text/html' href='https://newos.webx11.duckdns.org/newos4/commit/?id=c72164911cdf416c50130191f7ffc05f54adcc7b'/>
<id>urn:sha1:c72164911cdf416c50130191f7ffc05f54adcc7b</id>
<content type='text'>
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).
</content>
</entry>
</feed>
