fix(#2149): use hive display name + / sep in remote-control session prefix

CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX: hive+<agent> → <hiveName>/<agent>
(hiveDisplayName already available in scope from OTEL resource attrs)
This commit is contained in:
atlas 2026-07-02 22:02:16 +02:00 committed by mara
commit d5e0f680a5

View file

@ -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 "<hive>/<agent>" for identification.
CLAUDE_REMOTE_CONTROL_SESSION_NAME_PREFIX = "${hiveDisplayName}/${userName}";
};
otelSettingsEnv = {
CLAUDE_CODE_ENABLE_TELEMETRY = "1";