Repository navigation
Show the proposed diff in the approval prompt before approving file edits (supervised mode) #17916
sabysabashvily
started this conversation in
Ideas
Replies: 1 comment
|
Same issue outside supervised mode: with Claude Code permission rules that pin specific files to {
"permissions": {
"ask": ["Edit(./CLAUDE.md)", "Edit(./.claude/**)"]
}
}T3 Code shows an approval card for these edits in auto mode, but the card only names the tool and file, not the change. The point of an The data should already be there: the permission request from the Claude Agent SDK ( Environment: T3 Code 0.1.6, provider Claude Code, macOS. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
In supervised mode, when the agent wants to edit a file, T3 Code shows an approval prompt, but the prompt doesn't show what the edit will change. I only see the diff after I approve, when the change has already been applied.
That means I'm approving edits without being able to review them, which defeats the purpose of supervised mode.
Steps to reproduce
Expected behavior
Like the Claude Code CLI and IDE extensions: the approval prompt shows the proposed diff (file path, removed lines in red, added lines in green), and I can Accept or Reject it before anything is written to disk.
Why it matters
Suggested solution
Environment
All reactions