feat: add DID reputation provider framework (CoinPay integration)#2
Open
kai-agent-free wants to merge 3 commits intomainfrom
Open
feat: add DID reputation provider framework (CoinPay integration)#2kai-agent-free wants to merge 3 commits intomainfrom
kai-agent-free wants to merge 3 commits intomainfrom
Conversation
- ReputationProvider interface for pluggable DID reputation sources - CoinPayReputationProvider stub (7-dimension trust vector) - ReputationAggregator that converts to ExternalAttestation format - 3 passing tests - Spec at specs/coinpay-did-reputation.md
- Add /reputation/* API routes (get reputation, trust vector, badge proxy, submit receipt, claim DID, register platform issuer) - Update CoinPayReputationProvider in core to use real SDK API paths (Authorization: Bearer, /reputation/agent/:did/reputation, etc.) - Install @profullstack/coinpay@0.6.10 in api-server - Fix pre-existing TS build errors (trust.ts unused var, captcha-service, aggregator import path) Routes require COINPAY_API_KEY env var. Public endpoints: GET /reputation/:did GET /reputation/:did/trust GET /reputation/:did/badge Auth-protected: POST /reputation/receipt GET /reputation/did/me POST /reputation/did/claim POST /reputation/issuer
- Added CoinPayDID section with live trust score from CoinPay API - Shows DID, trust tier, score, and trust vector dimensions - Added 'Trust Score' nav link in header - Section placed between Architecture and MCP Tools sections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a pluggable reputation provider framework to AgentPass core, with CoinPay DID as the first implementation.
What's new
ReputationProviderinterface — generic, any DID provider can implementCoinPayReputationProvider— implements 7-dimension weighted trust scoring (stub endpoints, ready when CoinPay API is documented)ReputationAggregator— fetches from multiple providers, converts to AgentPassExternalAttestationformatDesign decisions
ExternalAttestationtype in core — no schema changes neededdid:sol,did:web, etc. laterNext steps
did:solas alternative providerSpec:
specs/coinpay-did-reputation.md