Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.grantex.dev/llms.txt

Use this file to discover all available pages before exploring further.

Agentic Commerce PRD

This is the canonical consolidated PRD for Grantex Commerce and AgenticOrg agentic commerce. It brings the seller journey, buyer journey, existing merchant systems, buyer-agent channels, standards fit, safety gates, implementation gaps, and fast-track roadmap into one place. This document is planning and documentation only. It does not deploy, create cloud resources, change production configuration, touch secrets, approve a real merchant, enable public discovery, enable production Commerce V1, enable checkout/payment creation, enable live payments, enable live Plural, or set a production allowlist.

1. Product Thesis

Agentic commerce should let a buyer ask an AI agent to discover, compare, and buy from a real merchant without the merchant rebuilding their business and without the agent inventing commerce facts. The product boundary is:
Grantex is the seller and merchant control plane. AgenticOrg is the buyer and agent-facing workflow layer. AgenticOrg may help a buyer shop, but every commerce fact and every protected action must come from Grantex.
The finished product should allow:
  • Sellers to self-serve into a sandbox merchant workspace.
  • Sellers to connect systems they already use.
  • Grantex to normalize those systems into governed commerce capabilities.
  • Buyers to start from familiar chat or agent surfaces.
  • AgenticOrg to run a buyer-agent session using only Grantex-approved tools.
  • Grantex to enforce consent, policy, Commerce Passport, payment boundaries, audit, rollback, and merchant approval.
  • Standards-facing surfaces to be generated from one canonical commerce model, not hand-maintained per platform.

2. Non-Negotiable Safety Boundary

An AI agent can initiate a commerce checkout through a payment provider only when Grantex can verify:
  • buyer consent;
  • scope;
  • merchant policy;
  • revocation status;
  • tenant boundary;
  • agent identity;
  • channel capability;
  • amount cap;
  • product/cart hash or equivalent cart evidence;
  • idempotency;
  • provider readiness;
  • audit evidence;
  • rollback readiness.
AgenticOrg must not:
  • hold provider credentials;
  • call Plural, Stripe, Pine, Razorpay, Cashfree, Adyen, PhonePe, or another payment provider directly for commerce execution;
  • call Shopify, WooCommerce, Magento, ERP, OMS, WMS, logistics, CRM/support, or merchant private APIs directly for commerce execution;
  • become the catalog, inventory, order, refund, settlement, or payout source of truth;
  • store raw Commerce Passport values, JWTs, tokens, idempotency key values, webhook secrets, DB/Redis URLs, private keys, raw payloads, private merchant artifacts, pricing terms, contracts, or customer data;
  • invent sellers, products, prices, discounts, stock, delivery promises, return eligibility, order status, payment status, settlement state, payout state, or refund outcomes.

3. Ownership Model

AreaGrantex ownsAgenticOrg owns
Merchant onboardingTenant, merchant workspace, verification, roles, category presets, sandbox/live split, approvals.Merchant education and demo walkthroughs only.
Existing merchant systemsConnectors, credentials, sync jobs, source-of-truth precedence, webhooks, reconciliation.No direct merchant-system execution path.
Catalog and inventoryProduct, variant, price, tax, warranty, return summary, availability, freshness, future reservations.Grounded read-only display through Grantex tools.
Policy and consentMerchant policy, amount caps, consent request, Commerce Passport, revoke/verify, audit.Buyer-facing explanation and Grantex consent handoff.
Payment and checkoutProvider-neutral payment intent, checkout handoff, provider webhooks, reconciliation, rollback.Request payment/checkout only through Grantex.
Order and fulfillmentOrder, cancellation, fulfillment, shipment, pickup/delivery, support, return/refund request, settlement/payout.Buyer-facing status once Grantex exposes it.
Agent channelsCapability approval and channel limits.ChatGPT, Claude, Gemini, WhatsApp, Telegram, web/mobile, and future channel adapters.
StandardsNative API, MCP, UCP-style, ACP-style, schema.org, AP2-evidence-ready publishing from canonical objects.Consume Grantex-published capabilities and render buyer-safe state.
Audit and opsAppend-only audit, redacted evidence, webhook replay, provider health, rollback, incident runbooks.Redacted agent session evidence and refusal evals.

4. Current Implementation Snapshot

4.1 Grantex Foundation

CapabilityCurrent stateGap
Merchant/tenant control planeOperator-led tenant and merchant foundations exist.Full self-serve runtime onboarding is incomplete.
Category presetsPreset/policy planning exists.Merchant-facing preset checklist and required-field scoring need implementation hardening.
Catalog and variantsProduct/variant APIs, search/detail, bulk dry-run/upsert, patch/archive, CSV/JSON-oriented portal support exist.Large async imports, connector sync, conflict handling, and rollback need hardening.
InventoryVariant availability and freshness exist.Quantity, location, confidence, reservations, stock holds, and delivery feasibility are missing.
Consent and Commerce PassportConsent request/exchange/verify/revoke/challenge foundation exists.Production challenge delivery and AP2-style signed mandate evidence are pending.
Cart/payment intentCart draft and provider-neutral payment intent foundation exists.Cart update/cancel/expire, fulfillment selection, and broad live checkout readiness are pending.
Provider/webhooksProvider credential and webhook intake/replay/reconciliation foundations exist.Live Plural/provider approval, signature evidence, outage handling, and rollback proof remain gated.
Merchant webhooksSigned merchant webhook source and catalog update intake exist.Inventory-only, price-only, order, fulfillment, support, return, and refund webhooks are pending.
MCP/native surfaceRead and checkout-oriented tools exist behind Grantex.Public discovery remains fail-closed; standards conformance is not complete.
Docs and CICommerce docs and docs-only workflow guard exist.Keep consolidated PRD, overview, guides, and nav current as slices land.

4.2 AgenticOrg Foundation

CapabilityCurrent stateGap
Grantex-only connector aliasesMerchant profile, catalog search/detail, inventory, cart, consent, payment intent, checkout, and payment status aliases exist.Order, fulfillment, support, return, refund, settlement, and payout aliases wait on Grantex APIs.
Sales agent guardrailsMissing consent/passport, amount-cap breach, disabled merchant/agent, policy denial, and non-mock provider protections exist.Guardrails must expand as Grantex adds more lifecycle capabilities.
Demo/evalsDemo, golden evals, hosted smoke, and no-direct-provider regression foundations exist.Channel-specific smoke and buyer UX evals are pending.
Public discoveryFail-closed behind AgenticOrg public discovery flag.Real merchant public discovery requires Grantex approval and AgenticOrg gating.
Docs-only CI guardDocs-only changes skip build/push/deploy-adjacent jobs.Keep guard current, especially for workflow changes.
Buyer channel launchPlanned in PRD.ChatGPT, Claude, Gemini, WhatsApp, Telegram, web/mobile, and future adapters are not launch-ready yet.

5. End-To-End Architecture

Existing merchant systems may include:
  • Shopify;
  • WooCommerce;
  • Magento;
  • custom storefront;
  • marketplace backend;
  • ERP;
  • PIM;
  • inventory system;
  • WMS;
  • OMS;
  • logistics provider;
  • payment provider;
  • CRM;
  • support desk;
  • finance/reconciliation system;
  • CSV/API/manual maintenance process.
Those systems connect to Grantex. AgenticOrg does not connect to those systems for commerce execution.

6. One-Time Seller Setup

The seller setup must be self-serve for preparation, but not self-approval for live commerce.
StepSeller actionGrantex requirementStatus/gate
1. Create workspaceSign up and create commerce tenant.Tenant boundary, merchant shell, owner role, sandbox/live split.Required before any data import.
2. Complete profileEnter legal name, display name, category, country, currency, support info, public description.Separate public-safe metadata from private artifacts.Public fields must pass review.
3. Verify merchantProvide legal/compliance/KYB/KYC evidence outside repos.Store only non-secret evidence references and decision state.No live mode without approval.
4. Choose category presetSelect category such as home goods, electronics, fashion, grocery, pharmacy, services, B2B.Apply required fields, policy defaults, tax, return, warranty, and safety expectations.Missing critical fields block readiness.
5. Connect systemsAdd storefront, ERP/PIM, inventory/WMS, OMS, logistics, payment, support, or CSV/API.Credential isolation, connector registry, sync status, webhooks, retry, stale state.Connector health required before use.
6. Declare source of truthDecide which source wins for catalog, price, inventory, order, fulfillment, support, refund, settlement.Record precedence, timestamps, conflict handling, and rollback.No silent conflict resolution.
7. Prepare catalogFix title, description, image, brand, SKU, variants, category, price, tax, warranty, return summary.Normalize to CommerceProduct and CommerceProductVariant.Public-safe preview required.
8. Prepare inventory/deliveryConfigure stock state, freshness, delivery/pickup, shipping, serviceability, logistics source.Block guarantees when stale, unknown, or unsupported.Checkout blocked if evidence is insufficient.
9. Configure agent permissionsChoose browse, compare, cart draft, checkout consent request, order status, support handoff, return/refund request.Convert to policy, scopes, channel capabilities, amount caps, audit rules.Each capability separately approved.
10. Configure paymentConnect sandbox provider first; request live provider later.Provider-neutral adapter, credential validation, webhook signature, replay window, reconciliation.Live remains blocked until approved.
11. Review previewsSee AI-agent-facing profile, catalog, policy, schema.org, and channel labels.Render exact public-safe payload and blocked paths.Product wording and security review required.
12. Run scansRun secret/private-detail, overclaim, synthetic-ID, production-ID, config/allowlist, stale-data scans.Produce redacted evidence and blocker codes.Clean scans required for readiness.
13. Assign ownersMerchant owner, legal, product, security, ops, backup/RPO, rollback, smoke, evidence retention, AgenticOrg dependency.Store non-secret owner references and approval state.Missing owners block rollout.
14. Rehearse launchRun sandbox/demo buyer journey and rollback drill.Generate smoke evidence and rollback checklist.Required before rollout proposal.
15. Request rolloutAsk for smallest approved surface, usually read-only discovery first.Keep fail-closed until explicit approval.Separate rollout approval required.

7. One-Time Buyer Setup

The buyer setup should feel like normal chat/app account linking.
StepBuyer actionAgenticOrg requirementGrantex requirement
1. Choose channelUse ChatGPT, Claude, Gemini, WhatsApp, Telegram, web/mobile, or future approved channel.Start the correct channel adapter.Publish approved channel capability metadata.
2. Link or sign inConnect account if needed.Create or resume buyer-agent session and bind channel identity.Avoid exposing private merchant/provider data.
3. Set preferencesLocale, currency, delivery region, notification path, accessibility, optional spend comfort.Store only safe preferences for conversation and handoff.Use preferences for policy and consent copy where needed.
4. Understand actionsSee browse, compare, draft cart, request checkout, read status, support handoff, blocked actions.Render channel-specific capability labels.Return approved capabilities and blocker reasons.
5. Consent when neededApprove or deny payment-affecting actions.Never bypass consent or present it as already granted.Issue scoped Commerce Passport only after consent and policy pass.
6. Manage historyAsk what happened or revoke permission.Show redacted agent session/evidence status.Own revocation, protected action history, and audit.
Buyer setup is not a standing payment approval. Every payment-affecting action still needs Grantex consent, Commerce Passport evidence, policy approval, idempotency, and audit.

8. Regular Agentic Commerce Transaction

Plain-English happy path:
  1. Buyer asks an agent to find, compare, or buy.
  2. AgenticOrg starts or resumes the buyer session.
  3. AgenticOrg asks Grantex which merchant and channel actions are approved.
  4. AgenticOrg searches catalog and checks inventory through Grantex only.
  5. Grantex returns grounded product, price, policy, return, warranty, and stock freshness facts.
  6. AgenticOrg explains options and caveats.
  7. Buyer chooses an item.
  8. AgenticOrg creates a Grantex cart draft with exact variant IDs.
  9. Grantex recalculates totals, policy, amount caps, inventory freshness, and checkout eligibility.
  10. Buyer approves or denies Grantex consent.
  11. Grantex issues scoped Commerce Passport status only if consent and policy pass.
  12. AgenticOrg requests payment intent and checkout handoff through Grantex.
  13. Provider interaction happens through Grantex only.
  14. Grantex receives webhooks, reconciles status, writes audit, and creates or references order state where supported.
  15. AgenticOrg reports buyer-safe status.
  16. Post-purchase order, delivery, support, return, refund, settlement, and payout answers come only from Grantex after those APIs exist and are approved.

9. Exception And Recovery Flows

SituationBuyer experienceSeller experienceRequired behavior
Merchant not approvedAgent says merchant is not available for agentic commerce yet.Seller sees missing approval state.Grantex remains fail-closed.
Channel is read-onlyBuyer can browse and gets safe handoff or unsupported-action copy.Seller sees channel capability limit.AgenticOrg cannot pretend write actions are available.
Product not foundAgent asks clarifying question or says unavailable.Seller may see missing catalog coverage.No guessed products.
Product data incompleteAgent says it cannot verify enough detail.Seller sees missing required fields.Readiness score blocks launch or capability.
Price changedBuyer sees updated total and must confirm again.Seller sees audit and source timestamp.Grantex invalidates stale cart totals.
Inventory stale/unknownBuyer gets warning or checkout refusal.Seller sees stale inventory blocker.No stock or delivery guarantee.
Delivery unavailableBuyer gets no delivery promise.Seller sees logistics/serviceability blocker.Checkout blocked if fulfillment proof required.
Consent denied/expiredCheckout stops.Seller sees no payment attempt.No passport issued or stale passport revoked.
Policy deniedBuyer sees safe reason without private policy.Seller sees blocker code.Audit written, private policy not leaked.
Payment failed/pendingBuyer sees status and next supported step.Seller sees reconciliation state.Provider webhook/replay remains Grantex-owned.
Order API missingBuyer cannot get order promise.Seller sees launch gap.Broad paid rollout blocked.
Refund/return requestedBuyer gets manual support handoff now; future request/status later.Seller handles in approved system.No automatic refund execution until separately approved.
Settlement/payout questionBuyer usually does not see it; seller sees payout status when available.Seller sees payout/reconciliation report.No raw provider payload exposure.

10. Existing Merchant APIs And Systems

Merchants should not rebuild for agents. They should connect the systems they already run.
SystemGrantex should ingestCanonical Grantex targetNotes
Shopify/WooCommerce/Magento/custom storefrontProducts, variants, media, collections, availability, pricing.CommerceProduct, CommerceProductVariant, catalog readiness, schema.org feed.Start read-only; writeback only after approval.
ERP/PIMProduct master, attributes, tax codes, SKU hierarchy, category truth.Catalog/category/policy mapping.Merchant declares source-of-truth precedence.
Inventory/WMSStock state, quantity, location, reservation, confidence, reorder state.Availability now; future inventory levels/reservations.Browse can use buckets; checkout needs stronger freshness.
OMSOrder creation, order ID, status, cancellation, fulfillment, return status.Future CommerceOrder and timeline.Required before broad checkout.
LogisticsDelivery promise, shipping price, pickup slot, tracking, failed delivery.Fulfillment options and tracking events.Needed for buyer trust and UCP order capability.
Payment providerPayment intent/order, hosted checkout, status webhook, settlement, refunds.Provider-neutral payment intent, webhook event, reconciliation, settlement/payout.Credentials stay in Grantex only.
CRM/supportTicket, support status, return/refund escalation, customer communication.Support/return/refund request timeline.Start manual/reference, automate later.
CSV/manual/APIBootstrap catalog, policy, inventory, and approval metadata.Same canonical objects.Must include dry-run, validation, history, and rollback.
Connector rule:
A connector imports or syncs data. It does not make a merchant live for agents. Live agent access requires readiness checks, policy activation, consent, human approval, audit, and rollback ownership.

11. Buyer Channel Requirements

Buyers should be able to launch from familiar surfaces, but no channel is launch-ready until its platform-specific constraints and approval gates pass.
ChannelIntended launchRequired work
Web/mobileAgenticOrg-hosted buyer session or merchant-embedded widget.First controllable launch path, session resume, Grantex merchant selector, consent redirect, analytics attribution.
ChatGPTRemote MCP-backed custom app/package where available.App manifest, OAuth/account linking, action labels, confirmation copy, app review, fallback to read-only when writes unavailable.
ClaudeRemote MCP connector.Endpoint, auth, tool descriptions, least-privilege scopes, test harness, refusal behavior.
GeminiGemini API/function-calling or hosted wrapper.Function declarations, tool execution loop, consent handoff, clear label for native support status.
WhatsAppWhatsApp Business Platform bot/webhook adapter.WABA setup, templates, session window, identity binding, consent link, rate limits, opt-out, human escalation.
TelegramTelegram Bot API adapter.Bot setup, webhook receiver, secret validation, identity mapping, inline buttons, consent link, rate limits.
Other channelsMCP, A2A, REST, webhook, or hosted handoff depending on platform.Capability matrix, auth, consent, fallback, telemetry, smoke tests.
Launch-ready acceptance:
  • real user starts without developer setup;
  • account/channel identity is bound safely;
  • merchant discovery comes from Grantex;
  • actions are labeled read-only, consent-required, checkout-capable, or blocked;
  • Grantex-only tools execute commerce actions;
  • consent and checkout copy is clear;
  • platform write-action limitations are respected;
  • redacted telemetry and audit evidence exist;
  • smoke tests and refusal tests pass;
  • fallback exists for unsupported actions.

12. Standards And Protocol Fit

The strategy is one canonical Grantex commerce model with protocol views generated from it.
SurfacePurposeRequirement
Native Grantex APIFirst-party control and enforcement.Remains source of truth.
MCPAgent tool transport.Expose policy-checked tools backed by Grantex APIs.
UCP-style profileCapability discovery and shopping capabilities.Publish only approved merchant/channel capability state.
ACP-style checkoutAgentic checkout/session/order/refund shapes.Map Grantex cart/payment/order state where provider and merchant support it.
AP2-style evidenceSigned authorization/mandate evidence for agent payments.Map consent, Commerce Passport, cart hash, policy, amount cap, audit hash, and key rotation to future evidence.
schema.orgPublic product/offer/shipping/return metadata.Generate public-safe JSON-LD/feed from approved fields only.
A2A or future agent surfacesAgent-to-agent discovery/handoff.Use only Grantex-approved capability metadata and AgenticOrg channel guardrails.
Do not claim certified UCP, ACP, AP2, A2A, MPP, schema.org production, or live provider readiness until implementation, conformance tests, approvals, and release evidence exist.

13. Conceptual Data Model

The implementation should preserve these conceptual records. Some already exist in V1 form; others are future gaps.
RecordOwnerPurposeCurrent posture
CommerceTenantGrantexTenant boundary.Foundation exists.
CommerceMerchantGrantexSeller identity and policy anchor.Foundation exists.
CommerceCategoryPresetGrantexCategory-required fields and defaults.Foundation exists/planned hardening.
CommerceConnectorSourceGrantexExisting-system connection and health.Gap.
CommerceImportJobGrantexAsync import, dry-run, errors, rollback.Gap.
CommerceProductGrantexProduct truth.Foundation exists.
CommerceProductVariantGrantexSKU/variant/price/inventory anchor.Foundation exists.
CommerceInventoryLevelGrantexQuantity/location/freshness/reservation.Gap beyond availability buckets.
CommercePrice/OfferGrantexTax, discount, EMI, coupon, offer freshness.Gap beyond basic price fields.
CommercePolicyGrantexMerchant permissions and amount caps.Foundation exists.
CommerceConsentRecordGrantexBuyer consent record.Foundation exists.
CommercePassportGrantexScoped checkout authorization.Foundation exists.
CommerceCartGrantexCart draft/update/cancel/expire.Foundation exists; lifecycle gaps remain.
CommercePaymentIntentGrantexProvider-neutral payment intent.Foundation exists.
CommerceOrderGrantexPost-payment order record.Gap.
CommerceFulfillmentEventGrantexShipment/pickup/delivery status.Gap.
CommerceReturnRequestGrantexReturn workflow.Gap.
CommerceRefundRequestGrantexRefund request and approval.Gap.
CommerceSettlement/PayoutGrantexSeller payment reporting.Gap.
CommerceAuditEventGrantexAppend-only evidence.Foundation exists.
CommerceAgentSessionAgenticOrg/Grantex boundaryBuyer-agent session attribution and channel state.Foundation/planning.
ChannelAdapterConfigAgenticOrgPlatform launch and capability limits.Gap.

14. Product Requirements By Surface

SurfaceRequirementAcceptance
Merchant dashboardChecklist, profile, category, systems, readiness score, preview, approvals, rollout, rollback.Non-engineer can see what is missing and why launch is blocked.
Merchant APITenant-safe create/read/update for profile, catalog, inventory, policy, connector source, webhook source, readiness.Every UI action has API equivalent or is explicitly operator-only.
Connector frameworkSource type, credential reference, sync status, last run, stale state, row errors, retry, disable.Failed sync cannot silently publish stale facts.
CatalogProduct, variant, media, category, price, tax, warranty, return, source, freshness.Agent answers grounded in exact IDs.
InventoryAvailability now; future quantity, location, reservation, confidence, TTL.Unknown/stale inventory warns or blocks, never guarantees.
Cart/checkoutCart draft/update/cancel, fulfillment option, consent, passport, payment intent, checkout link.Checkout cannot progress without consent, policy, idempotency, audit.
OrderOrder reference, status, line items, payment reference, fulfillment status, cancellation, support link.Paid checkout has an operational record.
Returns/refundsRequest, eligibility, manual approval, provider handoff, status, audit.Execution blocked until separate provider approval.
SettlementPayout/read model, fees, taxes, reconciliation, export.Seller can answer “when do I get paid?” without raw provider payloads.
Protocol adaptersUCP-style, MCP, ACP-style, schema.org, AP2 evidence draft.Generated from canonical objects with tests and no unsupported claims.
Buyer channelsWeb/mobile, ChatGPT, Claude, Gemini, WhatsApp, Telegram, future adapters.Each has launch, auth, consent, fallback, smoke evidence.
Audit/opsAppend-only audit, redacted logs, metrics, runbooks, replay, incident severity.No protected action acknowledged without durable evidence.
Security/privacyCredential isolation, secret redaction, tenant filtering, role checks, webhook signatures, rate limits.Cross-tenant and secret-exposure tests fail closed.

15. Comprehensive Gap Register

GapImpactOwnerFast-track outputBlocker if skipped
Self-serve merchant signupMerchants need to join without engineering tickets.GrantexSandbox workspace, roles, category, checklist.Operator-only onboarding does not scale.
Merchant verificationReal merchant identity must be trusted.Grantex + reviewersPrivate evidence refs and review workflow.No live approval.
Existing-system connectorsMerchants will not duplicate data manually.GrantexCSV/manual plus one priority connector.Stale or manual-only launch.
Large catalog importsReal sellers have many SKUs.GrantexAsync import, dry-run, row errors, rollback.Timeouts and silent data loss.
Source-of-truth precedenceSystems can disagree.GrantexConflict rules and sync timestamps.Wrong price/stock/order facts.
Inventory depthAgents must not promise stock incorrectly.GrantexQuantity/location/freshness/reservation model.Unsafe checkout promises.
Delivery/pickupBuyers need fulfillment confidence.GrantexServiceability, slots, fees, ETA, carrier data.False delivery promises.
Pricing/tax/offers/EMIAgents need correct totals.GrantexFresh price, tax, coupons, discounts, EMI metadata.Invented discounts or totals.
Cart lifecycleCheckout needs update/cancel/expire.GrantexCart update, recalc, fulfillment selection, expire.Stale cart risk.
Order lifecyclePayment without order ops is incomplete.GrantexOrder create/read/status/cancel.Paid launch unsafe.
Fulfillment lifecycleBuyers ask where items are.GrantexShipment, pickup, partial fulfillment, failed delivery.Agent invents delivery.
Returns/refundsPost-purchase trust.GrantexRequest, eligibility, manual approval, audit.Unsafe refund claims.
Settlement/payoutsSellers need money visibility.GrantexProvider-neutral payout reporting.Merchant ops blind spot.
Live provider readinessPayments need approval.GrantexSandbox validation, live credential approval, webhook signatures.Live provider risk.
Commerce Passport production deliveryReal consent needs delivery.GrantexEmail/SMS/passkey challenge, revocation, signed evidence.Weak authorization.
Policy simulatorMerchants need confidence.GrantexPreview policy by product/category/channel/amount.Accidental capability exposure.
Standards adaptersMajor platforms need standard surfaces.Grantex publishes; AgenticOrg consumesUCP/ACP/MCP/schema.org/AP2 fixtures.Fragmented protocol state.
Buyer channel launchBuyers need easy entry.AgenticOrg + Grantex approvalWeb/mobile, MCP, WhatsApp/Telegram, Gemini adapters.Agentic commerce hard to use.
Buyer UXBuyers need understandable flow.AgenticOrgGrounded compare, cart, consent, checkout status, refusal copy.Confusing or unsafe agent behavior.
Merchant demo UXSellers need education.AgenticOrgDemo walkthroughs and blocked-path examples.Misunderstanding production readiness.
Evals/regressionsGuardrails must remain true.AgenticOrgNo invention, no direct-provider, stale/refusal tests.Regression risk.
Ops/support dashboardsTeams need recovery.BothPolicy denial, stale sync, stuck payment, webhook replay, support handoff.Incidents are hard to resolve.
Analytics/attributionSellers need value proof.Grantex source + AgenticOrg contributionChannel attribution, conversion, refusal reasons.No ROI visibility.
Docs and workflowsTeams need shared truth.BothThis consolidated PRD, guides, runbooks, docs nav.Drift and duplicated plans.
CI/deploy safetyDocs-only changes should not deploy.BothPath guards and docs-only checks.Planning merges create cloud/build side effects.

16. Fast-Track Roadmap

PhaseGoalDeliverablesGuardrail
1. Consolidated PRD and docs alignmentOne source of truth.This PRD, docs nav, overview links, AgenticOrg pointers.Docs-only.
2. Seller sandbox onboardingMerchant can prepare without engineers.Workspace, profile, category, owner roles, checklist.No live enablement.
3. Catalog connector MVPMerchant data enters Grantex.CSV/manual plus one priority storefront connector; dry-run.No automatic live publish.
4. Public-safe previewMerchant sees what agents can see.Catalog/profile preview, schema.org draft, readiness score.Fail-closed until approved.
5. Buyer web/mobile channelFirst controllable buyer launch.AgenticOrg hosted session or widget.Read-only first.
6. ChatGPT/Claude MCPMajor AI chat surfaces.Remote MCP app/connector, auth, scopes, smoke.Respect platform write limits.
7. WhatsApp/TelegramMessaging channels.Bot/webhook adapters, identity, consent link, opt-out.Secrets outside Git.
8. Gemini channelGemini-powered buyer sessions.Function-calling wrapper or approved native route.Label native support accurately.
9. Inventory freshness and cartSafe product selection.Freshness TTL, stale refusal, exact-ID cart draft.No checkout promise if stale.
10. Sandbox consent/checkoutFull rehearsal.Consent, Passport, mock/provider-neutral checkout.No live provider.
11. Order/fulfillment backboneOperational paid flow.Order, shipment, pickup/delivery, cancellation.Required before broad checkout.
12. Return/refund requestSafe post-purchase support.Request, eligibility, manual approval, audit.No automatic refund execution.
13. Settlement/payout reportingSeller finance visibility.Reconciliation and payout read model.No raw provider payloads.
14. Standards hardeningPlatform interoperability.UCP/ACP/MCP/schema.org/AP2 fixtures.No certification claims without evidence.
15. Controlled pilotMinimal real launch.One merchant, category, channel, provider, geography, rollback owner.Separate explicit approval.

17. Release Acceptance Criteria

Before a real merchant pilot:
  • Merchant workspace, identity, category, and owners are approved.
  • Existing-system connector or approved manual maintenance path is healthy.
  • Catalog, price, tax, warranty, return, inventory, delivery, and support data pass category requirements.
  • AgenticOrg can only see Grantex-approved capabilities.
  • Buyer channel has auth, account/session linking, capability labels, consent handoff, fallback behavior, telemetry, and smoke evidence.
  • Checkout/payment creation remains blocked until Commerce Passport consent, policy, audit, idempotency, provider readiness, and rollback checks pass.
  • Paid flow has order, fulfillment, support, and return/refund handoff.
  • Live provider approval, webhook signature evidence, outage handling, and rollback are complete for any live checkout scope.
  • UCP/ACP/AP2/schema.org/A2A language is backed by implementation and tests, or clearly marked future/planned.
  • Docs-only changes do not trigger cloud auth, image build, image push, deploy, e2e, or indexing jobs.
  • No private merchant artifacts, secrets, raw payloads, tokens, JWTs, DB/Redis URLs, provider credentials, production config values, or concrete allowlist values are committed.

18. Stop Conditions

Stop implementation or rollout if any of these occur:
  • real merchant identity is missing or unapproved;
  • private artifacts, customer data, secrets, raw payloads, tokens, JWTs, DB/Redis URLs, private keys, provider credentials, or production config values appear in Git or public docs;
  • AgenticOrg adds a direct provider or private merchant-system execution path;
  • checkout can happen without consent, Commerce Passport, policy, idempotency, audit, and amount-cap checks;
  • catalog, price, tax, inventory, delivery, return, warranty, order, payment, or refund data is stale or unverifiable but presented as guaranteed;
  • paid checkout is enabled before order, fulfillment, support, return/refund handoff, and rollback are ready for the pilot scope;
  • synthetic/demo data is treated as production approval;
  • public discovery, production Commerce V1, checkout/payment creation, live payments, live Plural, or allowlist values are enabled without separate approval;
  • certification or compliance with UCP, ACP, AP2, A2A, MPP, schema.org, or a provider program is claimed before evidence exists;
  • docs-only changes trigger cloud build/push/deploy-adjacent work without an explicit policy decision.

19. Documentation And Workflow Updates

SurfaceRequirement
This PRDCanonical cross-repo product truth.
Grantex overviewLink to this PRD as the source of truth.
Grantex implementation PRD and end-to-end guideKeep as supporting summaries, not divergent product truth.
Grantex docs.jsonKeep this PRD discoverable in Agentic Commerce V1 nav.
AgenticOrg overview and implementation PRDPoint back to this PRD and preserve AgenticOrg-specific responsibilities.
AgenticOrg developer guideKeep direct-provider bans, channel adapter rules, and Grantex-only alias rules current.
Merchant/operator guideExplain seller one-time setup, approval gates, existing-system connectors, and rollback.
Operations guideExplain stale sync, webhook replay, payment reconciliation, support handoff, rollback, and incidents.
Landing pagesUse public-safe copy: connect existing systems, preview agent-ready commerce, request approval. No live/certification claims.
GitHub workflowsPreserve docs-only guard and treat workflow changes as non-docs-only.

20. End-To-End Review Checklist

This PRD has been reviewed against the requested coverage:
  • seller one-time setup covered;
  • buyer one-time setup covered;
  • regular transaction flow covered;
  • failure and recovery paths covered;
  • Grantex and AgenticOrg responsibilities covered;
  • existing merchant APIs and systems covered;
  • ChatGPT, Claude, Gemini, WhatsApp, Telegram, web/mobile, and future channels covered as launch surfaces;
  • MCP, UCP-style, ACP-style, AP2-style, schema.org, and future agent surfaces covered without unsupported certification claims;
  • catalog, inventory, pricing, tax, delivery, order, fulfillment, support, return, refund, settlement, payout, audit, analytics, and ops gaps covered;
  • self-serve onboarding, scans, review gates, smoke evidence, and rollout gates covered;
  • safety boundaries, stop conditions, and production gates covered;
  • documentation/navigation/workflow coverage covered;
  • next implementation sequencing covered.
Remaining decision for the team: choose the first implementation slice from the fast-track roadmap. The recommended first slice is seller sandbox onboarding, followed by catalog connector MVP and read-only buyer discovery.