From 71736c9f32597bbca9d89cede5aa136e55946b2f Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Tue, 3 Nov 2026 20:40:41 -0800 Subject: [PATCH] docs(bot-mode): canonical-groups doc describes the roster rows, not the Refresh button Also assert the whole Bots pane renders no Refresh button. --- apps/desktop/docs/canonical-groups.md | 2 +- .../src/plugins/hermes-bots/roster-pane-gateway-rooms.test.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/desktop/docs/canonical-groups.md b/apps/desktop/docs/canonical-groups.md index 9b67d90fc8..1dded7e075 100644 --- a/apps/desktop/docs/canonical-groups.md +++ b/apps/desktop/docs/canonical-groups.md @@ -1,6 +1,6 @@ # Gateway-owned groups in Desktop -Bot Mode lists gateway rooms separately from legacy renderer rooms. Refresh gateway groups reloads the selected connection/profile's canonical room list. Opening a room captures that exact authority; changing the foreground profile does not retarget its controls. +The Bots roster lists the selected connection/profile's gateway rooms as ordinary Group Chat rows beside legacy renderer rooms. The list keeps itself current (a poll, every socket or source change, and right after a create or disband here); a failed read keeps the last good list and never shows transport text. Opening a room binds and captures that exact authority; changing the foreground profile does not retarget its controls. With `groups.capabilities.driver` enabled, the existing creation dialog creates a canonical group. Only same-authority local-profile members are supported; Desktop connection descriptors are not peer grants. Existing legacy rooms offer **Start gateway group** instead of renderer-owned execution. This starts a new room and deliberately does not replay legacy history. diff --git a/apps/desktop/src/plugins/hermes-bots/roster-pane-gateway-rooms.test.tsx b/apps/desktop/src/plugins/hermes-bots/roster-pane-gateway-rooms.test.tsx index 8381c525cf..1fad187142 100644 --- a/apps/desktop/src/plugins/hermes-bots/roster-pane-gateway-rooms.test.tsx +++ b/apps/desktop/src/plugins/hermes-bots/roster-pane-gateway-rooms.test.tsx @@ -2,7 +2,7 @@ * The Bots pane with only its gateway transport mocked. The bot list * (`profiles.list` / `host.agents`) failing must not hide gateway Group Chats * that `groups.list` returned: rooms are part of the list, so the pane shows - * them instead of the bot-list error. + * them instead of the bot-list error, with no Refresh button. */ import type * as HermesSdk from '@hermes/plugin-sdk' @@ -56,4 +56,5 @@ it('shows gateway Group Chats when the bot list fails', async () => { expect(await screen.findByRole('button', { name: 'Launch crew' })).toBeTruthy() expect(screen.queryByText(/exploded/)).toBeNull() + expect(screen.queryByRole('button', { name: /refresh/i })).toBeNull() })