//! Proto ↔ registry type conversions for the AgentLifecycleService.
use AgentId as ProtoAgentId;
use ;
/// Derive a deterministic 16-byte registry key from a composite proto [`AgentId`](ProtoAgentId).
///
/// Hashes `"{org_id}/{team_id}/{agent_id}"` with SHA-256, then truncates to 16 bytes.
/// Validate that a proto [`AgentId`](ProtoAgentId) has all required fields populated.