Expose seller request constructibility - #765
Draft
epistemedeus wants to merge 1 commit into
Draft
Conversation
Signed-off-by: epistemedeus <epistemedeus@gmail.com>
epistemedeus
force-pushed
the
epistemedeus/request-contract-projection
branch
from
August 13, 2026 03:01
2f12eed to
4bf464c
Compare
Contributor
Author
|
CI update for exact head The full A direct probe of the official Open Food Facts product endpoint reproduces the same 502. This PR does not change the data-kit, barcode route, fetch guard, or strict sweep. The request-contract suites and the rest of the exact-head local acceptance remain green. I have kept the PR in draft and have not weakened the strict availability gate. Once the provider recovers, the same unchanged head can be rerun. |
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.
Problem
Agent402 already crawls seller OpenAPI and CDP Bazaar metadata, but its marketplace rows currently drop the required request inputs and authored examples. A buyer can discover a payable route yet still be unable to construct the request. We observed this directly as
missing_required_inputon an external x402 call.What this changes
requestContractto seller detail, route, find, and index-tool projectionsruntimeVerified: falseThis does not probe or pay sellers, rank request completeness, or claim that a documented request worked at runtime.
Verification
On the current 533-operation public Agent402 OpenAPI snapshot, stored request tuples totaled about 43.4 KiB, averaging 81 bytes with a 554-byte maximum.
Conservative boundaries
Root-array and composition-heavy request bodies may report
missing_exampleinstead of guessing. Header and cookie values are intentionally never projected. Secret detection is bounded and signature-based, so ambiguous evidence fails closed.Checklist