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:
Michael Ramos
2026-03-04 15:20:38 -08:00
committed by GitHub
parent a2735ea054
commit 3dca97760a
+1 -1
View File
@@ -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"}`,
},
},
})