diff --git a/src/servers/api/chat/websocket.ts b/src/servers/api/chat/websocket.ts index e4e39539..bbe432f6 100644 --- a/src/servers/api/chat/websocket.ts +++ b/src/servers/api/chat/websocket.ts @@ -469,15 +469,6 @@ function createMessageHandler( let commanderNamed = false; const fileAsCommander = (): void => { - // TEMPORARY instrumentation, 2026-08-22. The chosen name has failed to reach the transcript twice, and - // reasoning about the path has been wrong twice. Remove once the cause is known. - logger.warn('[commander-name] fileAsCommander', { - commandHq, - transcriptId, - hasName: !!commanderName, - name: commanderName ?? null, - alreadyNamed: commanderNamed, - }); if (!commandHq || !transcriptId) return; const userId = sessionManager.getSession(sessionId)?.userId; if (!userId) return; @@ -510,7 +501,6 @@ function createMessageHandler( // and locates the transcript wherever it actually is — so this works either way, and passing a // path we know is probably wrong would be the kind of thing that reads as intent later. commanderNamed = renameClaudeSession(who, who.home, filedId, commanderName.trim()); - logger.warn('[commander-name] rename attempt', { filedId, home: who.home, ok: commanderNamed }); }) .catch((err: unknown) => { logger.warn('Could not file this session as a commander', { diff --git a/src/workspaces/officerdev/src/apps/CommandHQ/CommandHqDetail.tsx b/src/workspaces/officerdev/src/apps/CommandHQ/CommandHqDetail.tsx index 4beb2c96..e965cd78 100644 --- a/src/workspaces/officerdev/src/apps/CommandHQ/CommandHqDetail.tsx +++ b/src/workspaces/officerdev/src/apps/CommandHQ/CommandHqDetail.tsx @@ -209,7 +209,15 @@ function NewCommander({ {chat.claudeSessionId ? (