Uh oh!
There was an error while loading. Please reload this page.
Document sandbox and GitHub access profiles - #53442
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 894da70c-b0b5-49b6-be83-10f1320b6cf2
There was a problem hiding this comment.
Pull request overview
Documents the new sandbox, GitHub access, and MCP exposure profile model across user and workflow-authoring references.
Changes:
- Adds canonical security-profile matrices and examples.
- Updates terminology and migration guidance throughout documentation.
- Adds navigation, skill routing, and a patch changeset.
Show a summary per file
| File | Description |
|---|---|
docs/src/content/docs/reference/tools.md | Documents MCP CLI exposure. |
docs/src/content/docs/reference/security-profiles.md | Adds the profile reference. |
docs/src/content/docs/reference/sandbox.md | Links runtime compatibility guidance. |
docs/src/content/docs/reference/integrity.md | Updates integrity access requirements. |
docs/src/content/docs/reference/glossary.md | Revises profile terminology. |
docs/src/content/docs/reference/github-tools.md | Documents GitHub access modes. |
docs/src/content/docs/reference/frontmatter.md | Links profile selection guidance. |
docs/src/content/docs/reference/engines.md | Describes non-MCP engine behavior. |
docs/src/content/docs/reference/agent-runtimes.md | Updates runtime compatibility details. |
docs/src/content/docs/introduction/architecture.mdx | Distinguishes profile layers. |
docs/src/content/docs/guides/upgrading.md | Adds migration guidance. |
docs/src/content/docs/examples/maintaining-repos.md | Updates integrity terminology. |
docs/src/content/docs/engines/pi.md | Revises Pi tool configuration. |
docs/astro.config.mjs | Adds profile navigation. |
.github/skills/agentic-workflows/SKILL.md | Adds profile routing. |
.github/aw/upgrade-agentic-workflows.md | Updates upgrade examples. |
.github/aw/update-agentic-workflow.md | Updates workflow-editing guidance. |
.github/aw/token-optimization.md | Revises CLI optimization guidance. |
.github/aw/syntax-tools-imports.md | Documents new tool selectors. |
.github/aw/syntax-agentic.md | Updates syntax guidance. |
.github/aw/subagents.md | Revises subagent tool access. |
.github/aw/security-profiles.md | Adds authoring profile rules. |
.github/aw/release-workflow.md | Updates release tool guidance. |
.github/aw/mcp-clis.md | Revises MCP CLI configuration. |
.github/aw/github-mcp-server.md | Updates GitHub MCP modes. |
.github/aw/github-agentic-workflows.md | Updates workflow examples. |
.github/aw/designer.md | Revises designer defaults. |
.github/aw/designer-mappings.md | Updates intent mappings. |
.github/aw/create-agentic-workflow.md | Revises creation guidance. |
.github/aw/agent-runtime-instructions.md | Expands runtime guidance. |
.changeset/patch-document-security-profiles.md | Records the documentation update. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Suppressed comments (1)
docs/src/content/docs/reference/security-profiles.md:50
tools.mcp-modeis not a recognized tool setting in this PR. The current schema andToolsConfigexpose onlytools.cli-proxy(main_workflow_schema.json:4932-4935,pkg/workflow/tools_types.go:87-93), so copying this profile causes schema validation to fail instead of enabling CLI wrappers. The field's implementation/schema support needs to land before it is documented as canonical.
`tools.mcp-mode: cli` exposes user-facing non-GitHub MCP servers as CLI wrappers on `PATH`. With the Copilot engine, it also wraps the GitHub MCP server when `mcp-local` or `mcp-remote` is selected; other MCP-capable engines keep the selected GitHub server as a native MCP server. It does not select `tools.github.mode: cli` and does not turn the GitHub MCP server into the authenticated `gh` CLI. Leave `tools.mcp-mode` omitted, or set it to `default`, for native MCP exposure.
The legacy `tools.cli-proxy: true` maps to `tools.mcp-mode: cli`. This field is unrelated to the internal host policy proxy used for CLI GitHub access.
- Files reviewed: 31/31 changed files
- Comments generated: 5
- Review effort level: Balanced
| Workflows that use GitHub Actions `services:` with published ports remain reachable from the agent sandbox only when `sandbox.agent.runtime: docker-sudo-iptables` is set; recompiling regenerates the `--allow-host-service-ports` value used to reach those services. | ||
| GitHub access values are also normalized: `gh-proxy` becomes `cli`, and `local` or `remote` become `mcp-local` or `mcp-remote`. The deprecated `features.cli-proxy` flag remains accepted for backward compatibility and migrates to `tools.github.mode: cli`, while `tools.cli-proxy` migrates to the distinct `tools.mcp-mode: cli` MCP exposure setting. Review the [security profile matrix](/gh-aw/reference/security-profiles/) before combining migrated fields. |
| | `openai/` or `codex/` | `CODEX_API_KEY` or [`OPENAI_API_KEY`](/gh-aw/reference/auth/#openai_api_key) | | ||
| Pi requires `tools.github.mode: gh-proxy` and `tools.cli-proxy: true`. The compiler rejects Pi workflows that omit either requirement. | ||
| Pi does not provide native MCP server integration, so the compiler automatically derives CLI GitHub access (`tools.github.mode: cli`) and CLI MCP exposure (`tools.mcp-mode: cli`). Do not select `mcp-local` or `mcp-remote` for Pi, and do not add either derived field unless another workflow requirement makes it necessary. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| | `cli` | Pre-authenticated `gh` CLI protected by the host policy proxy; no GitHub MCP server | Shell-based GitHub access with the smallest tool schema; required by integrity reactions | Not supported by `cloud-hypervisor` | | ||
| | `mcp-local` | Local Docker GitHub MCP server | GitHub MCP tools or MCP-only fields are required | Historical effective default when mode is omitted | | ||
| | `mcp-remote` | Hosted GitHub MCP service | Hosted-only toolsets are required and suitable additional authentication is available | Do not use the GitHub Actions token as remote MCP authentication | |
pelikhan
commented
Aug 17, 2026
@copilot run pr-finisher skill |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Fixed the three self-contained review issues (pushed in The remaining two threads ( |
gh-aw-bot
commented
Aug 17, 2026
Caution agentic threat detected DetailsPotential security threats were detected in the agent output. Review the workflow run logs for details. @copilot thanks for the partial follow-up. Please run the
If the intended fix requires bringing in the #53236 implementation/schema work, say that explicitly in your follow-up so a maintainer can decide scope quickly.
|
To be explicit: yes, fixing |
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
gh-aw-bot
commented
Aug 17, 2026
@copilot Please take another pass on this PR. Refresh the branch if possible, review any unresolved feedback, and run the skill before handing back to maintainers. Run: https://github.com/github/gh-aw/actions/runs/32059494377
|
No new information here since my last reply. Status is unchanged: the three self-contained doc fixes are pushed, and the remaining two threads ( |
Summary
Source documentation delta: #53283.
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
Potential security threats were detected in the agent output.
Review the workflow run logs for details.
Run: https://github.com/github/gh-aw/actions/runs/32057540470> Generated by 👨🍳 PR Sous Chef · gpt54 · 12.9 AIC · ⌖ 8.58 AIC · ⊞ 8.8K · ◷