claude-code
claude-code copied to clipboard
[Bug] Context window exceeds 120% after compact and clear operations in Messages
Bug Description context window after compacts and clear is ovr 120% just in "Messages" alone.
Environment Info
- Platform: win32
- Terminal: mintty
- Version: 2.0.76
- Feedback ID: b9417ff6-6021-49f4-a00e-62ca6408d498
Errors
[{"error":"Error: Error opening file C:\\Users\\direc\\.claude\\projects\\C--Users-direc-OneDrive---Electro-Jam-Instruments-01---EJ-Projects-20---A11Y-AI\\1b54eb0a-9c6b-48b7-afb4-715cda30c3a4.jsonl: Error: ENOENT: no such file or directory, open 'C:\\Users\\direc\\.claude\\projects\\C--Users-direc-OneDrive---Electro-Jam-Instruments-01---EJ-Projects-20---A11Y-AI\\1b54eb0a-9c6b-48b7-afb4-715cda30c3a4.jsonl'\n at kc (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:75:170)\n at async file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:3878\n at async Promise.all (index 7)\n at async ZfA (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:3714)\n at async file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:9601\n at async pO0 (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:203)\n at async tI9 (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:9099)","timestamp":"2025-12-27T00:08:53.113Z"},{"error":"Error: Error opening file C:\\Users\\direc\\.claude\\projects\\C--Users-direc-OneDrive---Electro-Jam-Instruments-01---EJ-Projects-20---A11Y-AI\\3a128bae-ceec-4577-97aa-44dc562e2e01.jsonl: Error: ENOENT: no such file or directory, open 'C:\\Users\\direc\\.claude\\projects\\C--Users-direc-OneDrive---Electro-Jam-Instruments-01---EJ-Projects-20---A11Y-AI\\3a128bae-ceec-4577-97aa-44dc562e2e01.jsonl'\n at kc (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:75:170)\n at async file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:3878\n at async Promise.all (index 8)\n at async ZfA (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:3714)\n at async file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:9601\n at async pO0 (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:203)\n at async tI9 (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:9099)","timestamp":"2025-12-27T00:08:53.114Z"},{"error":"Error: Error opening file C:\\Users\\direc\\.claude\\projects\\C--Users-direc-OneDrive---Electro-Jam-Instruments-01---EJ-Projects-20---A11Y-AI\\bf1f2c4e-1c7e-4590-a646-3223abe24f26.jsonl: Error: ENOENT: no such file or directory, open 'C:\\Users\\direc\\.claude\\projects\\C--Users-direc-OneDrive---Electro-Jam-Instruments-01---EJ-Projects-20---A11Y-AI\\bf1f2c4e-1c7e-4590-a646-3223abe24f26.jsonl'\n at kc (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:75:170)\n at async file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:3878\n at async Promise.all (index 10)\n at async ZfA (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:3714)\n at async file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:9601\n at async pO0 (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:203)\n at async tI9 (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:9099)","timestamp":"2025-12-27T00:08:53.114Z"},{"error":"Error: Error opening file C:\\Users\\direc\\.claude\\projects\\C--Users-direc-OneDrive---Electro-Jam-Instruments-01---EJ-Projects-21---A11Y-AI-CLI\\3097a3c3-e838-4c50-9844-20eca451cf1c.jsonl: Error: ENOENT: no such file or directory, open 'C:\\Users\\direc\\.claude\\projects\\C--Users-direc-OneDrive---Electro-Jam-Instruments-01---EJ-Projects-21---A11Y-AI-CLI\\3097a3c3-e838-4c50-9844-20eca451cf1c.jsonl'\n at kc (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:75:170)\n at async file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:3878\n at async Promise.all (index 12)\n at async ZfA (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:3714)\n at async file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:9601\n at async pO0 (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:203)\n at async tI9 (file:///C:/Users/direc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:4279:9099)","timestamp":"2025-12-27T00:08:53.114Z"},{"error":"Error: Error opening file C:\\Users\\direc\\.claude\\projects\\C--Users-direc-OneDrive---Electro-Jam-Instruments-01---EJ-Projects-21---A11Y-AI-CLI\\c
Note: Error logs were truncated.