Skip to content

docs(mcp): Phase 1 — auth sandbox model#353

Merged
erishforG merged 1 commit into
release/1.0from
feat/auto-mcp-auth-phase1
Jun 10, 2026
Merged

docs(mcp): Phase 1 — auth sandbox model#353
erishforG merged 1 commit into
release/1.0from
feat/auto-mcp-auth-phase1

Conversation

@erishforG

Copy link
Copy Markdown
Owner

무엇

  • Add docs/mcp/auth.md with the MCP auth delegation contract, scope matrix, sandbox rules, threat model, and initial error codes.
  • Update docs/mcp/spec.md next-phase wording to include sandbox rules.

Refs #294 for the v1.0 MCP auth and sandbox track. This keeps the contract explicit before later implementation phases wire credential checks into src/mcp.

변경

  • Document delegated PAT flow through McpContext instead of ambient environment credentials.
  • Define per-tool GitHub token requirements and scope intent.
  • Define repository-bound sandbox rules and threat mitigations.
  • Add auth/sandbox error code seeds for future tools/call responses.

다음 Phase 힌트

  • Add redacted credential helper types and scope metadata inside src/mcp/.
  • Validate required auth before GitHub-backed tool dispatch.
  • Add fixture scrub rules when tests/mcp recordings arrive.

리스크

Low: docs-only change under docs/mcp plus one spec wording update.

롤백

Revert this commit to remove the draft auth model and restore the previous phase wording.

Test plan

  • cargo build --quiet
  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test --quiet

@erishforG

Refs #294

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@erishforG erishforG added the auto-improvement Daily auto-generated improvement PR/issue label Jun 10, 2026
@erishforG erishforG merged commit 0ce3677 into release/1.0 Jun 10, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-improvement Daily auto-generated improvement PR/issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant