Files
ruflo/v3/@claude-flow
ordinary being 31f554c7b2 fix(swarm): wire downgraded topology leaders only to the leader (#4483)
addNode() resolved the requested role for the node's role field but passed the raw request to calculateInitialConnections(). In hierarchical/centralized topologies, a second node requesting queen/coordinator is downgraded to worker; the raw role still took the leader branch and connected it to every existing node. Connections, adjacency and edges therefore contradicted the stored role (#4481 hive-mind scan).\n\nResolve the role once, before calculating connections, and use it for both. Regression covers centralized and hierarchical topologies: the leader, a normal worker, then a late node requesting the leader role; the late node must be a worker whose only neighbor is the existing leader. Baseline fails with [leader, worker]; candidate passes. Full swarm suite 355/355 and tsc --noEmit clean.
2026-10-25 05:25:51 -04:00
..
2026-10-23 13:20:20 -04:00
2026-10-23 13:20:20 -04:00
…