- isReadOnlyToolName: exclude tool names containing 'web' from the 'search' substring match so WebSearch tools are routed through classifyToolItemType instead of being short-circuited as file_read_approval. - ProviderHealth: extract shared parseAuthStatusWithLabels and runCliCommand helpers to eliminate near-identical parseClaudeAuthStatusFromOutput / parseAuthStatusFromOutput and runClaudeCommand / runCodexCommand functions. - ClaudeCodeAdapter: filter process.env through createClaudeSpawnEnv, stripping T3CODE_ and VITE_ prefixed variables before passing to the Claude SDK query. Co-authored-by: Julius Marminge <[email protected]>