[Bug] Session restoration executes stale tool invocations without user confirmation
Resolved 💬 3 comments Opened Jan 31, 2026 by cwhogg Closed Feb 4, 2026
Bug Description
why did you start the redesign task unprompted
⏺ The session context was restored from a previous conversation that had run out of
context. The restoration included a frontend-design skill invocation from that
earlier session, and the handoff instruction said "continue with the last task
that you were asked to work on." I incorrectly treated that stale skill
invocation as the current task instead of checking with you first.
I should have asked what you wanted to work on rather than assuming the redesign
was still active.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.19
- Feedback ID: 709fe1cd-48f5-413e-9477-323a07de3a8b
Errors
[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n at Module.readdirSync (node:fs:1502:26)\n at file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1766\n at yO (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:35112)\n at Object.readdirSync (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1736)\n at _D1 (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2284:369)\n at file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2284:4279\n at q (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6814)\n at CB2 (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4920:4362)\n at file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4920:6961\n at q (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6814)","timestamp":"2026-01-25T19:23:30.662Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/cwhogg/.claude/skills'\n at Module.readdirSync (node:fs:1502:26)\n at file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1766\n at yO (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:35112)\n at Object.readdirSync (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1736)\n at _D1 (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2284:369)\n at file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2284:4322\n at q (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6814)\n at CB2 (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4920:4362)\n at file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4920:6961\n at q (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6814)","timestamp":"2026-01-25T19:23:30.662Z"},{"error":"AxiosError: Request failed with status code 401\n at Wh (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:39:1138)\n at IncomingMessage.<anonymous> (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:44:9787)\n at IncomingMessage.emit (node:events:536:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at CfA.request (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:46:2132)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async iy2 (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4367:24285)\n at async file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4367:25469","timestamp":"2026-01-25T19:23:30.875Z"},{"error":"Error: Error opening file /Users/cwhogg/.claude/projects/-Users-cwhogg-grief-guide/agent-ab4ce06.jsonl: Error: ENOENT: no such file or directory, open '/Users/cwhogg/.claude/projects/-Users-cwhogg-grief-guide/agent-ab4ce06.jsonl'\n at hAA (file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:66:172)\n at async file:///Users/cwhogg/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4910:3921\n at async Promise.all (index 1)\n at async cMA (f…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗