claude-code - 💡(How to fix) Fix [BUG] Plan-mode side-panel comments not delivered to assistant context [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55459Fetched 2026-05-02 05:39:09
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

Error Messages/Logs

Fix Action

Fix / Workaround

Actual: Assistant has no visibility into side-panel comments. Only workaround is pasting comments back into chat as plain text, which defeats the UX advantage.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When using plan mode, the side panel allows inline annotations on the plan file (highlight a passage → leave a comment). The comments render in the UI but do not appear to be piped into the assistant's context on the next turn. Asking the assistant to "review the comments I left on the plan" returns nothing — the assistant only sees the underlying markdown body.

What Should Happen?

Comments should be actionable within UI. Currently the UI has no knowledge of the comments made in the panel.

Error Messages/Logs

Steps to Reproduce

Enter plan mode; let the assistant write a plan to ~/.claude/plans/<slug>.md In the plan side panel, select a passage and add a comment (e.g., "sharpen this up") Send a follow-up message asking the assistant to review the comments Expected: Assistant receives the comment text along with the quoted passage it's attached to, and can respond against specific lines.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.126

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Actual: Assistant has no visibility into side-panel comments. Only workaround is pasting comments back into chat as plain text, which defeats the UX advantage.

Environment: Claude Code 2.1.126, mobile/remote entrypoint, Opus 4.7.

Suggested fix: Inject submitted side-panel comments as a structured message (e.g., <plan-comments> block with quoted_text + comment pairs) on the next user turn, similar to how <github-webhook-activity> events are surfaced.

extent analysis

TL;DR

Injecting submitted side-panel comments as a structured message, such as a <plan-comments> block, could resolve the issue of the assistant not seeing comments left on the plan.

Guidance

  • Verify that the comments are being stored or transmitted correctly from the side panel to the assistant's context by checking the API requests or internal state.
  • Consider implementing a temporary workaround where users can paste comments back into the chat as plain text, although this may not be ideal for UX.
  • Investigate how <github-webhook-activity> events are currently surfaced to the assistant and apply a similar approach for <plan-comments>.
  • Review the Opus model's documentation to ensure it supports the proposed structured message format for comments.

Example

No code example is provided due to the lack of specific implementation details in the issue.

Notes

The suggested fix relies on the Anthropic API and Opus model supporting the injection of structured messages for comments. Further investigation into the API documentation and model capabilities is necessary to confirm feasibility.

Recommendation

Apply workaround: Implementing the suggested fix of injecting side-panel comments as a structured message, such as a <plan-comments> block, seems promising and could potentially resolve the issue without requiring an upgrade to a different version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Plan-mode side-panel comments not delivered to assistant context [1 comments, 2 participants]