diff --git a/docs/conventions.md b/docs/conventions.md index 8240ae16..7060e205 100644 --- a/docs/conventions.md +++ b/docs/conventions.md @@ -245,16 +245,11 @@ the card out of the pending pane. `AgentRequest::GetAgentMeta { name }` returns identity + status for an agent. Self-introspection when `name = None` (replaces the older -`Whoami` request); target query when `name = Some`. The -manager-flavour mirror has the same shape. +`Whoami` request); target query when `name = Some`. -Response is `AgentMeta { name, role, running, hyperhive_rev, +Response is `AgentMeta { name, running, hyperhive_rev, status_text, status_set_at, hive_name, swarm_name }`: -- `role`: best-effort — `"manager"` for the manager agent, - `"agent"` for everyone else. Reflects the responding daemon's - view (the host-side flavour can't always introspect the target's - config). - `hyperhive_rev`: `None` only when the configured flake URL has no canonical path. Otherwise carries the rev the target is currently pinned at.