pub async fn lookup_session(
pool: &Pool,
agent_instance_hierarchy: &str,
) -> Result<Option<SessionLookup>, Error>Expand description
Resolve the session for agent_instance_hierarchy.
Ok(None) means neither the agent_refs registry nor the
legacy request-blob fallback holds a definition for that
hierarchy (no prior session recorded).