ed for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:13:57.968Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:13:57.968Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:13:57.968Z [DEBUG] Getting matching hook commands for PreToolUse with query: Edit 2026-03-06T17:13:57.968Z [DEBUG] Found 1 hook matchers in settings 2026-03-06T17:13:57.968Z [DEBUG] Matched 1 unique hooks for query "Edit" (1 before deduplication) 2026-03-06T17:13:58.005Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:13:58.005Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:13:58.005Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:13:58.012Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:13:58.012Z [DEBUG] Hook PreToolUse:Edit (PreToolUse) success: {} 2026-03-06T17:13:58.013Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-03-06T17:13:58.015Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' failed after 0s: MCP error -32001: File not open 2026-03-06T17:13:58.016Z [DEBUG] Writing to temp file: /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs.tmp.1043577.1772817238016 2026-03-06T17:13:58.016Z [DEBUG] Preserving file permissions: 100644 2026-03-06T17:13:58.016Z [DEBUG] Temp file written successfully, size: 8940 bytes 2026-03-06T17:13:58.016Z [DEBUG] Applied original permissions to temp file 2026-03-06T17:13:58.016Z [DEBUG] Renaming /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs.tmp.1043577.1772817238016 to /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs 2026-03-06T17:13:58.016Z [DEBUG] File /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs written atomically 2026-03-06T17:13:58.016Z [ERROR] Error: Error: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting at Object.M [as sendNotification] (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:27077) at H (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:34310) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2026-03-06T17:13:58.016Z [ERROR] Error: Error: Failed to sync file open /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting at H (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:34486) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2026-03-06T17:13:58.016Z [DEBUG] LSP: Failed to notify server of file change for /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Failed to sync file open /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting 2026-03-06T17:13:58.016Z [ERROR] Error: Error: Failed to sync file open /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting at H (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:34486) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2026-03-06T17:13:58.017Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:13:58.017Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:13:58.017Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:13:58.017Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:13:58.017Z [DEBUG] Getting matching hook commands for PostToolUse with query: Edit 2026-03-06T17:13:58.017Z [DEBUG] Found 6 hook matchers in settings 2026-03-06T17:13:58.017Z [DEBUG] Matched 2 unique hooks for query "Edit" (2 before deduplication) 2026-03-06T17:13:58.045Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:13:58.045Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:13:58.045Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:13:58.051Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:13:58.051Z [DEBUG] Hook PostToolUse:Edit (PostToolUse) success: {} 2026-03-06T17:13:58.052Z [DEBUG] Dynamic tool loading: found 6 discovered tools in message history 2026-03-06T17:13:58.053Z [DEBUG] Dynamic tool loading: 6/217 deferred tools included 2026-03-06T17:13:58.053Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.3cc; cc_entrypoint=cli; cch=00000; 2026-03-06T17:13:58.054Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-06T17:13:58.054Z [DEBUG] [API:auth] OAuth token check starting 2026-03-06T17:13:58.054Z [DEBUG] [API:auth] OAuth token check complete 2026-03-06T17:13:58.056Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1060→1061) 2026-03-06T17:14:00.586Z [DEBUG] Stream started - received first chunk 2026-03-06T17:14:04.342Z [DEBUG] executePreToolHooks called for tool: Read 2026-03-06T17:14:04.342Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:04.342Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:04.342Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:04.342Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:04.342Z [DEBUG] Getting matching hook commands for PreToolUse with query: Read 2026-03-06T17:14:04.342Z [DEBUG] Found 1 hook matchers in settings 2026-03-06T17:14:04.342Z [DEBUG] Matched 1 unique hooks for query "Read" (1 before deduplication) 2026-03-06T17:14:04.344Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1061→1062) 2026-03-06T17:14:04.408Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:04.408Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:04.408Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:04.413Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:04.413Z [DEBUG] Hook PreToolUse:Read (PreToolUse) success: {} 2026-03-06T17:14:04.416Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:04.416Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:04.416Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:04.416Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:04.416Z [DEBUG] Getting matching hook commands for PostToolUse with query: Read 2026-03-06T17:14:04.416Z [DEBUG] Found 6 hook matchers in settings 2026-03-06T17:14:04.416Z [DEBUG] Matched 2 unique hooks for query "Read" (2 before deduplication) 2026-03-06T17:14:04.466Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:04.466Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:04.466Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:04.475Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:04.475Z [DEBUG] Hook PostToolUse:Read (PostToolUse) success: {} 2026-03-06T17:14:04.478Z [DEBUG] Dynamic tool loading: found 6 discovered tools in message history 2026-03-06T17:14:04.478Z [DEBUG] Dynamic tool loading: 6/217 deferred tools included 2026-03-06T17:14:04.479Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.3cc; cc_entrypoint=cli; cch=00000; 2026-03-06T17:14:04.479Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-06T17:14:04.479Z [DEBUG] [API:auth] OAuth token check starting 2026-03-06T17:14:04.480Z [DEBUG] [API:auth] OAuth token check complete 2026-03-06T17:14:04.483Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1062→1063) 2026-03-06T17:14:06.303Z [DEBUG] Stream started - received first chunk 2026-03-06T17:14:15.014Z [DEBUG] executePreToolHooks called for tool: Read 2026-03-06T17:14:15.014Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:15.014Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:15.014Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:15.014Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:15.014Z [DEBUG] Getting matching hook commands for PreToolUse with query: Read 2026-03-06T17:14:15.014Z [DEBUG] Found 1 hook matchers in settings 2026-03-06T17:14:15.014Z [DEBUG] Matched 1 unique hooks for query "Read" (1 before deduplication) 2026-03-06T17:14:15.016Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1063→1064) 2026-03-06T17:14:15.080Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:15.080Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:15.080Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:15.087Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:15.087Z [DEBUG] Hook PreToolUse:Read (PreToolUse) success: {} 2026-03-06T17:14:15.089Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:15.089Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:15.089Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:15.089Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:15.089Z [DEBUG] Getting matching hook commands for PostToolUse with query: Read 2026-03-06T17:14:15.089Z [DEBUG] Found 6 hook matchers in settings 2026-03-06T17:14:15.089Z [DEBUG] Matched 2 unique hooks for query "Read" (2 before deduplication) 2026-03-06T17:14:15.132Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:15.132Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:15.132Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:15.140Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:15.140Z [DEBUG] Hook PostToolUse:Read (PostToolUse) success: {} 2026-03-06T17:14:15.142Z [DEBUG] Dynamic tool loading: found 6 discovered tools in message history 2026-03-06T17:14:15.142Z [DEBUG] Dynamic tool loading: 6/217 deferred tools included 2026-03-06T17:14:15.143Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.3cc; cc_entrypoint=cli; cch=00000; 2026-03-06T17:14:15.144Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-06T17:14:15.144Z [DEBUG] [API:auth] OAuth token check starting 2026-03-06T17:14:15.144Z [DEBUG] [API:auth] OAuth token check complete 2026-03-06T17:14:15.146Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1064→1065) 2026-03-06T17:14:17.271Z [DEBUG] Stream started - received first chunk 2026-03-06T17:14:20.855Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1065→1066) 2026-03-06T17:14:20.879Z [DEBUG] executePreToolHooks called for tool: Edit 2026-03-06T17:14:20.880Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:20.880Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:20.880Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:20.880Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:20.880Z [DEBUG] Getting matching hook commands for PreToolUse with query: Edit 2026-03-06T17:14:20.880Z [DEBUG] Found 1 hook matchers in settings 2026-03-06T17:14:20.880Z [DEBUG] Matched 1 unique hooks for query "Edit" (1 before deduplication) 2026-03-06T17:14:20.934Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:20.934Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:20.934Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:20.940Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:20.940Z [DEBUG] Hook PreToolUse:Edit (PreToolUse) success: {} 2026-03-06T17:14:20.941Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-03-06T17:14:20.942Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' failed after 0s: MCP error -32001: File not open 2026-03-06T17:14:20.942Z [DEBUG] Writing to temp file: /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs.tmp.1043577.1772817260942 2026-03-06T17:14:20.942Z [DEBUG] Preserving file permissions: 100644 2026-03-06T17:14:20.942Z [DEBUG] Temp file written successfully, size: 9007 bytes 2026-03-06T17:14:20.942Z [DEBUG] Applied original permissions to temp file 2026-03-06T17:14:20.942Z [DEBUG] Renaming /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs.tmp.1043577.1772817260942 to /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs 2026-03-06T17:14:20.943Z [DEBUG] File /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs written atomically 2026-03-06T17:14:20.943Z [ERROR] Error: Error: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting at Object.M [as sendNotification] (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:27077) at H (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:34310) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2026-03-06T17:14:20.943Z [ERROR] Error: Error: Failed to sync file open /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting at H (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:34486) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2026-03-06T17:14:20.943Z [DEBUG] LSP: Failed to notify server of file change for /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Failed to sync file open /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting 2026-03-06T17:14:20.943Z [ERROR] Error: Error: Failed to sync file open /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting at H (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:34486) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2026-03-06T17:14:20.943Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:20.943Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:20.943Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:20.943Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:20.943Z [DEBUG] Getting matching hook commands for PostToolUse with query: Edit 2026-03-06T17:14:20.943Z [DEBUG] Found 6 hook matchers in settings 2026-03-06T17:14:20.943Z [DEBUG] Matched 2 unique hooks for query "Edit" (2 before deduplication) 2026-03-06T17:14:20.989Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:20.989Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:20.989Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:20.994Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:20.994Z [DEBUG] Hook PostToolUse:Edit (PostToolUse) success: {} 2026-03-06T17:14:20.995Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1066→1067) 2026-03-06T17:14:21.015Z [DEBUG] Dynamic tool loading: found 6 discovered tools in message history 2026-03-06T17:14:21.015Z [DEBUG] Dynamic tool loading: 6/217 deferred tools included 2026-03-06T17:14:21.017Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.3cc; cc_entrypoint=cli; cch=00000; 2026-03-06T17:14:21.017Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-06T17:14:21.017Z [DEBUG] [API:auth] OAuth token check starting 2026-03-06T17:14:21.017Z [DEBUG] [API:auth] OAuth token check complete 2026-03-06T17:14:23.324Z [DEBUG] Stream started - received first chunk 2026-03-06T17:14:25.351Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1067→1068) 2026-03-06T17:14:25.371Z [DEBUG] executePreToolHooks called for tool: Edit 2026-03-06T17:14:25.371Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:25.371Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:25.371Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:25.372Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:25.372Z [DEBUG] Getting matching hook commands for PreToolUse with query: Edit 2026-03-06T17:14:25.372Z [DEBUG] Found 1 hook matchers in settings 2026-03-06T17:14:25.372Z [DEBUG] Matched 1 unique hooks for query "Edit" (1 before deduplication) 2026-03-06T17:14:25.420Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:25.420Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:25.420Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:25.424Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:25.424Z [DEBUG] Hook PreToolUse:Edit (PreToolUse) success: {} 2026-03-06T17:14:25.425Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-03-06T17:14:25.426Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' failed after 0s: MCP error -32001: File not open 2026-03-06T17:14:25.427Z [DEBUG] Writing to temp file: /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs.tmp.1043577.1772817265427 2026-03-06T17:14:25.427Z [DEBUG] Preserving file permissions: 100644 2026-03-06T17:14:25.427Z [DEBUG] Temp file written successfully, size: 9070 bytes 2026-03-06T17:14:25.427Z [DEBUG] Applied original permissions to temp file 2026-03-06T17:14:25.427Z [DEBUG] Renaming /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs.tmp.1043577.1772817265427 to /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs 2026-03-06T17:14:25.427Z [DEBUG] File /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs written atomically 2026-03-06T17:14:25.427Z [ERROR] Error: Error: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting at Object.M [as sendNotification] (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:27077) at H (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:34310) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2026-03-06T17:14:25.428Z [ERROR] Error: Error: Failed to sync file open /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting at H (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:34486) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2026-03-06T17:14:25.428Z [DEBUG] LSP: Failed to notify server of file change for /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Failed to sync file open /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting 2026-03-06T17:14:25.428Z [ERROR] Error: Error: Failed to sync file open /home/josie/development/irc-now/crates/web-api/src/routes/migrate.rs: Cannot send notification to LSP server 'plugin:rust-analyzer-lsp:rust-analyzer': server is starting at H (file:///home/josie/.config/nvm/versions/node/v20.19.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2958:34486) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2026-03-06T17:14:25.428Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:25.428Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:25.428Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:25.428Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:25.428Z [DEBUG] Getting matching hook commands for PostToolUse with query: Edit 2026-03-06T17:14:25.428Z [DEBUG] Found 6 hook matchers in settings 2026-03-06T17:14:25.428Z [DEBUG] Matched 2 unique hooks for query "Edit" (2 before deduplication) 2026-03-06T17:14:25.460Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:25.460Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:25.460Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:25.465Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:25.465Z [DEBUG] Hook PostToolUse:Edit (PostToolUse) success: {} 2026-03-06T17:14:25.467Z [DEBUG] Dynamic tool loading: found 6 discovered tools in message history 2026-03-06T17:14:25.467Z [DEBUG] Dynamic tool loading: 6/217 deferred tools included 2026-03-06T17:14:25.468Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.3cc; cc_entrypoint=cli; cch=00000; 2026-03-06T17:14:25.468Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-06T17:14:25.468Z [DEBUG] [API:auth] OAuth token check starting 2026-03-06T17:14:25.468Z [DEBUG] [API:auth] OAuth token check complete 2026-03-06T17:14:25.470Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1068→1069) 2026-03-06T17:14:27.682Z [DEBUG] Stream started - received first chunk 2026-03-06T17:14:29.879Z [DEBUG] executePreToolHooks called for tool: Read 2026-03-06T17:14:29.879Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:29.879Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:29.879Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:29.879Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:29.879Z [DEBUG] Getting matching hook commands for PreToolUse with query: Read 2026-03-06T17:14:29.879Z [DEBUG] Found 1 hook matchers in settings 2026-03-06T17:14:29.879Z [DEBUG] Matched 1 unique hooks for query "Read" (1 before deduplication) 2026-03-06T17:14:29.882Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1069→1070) 2026-03-06T17:14:29.985Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:29.985Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:29.985Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:29.990Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:29.990Z [DEBUG] Hook PreToolUse:Read (PreToolUse) success: {} 2026-03-06T17:14:29.993Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:29.993Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:29.993Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:29.993Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:29.993Z [DEBUG] Getting matching hook commands for PostToolUse with query: Read 2026-03-06T17:14:29.993Z [DEBUG] Found 6 hook matchers in settings 2026-03-06T17:14:29.993Z [DEBUG] Matched 2 unique hooks for query "Read" (2 before deduplication) 2026-03-06T17:14:30.023Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:30.023Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:30.023Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:30.028Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:30.028Z [DEBUG] Hook PostToolUse:Read (PostToolUse) success: {} 2026-03-06T17:14:30.030Z [DEBUG] Dynamic tool loading: found 6 discovered tools in message history 2026-03-06T17:14:30.030Z [DEBUG] Dynamic tool loading: 6/217 deferred tools included 2026-03-06T17:14:30.031Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.3cc; cc_entrypoint=cli; cch=00000; 2026-03-06T17:14:30.031Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-06T17:14:30.031Z [DEBUG] [API:auth] OAuth token check starting 2026-03-06T17:14:30.032Z [DEBUG] [API:auth] OAuth token check complete 2026-03-06T17:14:30.036Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1070→1071) 2026-03-06T17:14:33.059Z [DEBUG] Stream started - received first chunk 2026-03-06T17:14:36.352Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1071→1072) 2026-03-06T17:14:36.374Z [DEBUG] executePreToolHooks called for tool: Grep 2026-03-06T17:14:36.374Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:36.374Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:36.374Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:36.374Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:36.374Z [DEBUG] Getting matching hook commands for PreToolUse with query: Grep 2026-03-06T17:14:36.374Z [DEBUG] Found 1 hook matchers in settings 2026-03-06T17:14:36.374Z [DEBUG] Matched 1 unique hooks for query "Grep" (1 before deduplication) 2026-03-06T17:14:36.417Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-06T17:14:36.417Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-06T17:14:36.417Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-06T17:14:36.424Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-06T17:14:36.424Z [DEBUG] Hook PreToolUse:Grep (PreToolUse) success: {} 2026-03-06T17:14:36.433Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:36.433Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:36.433Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-06T17:14:36.433Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-06T17:14:36.433Z [DEBUG] Getting matching hook commands for PostToolUse with query: Grep 2026-03-06T17:14:36.433Z [DEBU