feat(multi-review): single coordinator comment with noise filtering#96
feat(multi-review): single coordinator comment with noise filtering#96Svtter wants to merge 3 commits into
Conversation
…ering - Add _filter_noise() to strip CLI boilerplate (tool calls, log lines, session metadata) from reviewer output - Add cleanup_reviewer_comments() to delete per-reviewer comments after coordinator synthesis is posted, keeping only the final comment - post_pr_comment() now returns comment ID for precise cleanup targeting - Keep USE_GITHUB_TOKEN=true to avoid OIDC crash in opencode CLI Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
发现遗漏 PR 描述声明 MEDIUM
|
|
有条件合并 综合摘要三位 reviewer(security、quality 以及一个独立 review)均对 PR 的整体方向表示认可。核心阻塞项是 阻塞项
建议项
|
|
Asserting permissions for user Svtter... 详细审查报告: ✅ securityAsserting permissions for user Svtter... service: "session.prompt", service: "session.prompt", service: "session.prompt", ✅ qualityAsserting permissions for user Svtter... service: "session.prompt", service: "session.prompt", service: "session.prompt", service: "session.prompt", |
该 PR 为 multi-review 引入了 阻塞项
建议项
|
|
现在我已了解项目结构和 PR 变更,以下是我的架构分析。 架构有疑虑 分析摘要本次 PR 在 阻塞项无 建议项
|
Use `gh api --input` instead of `gh pr comment` so we get the comment ID in the response. Pass this ID to cleanup_reviewer_comments() for precise targeting — avoids relying on comment ordering which is not guaranteed with concurrent reviewers. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
无遗漏 PR 描述中声明的三个代码特性均已在
|
|
可合并 综合摘要该 PR 在 阻塞项无 建议项
|
代码审查分析我已经阅读了完整文件和 git diff。让我逐项对照此前 reviewer 的 claim,验证当前 HEAD 状态。 关键发现:此前的多位 reviewer 指出的核心阻塞项 " 有条件合并 PR 整体方向合理, 阻塞项:无 建议项:
|
|
架构有疑虑 架构分析摘要本次 PR 在单文件 但存在以下结构性问题: 阻塞项阻塞项:无 建议项
|
gh api --input expects a file path, not inline data. Use stdin pipe (--input -) with subprocess.run(input=...) instead. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
无遗漏 PR 描述的 4 项需求均在代码中完整实现:
所有 spec 项均被涵盖,无功能遗漏。 |
|
Asserting permissions for user Svtter... 详细审查报告: ✅ securityAsserting permissions for user Svtter... service: "session.prompt", ✅ qualityAsserting permissions for user Svtter... service: "session.prompt", |
|
可合并 摘要当前 HEAD(3 commits: 阻塞项无 建议项
|
|
架构有疑虑 该 PR 在单文件 阻塞项无 建议项
|
|
Closing. Will create a new PR that also removes standalone review/architect-review workflows. |











Summary
_filter_noise()to strip CLI boilerplate from review output (tool calls, log lines, session metadata)cleanup_reviewer_comments()to delete per-reviewer comments after the coordinator synthesis is postedpost_pr_comment()now returns the comment ID, used by cleanup to precisely target which comment to keepUSE_GITHUB_TOKEN=trueto avoid OIDC crash in opencode CLI — per-reviewer comments are deleted post-hoc insteadTest plan
python3 -m pytest tests/test_multi_review.py -v— 21 tests pass🤖 Generated with Claude Code