Skip to content

feat(wix-manage): eCommerce dispatcher routing — 5 categories with EvalForge coverage#423

Open
itayhewix wants to merge 3 commits into
mainfrom
feat/dev3-mcp-gap-skills-pr
Open

feat(wix-manage): eCommerce dispatcher routing — 5 categories with EvalForge coverage#423
itayhewix wants to merge 3 commits into
mainfrom
feat/dev3-mcp-gap-skills-pr

Conversation

@itayhewix

@itayhewix itayhewix commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds dispatcher-based skill routing for 7 eCommerce categories where EvalForge production runs confirmed 0–3/10 pass rate — the current MCP cannot answer these queries.

EvalForge Production Runs — All Areas FAIL

Ran 8 scenarios against production MCP (15fc5038-…, live latest). Results:

Area Judge Score Status Failure Mode
Pricing 0/10 ❌ NEEDED MCP doesn't recognize Wix APIs, asks "what platform is Gracia?"
Tax 0/10 ❌ NEEDED Routes merchant to Avalara external support instead of Wix API
ecom-load-context 0/10 ❌ NEEDED Tries to ls files instead of loading site context
Checkout 1/10 ❌ NEEDED Conflates checkout store health with abandoned-cart recovery
Fulfillment 0/10 ❌ NEEDED Thinks it's Shopify, references Shopify Admin API
Orders 2/10 ❌ NEEDED Calls Wix API but cancels without confirmation or side-effect guardrails
Abandoned Carts 1/10 ❌ NEEDED Routes recovery to Checkout; no knowledge of Wix Automations for recovery
Shipping 3/10 ❌ NEEDED Partial Wix knowledge but misses dispatcher routing and boundary rules

No skills marked "not needed" — all 7 areas clearly fail production MCP.

What's in This PR (all 7 areas)

  • ecom-load-context.md — per-L1 context loader (country/currency/tax calculator)
  • ecom-pricing.md + pricing-promotions/ — coupons, discount rules, run-a-sale orchestrator (11 sub-skills)
  • ecom-tax.md + tax/ — Avalara, EU VAT, Wix Manual, audit, troubleshoot, switch (6 sub-skills)
  • ecom-checkout.md + checkout/ — store health, reduce abandonment, agentic readiness (4 sub-skills)
  • ecom-fulfillment.md + fulfillment/ — fulfill orders, bulk fulfill with tracking (2 sub-skills)
  • ecom-orders.md + orders/ — cancel order with restock/email/refund guardrails (1 sub-skill)
  • ecom-shipping.md + shipping/ — fix coverage gaps, add free shipping, optimize rates, pickup/local delivery (4 sub-skills)
  • ecom-abandoned-carts.md + abandoned-carts/ — recovery health monitoring (1 sub-skill)

Legacy flat-routing files remain in place for backward compatibility; SKILL.md updated to reflect all 7 categories as migrated.

EvalForge YAML Coverage (29 scenarios)

Category YAML count
pricing-promotions 9
tax 7
checkout 5
fulfillment 3
orders 2
ecom-load-context 1
shipping 1
abandoned-carts 1

Gate fixes in this commit

  • Added documentation.yaml entries for all 13 dispatcher/sub-skill files (gate was exiting early without these)
  • Shipping and Abandoned Carts dispatcher files unblock the checkout/fulfillment/pricing sub-skill cross-references

Test plan

  • EvalForge YAML gate runs on this PR (draft:wix/skills#423 tag applied automatically)
  • Verify pricing/create-coupon uses new pricing-create-coupon slug (not setup-coupons)
  • Verify tax/configure-avalara uses Wix billing API (not external support routing)
  • Verify orders/cancel-order shows confirmation + side effects before cancel
  • Verify checkout/category-routing routes "recover people who already left" to Abandoned Carts (not Checkout)
  • Verify shipping/category-routing routes "set up free shipping" to Shipping (not Fulfillment)
  • SKILL.md routing section reflects all 7 migrated categories

🤖 Generated with Claude Code

…eCommerce categories

EvalForge production runs confirmed 0% pass rate (judge 0-2/10) across all
tested eCommerce areas — MCP either doesn't recognize Wix APIs at all (pricing,
tax) or lacks proper routing guardrails (orders, checkout, fulfillment).
Skills marked NOT NEEDED: none. All 5 areas require the new dispatcher structure.

Adds eCommerce L1 context loader + 5 new dispatcher-based categories:
- ecom-load-context.md: per-L1 context loader (country/currency/tax calculator)
- ecom-pricing.md + pricing-promotions/: coupons, discount rules, run-a-sale orchestrator
- ecom-tax.md + tax/: Avalara, EU VAT, Wix Manual, audit, troubleshoot, switch
- ecom-checkout.md + checkout/: store health, reduce abandonment, agentic readiness
- ecom-fulfillment.md + fulfillment/: fulfill orders, bulk fulfill with tracking
- ecom-orders.md + orders/: cancel order with restock/email/refund guardrails

Adds 27 EvalForge scenario YAMLs for gate coverage (tag: ecommerce):
pricing-promotions (9), tax (7), checkout (5), fulfillment (3), orders (2),
ecom-load-context (1).

Shipping and abandoned-carts use legacy flat routing until follow-up PR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

❌ EvalForge YAML Gate: Scenario Locked by Another PR

These scenarios are draft-tagged for other PRs. Wait for those PRs to merge/close, or coordinate with their authors:

itayhewix and others added 2 commits June 18, 2026 17:57
…er categories + fix documentation.yaml

- Add ecom-shipping.md dispatcher (name: "Shipping") with 4 sub-skills:
  shipping-fix-coverage-gaps, shipping-add-free-shipping, shipping-optimize-rates,
  shipping-set-up-pickup-local-delivery (content migrated from legacy flat files)
- Add ecom-abandoned-carts.md dispatcher (name: "Abandoned Carts") with
  abandoned-carts-recovery-health sub-skill
- These were referenced by URLs in existing PR files (ecom-checkout.md,
  ecom-fulfillment.md, checkout/* sub-skills) but had no corresponding skill files
- Add documentation.yaml entries for all 13 new dispatcher/sub-skill files
  (6 original dispatchers + 7 new Shipping/AbandonedCarts files)
- Update SKILL.md: Shipping and Abandoned Carts now in migrated-categories list;
  legacy flat-routing section replaced with proper dispatcher section
- Add eval YAMLs: ecom-shipping.yml (free shipping routing) and
  ecom-abandoned-carts.yml (recovery routing)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…it natively

EvalForge production run (b5c0185b) confirmed MCP correctly:
- Identifies POST /coupons/v2/coupons as the right endpoint
- Maps CATEGORY scope → { namespace: stores, group: { name: collection } }
- Maps PERCENTAGE discount → percentOffRate
- Passes through usageLimit and limitPerCustomer

Skill is not needed (§7.5): the recommendation→coupon translation is handled
natively by production MCP. Coupon creation routes directly to the Coupons V2
API doc instead.

- Delete ecom-pricing-create-coupon.md + ecom-pricing-create-coupon.yml
- Remove entry from SKILL.md pricing promotions list
- Remove [intent:create-coupon] dispatch from ecom-pricing.md; update routing
  table and base-recipe fallback to point at the API doc directly
- Update ecom-pricing-run-a-sale.md: inline the mapping note instead of loading
  the now-deleted skill

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant