fn agent_json(
reg: &AgentRegistration,
state: Option<AgentState>,
color: Option<String>,
names: &HashMap<String, String>,
) -> ValueExpand description
An agent of this instance as the board shows it, with its colour (SPEC_KANBAN_STAGES_COLOURS_AND_NARROW_VIEW_2026_10_23.md §7.2).