agent-orchestrator/backend/internal/review
Anirudh Sharma e74fb65a85
feat(review): support additional reviewer harnesses (#2306)
* feat(review): support more reviewer harnesses

* fix(review): preserve reviewer daemon context

* fix(review): allow printf-piped review commands in reviewer allowlists

The review prompt now pipes JSON into `gh api` and `ao review submit`
via `printf '%s' ... | cmd` (heredocs break in interactive PTY panes).
Widen the claude-code allowlist with `Bash(printf:*)` and the opencode
permission policy with `printf * | gh api *` / `printf * | ao review
submit *` so those piped commands pass each tool's allowlist. Cover
both with tests that model each tool's matching semantics.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: format with prettier [skip ci]

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-02 19:25:18 +05:30
..
launcher.go feat: show multi-PR review status (#2193) 2026-06-29 18:20:28 +05:30
launcher_test.go feat(review): configurable AO code review backend (V1) (#192) (#197) 2026-06-15 01:17:17 +05:30
planner.go feat: show multi-PR review status (#2193) 2026-06-29 18:20:28 +05:30
planner_test.go feat: show multi-PR review status (#2193) 2026-06-29 18:20:28 +05:30
prompt.go feat(review): support additional reviewer harnesses (#2306) 2026-07-02 19:25:18 +05:30
prompt_test.go feat(review): support additional reviewer harnesses (#2306) 2026-07-02 19:25:18 +05:30
review.go feat: default reviewer is always claude-code (#2241) - temporary change 2026-06-30 21:25:26 +05:30
review_test.go feat: show multi-PR review status (#2193) 2026-06-29 18:20:28 +05:30