Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.46 KB

File metadata and controls

27 lines (23 loc) · 1.46 KB

Result Log 2026-03-10 14:38 CST

Scope

  • Prototype and validate a persistent-session stdio worker bridge inside the hot supervisor.
  • Replace the previously failing reconnect-per-call stdio idea with the persistent-session design that already passed experiment probes.

Changes

  • WorkerSupervisor now defaults hot mode to WMCP_HOT_WORKER_TRANSPORT=stdio-persistent.
  • Added PersistentStdioWorkerBridge in src/windows_mcp/dev_hot.py.
  • WorkerSupervisor.call_tool_sync() now routes forwarded worker calls through the persistent stdio bridge when hot mode uses the new default.
  • WorkerSupervisor.health_snapshot() now exposes active_worker_transport.
  • Added unit coverage for:
    • persistent stdio bridge dispatch
    • persistent stdio bridge shutdown

Verification

  • Targeted tests: tests/test_dev_hot.py passed.
  • Local hot shell via build_shell_mcp(...):
    • Clipboard(get): pass
    • long forwarded PowerShell with Start-Sleep -Seconds 8: pass
    • DevServer(mode="health"): pass and reported active_worker_transport = "stdio-persistent"
  • Full suite: 168 passed in 5.58s

Interpretation

  • The earlier stdio failure was a session-lifecycle bug, not a transport dead end.
  • Persistent-session stdio is now the best-supported local replacement for the unreliable internal worker streamable-http bridge.
  • Live verification still requires one more host reconnect because the currently attached shell was started before this transport default changed.