From d5e0f680a50636d321bc2b34ae4eccf6266c6379 Mon Sep 17 00:00:00 2001 From: atlas Date: Thu, 2 Jul 2026 22:02:16 +0200 Subject: [PATCH] fix(#2149): use hive display name + / sep in remote-control session prefix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX: hive+/ (hiveDisplayName already available in scope from OTEL resource attrs) --- nix/templates/harness-base.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/templates/harness-base.nix b/nix/templates/harness-base.nix index 81e1f5c5..d7d64330 100644 --- a/nix/templates/harness-base.nix +++ b/nix/templates/harness-base.nix @@ -60,8 +60,8 @@ let CLAUDE_CODE_RESUME_INTERRUPTED_TURN = "1"; # Use the simpler system prompt variant suited to headless operation. CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT = "1"; - # Tag remote-control sessions with the hive+agent name for identification. - CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX = "hive+${userName}"; + # Tag remote-control sessions with "/" for identification. + CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX = "${hiveDisplayName}/${userName}"; }; otelSettingsEnv = { CLAUDE_CODE_ENABLE_TELEMETRY = "1";