feat: Exhibit A test execution harness - #79
Conversation
Add runnable smoke scripts, workload experiment, strategy definitions, defect/tracker updates, and funding_hedge_execute MCP tool for A2.10. Fix MCP annotation tests for manifest/runner alignment. Co-authored-by: Cursor <cursoragent@cursor.com>
sdb001
left a comment
There was a problem hiding this comment.
Blocking issue: the advertised local MCP smoke command is not runnable from a fresh checkout. From repo root, python3 scripts/exhibit_a_mcp_smoke.py --section a2-read fails immediately with ModuleNotFoundError: No module named 'cli'. If I add PYTHONPATH=., it then fails with ModuleNotFoundError: No module named 'mcp'. Since this PR is specifically adding a runnable Exhibit A execution harness and marks scripts/exhibit_a_mcp_smoke.py --section all as passing, the script/runbook needs to either bootstrap the repo root onto sys.path and preflight the MCP extra with a clear install instruction, or the runbook must invoke it through an installed environment that guarantees yex-trader[mcp]. Verified compileall is clean and mcp_workload_experiment.py --quick --dry-run works.
Summary
funding_hedge_executeMCP tool (manifest had it; runner was missing)Test plan
pytestExhibit A suite — 120 passedscripts/exhibit_a_mcp_smoke.py --section all— read + danger dry-run PASSscripts/mcp_workload_experiment.py --quick --dry-run— 5-agent pilot PASSexhibit_a_gateway_smoke.shwith liveEXHIBIT_A_MCP_TOKEN(mainnet minimal)Made with Cursor