Skip to content

fix(pr-management-code-review): name adversarial reviewers as prose in the review body - #1685

Merged
potiuk merged 1 commit into
mainfrom
fix/code-review-reviewer-names
Oct 17, 2026
Merged

potiuk merged 1 commit into
mainfrom
fix/code-review-reviewer-names

Conversation

@potiuk

@potiuk potiuk commented Oct 17, 2026

Copy link
Copy Markdown
Member

Summary

A finding flagged only by the adversarial-review tool carries its reviewers as a list, and code-review render printed it raw: "Flagged by ['codex'] (adversarial review); cross-checked." — visible in a posted review. The attribution line now joins the names (codex, codex and copilot, codex, copilot and gemini), still accepts a single name, and falls back to "the adversarial reviewer" when none is given.

Type of change

  • Python package (tools/*/ with pyproject.toml)

Test plan

  • New parametrised test in tools/pr-management/tests/code_review/test_body.py (one, two and three reviewers, a plain string, none, empty list); the full pr-management suite, ruff and mypy pass
  • Pre-commit hooks pass

Linked issues


Generative AI disclosure: prepared with Claude Code (Claude Opus 5); reviewed by the author.

🤖 Generated with Claude Code

…n the review body

A finding flagged only by the adversarial-review tool carries its
reviewers as a list, and the body printed it raw: "Flagged by ['codex']
(adversarial review)". The attribution line now joins the names
("codex", "codex and copilot", "codex, copilot and gemini"), still accepts
a single name, and falls back to "the adversarial reviewer" when none is
given.

Generated-by: Claude Opus 5
@github-actions github-actions Bot added family:tools tools/* substrate:analytics Tool substrate: read-only metrics / dashboards / renderers labels Oct 17, 2026
@potiuk
potiuk merged commit d4b7dc3 into main Oct 17, 2026
10 checks passed
@potiuk
potiuk deleted the fix/code-review-reviewer-names branch October 17, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

family:tools tools/* substrate:analytics Tool substrate: read-only metrics / dashboards / renderers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant