Mikael Hugo
|
848ac0dd99
|
feat(swarm): UOK-based swarm with PersistentAgent, AgentSwarm, and SwarmDispatchLayer
- PersistentAgent: stable identity across restarts, 3-tier memory (core
blocks / recall / archival), durable SQLite inbox, sendAndWait request-
reply, broadcast — all backed by UokCoordinationStore + MessageBus
- AgentSwarm: Letta-style group topology with ManagerType enum
(round_robin, supervisor, dynamic, sleeptime), tag-based routing,
shared agent_directory block, persist/load round-trip
- Role agents: CoordinatorAgent, WorkerAgent, ScoutAgent, ReviewerAgent
extending PersistentAgent with preset tags + createDefaultSwarm factory
(1 coordinator, 2 workers, 1 scout, 1 reviewer)
- SwarmDispatchLayer: routes UOK DispatchEnvelopes by workMode/unitType
to the correct role agent, module-level cache, swarmDispatch() convenience fn
- 15 tests passing (identity persistence, messaging, registry, topology,
dispatch routing) using real SQLite in tmp dirs
- Fix: tsconfig.resources.json — add types:[node] for TypeScript 6 compat
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
2026-05-09 04:04:42 +02:00 |
|