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
{{ message }}
Repository navigation
Copying file annotations includes unexpected plan rejection message #1107
In file annotate sessions, Send Feedback and Copy produce different agent-facing payloads. Copy always wraps annotations with the plan-deny preamble (YOUR PLAN WAS NOT APPROVED.), even when a custom prompts.annotate.fileFeedback template is configured.
Steps to reproduce
Configure ~/.plannotator/config.json:
{
"prompts": {
"annotate": {
"fileFeedback": "{{feedback}}\n\n---\n\nIf the feedback requests changes, make the corresponding revisions. If the feedback asks a question, answer it directly in the conversation."
}
}
}
Run annotate on a Markdown file, e.g. via Pi:
/plannotator-annotate path/to/file.md
Add annotations in the UI.
Click Send Feedback — payload uses annotate.fileFeedback as expected.
Open the annotations export view and click Copy.
Expected
Copy should use the same annotate feedback wrapper as Send Feedback (including custom prompts.annotate.fileFeedback when configured), not plan-review denial framing.
Actual
Copied text is wrapped with the plan rejection template:
Send Feedback posts raw annotation text; the host (e.g. Pi) wraps it with getAnnotateFileFeedbackPrompt(), which respects config.
Suggested fix
Make clipboard wrapping mode-aware: annotate sessions should use annotateFileFeedback / annotateMessageFeedback (or the configured template), not planDenyFeedback.
Ideally align Copy with Send Feedback, including config-driven templates (may require shipping the resolved template via /api/plan or a server-side wrap endpoint, since the browser bundle cannot read ~/.plannotator/config.json).
Impact
Affects annotate export/copy for all agents (not Pi-only). Preview and Download currently show the unwrapped body; only Copy applies the plan-deny wrapper.
Activity
fix(annotate): use annotate feedback template for clipboard copy, not…