sing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:12.120Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:12.120Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:12.120Z [DEBUG] Getting matching hook commands for PreToolUse with query: Bash 2026-03-07T11:42:12.120Z [DEBUG] Found 1 hook matchers in settings 2026-03-07T11:42:12.120Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:12.122Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1301→1302) 2026-03-07T11:42:12.174Z [DEBUG] High write ratio: blit=0, write=194151 (100.0% writes), screen=1746x225 2026-03-07T11:42:12.185Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1301→1303) 2026-03-07T11:42:12.224Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:12.224Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:12.224Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:12.225Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:12.225Z [DEBUG] Hook PreToolUse:Bash (PreToolUse) success: {} 2026-03-07T11:42:12.227Z [DEBUG] Spawning shell without login (-l flag skipped) 2026-03-07T11:42:12.248Z [DEBUG] Bash tool error (22ms): Shell command failed 2026-03-07T11:42:12.248Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:12.248Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:12.249Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:12.249Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:12.249Z [DEBUG] Getting matching hook commands for PostToolUseFailure with query: Bash 2026-03-07T11:42:12.249Z [DEBUG] Found 0 hook matchers in settings 2026-03-07T11:42:12.249Z [DEBUG] Matched 0 unique hooks for query "Bash" (0 before deduplication) 2026-03-07T11:42:12.249Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-03-07T11:42:12.250Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called 2026-03-07T11:42:12.250Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending 2026-03-07T11:42:12.250Z [DEBUG] Hooks: Found 0 total hooks in registry 2026-03-07T11:42:12.250Z [DEBUG] Hooks: checkForNewResponses returning 0 responses 2026-03-07T11:42:12.251Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1303→1304) 2026-03-07T11:42:12.268Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' completed successfully in 19ms 2026-03-07T11:42:12.269Z [DEBUG] Dynamic tool loading: found 11 discovered tools in message history 2026-03-07T11:42:12.270Z [DEBUG] Dynamic tool loading: 11/223 deferred tools included 2026-03-07T11:42:12.273Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.0a4; cc_entrypoint=cli; cch=00000; 2026-03-07T11:42:12.273Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-07T11:42:12.273Z [DEBUG] [API:auth] OAuth token check starting 2026-03-07T11:42:12.273Z [DEBUG] [API:auth] OAuth token check complete 2026-03-07T11:42:12.278Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1303→1304) 2026-03-07T11:42:14.042Z [DEBUG] Stream started - received first chunk 2026-03-07T11:42:14.685Z [DEBUG] executePreToolHooks called for tool: Bash 2026-03-07T11:42:14.685Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:14.685Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:14.685Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:14.685Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:14.685Z [DEBUG] Getting matching hook commands for PreToolUse with query: Bash 2026-03-07T11:42:14.685Z [DEBUG] Found 1 hook matchers in settings 2026-03-07T11:42:14.685Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:14.687Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1304→1305) 2026-03-07T11:42:14.745Z [DEBUG] High write ratio: blit=0, write=194593 (100.0% writes), screen=1756x225 2026-03-07T11:42:14.767Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1304→1306) 2026-03-07T11:42:14.770Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1304→1306) 2026-03-07T11:42:14.786Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:14.786Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:14.786Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:14.812Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:14.812Z [DEBUG] Hook PreToolUse:Bash (PreToolUse) success: {} 2026-03-07T11:42:14.814Z [DEBUG] Spawning shell without login (-l flag skipped) 2026-03-07T11:42:14.832Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:14.832Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:14.832Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:14.832Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:14.833Z [DEBUG] Getting matching hook commands for PostToolUse with query: Bash 2026-03-07T11:42:14.833Z [DEBUG] Found 6 hook matchers in settings 2026-03-07T11:42:14.833Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:14.878Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:14.878Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:14.878Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:14.887Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:14.887Z [DEBUG] Hook PostToolUse:Bash (PostToolUse) success: {} 2026-03-07T11:42:14.888Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-03-07T11:42:14.888Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called 2026-03-07T11:42:14.888Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending 2026-03-07T11:42:14.888Z [DEBUG] Hooks: Found 0 total hooks in registry 2026-03-07T11:42:14.888Z [DEBUG] Hooks: checkForNewResponses returning 0 responses 2026-03-07T11:42:14.889Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' completed successfully in 1ms 2026-03-07T11:42:14.890Z [DEBUG] Dynamic tool loading: found 11 discovered tools in message history 2026-03-07T11:42:14.890Z [DEBUG] Dynamic tool loading: 11/223 deferred tools included 2026-03-07T11:42:14.892Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.0a4; cc_entrypoint=cli; cch=00000; 2026-03-07T11:42:14.893Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-07T11:42:14.893Z [DEBUG] [API:auth] OAuth token check starting 2026-03-07T11:42:14.893Z [DEBUG] [API:auth] OAuth token check complete 2026-03-07T11:42:14.898Z [DEBUG] [useDeferredValue] Messages deferred by 5 (1306→1311) 2026-03-07T11:42:17.483Z [DEBUG] Stream started - received first chunk 2026-03-07T11:42:18.268Z [DEBUG] executePreToolHooks called for tool: Bash 2026-03-07T11:42:18.268Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:18.268Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:18.268Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:18.268Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:18.268Z [DEBUG] Getting matching hook commands for PreToolUse with query: Bash 2026-03-07T11:42:18.268Z [DEBUG] Found 1 hook matchers in settings 2026-03-07T11:42:18.268Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:18.270Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1311→1312) 2026-03-07T11:42:18.327Z [DEBUG] High write ratio: blit=0, write=194659 (100.0% writes), screen=1760x225 2026-03-07T11:42:18.343Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1311→1313) 2026-03-07T11:42:18.345Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1311→1313) 2026-03-07T11:42:18.374Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:18.374Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:18.374Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:18.385Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:18.385Z [DEBUG] Hook PreToolUse:Bash (PreToolUse) success: {} 2026-03-07T11:42:18.389Z [DEBUG] Spawning shell without login (-l flag skipped) 2026-03-07T11:42:18.410Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:18.410Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:18.411Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:18.411Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:18.411Z [DEBUG] Getting matching hook commands for PostToolUse with query: Bash 2026-03-07T11:42:18.411Z [DEBUG] Found 6 hook matchers in settings 2026-03-07T11:42:18.411Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:18.474Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:18.474Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:18.474Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:18.478Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:18.478Z [DEBUG] Hook PostToolUse:Bash (PostToolUse) success: {} 2026-03-07T11:42:18.479Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-03-07T11:42:18.480Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called 2026-03-07T11:42:18.480Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending 2026-03-07T11:42:18.480Z [DEBUG] Hooks: Found 0 total hooks in registry 2026-03-07T11:42:18.480Z [DEBUG] Hooks: checkForNewResponses returning 0 responses 2026-03-07T11:42:18.481Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' completed successfully in 2ms 2026-03-07T11:42:18.483Z [DEBUG] Dynamic tool loading: found 11 discovered tools in message history 2026-03-07T11:42:18.483Z [DEBUG] Dynamic tool loading: 11/223 deferred tools included 2026-03-07T11:42:18.487Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.0a4; cc_entrypoint=cli; cch=00000; 2026-03-07T11:42:18.487Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-07T11:42:18.487Z [DEBUG] [API:auth] OAuth token check starting 2026-03-07T11:42:18.487Z [DEBUG] [API:auth] OAuth token check complete 2026-03-07T11:42:18.492Z [DEBUG] [useDeferredValue] Messages deferred by 4 (1313→1317) 2026-03-07T11:42:19.927Z [DEBUG] Stream started - received first chunk 2026-03-07T11:42:21.215Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1317→1318) 2026-03-07T11:42:21.229Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1317→1318) 2026-03-07T11:42:21.951Z [DEBUG] executePreToolHooks called for tool: Bash 2026-03-07T11:42:21.951Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:21.951Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:21.951Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:21.951Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:21.951Z [DEBUG] Getting matching hook commands for PreToolUse with query: Bash 2026-03-07T11:42:21.951Z [DEBUG] Found 1 hook matchers in settings 2026-03-07T11:42:21.951Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:21.952Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1318→1319) 2026-03-07T11:42:22.144Z [DEBUG] High write ratio: blit=0, write=194837 (100.0% writes), screen=1765x225 2026-03-07T11:42:22.153Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1318→1320) 2026-03-07T11:42:22.181Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:22.181Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:22.181Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:22.195Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:22.196Z [DEBUG] Hook PreToolUse:Bash (PreToolUse) success: {} 2026-03-07T11:42:22.197Z [DEBUG] Spawning shell without login (-l flag skipped) 2026-03-07T11:42:22.223Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:22.223Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:22.223Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:22.223Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:22.224Z [DEBUG] Getting matching hook commands for PostToolUse with query: Bash 2026-03-07T11:42:22.224Z [DEBUG] Found 6 hook matchers in settings 2026-03-07T11:42:22.224Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:22.278Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:22.278Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:22.278Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:22.290Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:22.290Z [DEBUG] Hook PostToolUse:Bash (PostToolUse) success: {} 2026-03-07T11:42:22.291Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-03-07T11:42:22.292Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called 2026-03-07T11:42:22.292Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending 2026-03-07T11:42:22.292Z [DEBUG] Hooks: Found 0 total hooks in registry 2026-03-07T11:42:22.292Z [DEBUG] Hooks: checkForNewResponses returning 0 responses 2026-03-07T11:42:22.292Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' completed successfully in 1ms 2026-03-07T11:42:22.293Z [DEBUG] Dynamic tool loading: found 11 discovered tools in message history 2026-03-07T11:42:22.294Z [DEBUG] Dynamic tool loading: 11/223 deferred tools included 2026-03-07T11:42:22.297Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.0a4; cc_entrypoint=cli; cch=00000; 2026-03-07T11:42:22.297Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-07T11:42:22.297Z [DEBUG] [API:auth] OAuth token check starting 2026-03-07T11:42:22.298Z [DEBUG] [API:auth] OAuth token check complete 2026-03-07T11:42:22.304Z [DEBUG] [useDeferredValue] Messages deferred by 4 (1320→1324) 2026-03-07T11:42:23.851Z [DEBUG] Stream started - received first chunk 2026-03-07T11:42:25.667Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1324→1325) 2026-03-07T11:42:25.677Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1324→1325) 2026-03-07T11:42:25.695Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1324→1325) 2026-03-07T11:42:32.592Z [DEBUG] executePreToolHooks called for tool: Bash 2026-03-07T11:42:32.593Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:32.593Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:32.593Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:32.593Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:32.593Z [DEBUG] Getting matching hook commands for PreToolUse with query: Bash 2026-03-07T11:42:32.593Z [DEBUG] Found 1 hook matchers in settings 2026-03-07T11:42:32.593Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:32.594Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1325→1326) 2026-03-07T11:42:32.666Z [DEBUG] High write ratio: blit=0, write=195195 (100.0% writes), screen=1774x225 2026-03-07T11:42:32.684Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1325→1327) 2026-03-07T11:42:32.692Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1325→1327) 2026-03-07T11:42:32.713Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:32.713Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:32.713Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:32.724Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:32.724Z [DEBUG] Hook PreToolUse:Bash (PreToolUse) success: {} 2026-03-07T11:42:32.740Z [DEBUG] Permission suggestions for Bash: [ { "type": "addRules", "rules": [ { "toolName": "Bash", "ruleContent": "git add sql/006_trust_safety.sql crates/common/src/auth.rs crates/web-api/src/auth_guard.rs crates/web-api/src/routes/auth.rs crates/web-api/src/routes/mod.rs crates/web-api/src/routes/profile.rs crates/web-api/src/main.rs crates/web-api/src/flash.rs crates/web-api/src/routes/admin.rs crates/web-api/src/routes/report.rs crates/web-api/templates/report.html crates/web-api/templates/report_submitted.html crates/web-api/templates/admin_reports.html crates/web-api/templates/admin_report_detail.html crates/web-api/templates/admin_users.html crates/web-api/templates/admin_user_detail.html crates/web-api/templates/admin_audit.html crates/web-api/templates/admin_stats.html crates/web-api/templates/base.html crates/pics/Cargo.toml crates/pics/src/csam.rs crates/pics/src/main.rs crates/pics/src/state.rs crates/pics/src/routes/image.rs crates/pics/src/routes/auth.rs crates/pics/templates/view.html crates/pics/migrations/003_add_hidden.sql crates/pics/migrations/004_create_csam_incidents.sql crates/txt/src/main.rs crates/txt/src/state.rs crates/txt/src/routes/paste.rs crates/txt/src/routes/auth.rs crates/txt/templates/view.html crates/txt/migrations/002_add_hidden.sql crates/web-landing/static/index.html crates/web-landing/static/terms/index.html crates/web-landing/static/privacy/index.html crates/web-landing/static/aup/index.html crates/bot/src/routes/auth.rs Cargo.lock" } ], "behavior": "allow", "destination": "localSettings" } ] 2026-03-07T11:42:32.740Z [DEBUG] executePermissionRequestHooks called for tool: Bash 2026-03-07T11:42:32.740Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:32.741Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:32.741Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:32.741Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:32.741Z [DEBUG] Getting matching hook commands for PermissionRequest with query: Bash 2026-03-07T11:42:32.741Z [DEBUG] Found 0 hook matchers in settings 2026-03-07T11:42:32.741Z [DEBUG] Matched 0 unique hooks for query "Bash" (0 before deduplication) 2026-03-07T11:42:32.756Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:32.756Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:38.762Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:38.762Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:38.762Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:38.762Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:38.762Z [DEBUG] Getting matching hook commands for Notification with query: permission_prompt 2026-03-07T11:42:38.762Z [DEBUG] Found 0 hook matchers in settings 2026-03-07T11:42:38.762Z [DEBUG] Matched 0 unique hooks for query "permission_prompt" (0 before deduplication) 2026-03-07T11:42:42.132Z [DEBUG] High write ratio: blit=0, write=195234 (100.0% writes), screen=1778x225 2026-03-07T11:42:42.133Z [DEBUG] Full reset (scrollback changes): scrollbackRows=1801, firstChangeY=1768 prev: "● Bash(git add \ " next: " Bash(git add \ " 2026-03-07T11:42:42.186Z [DEBUG] AutoUpdaterWrapper: Installation type: npm-global 2026-03-07T11:42:42.192Z [DEBUG] Spawning shell without login (-l flag skipped) 2026-03-07T11:42:42.226Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:42.226Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:42.226Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:42.226Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:42.226Z [DEBUG] Getting matching hook commands for PostToolUse with query: Bash 2026-03-07T11:42:42.226Z [DEBUG] Found 6 hook matchers in settings 2026-03-07T11:42:42.226Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:42.274Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:42.274Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:42.274Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:42.284Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:42.284Z [DEBUG] Hook PostToolUse:Bash (PostToolUse) success: {} 2026-03-07T11:42:42.285Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-03-07T11:42:42.286Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called 2026-03-07T11:42:42.286Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending 2026-03-07T11:42:42.286Z [DEBUG] Hooks: Found 0 total hooks in registry 2026-03-07T11:42:42.287Z [DEBUG] Hooks: checkForNewResponses returning 0 responses 2026-03-07T11:42:42.287Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' completed successfully in 2ms 2026-03-07T11:42:42.289Z [DEBUG] Dynamic tool loading: found 11 discovered tools in message history 2026-03-07T11:42:42.290Z [DEBUG] Dynamic tool loading: 11/223 deferred tools included 2026-03-07T11:42:42.293Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.0a4; cc_entrypoint=cli; cch=00000; 2026-03-07T11:42:42.293Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEADERS present: false, has Authorization header: false 2026-03-07T11:42:42.293Z [DEBUG] [API:auth] OAuth token check starting 2026-03-07T11:42:42.294Z [DEBUG] [API:auth] OAuth token check complete 2026-03-07T11:42:42.299Z [DEBUG] [useDeferredValue] Messages deferred by 4 (1327→1331) 2026-03-07T11:42:42.447Z [DEBUG] AutoUpdater: Detected installation type: npm-global 2026-03-07T11:42:42.447Z [DEBUG] AutoUpdater: Using global update method 2026-03-07T11:42:43.087Z [DEBUG] Writing to temp file: /home/josie/.claude.json.tmp.1043577.1772883763087 2026-03-07T11:42:43.087Z [DEBUG] Preserving file permissions: 100644 2026-03-07T11:42:43.087Z [DEBUG] Temp file written successfully, size: 179707 bytes 2026-03-07T11:42:43.087Z [DEBUG] Applied original permissions to temp file 2026-03-07T11:42:43.087Z [DEBUG] Renaming /home/josie/.claude.json.tmp.1043577.1772883763087 to /home/josie/.claude.json 2026-03-07T11:42:43.087Z [DEBUG] File /home/josie/.claude.json written atomically 2026-03-07T11:42:44.826Z [DEBUG] Stream started - received first chunk 2026-03-07T11:42:45.378Z [DEBUG] executePreToolHooks called for tool: Bash 2026-03-07T11:42:45.378Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:45.378Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:45.378Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:45.378Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:45.378Z [DEBUG] Getting matching hook commands for PreToolUse with query: Bash 2026-03-07T11:42:45.378Z [DEBUG] Found 1 hook matchers in settings 2026-03-07T11:42:45.378Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:45.379Z [DEBUG] [useDeferredValue] Messages deferred by 1 (1331→1332) 2026-03-07T11:42:45.424Z [DEBUG] High write ratio: blit=0, write=195237 (100.0% writes), screen=1778x225 2026-03-07T11:42:45.442Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1331→1333) 2026-03-07T11:42:45.444Z [DEBUG] [useDeferredValue] Messages deferred by 2 (1331→1333) 2026-03-07T11:42:45.467Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:45.467Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:45.467Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:45.473Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:45.473Z [DEBUG] Hook PreToolUse:Bash (PreToolUse) success: {} 2026-03-07T11:42:45.475Z [DEBUG] Spawning shell without login (-l flag skipped) 2026-03-07T11:42:45.499Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:45.499Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:45.499Z [DEBUG] detectFileEncoding failed for expected reason: ENOENT 2026-03-07T11:42:45.499Z [DEBUG] Broken symlink or missing file encountered for settings.json at path: /etc/claude-code/managed-settings.json 2026-03-07T11:42:45.499Z [DEBUG] Getting matching hook commands for PostToolUse with query: Bash 2026-03-07T11:42:45.499Z [DEBUG] Found 6 hook matchers in settings 2026-03-07T11:42:45.499Z [DEBUG] Matched 1 unique hooks for query "Bash" (1 before deduplication) 2026-03-07T11:42:45.539Z [DEBUG] Hooks: Checking initial response for async: {} 2026-03-07T11:42:45.539Z [DEBUG] Hooks: Parsed initial response: {} 2026-03-07T11:42:45.539Z [DEBUG] Hooks: Initial response is not async, continuing normal processing 2026-03-07T11:42:45.545Z [DEBUG] Successfully parsed and validated hook JSON output 2026-03-07T11:42:45.545Z [DEBUG] Hook PostToolUse:Bash (PostToolUse) success: {} 2026-03-07T11:42:45.545Z [DEBUG] MCP server "ide": Calling MCP tool: getDiagnostics 2026-03-07T11:42:45.545Z [DEBUG] LSP Diagnostics: getLSPDiagnosticAttachments called 2026-03-07T11:42:45.545Z [DEBUG] LSP Diagnostics: Checking registry - 0 pending 2026-03-07T11:42:45.545Z [DEBUG] Hooks: Found 0 total hooks in registry 2026-03-07T11:42:45.546Z [DEBUG] Hooks: checkForNewResponses returning 0 responses 2026-03-07T11:42:45.546Z [DEBUG] MCP server "ide": Tool 'getDiagnostics' completed successfully in 1ms 2026-03-07T11:42:45.547Z [DEBUG] Dynamic tool loading: found 11 discovered tools in message history 2026-03-07T11:42:45.548Z [DEBUG] Dynamic tool loading: 11/223 deferred tools included 2026-03-07T11:42:45.551Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.70.0a4; cc_entrypoint=cli; cch=00000; 2026-03-07T11:42:45.551Z [DEBUG] [API:request] Creating client, ANTHROPIC_CUSTOM_HEA