Conversation
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.
Syra (api.syraa.fun) as a paid x402 tool source for Covenant agents: market intelligence (signal, news, sentiment, brain, smart-money) bought per call in USDC on the Solana rail.
What's here
covenant-syracrate: the x402 v2 pay loop, a curated endpoint catalog, and one MCP tool per endpoint (syra.signal,syra.news,syra.sentiment,syra.brain,syra.smart_money). Tool params mirror Syra's live Bazaar discovery schema. 17 unit tests, parsers pinned to the real 402.DaemonSyraExecutorin covenantd. Every Syra tool is a paid call routed through budget/settlement/audit and the x402 signer sidecar. Gated byCOVENANT_SYRA_ENABLED.Reuse
Ports the proven covenant-wurk x402 v2 machinery (echo the chosen accept into
acceptedfor the official deepEqual matcher, extract the signed tx from the sidecar's v1 envelope, re-wrap as v2). Differences from Wurk: standardx-paymentheader, retry the same URL, Syra's own payTo/feePayer. covenant-x402 unchanged; PayaiSolanaSigner is feePayer-generic so Syra's sponsor signs fine. Solana rail only (Syra also offers Base/Polygon/BNB; out of scope).Verified
Robustness
The daemon executor's HTTP client is bounded (30s timeout) so a stalled upstream fails closed instead of hanging the daemon path.
Note: CI fmt is red on pre-existing workspace files, unrelated to this change.