fn agents_by_state(status: &BTreeMap<String, AgentStatus>) -> ValueExpand description
How many agents are in each lifecycle state (working, idle, limited, signed_out…), the
same state Agents list shows: the fleet feed’s, from agent_state::decide.