Conversation
Contributor
|
@copilot name file as safe-outputs-specification.md next to mcp-gateway specification |
Create comprehensive formal specification defining: - Security architecture and threat model - Common features: max, staged, footers - All 30+ safe output types with guarantees - MCP integration patterns - Content integrity mechanisms - Execution guarantees Specification follows W3C conventions with RFC 2119 conformance. File: docs/src/content/docs/reference/safe-outputs-mcp-gateway-specification.md Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create MCP gateway specification for security features
Add Safe Outputs MCP Gateway formal specification
Feb 14, 2026
Contributor
|
@copilot for each safe output type specify the required GitHub action permissions or GitHub app permissions . Handle the case where some permissions are tied to features like fallback-as-issue |
Per feedback, rename from safe-outputs-mcp-gateway-specification.md to safe-outputs-specification.md to position it next to mcp-gateway.md. Also update internal URL reference to match new filename. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Copilot
AI
changed the title
Add Safe Outputs MCP Gateway formal specification
Add Safe Outputs formal specification
Feb 14, 2026
pelikhan
approved these changes
Feb 14, 2026
|
|
||
| # Safe Outputs MCP Gateway Specification | ||
|
|
||
| **Version**: 1.8.0 |
Add "Required Permissions" sections for all 30+ safe output types with: - Separate GitHub Actions Token and GitHub App permission requirements - Detailed permission scopes (contents, issues, pull-requests, discussions, security-events, actions, organization-projects) - Notes on conditional permissions (e.g., fallback-as-issue feature) - Permission level explanations (read vs write) - Cross-repository behavior notes - Special cases like organization-projects only for GitHub Apps Expanded section 7.3 with full definitions for all safe output types including update_issue, close_issue, link_sub_issue, all discussion types, PR management, labels, assignments, projects, security, and system types. Each type now documents: - Required permissions for both token types - Permission scope descriptions - Conditional permission requirements based on features - Notes on permission-related limitations Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Done! Added comprehensive "Required Permissions" sections for all 30+ safe output types with:
Each type now documents exactly which permissions are needed and explains conditional requirements. (commit 347f6df) |
Copilot
AI
changed the title
Add Safe Outputs formal specification
Add Safe Outputs formal specification with comprehensive permission documentation
Feb 14, 2026
Copilot stopped work on behalf of
pelikhan due to an error
February 14, 2026 16:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds W3C-style specification defining the Safe Outputs MCP Gateway's security model, operational semantics, and conformance requirements. The specification establishes normative behavior for all 30+ safe output types based on existing JavaScript handlers and Go compiler implementation.
Specification Structure
maxlimits (defaults, inheritance, special value semantics for staged mode)stagedmode (preview execution, per-type vs global configuration)footerattribution (composition, template variables, conditional installation instructions)Key Semantics Documented
Max Limit Interpretation:
Staged Mode Behavior:
staged: trueaffects all typesstaged: truesetsmax: 0in MCP configuration (tool hidden from AI but handler processes previews)GH_AW_SAFE_OUTPUTS_STAGEDenvironment variable and generate step summaries instead of GitHub API callsPermission Documentation
Each safe output type now includes comprehensive permission requirements:
safe-outputs.appconfigurationfallback-as-issueforcreate_pull_request,create-issueformissing_tool/missing_data)Conformance
Follows RFC 2119 conventions with normative keywords (MUST, SHALL, SHOULD, MAY). Defines full and partial conformance classes with testable requirements.
File:
docs/src/content/docs/reference/safe-outputs-specification.md(2,800+ lines)Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.