Skip to content

[Bug]: Approval prompts for file edits do not show the change being approved #42390

Backlog

Description

@tosoyn

Version: 0.1.11 (also checked 0.1.12 nightly), Linux, Claude Code provider, runtime mode Full access.

Steps: add "permissions": {"ask": ["Edit(~/project/AGENTS.md)"]} to the Claude settings, ask the agent to edit that file.

Expected: the approval card shows the proposed diff (the old_string / new_string of the Edit tool input), as #20146 now shows the command for Bash approvals.

Actual: the card shows only the file name; the Diff panel says "No patch available for this selection"; "More" adds nothing. The user approves blind. "Why am I being asked this?" says Claude stopped on its own safety check, while the prompt actually came from the user's ask rule.

Related: discussion #17916.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions