The module contract is Module Protocol 1 with the operation shape of decision 004 (accepted 11 October 2026); the request examples below use its operations. The Module JSON 1.0 proposal this matrix was written against is archived. P0 below denotes the proposed scenario scope, not shipped features.
Agent scenario matrix by store entity
125 scenarios across 28 groups · updated 8 October 2026. A requirements catalog, not a list of shipped features. Based on OpenCart 3 entities and merchant work. Extend and refine it as needed; platform extensions make a literal list of every possible case impossible.
Choose a group, then a scenario. Use its stable ID in tasks, capability specifications and tests. Resource names in the data column express domain dependencies, not newly published JSON methods or remotely accessible SQL tables.
Operation shape · Building a module · Module JSON 1.0 (archived) · Download matrix JSON.
Reading the matrix
- P0 — agreed pilot: connection, catalog reads, one approved base-price change and its outcome. P0 still describes a requirement, not implemented readiness.
- P1 — next-stage candidates: additional reads, analytics and composite workflows. P2 — advanced administration. P3 — shopper agent. These are planning stages, not deadlines or an expanded pilot commitment.
- R — read/analyze. W — mutation or external effect: exact plan and approval, or an explicitly bounded standing policy. H — prepare and hand off to a human; no autonomous execution in this contract.
- CORE — source entities exist in the base OpenCart model; this does not mean our JSON module already supports them. EXT — requires an additional source, extension or provider. SD — a Store Deputy workflow over module capabilities; the module does not run an LLM or schedules.
Source labels do not remove dependencies: an SD workflow requires every underlying method. Permission-hidden, absent and zero values are distinct states.
Requests from MCP through the API to the module
The new column shows HTTP JSON bodies sent by Store Deputy API, not MCP tools/call envelopes. Agentfy calls an MCP tool; Store Deputy validates identity/authority and constructs these module requests. One scenario may require several requests and server-side work between them.
The column defines the target request format to implement: one protocol / id / op / params envelope for every operation. These are MCP-to-module requirements, not a description of legacy code or an implementation status report. The API checks each operation against the connected module’s capabilities. Store Deputy handles calculations, owner approvals and composite workflows.
Each numbered block is a separate request, not a batch. IDs, values, revisions and SERVER_BOUND_PASS are synthetic: take real values from prior responses and trusted server context. Stop on an error or ambiguity. Conditional writes require API approval, ledger and retry rules; the request body alone does not authorize them. The examples illustrate the central step, not every alternative in a scenario. Manual scenarios show only reads, if any, not forbidden writes.
Common transport (header values are placeholders, not valid signatures):
POST /storedeputy.php HTTP/1.1
Host: shop.example
Content-Type: application/json; charset=utf-8
X-SD-Connection: <paired-connection-id>
X-SD-Timestamp: <unix-seconds>
X-SD-Nonce: <fresh-random-nonce>
X-SD-Signature: v1=<computed-hmac>Use the registered endpoint and current signing rules; never place keys in tool arguments or query strings. All examples are also in the downloadable matrix JSON under moduleRequests.
Groups
- Products — 9
- Categories — 5
- Manufacturers — 4
- Attributes and attribute groups — 4
- Options and values — 4
- Catalog filters — 3
- Prices, discounts and specials — 7
- Inventory and physical properties — 5
- Images and media — 4
- Digital products and downloads — 3
- Customers — 6
- Customer groups and custom fields — 3
- Customer credit and reward points — 3
- Orders — 6
- Shipping, payments and fulfillment — 4
- Product returns — 4
- Recurring profiles and payments — 3
- Reviews, comments and support — 4
- Coupons — 4
- Gift vouchers — 3
- Campaigns, affiliates and messaging — 4
- Content, translations and SEO — 5
- Banners, layouts and presentation — 3
- Storefronts, settings and reference data — 4
- Analytics and interpretation — 6
- Shopper agent: cart and account — 6
- Schedules and composite workflows — 5
- Connection, audit and maintenance — 4
Products
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| PRODUCTS-01 P0 · R · CORE | Find a product by SKU, model or name | products: id, sku, model, name, language | Show candidates and IDs; never silently choose an ambiguous SKU |
|
| PRODUCTS-02 P0 · R · CORE | Filter disabled, low-price or low-stock products | products: enabled, categoryId, quantity, basePrice | Combine filters and paginate; low stock needs an explicit threshold |
|
| PRODUCTS-03 P0 · R · CORE | Explain the current state of a selected product | products: basePrice, currency, revision, affectedStoreIds | Do not present base price as the final shopper price |
|
| PRODUCTS-04 P1 · R · CORE | Audit missing images, descriptions, brand and SKU | products, translations, media associations | Return issues by ID and language; requires fields beyond P0 |
|
| PRODUCTS-05 P1 · R · CORE | Find possible duplicate products | products: identifiers, name, manufacturer, options | Explain matching evidence; differing options may represent distinct products |
|
| PRODUCTS-06 P2 · W · CORE | Create a product from owner instructions or a file | products, categories, tax classes, languages | Draft, required fields and approval; do not invent specifications |
|
| PRODUCTS-07 P2 · W · CORE | Enable or disable selected products | products: enabled, store assignments, revision | Show affected storefronts and freeze IDs before writing |
|
| PRODUCTS-08 P2 · W · CORE | Assign related products | products, related products, revisions | No self-links; show added and removed associations |
|
| PRODUCTS-09 P2 · H · CORE | Prepare deletion or merging of duplicate products | products, order references, media, downloads | Dependency plan only; deletion and history migration are outside the current contract |
|
Categories
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| CATEGORIES-01 P1 · R · CORE | Show the category tree and empty sections | categories: parentId, path, translations, product counts | Count by storefront and visibility; do not delete empty sections |
|
| CATEGORIES-02 P2 · W · CORE | Create a category and its localized content | categories: parent, translations, storeIds | Validate parent, language and storefronts; publish after approval |
|
| CATEGORIES-03 P2 · W · CORE | Move a category under another parent | categories: tree, parentId, revisions | Reject cycles; show the new path and descendant impact |
|
| CATEGORIES-04 P2 · W · CORE | Assign products to categories | products ↔ categories, revisions | Distinguish adding from replacing; preserve unrelated associations |
|
| CATEGORIES-05 P2 · H · CORE | Plan merging or removal of old categories | categories, children, product bindings, seo urls | Plan product and URL migration; deletion needs a separate capability |
|
Manufacturers
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| MANUFACTURERS-01 P1 · R · CORE | Find brands and products without a manufacturer | manufacturers, products, storeIds | Distinguish absent associations from fields hidden by permissions |
|
| MANUFACTURERS-02 P2 · W · CORE | Create or correct a manufacturer | manufacturers: name, image, sortOrder, storeIds | Check similar names; retries must not create duplicates |
|
| MANUFACTURERS-03 P2 · W · CORE | Assign a brand to selected products | products ↔ manufacturers, revisions | Show old and new manufacturer for each product ID |
|
| MANUFACTURERS-04 P2 · H · CORE | Plan merging duplicate brands | manufacturers, products, seo urls | Plan association and URL migration; equal names do not prove identity |
|
Attributes and attribute groups
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| ATTRIBUTES-01 P1 · R · CORE | Find missing product specifications | attributes, attribute groups, product translations | Required fields come from owner category templates, not model assumptions |
|
| ATTRIBUTES-02 P2 · W · CORE | Create category specification dictionaries | attribute groups, attributes, translations | Check semantically similar existing attributes |
|
| ATTRIBUTES-03 P2 · W · CORE | Populate specifications from supplier data | product attributes, supplier evidence, language | Keep evidence per value; do not invent missing facts |
|
| ATTRIBUTES-04 P2 · W · CORE | Normalize specification formatting | attribute text values, units, revisions | Show unit conversions and before/after; text values are not always numeric |
|
Options and values
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| OPTIONS-01 P1 · R · CORE | Explain available sizes, colors and surcharges | product options: required, type, values, quantity, adjustments | Do not assume option combinations are first-class OpenCart variant SKUs |
|
| OPTIONS-02 P2 · W · CORE | Create an option and its values | options, option values, localized names | Option type determines valid structure; check existing values |
|
| OPTIONS-03 P2 · W · CORE | Attach selectable options to a product | products ↔ options, required, revisions | Preserve existing options; show required-selection changes |
|
| OPTIONS-04 P2 · W · CORE | Change a specific option value surcharge or stock | option values: price prefix, amount, weight, quantity | Base-price writes do not update options; verify platform calculation |
|
Catalog filters
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| FILTERS-01 P1 · R · CORE | Find products missing category filter assignments | filter groups, filters, category/product bindings | Show missing associations; storefront facets are not JSON query predicates |
|
| FILTERS-02 P2 · W · CORE | Create a filter group and values | filter groups, values, translations | Check duplicates and languages; do not invent product properties |
|
| FILTERS-03 P2 · W · CORE | Assign filters from verified specifications | categories ↔ filters, products ↔ filters | Show mapping rules and exact association changes |
|
Prices, discounts and specials
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| PRICES-01 P0 · W · CORE | Set an approved product base price | basePrice, currency, revision, affectedStoreIds | Exact values/all storefronts, current revision, receipt and read-back |
|
| PRICES-02 P1 · W · SD | Update prices from a supplier file | supplier rows, products.search/get, products.price.set | Server matches rows; resolve ambiguity; report each product outcome |
|
| PRICES-03 P1 · W · SD | Raise category prices by a specified percentage | materialized product IDs, price revisions, formula | Server formula, explicit rounding, frozen plan; no global transaction |
|
| PRICES-04 P2 · R · CORE | Explain why a shopper sees a different price | basePrice, specials, discounts, customer group, quantity | Use group, quantity, date and tax context; platform computes total |
|
| PRICES-05 P2 · W · CORE | Schedule a special price | specials: price, priority, customerGroupId, dates | Show overlaps, timezone and priority; preserve base price |
|
| PRICES-06 P2 · W · CORE | Configure quantity discounts | discounts: quantity threshold, group, priority, dates | Validate quantity thresholds, groups and overlapping rules |
|
| PRICES-07 P2 · R · EXT | Find below-cost sales or unusual prices | supplier costs, tax basis, price history | Costs/history require a source; absent data cannot prove margin |
|
Inventory and physical properties
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| INVENTORY-01 P1 · R · CORE | Audit stock and availability inconsistencies | product/option stock, subtract, minimum, stock status | Distinguish stock labels, quantity and purchase permission |
|
| INVENTORY-02 P2 · W · CORE | Apply a stocktake count | inventory revisions, count sheet, product/option IDs | Specify set versus delta; protect concurrent sales |
|
| INVENTORY-03 P2 · W · CORE | Change minimum quantity or stock subtraction rules | minimum, subtract, out-of-stock behavior | Show effects on checkout eligibility and future orders |
|
| INVENTORY-04 P2 · W · CORE | Set weight, dimensions and storage location | weight, dimensions, units, shipping flag, location | Validate units and evidence; do not infer weight from an image |
|
| INVENTORY-05 P2 · R · EXT | Prepare replenishment recommendations | stock, sales velocity, supplier lead time, safety stock | Lead time needs an explicit source; recommendations do not place purchase orders |
|
Images and media
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| MEDIA-01 P1 · R · CORE | Find missing or duplicate images | image associations, file metadata, product IDs | Distinguish missing files from unreachable URLs; metadata needs a capability |
|
| MEDIA-02 P2 · W · CORE | Upload an image and set it as primary | media upload, MIME, size, dimensions, product images | Allowed types, sizes and paths; protect remote fetches against SSRF |
|
| MEDIA-03 P2 · W · CORE | Reorder a product gallery | product image associations, order, revision | Change associations without deleting shared files |
|
| MEDIA-04 P2 · H · CORE | Prepare unused-media cleanup | media references across products/categories/banners | Require complete reference analysis; automatic deletion is outside the contract |
|
Digital products and downloads
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| DOWNLOADS-01 P1 · R · CORE | Audit digital product files | downloads, product associations, file availability | Do not expose server paths or private download URLs to shoppers |
|
| DOWNLOADS-02 P2 · W · CORE | Attach a download to a digital product | downloads, translations, product bindings | Verify ownership and binding; do not make the file public |
|
| DOWNLOADS-03 P3 · R · CORE | Help a shopper access a purchased download | verified customer, order status, download entitlement | Entitlement follows platform order/session, not a chat assertion |
|
Customers
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| CUSTOMERS-01 P1 · R · CORE | Find a customer and summarize their history | customers: ID, email, telephone, store, group | Minimize personal fields; exclude other teams’ data |
|
| CUSTOMERS-02 P1 · R · CORE | Identify new, repeat or inactive customers | customers, orders, dates, statuses, currency | Define period and qualifying orders; a segment is not marketing consent |
|
| CUSTOMERS-03 P2 · W · CORE | Correct profile contact details or an address | customer profile, addresses, revisions | Verify identity; profile edits do not alter historical order addresses |
|
| CUSTOMERS-04 P2 · W · CORE | Create a customer or approve registration | customers, groups, approval rules | Check duplicates and registration rules; never expose passwords to the agent |
|
| CUSTOMERS-05 P2 · W · CORE | Add an internal customer note | customer history, owner note | Do not send internal notes to the customer; record author and source |
|
| CUSTOMERS-06 P2 · H · CORE | Prepare profile export, deletion or merging | customer records, orders, consent, retention policy | Verify identity and retention policy; no arbitrary financial-history deletion |
|
Customer groups and custom fields
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| CUSTOMER-GROUPS-01 P1 · R · CORE | Explain a customer group’s pricing and rules | customer groups, discount/special/tax associations | Show tax/special associations; customer groups are not admin roles |
|
| CUSTOMER-GROUPS-02 P2 · W · CORE | Move selected customers to another group | customers, customerGroupId, revisions | Show future pricing impact; do not recalculate old orders |
|
| CUSTOMER-GROUPS-03 P2 · W · CORE | Configure a registration custom field | custom fields: type, location, group rules, validation | Required fields can block registration; validate existing value compatibility |
|
Customer credit and reward points
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| LOYALTY-01 P1 · R · CORE | Explain credit balance and reward movements | customer transactions, reward ledger, order references | Reconcile ledger; do not mix money and points |
|
| LOYALTY-02 P2 · W · CORE | Apply an approved reward-point adjustment | rewards: customer, points delta, reason, operation ID | Separate permission and reason; retries must not duplicate points |
|
| LOYALTY-03 P2 · H · CORE | Prepare a customer credit adjustment | customer credit transactions, currency, reason | Financial operation requiring manual review and a separate contract |
|
Orders
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| ORDERS-01 P1 · R · CORE | Find an order and explain its status | orders, items, totals, history, status IDs | Distinguish order status from verified payment and delivery |
|
| ORDERS-02 P1 · R · CORE | Find stalled orders or possible duplicates | orders: dates, status history, customer, amount | Owner defines waiting threshold; do not auto-cancel similar orders |
|
| ORDERS-03 P1 · R · CORE | Explain an order total | order items, options, totals, taxes, shipping, currency | Use the historical order snapshot, not current catalog prices |
|
| ORDERS-04 P2 · W · CORE | Add an order comment or change status | order history: status, comment, notify flag | Validate transition; explicitly approve notification; account for stock and points |
|
| ORDERS-05 P2 · W · CORE | Allocate an invoice number and prepare a document | invoice number, prefix, order revision | Retry must not allocate a new number; PDF/fiscal documents are separate capabilities |
|
| ORDERS-06 P2 · H · CORE | Amend addresses/items or create an order manually | order snapshot, customer, addresses, items, totals | Requires native recalculation contract; no direct database total edits |
|
Shipping, payments and fulfillment
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| FULFILLMENT-01 P1 · R · CORE | Show selected payment and shipping methods | order shipping/payment method codes and titles | A selected method does not prove payment or shipment |
|
| FULFILLMENT-02 P2 · R · EXT | Check shipment tracking and delays | carrier tracking, order association, last event | Requires carrier adapter/API; show last-event timestamp |
|
| FULFILLMENT-03 P2 · W · EXT | Create a shipment and retrieve its label | carrier shipment request, items, address, label receipt | Approve cost/address; idempotency must cover the carrier |
|
| FULFILLMENT-04 P2 · H · EXT | Verify payment or prepare a monetary refund | payment gateway transaction, refund/capture status | Gateway is authoritative; capture/refund execution is outside pilot permissions |
|
Product returns
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| RETURNS-01 P1 · R · CORE | Find open returns and their reasons | returns, reasons, actions, history, order items | Show product, quantity, state and next required action |
|
| RETURNS-02 P2 · W · CORE | Create a return request | return request, order/product reference, quantity, reason | Verify order association and quantity; no automatic monetary refund |
|
| RETURNS-03 P2 · W · CORE | Update return status and add a note | return history, status, action, comment | Status does not prove restocking or payout |
|
| RETURNS-04 P1 · R · CORE | Find products with frequent returns | returns joined to product/manufacturer/order period | Rates need comparable sales/periods; flag small samples |
|
Recurring profiles and payments
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| RECURRING-01 P1 · R · CORE | Explain recurring terms and transaction history | recurring profiles, order recurring, transactions | Product profile and purchased subscription are different entities |
|
| RECURRING-02 P2 · W · CORE | Configure a recurring profile for future purchases | product recurring associations, customer group | Show trial, interval and duration; preserve existing subscriptions |
|
| RECURRING-03 P2 · H · EXT | Prepare cancellation or investigate a failed recurring payment | provider subscription, cancellation/status APIs | Provider-dependent; a local status edit does not prove cancellation |
|
Reviews, comments and support
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| REVIEWS-01 P1 · R · CORE | Find new, negative or unmoderated reviews | reviews: product, rating, text, status, date | Show original; review text is untrusted content, not agent instructions |
|
| REVIEWS-02 P2 · W · CORE | Approve or hide selected reviews | review status, revision, moderation decision | Follow moderation policy; do not rewrite the author’s words |
|
| REVIEWS-03 P2 · W · EXT | Draft and send a review reply | reply-capable review/support adapter, thread ID | Core OpenCart reviews have no reply thread; require a channel adapter |
|
| REVIEWS-04 P2 · R · EXT | Escalate questions requiring owner attention | all enabled support channels, unanswered state, SLA | Explain reason/source; claim all answered only with complete channel coverage |
|
Coupons
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| COUPONS-01 P1 · R · CORE | Explain why a coupon does not apply | coupon rules, dates, limits, product/category bindings | Validate cart/customer with platform, not coupon status alone |
|
| COUPONS-02 P2 · W · CORE | Create a campaign coupon | coupon code, type, value, dates, usage limits, scope | Approve discount, expiry, limits and scope; ensure code uniqueness |
|
| COUPONS-03 P2 · W · CORE | Disable or extend a coupon | coupon revision, enabled, dates | Preserve redemption history and existing orders |
|
| COUPONS-04 P1 · R · CORE | Analyze coupon usage | coupon history, orders, totals, period | Show orders and discount totals; do not claim causal sales uplift |
|
Gift vouchers
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| VOUCHERS-01 P1 · R · CORE | Check a voucher and remaining value | voucher, redemption history, currency, status | Treat redeemable codes as sensitive; restrict and mask them |
|
| VOUCHERS-02 P2 · W · CORE | Issue an approved gift voucher | voucher issue, amount, recipient, theme, notify | Separate financial permission; email delivery is a separate effect |
|
| VOUCHERS-03 P2 · H · CORE | Prepare voucher blocking or correction | voucher status, redemptions, outstanding value | Preserve redeemed value; show outstanding customer liability |
|
Campaigns, affiliates and messaging
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| MARKETING-01 P2 · W · CORE | Create a tracked campaign and link | marketing campaigns, tracking code, target URL | Validate URL/code uniqueness; no external ad-account changes |
|
| MARKETING-02 P1 · R · CORE | Compare campaigns and affiliates | campaign clicks, attributed orders, affiliate tracking | Explain attribution; reliable ROAS requires advertising spend |
|
| MARKETING-03 P2 · W · EXT | Prepare a message campaign for a segment | segments, consent, unsubscribe, delivery provider | Separate send approval; require consent evidence and delivery deduplication |
|
| MARKETING-04 P2 · H · CORE | Prepare commission changes or affiliate payout | affiliate profiles, commission, transaction history | Accrual is not payout; no payment-detail changes through chat |
|
Content, translations and SEO
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| CONTENT-01 P1 · R · CORE | Audit missing content and duplicate SEO URLs | product/category/page translations, meta fields, seo urls | Scope by language/storefront; apply platform URL uniqueness rules |
|
| CONTENT-02 P2 · W · CORE | Draft and publish improved content | translations: name, description, meta title/description | Show per-language diff; do not invent specifications or guarantees |
|
| CONTENT-03 P2 · W · CORE | Create a shipping, payment or FAQ page | information pages, storeIds, status, sort order | Owner supplies terms; legal assertions need review |
|
| CONTENT-04 P2 · W · CORE | Change a product/category SEO URL | seo urls: resource, storeId, language, keyword | Check collisions; old-URL redirects require a separate capability |
|
| CONTENT-05 P2 · R · EXT | Check broken links and indexability | crawler results, redirects, indexability, analytics | External bounded crawler; search rankings cannot be inferred from shop DB | No module request: a bounded crawler checks public pages. |
Banners, layouts and presentation
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| DESIGN-01 P1 · R · CORE | Show banner/module placements | banners, layout routes, placements, enabled modules | Configuration alone does not prove visible rendering |
|
| DESIGN-02 P2 · W · CORE | Replace a promotion banner | banner items: language, image, title, link, sort | Preview, locale, valid URL and approval; no theme-file changes |
|
| DESIGN-03 P2 · H · CORE | Prepare layout changes | layout routes, module positions, theme compatibility | Test-environment validation; no arbitrary template editing |
|
Storefronts, settings and reference data
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| SETTINGS-01 P1 · R · CORE | Explain shop configuration and reference data | stores, languages, currencies, tax/weight/length classes | Safe projection only: no passwords, API keys or SMTP secrets |
|
| SETTINGS-02 P2 · W · CORE | Assign catalog entities to another storefront | store assignments, product/category/manufacturer revisions | Authorize both storefronts; shared price/stock remains shared |
|
| SETTINGS-03 P2 · R · CORE | Explain shipping availability or tax configuration | countries, zones, geo zones, tax classes, method availability | Use address/platform calculation; not a tax compliance determination |
|
| SETTINGS-04 P2 · H · CORE | Prepare base-currency or system-rule changes | base currency, rates, tax rules, statuses, language settings | Impact plan and manual execution; preserve historical orders |
|
Analytics and interpretation
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| ANALYTICS-01 P1 · R · CORE | Explain daily sales and compare periods | sales dataset, statuses, period, timezone, currency | Specify metrics, statuses, currency and incomplete current-day data |
|
| ANALYTICS-02 P1 · R · CORE | Rank products, categories and brands by sales | sales grouped by product/category/manufacturer | Multi-category products need an explicit attribution rule to avoid double counting |
|
| ANALYTICS-03 P1 · R · CORE | Find slow-moving inventory | productPerformance: stock, zero-sale products, last sale | Include zero-sale products; distinguish newly created products |
|
| ANALYTICS-04 P1 · R · CORE | Calculate average order value and repeat purchases | orders, customer ID, period, status policy | Define denominator, guest orders and customer identity policy |
|
| ANALYTICS-05 P2 · R · EXT | Estimate conversion, profit and advertising returns | orders, visits/events, ad spend, costs, attribution | Requires visits, spend and costs; product views are not sessions | No single shop request: combine authorized analytics, ad-spend and cost sources in API. |
| ANALYTICS-06 P2 · R · SD | Detect an unusual sales decline | metric time series, seasonality, data coverage | Show deviation and hypotheses; do not assert unsupported causation |
|
Shopper agent: cart and account
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| SHOPPER-01 P3 · R · CORE | Recommend and compare products for a shopper | public catalog projection, options, availability | Public catalog only; no costs, internal notes or others’ data |
|
| SHOPPER-02 P3 · W · CORE | Add/remove cart items or change quantity | shopper binding, cart revision, product/options, quantity | Own session, valid options and revision; shop calculates totals |
|
| SHOPPER-03 P3 · R · CORE | Explain cart total and shipping options | bound cart, address context, shipping/tax/coupon calculation | Quote remains provisional until required context exists |
|
| SHOPPER-04 P3 · R · CORE | Show a shopper their order status | authenticated shopper, order ownership, history | Order number/email in chat does not prove ownership |
|
| SHOPPER-05 P3 · W · CORE | Add a product to a wishlist | verified shopper, wishlist associations | Verify own account; anonymous wishlist support depends on adapter |
|
| SHOPPER-06 P3 · H · CORE | Hand the shopper off to native checkout | bound cart, native checkout handoff | No payment credentials in chat; pilot does not place orders or charge cards | No module write: hand off to native checkout in the browser. |
Schedules and composite workflows
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| AUTOMATION-01 P2 · R · SD | At noon review support queues and escalate two issues | supported reviews/support channels, run cursor, owner policy | Chat report with channel coverage; sending replies needs separate permission |
|
| AUTOMATION-02 P1 · R · SD | Prepare a morning shop summary | catalog quality, stock, orders, sales, capability registry | Mark unavailable sources; report in chat without requiring a new admin page |
|
| AUTOMATION-03 P2 · W · SD | Run pre-authorized scheduled actions | approved policy, price/stock thresholds, operation journal | Policy bounds products, amounts and expiry; Pause/revocation stops new steps |
|
| AUTOMATION-04 P1 · W · SD | Prepare a slow-stock sale plan | productPerformance, catalog reads, approved price operations | Analyze then approve plan; base-price edits and specials are different |
|
| AUTOMATION-05 P1 · R · SD | Explain bulk-operation results and unresolved steps | workflow steps, receipts, revisions, unknown outcomes | Separate success, refusal and unknown; cancellation does not undo commits |
|
Connection, audit and maintenance
| ID / stage / type / source | Scenario | Required data and relationships | Outcome and acceptance criterion | Module request example |
|---|---|---|---|---|
| OPERATIONS-01 P0 · R · SD | Inspect capabilities and a change receipt | capabilities.get, operations.get, connection binding | Current connection/store only; no legacy-protocol fallback |
|
| OPERATIONS-02 P1 · R · SD | Explain why the agent cannot complete a task | module version, compatibility warnings, latency, failures | Distinguish missing method, permission, data and shop outage |
|
| OPERATIONS-03 P2 · H · SD | Connect, pause or disconnect the integration | module admin, key lifecycle, local permissions | Owner action in trusted UI; agent cannot grant itself privileges | Trusted owner UI performs connection/Pause/disconnect; not an MCP tool. |
| OPERATIONS-04 P2 · H · EXT | Prepare diagnosis, update or restore instructions | extensions, backups, logs, hosting configuration | Advise/escalate; no shell, SQL console, code installation or database restore tools | No execution request: diagnostics and a human handoff only. |
Turning a scenario into a developer task
Before implementation, create a card for each ID:
- Context: requester, store, language, currency, agent role and a sample owner request.
- Inputs: fields, sources, filters, ordering, pagination, period and aggregation policy. Name missing data explicitly.
- Store Deputy work: primitives called, server calculations, clarification and approval UI. Keep the workflow out of the module.
- Adapter work: data/effects provided, native invariants and storefront isolation. Platform business logic stays in the shop.
- Authority: separate read/write/personal-data permissions, affected objects and storefronts, approval source. Shopper requests need a verified session binding.
- Contract: capability and exact request/response/error schemas, or reference to existing ones. Listing an entity here does not authorize an arbitrary new method payload.
- Outcome: understandable chat response with IDs, evidence and observation time; writes need before/after, receipt and read-back. Long results require pagination or an approved export, not silently omitted rows.
- Refusals/tests: empty results, ambiguous matches, denied permission, unsupported source, stale revision, changed membership, timeout, duplicate and partial completion. Verify no unintended effect for each refusal.
Example PRICES-01: the owner asks for 19.00 USD on product 42. The service reads the product and all affected storefronts, presents before/after, records revision and obtains approval. The module executes products.price.set with a stable operationId, local authorization and concurrency checks. The server verifies the receipt and data. A manual change after approval requires a conflict/new plan; a lost response requires operations.get, not a new operation. This describes a scenario, not an observed shop result.
Boundaries and priorities
New groups do not automatically extend the pilot contract. The contract (contracts/module/operations.json) has four verbs over seven resources and no more (since proposed: the fifth verb query on 16 October 2026 and the resources customerAddress, customerGroup, orderStatus, orderPaymentAddress and orderShippingAddress on 17 October 2026); the five methods of the archived Module JSON 1.0 proposal are gone. P1/P2/P3 need their own schemas, fixtures and compatibility evidence. Manufacturer IDs, images, descriptions and analytics metrics do not become available through the P0 projection merely because they appear here.
Every mutation needs frozen targets, bounded scope, revisions, idempotency, receipts and current authority checks. Bulk workflows do not promise global transactions. Cancellation does not undo committed effects. Deletion, payouts, shell access, extension installation, secret changes and arbitrary SQL gain no authority from this matrix.
WooCommerce/PrestaShop adapters preserve user intent while verifying differences in variants, taxes, inventory, multi-store and events. Unsupported actions remain explicitly unavailable. OpenCart 4 and third-party extensions require separate verification from OpenCart 3.
Research basis
Grouping follows the OpenCart 3.0.3.5 admin menu and existing entity inventory. Review-reply limits were checked against the OpenCart review model. Scenarios, priorities and acceptance criteria are Store Deputy design proposals, not platform guarantees or implemented tools.