docs: remove stale role field from AgentMeta in conventions.md
This commit is contained in:
parent
7022cd3826
commit
d35408a18d
1 changed files with 2 additions and 7 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue