Simplify GitHub access modes - #53236
Conversation
|
@copilot this PR is ready for the next finishing pass. Please address these items, newest first:
Run: https://github.com/github/gh-aw/actions/runs/31977162840
|
5a22577 to
2a3b602
Compare
|
@copilot this PR is ready for the next finishing pass. Please address these items, newest first:
Run: https://github.com/github/gh-aw/actions/runs/31980573442
|
705f67c to
86dfdb1
Compare
|
@copilot this PR is ready for the next finishing pass. Please address these items, newest first:
Run: https://github.com/github/gh-aw/actions/runs/31985733953
|
|
@copilot this PR is ready for the next finishing pass. Please address these items, newest first:
Run: https://github.com/github/gh-aw/actions/runs/31989010929
|
6464d6b to
2c3a58a
Compare
Checked: |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
2c3a58a to
a7368c2
Compare
|
@copilot resolve the merge conflicts on this branch. |
…-access # Conflicts: # .github/workflows/daily-cache-strategy-analyzer.lock.yml # .github/workflows/daily-code-metrics.lock.yml # .github/workflows/daily-regression-audit-kiro.lock.yml # .github/workflows/daily-reliability-review.lock.yml # .github/workflows/daily-security-red-team.lock.yml # .github/workflows/smoke-crush.lock.yml # .github/workflows/smoke-opencode.lock.yml Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…-access Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
This report likely predates the merge fix pushed in 24a5a72. Since then, |
|
@copilot cli-proxy is orthogonal to gh-proxy, it applies to all mcps |
Want to confirm the concrete fix before changing behavior: today |
|
@copilot this branch still appears as conflicting from the candidate snapshot. Please run Run: https://github.com/github/gh-aw/actions/runs/32032749148
|
…-access # Conflicts: # .github/workflows/aw-failure-investigator.lock.yml # .github/workflows/daily-regression-audit-kiro.lock.yml # .github/workflows/go-logger.lock.yml Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Resolved (11d75d8 → c50aab7). Merged latest |
|
@copilot this branch still appears as conflicting from the candidate snapshot. Please run Run: https://github.com/github/gh-aw/actions/runs/32034893678
|
…-access # Conflicts: # .github/workflows/archie.lock.yml # .github/workflows/cloclo.lock.yml # .github/workflows/daily-function-namer.lock.yml # .github/workflows/developer-docs-consolidator.lock.yml # .github/workflows/glossary-maintainer.lock.yml # .github/workflows/linter-miner.lock.yml # .github/workflows/mcp-inspector.lock.yml # .github/workflows/sergo.lock.yml # .github/workflows/smoke-codex.lock.yml # .github/workflows/smoke-copilot-aoai-apikey.lock.yml # .github/workflows/smoke-copilot-aoai-entra.lock.yml # .github/workflows/smoke-copilot-arm.lock.yml # .github/workflows/smoke-copilot.lock.yml # .github/workflows/terminal-stylist.lock.yml # .github/workflows/typist.lock.yml Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Resolved (709533b → 31ea42c). Merged latest |
|
@copilot please take another pass on this PR. Recent maintainer feedback still needs a direct follow-up: #53236 (comment) . Please address that note, refresh the branch if needed, and run the Run: https://github.com/github/gh-aw/actions/runs/32038496983
|
…p-mode: cli Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Investigated in depth: traced Since the ambiguity was purely in naming/documentation, I clarified the doc comments on |
Motivation
GitHub access currently mixes an access strategy (
gh-proxy) with MCP transport values (local/remote) and separately usestools.cli-proxyfor exposing MCP servers as command-line wrappers. This makes prompt selection, MCP registration, token exposure, host proxy startup, and runtime compatibility easy to interpret inconsistently.New configuration
tools.github.modenow has three canonical values:cli— pre-authenticatedghCLI protected by the host policy proxy; recommended where compatiblemcp-local— local Docker GitHub MCP servermcp-remote— hosted GitHub MCP servicetools.mcp-mode: clireplacestools.cli-proxy: truefor exposing user-facing MCP servers as CLI wrappers.Migration mapping
gh aw fixmigrates:tools.github.mode: gh-proxy→tools.github.mode: clitools.github.mode: localortools.github.type: local→tools.github.mode: mcp-localtools.github.mode: remoteortools.github.type: remote→tools.github.mode: mcp-remotefeatures.cli-proxy: true→tools.github.mode: clitools.cli-proxy: true→tools.mcp-mode: cliWhen both legacy
typeandmodeare present, the codemod preserves canonicalmodeprecedence and removes the duplicatetypefield.Resolution and validation
A single resolved GitHub access profile now drives prompt guidance, MCP registration and transport, hosted-MCP domains, host policy-proxy startup, AWF flags,
GH_TOKENexclusion, integrity behavior, and runtime compatibility.features.integrity-reactionsresolves to CLI and rejects an explicit MCP mode.Reviewer notes
copilot/collapse-sandbox-security-options.Motivation
GitHub access currently mixes an access strategy (
gh-proxy) with MCP transport values (local/remote) and separately usestools.cli-proxyfor exposing MCP servers as command-line wrappers. This makes prompt selection, MCP registration, token exposure, host proxy startup, and runtime compatibility easy to interpret inconsistently.New configuration
tools.github.modenow has three canonical values:cli— pre-authenticatedghCLI protected by the host policy proxy; recommended where compatiblemcp-local— local Docker GitHub MCP servermcp-remote— hosted GitHub MCP servicetools.mcp-mode: clireplacestools.cli-proxy: truefor exposing user-facing MCP servers as CLI wrappers.Migration mapping
gh aw fixmigrates:tools.github.mode: gh-proxy→tools.github.mode: clitools.github.mode: localortools.github.type: local→tools.github.mode: mcp-localtools.github.mode: remoteortools.github.type: remote→tools.github.mode: mcp-remotefeatures.cli-proxy: true→tools.github.mode: clitools.cli-proxy: true→tools.mcp-mode: cliWhen both legacy
typeandmodeare present, the codemod preserves canonicalmodeprecedence and removes the duplicatetypefield.Resolution and validation
A single resolved GitHub access profile now drives prompt guidance, MCP registration and transport, hosted-MCP domains, host policy-proxy startup, AWF flags,
GH_TOKENexclusion, integrity behavior, and runtime compatibility.features.integrity-reactionsresolves to CLI and rejects an explicit MCP mode.Reviewer notes
copilot/collapse-sandbox-security-options.