[BUG] Cloud planning sessions cannot sync files or commits back to the local terminal session
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Problem: When using Claude Code's cloud/web planning mode to generate code for a local repository, there is no mechanism to transfer the results back to the terminal session or local filesystem. The cloud instance has no git remote configured and no way to push, create PRs, or write files to the local machine.
What happened: A planning session on claude.ai/code generated ~800 lines of Rust code across 8 files (new modules + test files + fixtures). To get this code into the actual repo on my Mac, I had to:
Ask the cloud session to print each file's contents into the chat
Manually copy-paste each file's contents
Give the pasted text to a separate terminal Claude session to create the files locally
One file got truncated during paste and required a second round of copy-paste to fix
The plan file itself (625 lines) also had to be manually extracted from chat output
Expected behavior: Planning sessions that generate code should have a way to sync results to the local repo — either via git (push to a branch), file download, or direct handoff to the terminal session that initiated the plan.
Impact: What should have been a seamless plan->implement workflow required ~30 minutes of manual copy-paste overhead and introduced a truncation error. The planning session was productive but the last-mile delivery was painful.
Session ID: session_01Jrv1ccH5mjgxfzicQYKoNL
What Should Happen?
The planning mode should be able to maitain connection with the terminal session from which it was started
Error Messages/Logs
Steps to Reproduce
Start an ultraplan session from claude code running in a terminal session on a mac
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.92
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗