Skip to content

Assistant: in Claude Code's plan mode the plan isn't shown before you approve it, and the design can still change #19571

Done

Description

@sethml

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:

  1. 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.
  2. 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.
  3. "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)

Related: #19554. Its proposed tools list needs ExitPlanMode, or plan mode can't be left.

Activity

  1. added
    needs-triage
    on Nov 19, 2026
  2. dudedagger42 commented on Nov 19, 2026

    @dudedagger42
    Collaborator

    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.

  3. added
    in progress
    on Nov 20, 2026
  4. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor

    Claimed by @sethml through #19805. The claim lapses after 14 days without pushes.

  5. 4 remaining items

  6. added a commit that references this issue on Nov 28, 2026
  7. github-actions commented on Nov 29, 2026

    @github-actions
    Contributor

    No draft PR showed up within 72 h, so this one is free again. Anyone can /claim it.

  8. removed
    in progress
    on Nov 29, 2026
  9. added a commit that references this issue on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions