Bug Behavior: resuming a session with built plan always show that historical plan at the very bottom as latest conversation, with “Ready to build?” options. The actual last conversation precedes the plan.
Steps to Reproduce
When: resume chat session that historically produced a plan (from plan mode), agent --resume=<session_id>
Expected Behavior
Expectation: The plan is not expected to show at all; instead the actual last conversation and user input box should be shown at the very bottom
Hey, thanks for the detailed report and clear steps.
On resume, the CLI reopens the last plan so it can be built. It’s supposed to skip plans that were already built, but it looks like the check isn’t catching some of the ways a plan can get built. I’ve passed this to the team.
To confirm for sure, how exactly did you build the plan in that session? Did you pick 1. Yes, build locally b, Yes, build in cloud c, or did you close the plan and ask the agent to implement it via a normal message?
If you have a minute, this should reproduce the issue:
In a git project, run agent --mode=plan
Send Plan adding a one-line comment to the top of README.md and wait for Ready to build?
Press Esc to close the plan, then send Go ahead and implement that plan and let it finish
Send one more message, like thanks
Exit the CLI and run agent --resume=<session id>
Does the old plan with Ready to build? show up again at the bottom? Then try the same steps, but on step 3 press b. Does the plan come back after resume in that case?
As a workaround, pressing Esc hides the plan block and you can keep typing as normal. On the next resume it’ll come back until this is fixed. I’ll post here when there’s an update.