Skip to content

test(mcp): Phase 14 — scoped auth fixture replay - #384

Merged
erishforG merged 1 commit into
release/1.0from
feat/auto-mcp-phase14-scope-fixture
Aug 7, 2026
Merged

test(mcp): Phase 14 — scoped auth fixture replay#384
erishforG merged 1 commit into
release/1.0from
feat/auto-mcp-phase14-scope-fixture

Conversation

@erishforG

Copy link
Copy Markdown
Owner

무엇

MCP stdio recording fixture harness가 redacted delegated GitHub auth context를 재생할 수 있게 했습니다.

Refs #293. v1.0 MCP stdio 계약에서 scoped delegated auth preflight가 fixture 기반으로 회귀 검증되도록 Phase 14를 추가합니다. @erishforG

변경

  • context.github.token / context.github.scopes fixture metadata를 테스트 harness에서 McpContext로 변환
  • ci_status 호출이 pull_request:read만 받은 경우 INSUFFICIENT_SCOPE + checks:read를 반환하는 smoke fixture 추가
  • fixture README에 auth context 기록 규칙 문서화

다음 Phase 힌트

  • 실제 MCP host 초기화 metadata에서 delegated auth context를 주입하는 transport boundary 확장
  • optional overlay별 scope fixture 추가

리스크

Low. 테스트 harness와 MCP fixture/docs만 변경하며 런타임 CLI 또는 worktree 로직은 건드리지 않습니다.

롤백

해당 커밋을 revert하면 fixture context 재생 지원과 추가 smoke fixture가 제거됩니다.

Test plan

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

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@erishforG erishforG added the auto-improvement Daily auto-generated improvement PR/issue label Aug 7, 2026
@erishforG
erishforG merged commit 1c3ad93 into release/1.0 Aug 7, 2026
12 checks passed
@erishforG
erishforG deleted the feat/auto-mcp-phase14-scope-fixture branch August 7, 2026 15:26
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