claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Context Loss and Premature Action in Claude Code Workflow

Open Pichardescu opened this issue 1 year ago • 3 comments

The terminal is clearing its history, which makes it difficult to track past actions. This is problematic because I need to review previous commands and outputs.

Additionally, Claude tends to start "solving" problems without gathering enough context. This behavior can be destructive, sometimes even overwriting or damaging entire projects if I get momentarily distracted. Claude should pause more often to ask clarifying questions—especially after the context has been compacted—before taking action.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 1.0.83
  • Feedback ID: 94b17e6c-5988-4439-bcaf-3f27f1278b5d

Errors

[{"error":"Error: Request was aborted.\n    at dZ1._createMessage (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:950:7955)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at process.processTimers (node:internal/timers:540:9)","timestamp":"2025-08-16T09:46:42.301Z"},{"error":"Error: Request was aborted.\n    at sP.makeRequest (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:959:3840)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-16T09:57:15.728Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NX (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1774:1184)\n    at file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1774:912\n    at Array.map (<anonymous>)\n    at ZW (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1774:903)\n    at fkB (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2358:5231)\n    at SR (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:330:19859)\n    at rb (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:332:42835)\n    at ab (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:332:38356)\n    at wj (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:332:38284)\n    at aR (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:332:38138)","timestamp":"2025-08-16T10:01:03.506Z"},{"error":"Error: Request was aborted.\n    at sP.makeRequest (file:///C:/Users/Black/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:959:3840)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-16T10:10:21.187Z"}]

Pichardescu avatar Aug 16 '25 10:08 Pichardescu


Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/2479
  2. https://github.com/anthropics/claude-code/issues/5877
  3. https://github.com/anthropics/claude-code/issues/3841

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code


github-actions[bot] avatar Aug 16 '25 10:08 github-actions[bot]

This issue has been automatically closed as a duplicate of #2479.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 20 '25 09:08 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 28 '25 14:08 github-actions[bot]