Files
coreci-chat/vitest.conformance.config.ts
T
CIAgent 28b8aa36c6 feat(P1): Wave F — MCP Gateway core (REQ-015,016,017,018,019,024)
MCP capability broker gateway with closed 9-tool registry, adapter router,
write-method blocklist (INV-7 backstop), token-bucket rate limiter (60/min user,
300/min tenant), SSE stream manager (ULID, per-call, 30s timeout), OpenAI↔MCP
translator, in-process custom transport + stdio, mcp_adapters table with RLS,
5 API routes, 4 stub adapters + McpAdapter interface, 7 MCP conformance tests.

G-012 (audit type widening), G-015 (INV-7 framing), G-016 (two enforcement models),
G-017 (stdio-interop 7th test), G-020 (McpAdapter interface) applied.

Tests: 254 green (224 unit + 32 conformance). Coverage: 88.7% on packages/mcp.
M1 non-regression: all M1 tests pass.

---ci---
phase: 1
milestone: v0.2
status: complete
wave: F
phase_role: execution
---/ci---
2026-08-25 04:43:45 +00:00

13 lines
462 B
TypeScript

import { defineConfig } from "vitest/config";
// Root vitest config for the MCP conformance verification suite
// (tests/mcp-conformance/, R-001, G-017, M2 gate item 15). Run via
// `pnpm test:conformance` (defined in the root package.json). The broker
// modules resolve via the workspace @coreci/mcp symlink.
export default defineConfig({
test: {
environment: "node",
include: ["tests/mcp-conformance/**/*.test.ts"],
testTimeout: 30000,
},
});