Match the Grant to the Workflow
- Read-Only Review
- Implementation and Fixing
/prflow:review inspects but does not change your code. It normally needs:- Read access to files inside the target repository.
- Git history, status and diffs.
- Pull-request data through the GitHub CLI.
- The repository’s own verification commands, such as its test and lint commands.
Keep Grants Narrow
- Prefer a specific command such as
make test,npm testorcargo testover unrestricted shell access. - Limit filesystem access to the target repository unless a known dependency lives somewhere else.
- Grant GitHub operations for the current issue or pull request rather than broad administrative access.
- Treat
sudo, raw shell evaluation and writes outside the repository as separate, high-risk decisions. - Review a persistent or project-wide grant more carefully than a one-time approval.
Declining a tool the run needs is a safe outcome. The run reports the missing verification or stops with a recorded blocker instead of reporting unobserved work as validated.
Cloud Allowlists Are a Different Boundary
Cloud runs cannot ask a person anything, so they read their tool allowlist from.prflow/config.json:
prflow.allowed_tools applies to the comment commands, and prflow_implement.allowed_tools applies to issue implementation. The two lists are independent. Adding an entry to one does not add it to the other.
These lists never replace the coding client’s own prompts. A local run still asks you, whatever .prflow/config.json contains. Review both boundaries in a repository that supports local and cloud runs. See Tool Permissions.