feat(phase5): MCP profile manifest + attestation + MPay executor functions
Add six new MCP executor functions and their dispatcher routing + tool definitions:
- execute_read_profile_manifest: full archetype-aware ProfileManifest (activity canvas, attestation badges, AVAX address, agent trust chain, org manifest, MPay totals) — supersedes execute_read_user_profile for agent consumers - execute_issue_attestation: Ed25519 sig verification before DB write; ATTEST canonical message domain-separated from MSign and MPay - execute_revoke_attestation: attester-only revocation; KeyError → 404, PermissionError → 403 - execute_list_attestations: query by subject with optional include_revoked flag - execute_record_mpay_claim: guards amount>0 + sender!=recipient before sig verify; idempotent on nonce_hex - execute_get_mpay_ledger: clamped limit (max 500); returns sent + received with totals
Also adds dispatch_tool() public wrapper in dispatcher.py for test + CLI use. 24 RED → GREEN TDD tests in tests/test_mcp_profile_tools.py.
0 comments
muse hub commit comment sha256:9ad0efbec47b1f00437d4ae234184060adcde1ece69c7b63550a13408106b00a --body "your comment"
No comments yet. Be the first to start the discussion.