docs(purch): clarify buy vs shop, add purchase safety notes - #212
Open
lgalabru wants to merge 1 commit into
Open
docs(purch): clarify buy vs shop, add purchase safety notes#212lgalabru wants to merge 1 commit into
lgalabru wants to merge 1 commit into
Conversation
An agent following this skill called POST x402/shop expecting it to place an order (the prose only mentioned shop and never named the actual buy endpoint), then hit a real checkout price 4x the search price and a transient Shopify 500 on the way to a working purchase.
Greptile SummaryThis documentation update distinguishes product discovery from purchasing and adds safeguards for physical-order execution.
Confidence Score: 5/5The PR appears safe to merge, with no changed-code defects or independently actionable documentation issues identified. The new guidance accurately distinguishes discovery from purchasing, matches the documented purchase request contract, and adds safeguards without changing machine-readable provider metadata. Important Files Changed
Reviews (1): Last reviewed commit: "docs(purch): clarify buy vs shop and add..." | Re-trigger Greptile |
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
x402/shopis discovery-only prose never named the actual purchase endpoint, so an agent following this skill calledx402/shopexpecting it to place an order — it just replied that shopping assistance is out of scope.POST x402/buyas the only endpoint that places/pays for a physical order, with its required fields.shippingAddressexplicitly).Test plan
pay catalog check providers/purch/marketplace/PAY.md— passes (one pre-existing warning unrelated to this change, about an OpenAPI summary string)