You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
revert: remove code review and annotate from shared templates
Scope-crept into code review/annotate feedback which introduced a double
heading regression and dropped integration-specific strings. Reverts those
paths to their original inline strings; shared module now only covers
plan deny feedback.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Shared feedback templates for all agent integrations.
3
3
*
4
-
* These are the messages sent back to LLM agents when users deny plans,
5
-
* submit code review feedback, or provide annotation feedback.
6
-
*
7
4
* The plan deny template was tuned in #224 / commit 3dca977 to use strong
8
5
* directive framing — Claude was ignoring softer phrasing.
9
6
*/
10
7
11
-
// ── Plan deny ────────────────────────────────────────────────────────
12
-
13
8
exportconstplanDenyFeedback=(
14
9
feedback: string,
15
10
toolName: string="ExitPlanMode",
16
11
): string=>
17
12
`YOUR PLAN WAS NOT APPROVED.\n\nYou MUST revise the plan to address ALL of the feedback below before calling ${toolName} again.\n\nRules:\n- Use the Edit tool to make targeted changes to the plan — do not resubmit the same plan unchanged.\n- Do NOT change the plan title (first # heading) unless the user explicitly asks you to.\n\n${feedback||"Plan changes requested"}`;
0 commit comments