claw-code/rust/crates/runtime/src
Yeachan-Heo b61e68911e Repair MCP stdio runtime tests after the in-flight JSON-RPC slice
The dirty stdio slice had two real regressions in its new JSON-RPC test coverage: the embedded Python helper was written with broken string literals, and direct execution of the freshly written helper could fail with ETXTBSY on Linux. The repair keeps scope inside mcp_stdio.rs by fixing the helper strings and invoking the JSON-RPC helper through python3 while leaving the existing stdio process behavior unchanged.

Constraint: Keep the repair limited to rust/crates/runtime/src/mcp_stdio.rs
Constraint: Must satisfy fmt, clippy -D warnings, and runtime tests before shipping
Rejected: Revert the entire JSON-RPC stdio coverage addition | unnecessary once the helper/test defects were isolated
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep ephemeral stdio test helpers portable and avoid directly execing freshly written scripts when an interpreter invocation is sufficient
Tested: cargo fmt --all; cargo clippy -p runtime --all-targets -- -D warnings; cargo test -p runtime
Not-tested: Cross-platform behavior outside the current Linux runtime
2026-03-31 21:43:37 +00:00
..
bash.rs feat: Rust port of Claw Code CLI 2026-03-31 17:43:09 +00:00
bootstrap.rs feat: Rust port of Claw Code CLI 2026-03-31 17:43:09 +00:00
compact.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00
config.rs Unblock typed runtime integration config primitives 2026-03-31 19:17:16 +00:00
conversation.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00
file_ops.rs Unblock typed runtime integration config primitives 2026-03-31 19:17:16 +00:00
json.rs feat: Rust port of Claw Code CLI 2026-03-31 17:43:09 +00:00
lib.rs Add real stdio MCP process wrapper 2026-03-31 21:04:58 +00:00
mcp.rs Add MCP normalization and config identity helpers 2026-03-31 20:23:00 +00:00
mcp_client.rs Add first MCP client transport scaffolding 2026-03-31 20:42:49 +00:00
mcp_stdio.rs Repair MCP stdio runtime tests after the in-flight JSON-RPC slice 2026-03-31 21:43:37 +00:00
oauth.rs Add reusable OAuth and auth-source foundations 2026-03-31 19:47:02 +00:00
permissions.rs feat: Rust port of Claw Code CLI 2026-03-31 17:43:09 +00:00
prompt.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00
remote.rs Add fail-open remote proxy runtime primitives 2026-03-31 19:54:38 +00:00
session.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00
sse.rs feat: Rust port of Claw Code CLI 2026-03-31 17:43:09 +00:00
usage.rs feat: merge 2nd round from all rcc/* sessions 2026-03-31 17:43:25 +00:00