Skip to content

[codex] Preserve MCP proxy trace on writer failure#98

Merged
Atomics-hub merged 1 commit into
masterfrom
codex/mcp-proxy-trace-out-failure
May 27, 2026
Merged

[codex] Preserve MCP proxy trace on writer failure#98
Atomics-hub merged 1 commit into
masterfrom
codex/mcp-proxy-trace-out-failure

Conversation

@Atomics-hub
Copy link
Copy Markdown
Owner

Summary

  • Factor the MCP proxy trace-out CLI test fixture into reusable helpers.
  • Add a writer-failure regression test proving --trace-out writes verifiable evidence after a mediated event even when the client output pipe breaks.

Why

The local subprocess stdio proxy is the v0.1 operator path. Its trace output should behave like a flight recorder: if the operator/client stream fails after AgentK has mediated a boundary crossing, the evidence should still be available for review.

Verification

  • cargo fmt --check
  • cargo test mcp_proxy_stdio_trace_out_survives_writer_failure_after_event -- --nocapture
  • cargo test
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo run --locked -- release-audit

@Atomics-hub Atomics-hub merged commit 7a2ac29 into master May 27, 2026
1 check passed
@Atomics-hub Atomics-hub deleted the codex/mcp-proxy-trace-out-failure branch May 27, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant