Advertise ledger proof MCP output schemas#1044
Advertise ledger proof MCP output schemas#1044modelsbridgeaicom-ship-it wants to merge 1 commit into
Conversation
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR adds structured JSON output schemas for the ChangesMCP Output Schemas for Proof and Ledger Tools
Possibly related PRs
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
|
Closing as a duplicate of existing open PR #1019 for the same MCP ledger/proof output-schema scope. |
Bounty #946 delivery summary:
outputSchemametadata forget_ledger_entry, matching the ledger entry JSON already returned inresult.structuredContent.outputSchemametadata forget_proof, matching the public proof wrapper already returned inresult.structuredContent.tools/listmetadata, focused conformance coverage, and a concise agent guide note.Validation:
.\.venv\Scripts\python.exe -m pytest tests\test_api_mcp.py::test_mcp_tools_list_and_call tests\test_api_mcp.py::test_mcp_get_ledger_entry_includes_payment_proof_hash tests\test_api_mcp.py::test_mcp_get_proof_returns_public_proof_details -q-> 3 passed, 1 existing Starlette/httpx warning..\.venv\Scripts\python.exe -m pytest tests\test_api_mcp.py tests\test_mcp_tools.py -q-> 131 passed, 1 existing Starlette/httpx warning..\.venv\Scripts\python.exe scripts\docs_smoke.py-> docs smoke ok..\.venv\Scripts\python.exe -m mypy app\mcp.py-> Success: no issues found..\.venv\Scripts\ruff.exe check app\mcp.py tests\test_api_mcp.py-> All checks passed..\.venv\Scripts\ruff.exe format --check app\mcp.py tests\test_api_mcp.py-> 2 files already formatted.git diff --check-> clean, Windows CRLF warning only for docs.git merge-tree --write-tree origin/main HEAD-> clean treee6b0725bcf4c3c1d0817802fbd89a1e1b1c039b9.Touched surfaces:
app/mcp.py,tests/test_api_mcp.py,docs/agent-guide.md. Scope is MCPtools/listoutput metadata for read-only ledger/proof lookups only; no runtime ledger mutation, proof storage behavior, wallet custody, payouts, treasury mutation, bridge/exchange/off-ramp, MRWK price behavior, private data, or secrets changed.Summary by CodeRabbit
New Features
Documentation
Tests