Context
The model already produces Finding.Suggestion (raw replacement code). Currently formatInlineComment in output.go pre-renders it as suggestion markdown, but the syntax is platform-specific:
- GitLab:
suggestion:-0+0\ncode\n
- GitHub:
suggestion\ncode\n
Proposed Changes
- Split suggestion rendering from body formatting in
output.go
- Move
ReviewComment.Suggestion field to carry raw code (not markdown)
- Each platform client wraps in correct syntax
- Terminal output keeps current format
Prerequisite
Ref
E9 design session in conversation 8ecd8c13
Context
The model already produces
Finding.Suggestion(raw replacement code). CurrentlyformatInlineCommentin output.go pre-renders it assuggestionmarkdown, but the syntax is platform-specific:suggestion:-0+0\ncode\nsuggestion\ncode\nProposed Changes
output.goReviewComment.Suggestionfield to carry raw code (not markdown)Prerequisite
Ref
E9 design session in conversation
8ecd8c13