mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
* fix(swarm): make ephemeral agent termination idempotent FederationHub terminateAgent() counted every call, completeAgent() counted again if followed by termination, and unregisterSwarm()/TTL cleanup re-terminated already settled agents. Guard terminated agents and skip stat/event/lifespan accounting when completion was already counted; make completeAgent() idempotent. * test(ci): stabilize two unrelated full-suite checks message-bus.event-driven waited a fixed 2ms for the first retry invocation; under a loaded worker it can arrive later. Poll for the invocation with a bounded timeout instead. mods-cli-bin skipped only on bin/cli.js, which always exists; require the built dist/src/index.js so source-only checkouts skip the built-CLI suite rather than failing it.