pub(super) fn next_for(state: &AppState, agent_id: &str, uid: &str) -> Value
The next task waiting for this agent, as the answer to finishing one carries it (§6.5: it proceeds through its backlog).