Skip to content

docs/deploy cleanup: skill.md, RUN_MODE=mcp, market map#66

Open
JaeLeex wants to merge 5 commits into
jl/strategy-cleanup-cfi-parafrom
jl/docs-deploy-cleanup
Open

docs/deploy cleanup: skill.md, RUN_MODE=mcp, market map#66
JaeLeex wants to merge 5 commits into
jl/strategy-cleanup-cfi-parafrom
jl/docs-deploy-cleanup

Conversation

@JaeLeex

@JaeLeex JaeLeex commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Default Railway deploy and entrypoint RUN_MODE to mcp; /api/skill/install reports live MCP tool count.
  • Extend BTCSWP docs/market map and expose CFI funding hedge MCP tools, including safety-gated funding_hedge_execute with confirmed=true required before dispatch.
  • Add MCP pricing measurement harness/docs with dry-run runtime measurements and explicit blockers for Railway C_seat, OpenRouter spend, and funded-wallet live fill data.
  • Allow confirmed hedge dry-run previews to enter the real hedge path without requiring local private-key material; live execution still requires signing context and gateway policy.
  • Task 7 costing update: harness now emits the free/paid-compute/safety-gated tool classification, 20-call free recommendation, anchor-based Mode 2 estimates, and safe trade/hedge refusal probes. Google Doc: https://docs.google.com/document/d/1CJYLqWFvS7HD6MjVq2Yu-ZEpo7kuJUBNxSILnSx5CHE/edit

Test plan

  • python3 -m pytest tests/test_pricing_measure.py tests/test_mcp_gateway_context.py -q
  • python3 -m pytest tests/test_mcp_gateway_context.py tests/test_pricing_measure.py -q
  • python3 -m pytest tests/test_pricing_measure.py tests/test_mcp_gateway_context.py
  • python3 scripts/pricing_measure.py --output tmp/pricing-measurement-task7-local.json
  • Production runner hosted-trading-mcp reports RUN_MODE=mcp and accepts authenticated gateway context.
  • Final E2E hedge checks: missing confirmed=true is refused; confirmed dry-run reaches hl hedge execute --dry-run --yes and exits safely because the sampled wallet has no open BTC perp.

Merge order

Stack on #65 → merge chain: #63#64#65 → this PR

Made with Cursor

Sync cli/skill.md and api-reference.md with 19 strategies and ~21 MCP
tools; replace stale DSL refs with hl guard; document BTCSWP osrs/para/yex
matrix. Default Railway/entrypoint RUN_MODE to mcp; extend market_strategy_map
for BTCSWP-OSRS/PARA with tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
JaeLeex and others added 4 commits July 1, 2026 13:41
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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