← All examples
CertificationCheckout
examples/CertificationCheckout.intent
CertificationCheckout.intent
1# CertificationCheckout.intent , Constraint composition + conflict resolution (Gap 1).2# Each role contributes constraints independently; IntentLang composes them and surfaces3# where they disagree. This is the reconciliation layer. See docs/intent-graph.md.45use product67mission CertificationCheckout89title "Buy a certification path"1011for Learner1213product requires14 purchase_completion at_least 70 percent1516experience requires17 checkout_steps at_most 318 guest_checkout available1920security requires21 strong_authentication for HighRiskPurchase2223legal requires24 explicit_consent before RecurringBilling2526operations requires27 checkout_availability at_least 99.95 percent2829# The author flags the known disagreement as a first-class conflict.30conflict GuestCheckoutAuthentication31 between32 Experience.GuestCheckout33 Security.StrongAuthentication34 options35 allow guest_checkout when PurchaseRisk is low36 authenticate after payment37 authenticate before payment38 resolve_by Product, UX, Security39 before ExperienceApproval4041owner ProductTeam4243approval required from44 Product45 UX46 SecurityDraft syntax. This file is illustrative and does not run yet.