pub fn effective_seat(
mstore: &Store,
def: &AgentDefinition,
) -> Option<AgentSeat>Expand description
The seat a definition is shown with: its stored seat, or, for a spawned
worker (agent:worker_of) with none, role worker, qualifier “spawned”
and its leader as lead (§2). Computed when read, never stored; a seat the
operator sets wins. def.seat must be the stored one, as
agent_def_list reads it.