mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
fix: add directive framing to deny message so Claude addresses feedback (#224)
Closes #215 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -240,7 +240,7 @@ if (args[0] === "review") {
|
||||
hookEventName: "PermissionRequest",
|
||||
decision: {
|
||||
behavior: "deny",
|
||||
message: result.feedback || "Plan changes requested",
|
||||
message: `YOUR PLAN WAS NOT APPROVED. You MUST revise the plan to address ALL of the feedback below before calling ExitPlanMode again. Do not resubmit the same plan — use the Edit tool to make targeted changes to the plan file first.\n\n${result.feedback || "Plan changes requested"}`,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user