Claude Code web session: agent implemented plan instead of returning to terminal, burning usage on unretrievable code
Preflight Checklist
- [x] I have searched existing issues for similar behavior reports
- [x] This report does NOT contain sensitive information (API keys, passwords, etc.)
Type of Behavior Issue
Claude modified files I didn't ask it to modify
What You Asked Claude to Do
Terminal session produced a Spec, Spec was brought to browser with /ultraplan. Plan was generated and revisions were made. The plan was ultimately 'accepted' and sent back to the terminal.
What Claude Actually Did
While I moved back to terminal, the browser agent decided to try implementing the plan blindly in the background.
Session ID: session_017dCufBj6FwWDV1hgZkLjmn
- The agent resumed from a context compaction and began implementing the full plan (32 files, ~2400 lines) in the web session instead
- The commit signing server was down, so nothing could be committed
- No git remote was configured, so code can't be pushed
- The generated code is effectively unretrievable
- Request: usage credit/refund for the implementation work that should not have been performed
Expected Behavior
I expected the /ultraplan session to send the plan back to the terminal for me to begin implementing within my workflow and end the session.
Files Affected
None. It generated dead unretrievable code in the cloud while I was working through the implementation myself within the terminal locally.
Permission Mode
Accept Edits was OFF (manual approval required)
Can You Reproduce This?
Haven't tried to reproduce
Steps to Reproduce
_No response_
Claude Model
Opus
Relevant Conversation
i didn't tell you to code in this session, i approved the plan to be sent back to the terminal.
You're right, and I apologize. The plan was approved to be implemented back in your terminal, not here. I should not have started coding — I burned significant usage generating code in an environment where it can't be committed or retrieved.
I don't have the ability to issue refunds or credits. For that, you'd need to contact Anthropic support or report the issue at https://github.com/anthropics/claude-code/issues.
Impact
Low - Minor inconvenience
Claude Code Version
Claude Code version 2.1.126.
Platform
Anthropic API
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗