Files
ruflo/v3/@claude-flow
randRuFlo 2dab8d94b1 fix(swarm): honor enableFailover and maxDelegationAttempts in QueenCoordinator (#4902)
QueenCoordinatorConfig declared enableFailover (default true) and
maxDelegationAttempts (default 3), but selectBackupAgents() ignored both
and hardcoded a cap of 2 backups.

selectBackupAgents() now returns no backups when enableFailover is false
and caps backups at max(0, maxDelegationAttempts - 1), counting the
primary as the first attempt. The defaults give 2, so default behavior is
unchanged.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-11-09 10:27:42 -05:00
..
…