From d35408a18d16c0a8fd5087b49ddcbfa8b720febe Mon Sep 17 00:00:00 2001 From: damocles Date: Thu, 4 Jun 2026 13:54:48 +0200 Subject: [PATCH] docs: remove stale role field from AgentMeta in conventions.md --- docs/conventions.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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.