Add MCP event mapping parity e2e tests

This commit is contained in:
Mohamed Boudra
2025-12-24 17:28:11 +07:00
parent 797425c4e2
commit 4d75bd45e8
2 changed files with 232 additions and 1 deletions
+2 -1
View File
@@ -40,10 +40,11 @@ Reference implementation: `/Users/moboudra/dev/voice-dev/.tmp/happy-cli` (see `s
- Elicitation appears to be exec-only; verify if patch/file change approvals surface separately.
- **Done (2025-12-24 17:18)**: Added MCP behavior matrix/mapping, provider selection notes, and new E2E test tasks for event mapping, persistence, and runtime info.
- [ ] **Test (E2E)**: MCP event payload mapping parity.
- [x] **Test (E2E)**: MCP event payload mapping parity.
- Assert `codex/event` stream maps to assistant/reasoning/tool_call/error timeline items with stable call ids.
- Capture raw event shape for command output/exit code to decide mapping fallback.
- **Done (2025-12-24 17:27)**: Added MCP event mapping parity tests; vitest run fails because `codex-mcp-agent.ts` is not implemented yet.
- [ ] **Test (E2E)**: MCP persistence + resume semantics.