Files
ruflo/v3/@claude-flow
马建彤 d151b61395 fix(swarm): remove domain-pool membership when an agent is unregistered
unregisterAgent()/terminateAgent() removed an agent from state/topology/bus/consensus but left it in AgentPool and agentDomainMap. A later assignTaskToDomain() could return that removed id, while getAgent() was undefined and its task_complete was dropped. Detach from the domain pool before cancellation so release cannot hand the agent new work, and stop deleting agentDomainMap before unregisterAgent().
2026-10-18 14:48:42 +08:00
..
2026-10-17 23:33:48 +01:00
2026-10-10 20:30:01 -04:00