The `urn:atomic:agent: ` label for a software agent. A URN, never a `did:` — the label names a *kind* of software, not a key. The agent's key has its own DID; conflating the two would put a non-resolvable identifier where a DID is expected.
(slug: &str)
| 219 | /// The agent's key has its own DID; conflating the two would put a |
| 220 | /// non-resolvable identifier where a DID is expected. |
| 221 | pub fn software_agent_urn(slug: &str) -> String { |
| 222 | format!( |
| 223 | "{}{}", |
| 224 | atomic_canonical::delegation::AGENT_URN_PREFIX, |
| 225 | slug.trim().to_lowercase() |
| 226 | ) |
| 227 | } |
| 228 | |
| 229 | /// Render a duration as a short human phrase (`in 30d`, `3d ago`). |
| 230 | pub fn humanize_remaining(remaining: Option<Duration>) -> String { |
no outgoing calls