Grant the reviewers the tools to cast their verdict (#38)
d1d7f4b5e5c9dceff521c475e5e66252a8928278
Oliver Jan Krylow <oliver@bugabinga.net> ·
SSH signature · not checked
- Parent 1: ed79fa76435b
## What forced this The first live run of the review loop (PR #37) showed both Fable reviewers running to completion but producing nothing — no label, no comment. The job log: **28 permission denials**. In automation mode `claude-code-action` denies every `gh` call unless allow-listed, and no ADW workflow passed one. The loop was wired but had never once closed. ## The call Give each reviewer a scoped allow-list covering exactly read + verdict: `gh pr view/diff/edit/comment` + `gh issue view`. ## What we deliberately didn't do No `gh pr merge`, no `gh api`, no blanket `gh:*` — a review agent on untrusted PR head on a public repo still cannot merge, hit the API, or leave its lane. Interim grant only: #19's deterministic-verdict step will remove the LLM's label-write entirely. ## Evidence Root cause is the `permission_denials_count: 28` in the #37 reviewer run with zero output artifacts. Same gap affects every write-capable agent (triager, surveyor, builder, sweeper) — tracked as follow-up. ## Surface touched `.github/workflows/adw-review.yml` (both reviewer jobs). ## If this ages badly Widen or narrow the allow-list per what the agents actually call; the whole grant disappears once #19 lands. --- _Generated by [Claude Code](https://claude.ai/code/session_01LABEHeVpg74oyZNtWLUWpB)_ Co-authored-by: Claude <noreply@anthropic.com>