From 783d4bdffc1c40ea0e2e8666a6db3cefaf9fabc1 Mon Sep 17 00:00:00 2001 From: Erosika Date: Fri, 14 Aug 2026 11:24:38 -0400 Subject: [PATCH] docs(honcho): prune wizard and peers-map comments The picker-cap comment repeated the constant's name; the sessionAiPeerPrefix field comment restated the field name and its symmetry with sessionPeerPrefix before reaching the collision it prevents. Both now state only the why. --- plugins/memory/honcho/cli.py | 3 +-- plugins/memory/honcho/client.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/memory/honcho/cli.py b/plugins/memory/honcho/cli.py index f0cff433f6..8fe21c52dc 100644 --- a/plugins/memory/honcho/cli.py +++ b/plugins/memory/honcho/cli.py @@ -1146,8 +1146,7 @@ def _preview_peer_resolution( return sanitize(user_id) -# Picker cap: workspaces holding thousands of peers (public bots) must not -# stall the CLI on an exhaustive listing. +# Workspaces holding thousands of peers (public bots) must not stall the CLI. _PEERS_MAP_FETCH_CAP = 200 diff --git a/plugins/memory/honcho/client.py b/plugins/memory/honcho/client.py index 215325fe79..1aa05f1c8b 100644 --- a/plugins/memory/honcho/client.py +++ b/plugins/memory/honcho/client.py @@ -395,8 +395,8 @@ class HonchoClientConfig: session_peer_prefix: bool = False # Bot-authored DMs write into their own session per sender bot. a2a_sessions: bool = True - # Symmetric to session_peer_prefix: several AI peers sharing one workspace, peerName and gateway - # chat key would otherwise resolve to the same session name. + # Prefixes every resolved session name with ``{ai_peer}-``. The gateway_session_key branch is + # AI-peer-agnostic, so several AI peers sharing one workspace + peerName + chat key would collide. session_ai_peer_prefix: bool = False sessions: dict[str, str] = field(default_factory=dict) raw: dict[str, Any] = field(default_factory=dict)