Summarizer should never propose leadership
Currently the subscribeToLeadership() call is gated by clientType === Browser. This is to prevent agents and the summarizer client from trying to be a leader. The AgentScheduler implementation automatically tries to become leader when it is realized, but the summarizer will realize it if there are incoming ops for it. Once realized, it may try to take leadership if there is no leader assigned.
TaskManager also gates pick calls with the canReconnect check, but the leader pick bypasses this since it is in the underlying AgentScheduler.
Not all instances of AgentScheduler should necessarily try to become leader, it might be better if leader is considered a task that needs to be "registered", and is automatically done so if not an agent/canReconnect false.
Should be resolved with PR #1389 .