Trim redundant review body; make Walkthrough incremental per-review #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reviews 709, 710, 711, 712 all open the same way:
That's a restatement of the PR description the author already wrote. It adds no signal, and on every push the bot generates a fresh paraphrase of the same thing, which makes successive reviews feel repetitive.
Proposed:
prev_review.commit_idand the current head. The orchestrator already knows this (the dispatcher logs "incremental review: fetching compare diff" when it builds it). The Walkthrough should narrow to that delta, with one line at top like "Δ since : …", and skip the section entirely when nothing material changed (e.g., empty merge-from-main commits, fmt-only fixups).Touches:
crates/ar-review/src/mapping.rs(render_body), the prompt builder incrates/ar-prompts/src/prompt.rs(the prompt should ask for an incremental walkthrough when given a previous review), andcrates/ar-orchestrator/src/dispatcher.rsfor surfacing the previous-review SHA + diff into the prompt context.Related: #8 (line-comment dedup) — same principle, different scope.