Advertise MCP wallet output schema#1013
Conversation
|
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 (2)
📝 WalkthroughWalkthroughAdds MCP_WALLET_OUTPUT_SCHEMA and wires it as the ChangesWallet Output Schema
Possibly related PRs
🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 48f7f23c-4e2d-4ecb-90cc-8870c7f5e78a
📒 Files selected for processing (3)
app/mcp.pydocs/agent-guide.mdtests/test_api_mcp.py
|
Follow-up for CodeRabbit timestamp schema comment: updated get_wallet outputSchema created_at from JSON Schema date-time to the timezone-naive ISO pattern emitted by the serializer.\n\nValidation after fix:\n- .venv\Scripts\python.exe -m pytest tests\test_api_mcp.py::test_mcp_tools_list_and_call tests\test_api_mcp.py::test_mcp_can_register_and_fetch_wallet -> 2 passed\n- .venv\Scripts\ruff.exe check app\mcp.py tests\test_api_mcp.py -> All checks passed\n- .venv\Scripts\ruff.exe format --check app\mcp.py tests\test_api_mcp.py -> 2 files already formatted |
modelsbridgeaicom-ship-it
left a comment
There was a problem hiding this comment.
Requesting changes on the current head 364ca87f25d0ffbf6d26dae8594acb7568b14cbf.
The focused MCP wallet output-schema change validates cleanly on its own branch, but the PR is not merge-ready against current origin/main because app/mcp.py has a content conflict. GitHub also reports the PR as mergeable=CONFLICTING / mergeStateStatus=DIRTY, so the branch needs a rebase or conflict resolution before maintainers can merge it.
Files inspected:
app/mcp.pytests/test_api_mcp.pydocs/agent-guide.md
Validation run locally:
.\.venv\Scripts\python.exe -m pytest tests\test_api_mcp.py::test_mcp_tools_list_and_call tests\test_api_mcp.py::test_mcp_can_register_and_fetch_wallet -q-> 2 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\ruff.exe check app\mcp.py tests\test_api_mcp.py docs\agent-guide.md-> All checks passed..\.venv\Scripts\ruff.exe format --check app\mcp.py tests\test_api_mcp.py-> 2 files already formatted..\.venv\Scripts\python.exe -m mypy app\mcp.py app\mcp_tools.py app\wallet_api.py-> success..\.venv\Scripts\python.exe scripts\docs_smoke.py-> docs smoke ok.git diff --check origin/main...HEAD-> clean.git merge-tree --write-tree origin/main HEAD-> content conflict inapp/mcp.py.
Verdict: changes requested until the app/mcp.py conflict is rebased/resolved. No runtime MCP behavior, ledger mutation, wallet custody/signing, treasury/proposal execution, payout execution, admin-token behavior, credentials, private data, exchange, bridge, cash-out, MRWK price behavior, or fabricated payout claim was used.
Bounty #946
Summary
outputSchemafor the read-onlyget_wallettool, matching the wallet object already returned inresult.structuredContent.tools/listmetadata and tests.get_walletstructured output contract.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_can_register_and_fetch_wallet-> 2 passed, 1 existing Starlette/httpx warning.venv\Scripts\python.exe -m pytest tests\test_api_mcp.py tests\test_mcp_tools.py-> 131 passed, 1 existing Starlette/httpx warning.venv\Scripts\python.exe scripts\docs_smoke.py-> docs smoke ok.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 formattedgit diff --check-> clean, Windows CRLF warning only for docsTouched MCP surface:
tools/listmetadata forget_walletplus focused tests/docs.Summary by CodeRabbit
Documentation
Tests