Skip to content

Document mount allowlist and testifylint enforcement - #16800

Merged
lpcox merged 2 commits into
mainfrom
copilot/fix-documentation-reconciliation-report
Nov 18, 2026
Merged

lpcox merged 2 commits into
mainfrom
copilot/fix-documentation-reconciliation-report

Conversation

@lpcox

@lpcox lpcox commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

The environment-variable reference omitted the mount allowlist, and the contributor guide omitted an enabled linter.

  • Mount policy: Document MCP_GATEWAY_ALLOWED_MOUNT_ROOTS, including override syntax, default permissions, built-in roots, and enforcement timing.
  • Contributor guidance: Add testifylint to the enforced linter list.

@lpcox lpcox changed the title [WIP] Fix minor discrepancies in documentation reconciliation report Document mount allowlist and testifylint enforcement Nov 18, 2026
@lpcox
lpcox marked this pull request as ready for review November 18, 2026 18:54
Copilot AI adaptive review requested due to automatic review settings November 18, 2026 18:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain, and the documentation updates reconcile the environment-variable, mount-policy, and contributor-lint guidance.

No open issues 🎉

What changed in this PR

This documentation-only PR reconciles environment-variable and contributor guidance with the gateway's mount policy and lint configuration.

Changes:

  • Documents MCP_GATEWAY_ALLOWED_MOUNT_ROOTS, including syntax, permissions, default roots, and enforcement timing.
  • Adds testifylint to the enforced linter list in the contributor guide.
  • Notes a minor formatting issue where the mount syntax displays an unnecessary escape before the pipe.
File Description
docs/​ENVIRONMENT_VARIABLES.md Documents the MCP_GATEWAY_ALLOWED_MOUNT_ROOTS environment variable, including its syntax and default behavior.
CONTRIBUTING.md Adds testifylint to the contributor guide's enforced linter list.

Review effort: Lite (adaptive)

@github-actions

Copy link
Copy Markdown
Contributor

🔒 mcpg Read-Only Stress — default

Surface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Isolation runtime: default (normal container isolation)

Part Surface Op Result Expected Status
A MCP reads data returned (list_issues, list_pull_requests, get_file_contents, list_commits) ALLOWED ✅
B MCP writes (reaction/star/issue/comment/branch/file/PR) all 7 targeted tools absent from the 23-tool read-only catalog — no gateway call reached BLOCKED ⚠️
C CLI reads proxied github CLI returned data ALLOWED ✅
D CLI REST writes (reaction/star/issue/comment) gh not authenticated — no write attempted BLOCKED ⚠️
E CLI GraphQL mutations (addReaction/addStar/createIssue) gh not authenticated — no mutation attempted BLOCKED ⚠️

Overall: INCONCLUSIVE

(⚠️ = Part B: all targeted write tools were absent from the exposed catalog (backend launched read-only via tools.github:), so no call ever reached the gateway write-enforcement layer — no writes leaked, but mcpg's own DIFC/guard blocking was not independently exercised here. Parts D/E: gh CLI had no authenticated session in this run, so REST/GraphQL write-rejection could not be observed — no writes leaked. No security gap found; methodology gaps only.)

🔒 mcpg read-only stress (default AWF runtime) by Read-Only Stress: default runtime

@lpcox
lpcox merged commit 0b3b16a into main Nov 18, 2026
35 checks passed
@lpcox
lpcox deleted the copilot/fix-documentation-reconciliation-report branch November 18, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📚 Documentation Reconciliation Report - 2026-11-17

3 participants