feat(extensions): add trust-provider extension for behavioral trust gating#2300
Open
vdineshk wants to merge 4 commits into
Open
feat(extensions): add trust-provider extension for behavioral trust gating#2300vdineshk wants to merge 4 commits into
vdineshk wants to merge 4 commits into
Conversation
|
@vdineshk is attempting to deploy a commit to the Coinbase Team on Vercel. A member of the Team first needs to authorize it. |
github-actions Bot
pushed a commit
to vdineshk/dominion-observatory
that referenced
this pull request
May 14, 2026
…companion within 24h of CEO PR open) (#23) CEO opened x402-foundation/x402#2300 (closes #2299) today, naming Dominion Observatory as the canonical reference adapter in JSDoc. This ships the first published implementation walk-through for the trust-provider extension, completing the chokepoint 4-tuple [spec PR #35 + reference impl PR #2300 + conformance vectors + adopter note]. Worked example uses /api/leaderboard with live curl shapes verified 2026-05-14T22:09 UTC (BEFORE-CITATION-VERIFY-LIVE doctrine, RUN-037). Footnotes the production /api/agent-query/{id} routing-precedence skew (HMAC challenge in production vs clean trust attestation in local repo src/index.js — escalated to Builder via team-signal RUN-042). EXP-042a launched, kill 2026-05-28. Foundation phase month 1 of 12. Co-authored-by: Claude <noreply@anthropic.com>
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 trust-provider extension under
typescript/packages/extensions/src/trust-provider/that gates payment settlement on behavioral trust evaluation via the existingonBeforeSettlehook.Closes #2299
What it does
enrichSettlementResponseFiles
types.tsutils.tsresourceServer.tsonBeforeSettlehook implementation +enrichSettlementResponseindex.tsNo core changes
Uses only the existing
ResourceServerExtensionHooks.onBeforeSettleinterface. Zero modifications to core packages.Reference provider
Dominion Observatory — behavioral trust scores for 14,800+ MCP servers. Working testnet demo with Base Sepolia USDC available at daee-engine/testnet-demo.
AI disclosure
This PR was developed with AI assistance (Claude) and reviewed before submission.