Repository navigation
Description
What happens
The chat's mode picker offers Claude Code's Plan mode. On main (f933ade5c), Claude Code in plan mode works through to approval, but:
- You can't see the plan when you approve it. The panel shows "The agent asks to run: Approve Plan" with no plan in it.
- Plan mode doesn't stop design changes. Claude Code leaves the decision to the client, and the chat allows its own tools in every mode.
- "Yes, manually approve edits" doesn't make SolidCraft ask before edits.
How I checked
I built main in release mode and ran it with a separate settings folder, the sample design, and Claude Code (claude-agent-acp 0.107.0, Sonnet). I drove it over the control channel: picked Plan, sent a request, and answered the "Approve Plan" question. Separately, I talked ACP directly to the adapter with the chat's session options, with the MCP server run headless.
1. The plan isn't shown
In plan mode, Claude Code first writes its plan to a file under ~/.claude/plans/, and ExitPlanMode then reads it from there. The chat turns Write off, so that write fails, and the approval question arrives with an empty plan (rawInput is {}). Where the plan ended up varied:
- First run: only inside the red Write … failed row, behind Details.
- Second run: only inside the folded Thinking row. There was no plan text in the conversation at all when the question appeared.
In the direct ACP test, I let Write through for the plan file only. The ExitPlanMode question then carried the whole plan in rawInput.plan, and offered a fourth answer, "Yes, clear context and use auto mode".
The question's buttons are cramped too: "No, keep planning" is behind …, and "Yes, and use auto mode" is cut off.
2. Plan mode doesn't stop design changes
In plan mode, Claude Code ran mcp__solidcraft-app__version without asking. It didn't block mcp__solidcraft-app__execute (solid.box) either: it sent the client an ordinary Yes/No question. The direct test declined it.
The chat's on_permission answers any question about a solidcraft-app tool with "allow" (ui.ai_auto_ours), whatever the agent's mode. With the default Auto-allow model edits, modelling commands therefore run in plan mode. Only the model's own restraint holds them back; in my runs it did hold back.
3. "Yes, manually approve edits"
After that answer, the agent's batch calls were "Auto-allowed: … (SolidCraft checks its own tools itself)", and a 10 mm cube was added without a question. SolidCraft's own permission setting decides, which docs/agent-chat.md describes, but the answer's wording promises otherwise.
Possible fixes (not tried)
- Show the plan:
- Turn
Writeon with theaskrule, and have the chat allow it only inside Claude Code's plan folder, as Assistant: coding agents get any number of attached files and folders by path, and Claude Code can read them; API endpoints get PDFs as documents (#16452) #16458 does for reads of attached files. - Show
rawInput.planin the approval question when it's there. - Without
Write, the system note could ask the agent to put its plan in its reply while in plan mode.
- Turn
- Hold changes in plan mode: while the agent's mode is
plan, don't auto-allowsolidcraft-apptools that change the design. Show the question, or decline it. SolidCraft's gate already knows which commands change the design. - Buttons: give the approval question's answers room, or list them, so "No, keep planning" is visible.
Related: #19554. Its proposed tools list needs ExitPlanMode, or plan mode can't be left.
Activity
dudedagger42 commentedon Nov 19, 2026
Triage by dudedagger42: Result: could not test; this is the chat panel's Plan mode talking to Claude Code over ACP, which needs the app window and an agent adapter, and I cannot drive either here.
Boundary: Tested on 0.44.1: nothing ran; your runs were on main (f933ade), so I cannot say which release first shows the empty plan.
Root cause (unknown): I did not read the chat permission code; your report points at on_permission allowing every solidcraft-app tool whatever the mode.
I can only triage here; this still needs to be reproduced.
github-actions commentedon Nov 20, 2026
Claimed by @sethml through #19805. The claim lapses after 14 days without pushes.
Assistant: Claude Code's plan is shown in the question that asks you …
Assistant: Claude Code's plan writes are checked more strictly (tange…
claim: tangency-labs#19571
Assistant: Claude Code's plan is shown in the question that asks you …
Assistant: Claude Code's plan writes are checked more strictly (tange…
claim: tangency-labs#19571
Assistant: Claude Code's plan is shown in the question that asks you …
Assistant: Claude Code's plan writes are checked more strictly (tange…
Assistant: Claude Code's plan writes are checked more strictly (tange…
claim: tangency-labs#19571
4 remaining items
Assistant: Claude Code's plan writes are checked more strictly (tange…
claim: tangency-labs#19571
Assistant: Claude Code's plan is shown in the question that asks you …
Assistant: Claude Code's plan writes are checked more strictly (tange…
claim: tangency-labs#19571
Assistant: Claude Code's plan is shown in the question that asks you …
Assistant: Claude Code's plan writes are checked more strictly (tange…
Merge tangency-labs#19805: Assistant: Claude Code's plan is shown in …
github-actions commentedon Nov 29, 2026
No draft PR showed up within 72 h, so this one is free again. Anyone can
/claimit.Assistant: the agent's plan mode changes nothing in the design, and "…
Assistant: plan mode also refuses a change allowed after planning beg…
claim: #19571