fix(staged): use robot emoji for agent comment suffix - #930
Merged
Conversation
Agent-authored review comments posted to GitHub were suffixed with the text "Generated by AI". Replace it with the 🤖 emoji so the attribution reads as a compact marker rather than a sentence. Human-authored comments continue to post verbatim with no suffix; add a test pinning that behaviour alongside the updated agent-suffix test. Signed-off-by: Matt Toohey <contact@matttoohey.com>
Review feedback on the agent-suffix change: the blank line between the comment body and the 🤖 marker was unnecessary. Separate them with a single newline instead, and update the agent-attribution test to match. Re: #review:0659177f-8fc4-4ba7-b21a-44473ee508d1 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Matt Toohey <contact@matttoohey.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent-authored review comments pushed to GitHub were suffixed with
\n\nGenerated by AI, which reads as a full paragraph of boilerplate under every comment. Replace it with a compact\n🤖suffix so the attribution is a single trailing glyph instead of a separate block.Changes
github_single_comment_bodynow appends\n🤖to agent-authored comments (single newline, no blank line).