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 |
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