<feed xmlns='http://www.w3.org/2005/Atom'>
<title>newos4/modules/core/module-agent-registry.js, branch main</title>
<subtitle>newOS4 - the browser terminal that runs WebX11 user spaces</subtitle>
<id>https://newos.webx11.duckdns.org/newos4/atom?h=main</id>
<link rel='self' href='https://newos.webx11.duckdns.org/newos4/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://newos.webx11.duckdns.org/newos4/'/>
<updated>2026-10-27T14:33:33+00:00</updated>
<entry>
<title>fix(newos4): agent registration is absolute-path and honest about what it stored</title>
<updated>2026-10-27T14:33:33+00:00</updated>
<author>
<name>Agando</name>
<email>roduccomm@gmail.com</email>
</author>
<published>2026-10-27T14:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://newos.webx11.duckdns.org/newos4/commit/?id=c1792f0b09990af95eed2ccfbe3d365902147547'/>
<id>urn:sha1:c1792f0b09990af95eed2ccfbe3d365902147547</id>
<content type='text'>
Three of the four agent-cluster items, each with a test that is red on HEAD.

- MAINT-008 (module-agent-registry.js + module-orchestrator.js): registerAgent took args[0] as the
  agent id and only args[1] as the capability list, while both orchestrator callers passed the
  command word first — so the boot log read "Agent 'register' registered with 1 capabilities" and
  four capabilities were stored as one. The command word is now stripped, args[1..] are joined and
  split on commas (both "a,b" and "a b c" work), and the callers pass [id, ...caps].
- MAINT-007 (registry + aiassist): mkdir/rm used relative paths, so a registration made from /docs
  created /docs/agents/&lt;id&gt; and an unregister from any other cwd removed nothing — the leaked
  directories the report suspected. Every path in the registry (and the four /_sessions writes in
  module-aiassist.js) is absolute now.
- MAINT-009 (listAgents): a directory alone counted as a registered agent, so a hand-made
  /agents/foo appeared as "foo — unknown (0 capabilities)". Only a readable status.json with an id
  counts now; the rest are reported as unregistered directories.

Verification: test-agent-registry.js (11 asserts). RED on HEAD: 9 of 11 fail, including the exact
`✅ Agent 'register' registered with 1 capabilities` line and `hand-made — unknown (0
capabilities)`. Suite 15/15 files green; maintain --fix "node tests 15/15 pass".
Live on v4.6.109: boot prints "✅ Agent 'orchestrator-0' registered with 4 capabilities";
`agent-list` warns "1 directory(ies) in /agents have no status.json (not registered): hand-made";
register from / with a comma list stores 3; unregister from /docs removes the directory and leaves
no /docs/agents.

MAINT-006 stays open with a narrower note: the hard stop was only reachable when every call in a
batch was blocked, so a mixed batch (one repeated + one novel call) never ended. The same ceiling
now applies on the mixed path, but that branch lives inside agenticLoop and is not covered by a unit
test — it needs a live agent run that repeats a call.
</content>
</entry>
<entry>
<title>auto: 2026-06-17_06:01 changes</title>
<updated>2026-06-17T04:01:20+00:00</updated>
<author>
<name>Agando</name>
<email>roduccomm@gmail.com</email>
</author>
<published>2026-06-17T04:01:20+00:00</published>
<link rel='alternate' type='text/html' href='https://newos.webx11.duckdns.org/newos4/commit/?id=cebacc27a48168e666679018f8e27156d12d4527'/>
<id>urn:sha1:cebacc27a48168e666679018f8e27156d12d4527</id>
<content type='text'>
</content>
</entry>
<entry>
<title>auto: 2026-06-04_06:00 changes</title>
<updated>2026-06-04T04:01:04+00:00</updated>
<author>
<name>Agando</name>
<email>roduccomm@gmail.com</email>
</author>
<published>2026-06-04T04:01:04+00:00</published>
<link rel='alternate' type='text/html' href='https://newos.webx11.duckdns.org/newos4/commit/?id=a5023e61be61f2f2287342039addab6bb28ad2fd'/>
<id>urn:sha1:a5023e61be61f2f2287342039addab6bb28ad2fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>auto: 2026-06-02_18:00 changes</title>
<updated>2026-06-02T16:00:37+00:00</updated>
<author>
<name>Agando</name>
<email>roduccomm@gmail.com</email>
</author>
<published>2026-06-02T16:00:37+00:00</published>
<link rel='alternate' type='text/html' href='https://newos.webx11.duckdns.org/newos4/commit/?id=aafb0fbde5289a45f9f818a00141f80b149be283'/>
<id>urn:sha1:aafb0fbde5289a45f9f818a00141f80b149be283</id>
<content type='text'>
</content>
</entry>
</feed>
