Study FAQ
How do read permissions, tools and safe outputs control a GitHub Agentic Workflow?
Also asked as 2
- What is the difference between GitHub access, tool exposure and safe-output writes in gh-aw?
- How should I distinguish permissions, available tools and downstream writes in a GitHub Agentic Workflow?
Answer
Read permissions determine the GitHub access available to the workflow, tools determine which capabilities the agent can invoke, and safe outputs pass requested mutations to separate permission-controlled jobs. Review all three against the approved task; a tool name does not grant access and a read scope does not expose every tool.
For an issue report, select the issue-reading toolset and necessary issue read scope. Treat inference authentication as a separate requirement. Repository changes belong in the reviewed safe-output configuration, rather than direct write access for the agentic portion.
If an operation fails, distinguish a missing tool from a denied API read. Compare the failing operation with the selected toolset, any narrower allowed list and the required scope. In a terminal with gh-aw installed and the repository context selected, use:
gh aw mcp inspect my-workflow
Replace my-workflow with the workflow identifier. The inspection helps establish available tools and configuration; it does not prove successful retrieval. After an approved narrow correction, verify the actual read result from a known resource.
The GitHub MCP server's read-only enforcement cannot be disabled to obtain mutation access. Review the safe-output type, targets, operation limits and executing job's credentials for any intended write. Then inspect the affected resource after a run: recording a requested output is different from confirmed execution.
References: GitHub Tools Read Permissions, Error Reference, Safe Outputs.
Full explanation
GH-700: Constrain Workflow Effects with Permissions and Safe Outputs
Study guide · GH-700
Read the full explanation