Deny & simplify note: tell Claude not to narrate the retry (T-328)

Add a clause to the preformatted deny-simplify note so Claude proceeds
silently with the simpler version instead of narrating the change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-10 15:19:15 +02:00
co-authored by Claude Opus 4.8
parent 597b2f7622
commit ec88944896
4 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -30,7 +30,8 @@ const _kOther = '\u0000other';
const _kDenySimplifyNote = 'Denied — this action is too complex for the permission system to approve cleanly. '
'Please retry with a simpler, more granular approach (break it into smaller steps or use a plainer command) '
'to avoid this permission prompt. This is a one-off for THIS action only: do not add a memory and do not '
'change permission settings — just reformulate and try again.';
'change permission settings — just reformulate and try again. Do not narrate or explain the change; '
'proceed silently with the simpler version.';
class ToolPromptCard extends StatefulWidget {
const ToolPromptCard({super.key, required this.prompt, required this.onResolve});