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
Every agent-generated PR description ends with a --- separator followed by a Generated by Claude Code (https://claude.ai/code/session_...) line. This appears on every PR and consumes 3 lines of visible space without adding review-relevant information.
Current state
The PR body is rendered verbatim via crate::markdown::from_str(raw_body) in ui/tui/src/render/mod.rs (line 709). The Generated by Claude Code footer and preceding --- separator are included in the rendered output on every agent-authored PR.
Ideal state
Lines matching the pattern Generated by Claude Code (with or without a trailing URL) are stripped from the PR body before rendering
The --- horizontal rule immediately preceding that line is also stripped if it would otherwise be the last visible content in the body
All other body content is unaffected
The stripping happens in the render path, not in the domain or fetch path (the raw body is preserved in the data model)
Out of scope
Stripping attribution from comment bodies
Removing other footers or boilerplate patterns
Starting points
ui/tui/src/render/mod.rs — render_pr_detail() body rendering at lines 703–711
Press G to jump to the bottom of the description section — expect the last visible content to be ## Related links or similar substantive content, not the attribution footer
Open a PR with a manually written description that happens to end with --- — expect the --- to still render (the strip only applies when the line immediately follows the attribution pattern)
Open a PR with no attribution footer — expect no change to the rendering
Done when
The Generated by Claude Code attribution line and its preceding separator are absent from the rendered PR detail body.
Why
Every agent-generated PR description ends with a
---separator followed by aGenerated by Claude Code (https://claude.ai/code/session_...)line. This appears on every PR and consumes 3 lines of visible space without adding review-relevant information.Current state
The PR body is rendered verbatim via
crate::markdown::from_str(raw_body)inui/tui/src/render/mod.rs(line 709). TheGenerated by Claude Codefooter and preceding---separator are included in the rendered output on every agent-authored PR.Ideal state
Generated by Claude Code(with or without a trailing URL) are stripped from the PR body before rendering---horizontal rule immediately preceding that line is also stripped if it would otherwise be the last visible content in the bodyOut of scope
Starting points
ui/tui/src/render/mod.rs—render_pr_detail()body rendering at lines 703–711QA plan
Generated by Claude Codeline or trailing---separator at the bottom of the descriptionGto jump to the bottom of the description section — expect the last visible content to be## Related linksor similar substantive content, not the attribution footer---— expect the---to still render (the strip only applies when the line immediately follows the attribution pattern)Done when
The
Generated by Claude Codeattribution line and its preceding separator are absent from the rendered PR detail body.