q792602257
0484e79978
修改
2026-06-09 21:22:28 +08:00
q792602257
e4cb55dae2
test(mcp): K5 — prompts + resources integration scenarios
...
- PromptsList_FromTemplates: system template visible via prompts/list + prompts/get
- ResourceRead_NotFound: non-existent pm://projects/{uuid} returns error
- ResourceList_ScopeFilter: in-scope project resource readable; resources listed
All 14 spec §8.2 integration scenarios now complete.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-08 13:31:18 +08:00
q792602257
f708e102d8
test(mcp): K4 — rate limit + ACP lifecycle + startup reaper
...
- RateLimit_PerToken: 110 burst calls -> at least 1 rate-limit error
- ACPSession_TokenLifecycle: create session -> token appears; terminate -> revoked
- StartupReaper: crashed session + live token -> ReapStaleSystemTokens revokes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-08 13:26:12 +08:00
q792602257
e0e9ae7bda
test(mcp): K2 — transport + auth integration scenarios
...
- StreamableHTTP_FullFlow: initialize → tools/list → tools/call
- LegacySSE_FullFlow: same flow over /mcp/sse
- BearerVsQueryToken: header + ?token= both authenticate
- MCPSDKVersionNegotiation: unknown version -> graceful response
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-08 13:24:36 +08:00
q792602257
20b449bb37
test(mcp): K3 — scope + visibility + audit integration scenarios
...
- ScopeViolation_Tool: token without create_issue can't call it
- ScopeViolation_Project: token can't access projects outside scope.project_ids
- VisibilityRespect: service-layer visibility blocks private projects
- WriteToolAudit: audit_logs contains via_mcp:true + mcp_token_id
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-08 13:20:11 +08:00
q792602257
f2ed098f32
test(mcp): integration scaffold — 14 scenarios per spec §8.2
...
- Matrix dispatcher with 14 sub-test stubs
- Suite struct with setup/cleanup lifecycle
- All sub-tests start as t.Skip stubs; filled in K2-K5
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-08 13:11:04 +08:00