Goal
Add end-to-end coverage for the Codex integration without depending on local Claude Code availability.
Scope
Minimum expectations
- validate that traces are actually captured, not just that the process exits 0
- assert request input, response output, token usage, and API call count where applicable
- cover both reverse mode and forward mode / fallback behavior if the environment supports it
- verify generated viewer artifacts when the trace should produce them
- keep evidence based on real
.traces/ data, not synthetic screenshots
Constraints
- local environment currently does not have Claude Code, so Codex coverage is the immediate priority
- Claude-specific real E2E can remain skipped or follow in a later issue/PR
Suggested test slices
- direct Codex reverse proxy capture with
openai_base_url override
- WebSocket incremental request / output reconstruction assertions
- forward proxy with Rust TLS CA env compatibility
- negative assertions for regressions such as
API calls: 0, empty input, or missing final output
Goal
Add end-to-end coverage for the Codex integration without depending on local Claude Code availability.
Scope
claude-tap + codexexecution paths firstMinimum expectations
.traces/data, not synthetic screenshotsConstraints
Suggested test slices
openai_base_urloverrideAPI calls: 0, emptyinput, or missing final output