docs: remove stale role field from AgentMeta in conventions.md

This commit is contained in:
damocles 2026-06-04 13:54:48 +02:00 committed by mara
commit d35408a18d

View file

@ -245,16 +245,11 @@ the card out of the pending pane.
`AgentRequest::GetAgentMeta { name }` returns identity + status for `AgentRequest::GetAgentMeta { name }` returns identity + status for
an agent. Self-introspection when `name = None` (replaces the older an agent. Self-introspection when `name = None` (replaces the older
`Whoami` request); target query when `name = Some`. The `Whoami` request); target query when `name = Some`.
manager-flavour mirror has the same shape.
Response is `AgentMeta { name, role, running, hyperhive_rev, Response is `AgentMeta { name, running, hyperhive_rev,
status_text, status_set_at, hive_name, swarm_name }`: 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 - `hyperhive_rev`: `None` only when the configured flake URL has
no canonical path. Otherwise carries the rev the target is no canonical path. Otherwise carries the rev the target is
currently pinned at. currently pinned at.