docs: add discovery rules and agent checkout flow#18
docs: add discovery rules and agent checkout flow#18omsaisudarshan108 wants to merge 1 commit intoUniversal-Commerce-Protocol:mainfrom
Conversation
|
Thank you for your contribution to the Universal Commerce Protocol! While we appreciate your enthusiasm for UCP, this PR currently seems to be bundling a few things together. To break it down:
|
This PR focuses on documentation improvements: 1. Profile Validation Rules: Adds clear validation requirements for discovery profiles including version format, service requirements, endpoint format, and capability reference constraints. 2. Agent Checkout Reference Flow: Documents the canonical REST checkout sequence with a Mermaid diagram and minimal payload examples showing the create → update → complete flow. 3. Developer Tooling: Adds regenerate_artifacts.sh script to simplify the workflow for regenerating schemas and SDK models in one command. The discovery profile example now only includes UCP-governed capabilities (checkout, fulfillment, discount) following governance guidelines. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
b397704 to
d5f29e6
Compare
|
PR Update - Addressed Maintainer Feedback Changes Made Removed dev.ucp.shopping.cart ✅ Kept: Documentation improvements Profile Validation Rules (lines 359-370 in overview.md) Clear validation requirements for discovery profiles Mermaid sequence diagram showing canonical REST flow New scripts/regenerate_artifacts.sh convenience script |
Add 6 missed post-release changes discovered during full audit of 58 PRs merged after the 2026-01-23 branch was cut: Universal-Commerce-Protocol#16 — Optional request/response signing headers (PR Universal-Commerce-Protocol#156) [Additive] Universal-Commerce-Protocol#17 — Eligibility claims & provisional discounts (PR Universal-Commerce-Protocol#250) [High/Breaking] Universal-Commerce-Protocol#18 — Optional signals field on cart and checkout (PR Universal-Commerce-Protocol#203) [Additive] Universal-Commerce-Protocol#19 — Fulfillment method id/type optional on update (PR Universal-Commerce-Protocol#143/Universal-Commerce-Protocol#196) [Low] Universal-Commerce-Protocol#20 — intent field added to context (PR Universal-Commerce-Protocol#95) [Additive] Universal-Commerce-Protocol#21 — available_instruments added to payment handler (PR Universal-Commerce-Protocol#187) [Additive] Also updates PR_URLS map and changes/visible counts from 15 → 21. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add 6 missed post-release changes discovered during full audit of 58 PRs merged after the 2026-01-23 branch was cut: Universal-Commerce-Protocol#16 — Optional request/response signing headers (PR Universal-Commerce-Protocol#156) [Additive] Universal-Commerce-Protocol#17 — Eligibility claims & provisional discounts (PR Universal-Commerce-Protocol#250) [High/Breaking] Universal-Commerce-Protocol#18 — Optional signals field on cart and checkout (PR Universal-Commerce-Protocol#203) [Additive] Universal-Commerce-Protocol#19 — Fulfillment method id/type optional on update (PR Universal-Commerce-Protocol#143/Universal-Commerce-Protocol#196) [Low] Universal-Commerce-Protocol#20 — intent field added to context (PR Universal-Commerce-Protocol#95) [Additive] Universal-Commerce-Protocol#21 — available_instruments added to payment handler (PR Universal-Commerce-Protocol#187) [Additive] Also updates PR_URLS map and changes/visible counts from 15 → 21. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…and Universal-Commerce-Protocol#18 as not implemented Cart capability was not part of the 2026-01-23 spec (introduced 2026-01-26), so cart-to-checkout (Universal-Commerce-Protocol#13) is new capability work, not a migration concern. Eligibility claims (Universal-Commerce-Protocol#17) and signals (Universal-Commerce-Protocol#18) are not yet implemented in Shopify. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…and Universal-Commerce-Protocol#18 as not implemented Cart capability was not part of the 2026-01-23 spec (introduced 2026-01-26), so cart-to-checkout (Universal-Commerce-Protocol#13) is new capability work, not a migration concern. Eligibility claims (Universal-Commerce-Protocol#17) and signals (Universal-Commerce-Protocol#18) are not yet implemented in Shopify. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The changes and feedback from this PR was addressed in newest iterations of the documentation. Closing this. |
Summary
docs/specification/overview.mdwith Cart, Loyalty, and Post-Order capabilities.docs/specification/checkout-rest.md.scripts/regenerate_artifacts.shand document it inCONTRIBUTING.md.Testing