Skip to content

fix(staged): quote every line of review comments in session prompts - #932

Merged
matt2e merged 1 commit into
mainfrom
bad-quoting
Aug 26, 2026
Merged

fix(staged): quote every line of review comments in session prompts#932
matt2e merged 1 commit into
mainfrom
bad-quoting

Conversation

@matt2e

@matt2e matt2e commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

buildCommentPrompt in DiffModal.svelte put a single > before the entire comment body, so only the first line of a multi-line review comment was quoted in the note/commit session prompts started from that comment. Subsequent lines fell out of the blockquote and blended into the rest of the prompt.

Now every line is prefixed individually (blank lines become a bare >) so the full comment renders as one contiguous markdown blockquote.

buildCommentPrompt put a single '> ' before the whole comment body, so
only the first line of a multi-line review comment was quoted in the
note/commit session prompts started from a comment. Prefix each line
(blank lines become bare '>') so the full comment renders as one
contiguous markdown blockquote.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
@matt2e
matt2e merged commit b59b006 into main Aug 26, 2026
2 checks passed
@matt2e
matt2e deleted the bad-quoting branch August 26, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant