Expected Behavior
Agent in plan mode should be able to write plans to persistent storage. Optionally, let the user configure to write the plans to the project directory's .commandcode/plans/ location.
- User enabled plan mode (Shift + Tab cycle)
- User prompts agent to plan how to solve a problem
- Agent comes up with a plan and writes it to
~/.commandcode/plans/.... Optionally, if user-configured, agent writes the plan to .commandcode/plans/... in the project directory itself.
- User and agent can iterate on the plan.
- Plan file is available to peruse at will for the user in their favorite editor.
Actual Behavior
-
When in plan mode, agent supposedly creates a plan file to ~/.commandcode/plans/... but the path doesn't actually exist. This might be due to the fact that plan mode restricts any file changes.
-
The plan is also not entirely readable in the TUI:
- screenshot when plan is not expanded

- screenshot when plan is expanded (Ctrl + o). Note that the entire plan is still not readable.

- When the agent is asked to write the plans to a user provided location, it warns that it cannot do disk writes in plan mode. The user has to switch out of plan mode, make the agent write the plan, and then switch back to plan mode again to iterate. Additionally, the agent continues to (allegedly) make plan iterations to the system path
~/.commandcode/plans/... (which doesn't exist).
Command Code Version
0.25.7
Operating System
macOS
Terminal/IDE
ghostty
Shell
fish
Additional context
No response
Expected Behavior
Agent in plan mode should be able to write plans to persistent storage. Optionally, let the user configure to write the plans to the project directory's
.commandcode/plans/location.~/.commandcode/plans/.... Optionally, if user-configured, agent writes the plan to.commandcode/plans/...in the project directory itself.Actual Behavior
When in plan mode, agent supposedly creates a plan file to
~/.commandcode/plans/...but the path doesn't actually exist. This might be due to the fact that plan mode restricts any file changes.The plan is also not entirely readable in the TUI:
~/.commandcode/plans/...(which doesn't exist).Command Code Version
0.25.7
Operating System
macOS
Terminal/IDE
ghostty
Shell
fish
Additional context
No response