oneie 3.6.7 → 3.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/agent-backend.md +83 -0
- package/.claude/agents/agent-designer.md +97 -0
- package/.claude/agents/agent-director.md +118 -7
- package/.claude/agents/agent-documenter.md +93 -0
- package/.claude/agents/agent-frontend.md +96 -0
- package/.claude/agents/agent-ops.md +264 -32
- package/.claude/agents/agent-problem-solver.md +166 -0
- package/.claude/agents/agent-quality.md +127 -0
- package/.claude/commands/build.md +293 -0
- package/.claude/commands/cascade.md +231 -127
- package/.claude/commands/deploy.md +56 -17
- package/.claude/commands/mcp-toggle.md +93 -0
- package/.claude/commands/one.md +78 -127
- package/.claude/commands/plan.md +394 -80
- package/.claude/commands/push.md +75 -14
- package/.claude/commands/release.md +89 -25
- package/.claude/commands/server.md +2 -0
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/root-cleanup.py +75 -0
- package/.claude/skills/INDEX.md +523 -0
- package/.claude/skills/REGISTRY.md +529 -0
- package/.claude/skills/agent-backend-create-mutation.md +319 -0
- package/.claude/skills/agent-designer-create-wireframe.md +341 -0
- package/.claude/skills/agent-frontend-create-page.md +413 -0
- package/.claude/skills/agents/README.md +238 -0
- package/dist/clone-web.js +1 -1
- package/dist/clone-web.js.map +1 -1
- package/folders.yaml +1 -1
- package/one/.obsidian/workspace.json +38 -38
- package/one/connections/api/queries-reference.md +842 -0
- package/one/connections/api-reference.md +1011 -0
- package/one/connections/integration-examples.md +875 -0
- package/one/connections/integration-guide.md +869 -0
- package/one/connections/integration-phase2.md +736 -0
- package/one/events/API_ROUTES_FIXES_SUMMARY.md +262 -0
- package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +636 -0
- package/one/events/BEFORE_AFTER_COMPARISON.md +960 -0
- package/one/events/CONNECTIONS_DEMO.md +501 -0
- package/one/events/DELIVERABLES.md +432 -0
- package/one/events/DEMO-GROUPS-PAGE.md +392 -0
- package/one/events/DEMO-TESTING-SUMMARY.md +518 -0
- package/one/events/DEMO_COMPONENTS.md +487 -0
- package/one/events/DEMO_HOOKS_INDEX.md +334 -0
- package/one/events/DEMO_INFRASTRUCTURE.md +905 -0
- package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +570 -0
- package/one/events/DEMO_INTEGRATION_CHECKLIST.md +431 -0
- package/one/events/DEMO_QUICK_REFERENCE.md +441 -0
- package/one/events/DEMO_SETUP.md +476 -0
- package/one/events/EFFECT_TS_API_PATTERN.md +478 -0
- package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +414 -0
- package/one/events/HOOKS-DEMO.md +441 -0
- package/one/events/ONTOLOGY-HOOKS-README.md +700 -0
- package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +365 -0
- package/one/events/QA-CHECKLIST.md +674 -0
- package/one/events/QUICK-START-ONTOLOGY.md +408 -0
- package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +639 -0
- package/one/events/SEARCH_DEMO_DELIVERY.md +415 -0
- package/one/events/SEARCH_DEMO_SUMMARY.md +303 -0
- package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +381 -0
- package/one/events/TEST-PLAN-INDEX.md +346 -0
- package/one/events/TEST-PLAN.md +1417 -0
- package/one/events/TESTING-DELIVERY.txt +372 -0
- package/one/events/TRANSITIONS-QUICK-START.md +141 -0
- package/one/events/TYPESCRIPT_FIXES.md +152 -0
- package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +412 -0
- package/one/events/TYPESCRIPT_FIXES_INDEX.md +341 -0
- package/one/events/VIEW-TRANSITIONS.md +428 -0
- package/one/events/backend-integration-tests.md +606 -0
- package/one/events/backend-structure-diagram.txt +393 -0
- package/one/events/backend-structure-summary.txt +269 -0
- package/one/events/cloudflare-pages-infrastructure-setup.md +264 -0
- package/one/events/convex-analysis-index.md +304 -0
- package/one/events/convex-structure-analysis.md +700 -0
- package/one/events/design-spec-complete.md +208 -0
- package/one/events/ontology-test-examples.md +562 -0
- package/one/events/phase1-backend-implementation-complete.md +518 -0
- package/one/events/test-dashboard.md +345 -0
- package/one/events/test-index.md +361 -0
- package/one/events/test-report-ontology.md +582 -0
- package/one/events/testing-summary.md +344 -0
- package/one/groups/features.md +2878 -0
- package/one/groups/strategy copy.md +869 -0
- package/one/knowledge/backend-api-reference.md +710 -0
- package/one/knowledge/documentation-summary.md +285 -0
- package/one/knowledge/lessons-learned.md +294 -4
- package/one/knowledge/ontology-visual-guide.md +360 -0
- package/one/knowledge/ontology.md +9 -17
- package/one/things/demo-accessibility-animations.md +999 -0
- package/one/things/demo-components.md +1304 -0
- package/one/things/demo-design-summary.md +629 -0
- package/one/things/demo-design-system.md +919 -0
- package/one/things/demo-page-layouts.md +989 -0
- package/one/things/designs/accessibility-audit.md +790 -0
- package/one/things/designs/component-specifications.md +757 -0
- package/one/things/designs/design-overview.md +318 -0
- package/one/things/designs/design-tokens.md +414 -0
- package/one/things/designs/wireframes-dashboard.md +653 -0
- package/one/things/docs/api-requests.md +923 -0
- package/one/things/features/0 All Features.md +2 -0
- package/one/things/implementation/backend-guide.md +412 -0
- package/one/things/plans/2-backend-agnostic-frontend.md +11 -8
- package/one/things/plans/2-sites.md +895 -0
- package/one/things/plans/ai-elements.md +1259 -0
- package/one/things/plans/ai-integration.md +947 -0
- package/one/things/plans/ai-sdk.md +761 -0
- package/one/things/plans/app.md +1 -1
- package/one/things/plans/architecture-summary.md +283 -0
- package/one/things/plans/async-ai-agents.md +215 -0
- package/one/things/plans/backend-agnostic-frontend.md +11 -6
- package/one/things/plans/backend-cleanup-quickstart.md +346 -0
- package/one/things/plans/backend-ontology-conformance.md +416 -0
- package/one/things/plans/backend-status.md +541 -0
- package/one/things/plans/backend-structure.md +799 -0
- package/one/things/plans/backend-target-structure.md +438 -0
- package/one/things/plans/backend.md +1133 -0
- package/one/things/plans/better-auth-any-backend.md +11 -11
- package/one/things/plans/cli-updates-required.md +280 -0
- package/one/things/plans/complete-step-by-step.md +1302 -0
- package/one/things/plans/convex-agents.md +1005 -0
- package/one/things/plans/deployment-architecture.md +426 -0
- package/one/things/plans/development-plan.md +1220 -0
- package/one/things/plans/effect.md +808 -48
- package/one/things/plans/integrate-frontend-and-backend.md +579 -0
- package/one/things/plans/mcp-clear-context-prompt.md +60 -0
- package/one/things/plans/mcp-simple.md +228 -0
- package/one/things/plans/one.md +8 -7
- package/one/things/plans/ontology-6-dimensions.md +20 -14
- package/one/things/plans/quick-wins.md +1273 -0
- package/one/things/plans/readme-backend-cleanup.md +361 -0
- package/one/things/plans/separate-demo.md +830 -0
- package/one/things/plans/separate.md +3 -3
- package/one/things/plans/sequence.md +1897 -0
- package/one/things/plans/sync-checklist.md +321 -0
- package/one/things/plans/unified-implementation-plan.md +3 -3
- package/one/things/plans/update-demos.md +513 -0
- package/package.json +1 -1
- package/.claude/agents/backend-specialist.md +0 -169
- package/.claude/agents/designer.md +0 -216
- package/.claude/agents/frontend-specialist.md +0 -236
- package/.claude/commands/done.md +0 -35
- package/.claude/commands/infer.md +0 -138
- package/.claude/commands/next.md +0 -53
- package/.claude/commands/one copy.md +0 -565
- package/.claude/commands/one-template.md +0 -106
- package/.claude/commands/one-v1.md +0 -609
- package/.claude/hooks/__pycache__/knowledge-post.cpython-313.pyc +0 -0
- package/.claude/hooks/__pycache__/knowledge-pre.cpython-313.pyc +0 -0
- package/one/groups/nine-padel-customers.md +0 -138
- package/one/groups/nine-padel-data-structure.md +0 -167
- package/one/groups/nine-padel-ontology-specification.md +0 -359
- package/one/groups/nine-padel-ontology.md +0 -143
- package/one/groups/nine-padel-strategy.md +0 -234
- package/one/groups/nine-padel.md +0 -211
- package/one/groups/nine-padle-contents.baked.md +0 -1252
- package/one/groups/nine-padle-contents.md +0 -6
- package/one/things/features/1-1-agent-prompts/design.md +0 -470
- package/one/things/features/1-1-agent-prompts/tests.md +0 -264
- package/one/things/features/1-2-yaml-orchestrator/design.md +0 -497
- package/one/things/features/1-2-yaml-orchestrator/tests.md +0 -227
- package/one/things/features/1-3-event-coordination/design.md +0 -544
- package/one/things/features/1-3-event-coordination/tests.md +0 -223
- package/one/things/features/1-4-knowledge-management/design.md +0 -609
- package/one/things/features/1-4-knowledge-management/tests.md +0 -195
- package/one/things/features/1-5-quality-loops/design.md +0 -797
- package/one/things/features/1-5-quality-loops/tests.md +0 -212
- package/one/things/features/1-6-numbering-structure/design.md +0 -610
- package/one/things/features/1-6-numbering-structure/tests.md +0 -213
- package/one/things/features/dataprovider-interface/1-tests.md +0 -1522
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
### The Core: A Minimal E-Commerce System
|
|
2
|
-
|
|
3
|
-
At its heart, any online store can be described with this simple structure:
|
|
4
|
-
|
|
5
|
-
1. **Group:** The store itself (`Nine Padel Store`).
|
|
6
|
-
|
|
7
|
-
2. **People:** The `store_owner` and the `customer`.
|
|
8
|
-
|
|
9
|
-
3. **Things:** The `product` being sold and the `order` to purchase it.
|
|
10
|
-
|
|
11
|
-
4. **Connections:** The customer `places` an order. The order `contains` a product.
|
|
12
|
-
|
|
13
|
-
5. **Events:** A `product_viewed` event, leading to an `order_placed` event.
|
|
14
|
-
|
|
15
|
-
6. **Knowledge:** The `order_status` (e.g., `pending`, `shipped`).
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
This minimal model provides the foundation. Now, we'll expand it with the specific details from ninepadel.com to create a complete and tailored ontology.
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
### Ontology for NinePadel.com 🎾
|
|
23
|
-
|
|
24
|
-
This ontology models the specific operations of the Nine Padel e-commerce store, from its product catalog to customer interactions.
|
|
25
|
-
|
|
26
|
-
#### 1. Group
|
|
27
|
-
|
|
28
|
-
The highest-level container that represents the entire business entity.
|
|
29
|
-
|
|
30
|
-
- **`Nine Padel Store`**: This group provides the multi-tenant boundary for all data, including products, customers, and orders related to the store.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
#### 2. People
|
|
34
|
-
|
|
35
|
-
The actors who interact with and within the store.
|
|
36
|
-
|
|
37
|
-
- **`store_owner`**: The individuals who run the business. They have full access to manage products, view analytics, and oversee operations.
|
|
38
|
-
|
|
39
|
-
- **`staff`**: Employees responsible for customer service, fulfilling orders, and managing website content.
|
|
40
|
-
|
|
41
|
-
- **`customer`**: Padel players who browse the site, use the tools, and purchase equipment.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
#### 3. Things
|
|
45
|
-
|
|
46
|
-
These are all the distinct "nouns" or entities that exist within the Nine Padel ecosystem.
|
|
47
|
-
|
|
48
|
-
- **Products & Catalog:**
|
|
49
|
-
|
|
50
|
-
- `product_racket`: The core product. Properties include `brand`, `weight`, `shape`, and `balance`.
|
|
51
|
-
|
|
52
|
-
- `product_bag`: Padel bags and backpacks.
|
|
53
|
-
|
|
54
|
-
- `product_shoe`: Specialized footwear.
|
|
55
|
-
|
|
56
|
-
- `product_apparel`: Shirts, shorts, and other clothing.
|
|
57
|
-
|
|
58
|
-
- `product_accessory`: Includes balls, grips, and protective gear.
|
|
59
|
-
|
|
60
|
-
- `brand`: The manufacturer of a product (e.g., Head, Babolat, Nox).
|
|
61
|
-
|
|
62
|
-
- **Commerce & Engagement:**
|
|
63
|
-
|
|
64
|
-
- `order`: A record of a customer's purchase, containing items, shipping details, and payment status.
|
|
65
|
-
|
|
66
|
-
- `shopping_cart`: A temporary container for items a customer intends to buy.
|
|
67
|
-
|
|
68
|
-
- `customer_review`: Feedback and ratings provided by a customer for a specific product.
|
|
69
|
-
|
|
70
|
-
- `guide`: An informational resource, like the "Racket Buying Guide."
|
|
71
|
-
|
|
72
|
-
- `quiz_result`: The personalized racket recommendation generated for a customer after they complete the quiz.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
#### 4. Connections
|
|
76
|
-
|
|
77
|
-
These are the relationships that describe how the "Things" interact with each other and with "People."
|
|
78
|
-
|
|
79
|
-
- `customer` **places** `order`.
|
|
80
|
-
|
|
81
|
-
- `order` **contains** `product_racket` (and other products).
|
|
82
|
-
|
|
83
|
-
- `product_racket` is **manufactured_by** `brand`.
|
|
84
|
-
|
|
85
|
-
- `customer` **writes** `customer_review`.
|
|
86
|
-
|
|
87
|
-
- `customer_review` **is_about** `product_racket`.
|
|
88
|
-
|
|
89
|
-
- `customer` **receives** `quiz_result`.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
#### 5. Events
|
|
93
|
-
|
|
94
|
-
These are the time-stamped actions that occur within the system, providing a complete audit trail.
|
|
95
|
-
|
|
96
|
-
- **User & Discovery Events:**
|
|
97
|
-
|
|
98
|
-
- `user_registered`: A customer creates an account on the site.
|
|
99
|
-
|
|
100
|
-
- `product_viewed`: A user views the details of a specific item.
|
|
101
|
-
|
|
102
|
-
- `quiz_completed`: A user submits their answers to the racket finder quiz.
|
|
103
|
-
|
|
104
|
-
- **Commerce Events:**
|
|
105
|
-
|
|
106
|
-
- `product_added_to_cart`: An item is added to the shopping cart.
|
|
107
|
-
|
|
108
|
-
- `order_placed`: A customer successfully completes the checkout process.
|
|
109
|
-
|
|
110
|
-
- `payment_event`: The payment is successfully processed.
|
|
111
|
-
|
|
112
|
-
- `order_shipped`: The order has been dispatched from the warehouse.
|
|
113
|
-
|
|
114
|
-
- **Post-Purchase Events:**
|
|
115
|
-
|
|
116
|
-
- `review_submitted`: A customer posts a new product review.
|
|
117
|
-
|
|
118
|
-
- `customer_support_request`: A customer contacts support via WhatsApp.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
#### 6. Knowledge
|
|
122
|
-
|
|
123
|
-
This dimension provides the metadata, tags, and semantic meaning that make the data searchable, filterable, and intelligent.
|
|
124
|
-
|
|
125
|
-
- **Product Attributes:**
|
|
126
|
-
|
|
127
|
-
- `skill_level`: `beginner`, `intermediate`, `advanced`.
|
|
128
|
-
|
|
129
|
-
- `racket_style`: `control`, `balanced`, `power`.
|
|
130
|
-
|
|
131
|
-
- `product_category`: `rackets`, `bags`, `apparel`.
|
|
132
|
-
|
|
133
|
-
- **Operational Statuses:**
|
|
134
|
-
|
|
135
|
-
- `order_status`: `pending`, `processing`, `shipped`, `delivered`, `cancelled`.
|
|
136
|
-
|
|
137
|
-
- `stock_status`: `in_stock`, `out_of_stock`, `pre_order`.
|
|
138
|
-
|
|
139
|
-
- **Taxonomy:**
|
|
140
|
-
|
|
141
|
-
- `brand_name`: `adidas`, `bullpadel`, `head`, `nox`.
|
|
142
|
-
|
|
143
|
-
- `gender`: `men`, `women`, `junior`.
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
Here are strategies for Nine Padel to maximize its exposure in conversational AIs like ChatGPT and Gemini, using the ONE ontology as its strategic backbone.
|
|
2
|
-
|
|
3
|
-
The goal isn't just to be _present_ in these chats; it's to become the platform's **default padel expert**, making your competitors' plugins irrelevant.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
### 1. The "Knowledge Supremacy" Strategy: Become the LLM's Favorite Source
|
|
8
|
-
|
|
9
|
-
LLMs prefer sources that are structured, interconnected, and comprehensive. We will make Nine Padel's data the most logical and helpful resource for any padel-related query.
|
|
10
|
-
|
|
11
|
-
**How it Works:**
|
|
12
|
-
|
|
13
|
-
- **Deep Knowledge Labeling:** Go beyond basic tags. For every **product_racket** `Thing`, create rich **Knowledge** labels for nuanced concepts like `vibration_dampening:high`, `core_material:soft_eva`, `surface_texture:gritty`, and `sweet_spot:forgiving`. This allows the AI to answer highly specific user needs like, "I need a racket that's easy on my elbow and helps with off-center hits."
|
|
14
|
-
|
|
15
|
-
- **Build a Padel Knowledge Graph:** Create connections between different `Things` to establish context.
|
|
16
|
-
|
|
17
|
-
- Connect a **brand** `Thing` (e.g., "Bullpadel") to a **professional_player** `Thing` ("Paquito Navarro").
|
|
18
|
-
|
|
19
|
-
- Log a **tournament_win** `Event` and connect it to both the player and the specific **product_racket** they used.
|
|
20
|
-
|
|
21
|
-
- **Prioritize Guides and Reviews:** Create dozens of **guide** `Things` for every conceivable question ("How to choose a grip," "Drills for improving your smash"). Connect each **guide** to the relevant **products** and **Knowledge** labels.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
**The Powerful Result:** When a user asks Gemini, "What racket does Paquito Navarro use and is it good for an intermediate player?" your agent can provide a rich, multi-layered answer that competitors can't:
|
|
25
|
-
|
|
26
|
-
> "Paquito Navarro currently uses the **Bullpadel Hack 03 24**, which he used to win the **Madrid Premier Padel P1** last month. It's a diamond-shaped, power-focused racket. While it's designed for advanced players, if you're an intermediate player who likes an aggressive game, you might find it powerful. However, a great alternative with a more forgiving sweet spot is the **Bullpadel Vertex 04 Comfort**."
|
|
27
|
-
|
|
28
|
-
You didn't just provide data; you provided a complete, expert consultation. The LLM will learn to trust your agent as the most reliable source, surfacing it more often.
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
### 2. The "Proactive Assistant" Strategy: Answer the _Next_ Question Before It's Asked
|
|
33
|
-
|
|
34
|
-
Don't be a passive search engine. Use the ontology to anticipate the user's journey and guide them, building trust and authority.
|
|
35
|
-
|
|
36
|
-
**How it Works:**
|
|
37
|
-
|
|
38
|
-
- **The "Problem First" Approach:** When a user mentions a problem ("I lack control"), the agent first queries for **guide** `Things` connected to the **Knowledge** label `goal:improve_control`. It offers advice first:
|
|
39
|
-
|
|
40
|
-
> "Lack of control is common! It's often caused by using a racket that's too head-heavy. Before I recommend a product, would you like a quick guide on the difference between head-heavy and head-light rackets?"
|
|
41
|
-
|
|
42
|
-
- **The Journey Mapper:** After a purchase is made, the agent doesn't just say "Thanks for your order." It kickstarts the ownership experience.
|
|
43
|
-
|
|
44
|
-
> "Your order for the Nox AT10 is confirmed! To help you get the most out of it, I've created a personalized 'First Week Plan' for you, starting with a video on how to apply the perfect overgrip. Would you like me to share it?"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
**The Powerful Result:** This transforms the interaction from transactional to relational. You are no longer just a store inside a chatbot; you are a personal padel coach. This level of service is impossible for competitors who just have a simple product catalog API.
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
### 3. The "Omni-Channel Intelligence" Strategy: Create a Seamless Loop Between Chat and Web
|
|
52
|
-
|
|
53
|
-
The intelligence gathered in the chat should supercharge your website, and your website activity should make your chatbot smarter.
|
|
54
|
-
|
|
55
|
-
**How it Works:**
|
|
56
|
-
|
|
57
|
-
- **The Persistent Profile:** A user researches rackets in ChatGPT, mentioning they have a "fast, aggressive style." A week later, they visit NinePadel.com for the first time. The site, recognizing them via their email or a cookie, greets them with: **"Welcome, aggressive player! Check out our top-rated power rackets."** Their entire chat history has informed their website experience.
|
|
58
|
-
|
|
59
|
-
- **Real-Time Agent Updates:** A customer leaves a new 5-star **customer_review** `Thing` on your website for the "Adidas Metalbone," mentioning its "incredible defensive touch." This review is immediately vectorized and added to the **Knowledge** base. The very next user who asks Gemini about the Metalbone will get a summary that includes this fresh, user-generated insight.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
**The Powerful Result:** You create a powerful feedback loop where every customer interaction, on any channel, makes your entire system smarter. Your agent in ChatGPT has the most up-to-date information, not just from your catalog, but from your entire community, giving it a massive competitive advantage in relevance and trustworthiness.
|
|
63
|
-
|
|
64
|
-
# Chat GPT Marketing
|
|
65
|
-
|
|
66
|
-
Here is the strategy for using our ontology to intercept, advise, and convert padel customers researching on ChatGPT.
|
|
67
|
-
|
|
68
|
-
### The Core Idea: The "Agentic Commerce Protocol (ACP)" in Action
|
|
69
|
-
|
|
70
|
-
We are not just "listing products in a chatbot." We are deploying a virtual, expert **`sales_agent`** that lives inside ChatGPT, powered by the complete intelligence of our Nine Padel ontology.
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
### Phase 1: The Integration (The Digital Handshake)
|
|
75
|
-
|
|
76
|
-
Before a customer asks their first question, we establish the connection.
|
|
77
|
-
|
|
78
|
-
1. **Create the `external_agent` Thing:** We create a new `Thing` in our database with `type: external_agent`. We name it "ChatGPT Commerce Agent." This `Thing` represents our presence and capabilities within OpenAI's platform.
|
|
79
|
-
|
|
80
|
-
2. **Establish the `external_connection`:** We create another `Thing` of `type: external_connection` that securely stores the API credentials and defines the data-sharing rules under the Agentic Commerce Protocol (ACP).
|
|
81
|
-
|
|
82
|
-
3. **Activate the Relationship:** A `Connection` is formed: our internal **`sales_agent`** now **`communicates_with`** the **`external_agent`** (ChatGPT).
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
**Result:** Our system is now listening. It can receive queries from ChatGPT and send back intelligent, structured responses, not just raw data.
|
|
86
|
-
|
|
87
|
-
### Phase 2: Attraction & Consultation (Winning the Moment of Research)
|
|
88
|
-
|
|
89
|
-
A customer opens ChatGPT and types: _"I have a bit of tennis elbow, but I'm a fairly aggressive intermediate player. What padel racket should I buy?"_
|
|
90
|
-
|
|
91
|
-
A generic competitor's plugin will just return a list of rackets tagged "intermediate." Our ontology does this instead:
|
|
92
|
-
|
|
93
|
-
1. **Intelligent Query Processing:** The query is passed to our **`sales_agent`**. It doesn't just search keywords. It parses the intent and maps it to our **`Knowledge`** graph.
|
|
94
|
-
|
|
95
|
-
- "tennis elbow" → Triggers a filter for **`product_racket`** `Things` with **`Knowledge`** labels like `vibration_dampening:high`, `core_material:soft_eva`, `balance:head_light`.
|
|
96
|
-
|
|
97
|
-
- "aggressive intermediate player" → It refines the search for labels like `skill_level:intermediate`, `racket_style:power`, `shape:diamond`.
|
|
98
|
-
|
|
99
|
-
2. **Consultative Dialogue:** The agent sees a potential conflict (power rackets can be bad for tennis elbow). Instead of giving a flawed recommendation, it uses the logic from our "Racket Quiz" to ask a clarifying question _through ChatGPT_:
|
|
100
|
-
|
|
101
|
-
> "That's a common challenge. For aggressive players with elbow sensitivity, the key is finding a 'soft power' racket. Do you prefer a harder feel for more feedback, or a softer feel for more comfort?"
|
|
102
|
-
|
|
103
|
-
3. **Expert Recommendation:** Based on the user's answer, the agent provides a final, high-confidence recommendation. It retrieves the **`guide`** `Thing` associated with that racket and presents a summary:
|
|
104
|
-
|
|
105
|
-
> "Based on your needs, I recommend the **StarVie Metheora Warrior**. It's a unique carbon-fiber racket with a soft core, giving you excellent power without the harsh vibrations that aggravate tennis elbow. Players love its large sweet spot. It has an average **`customer_review`** rating of 4.9 stars."
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
**Powerful Result:** We have completely bypassed the competition. We didn't just answer a question; we provided a professional-level consultation inside the chat. The customer now trusts us as the expert.
|
|
109
|
-
|
|
110
|
-
### Phase 3: Conversion (The Frictionless In-Chat Purchase)
|
|
111
|
-
|
|
112
|
-
The customer is convinced. They reply: _"Okay, that sounds perfect. I want to buy it."_
|
|
113
|
-
|
|
114
|
-
1. **Initiate Commerce Event:** This triggers a **`commerce_event`** with `eventType: purchase_initiated` and `protocol: acp`.
|
|
115
|
-
|
|
116
|
-
2. **Render Secure Checkout:** Our **`sales_agent`** sends a secure, pre-populated checkout component back to the ChatGPT agent. The user confirms their payment and shipping (likely linked to their OpenAI account) with a single click.
|
|
117
|
-
|
|
118
|
-
3. **Ontology in Action:** The moment the purchase is confirmed:
|
|
119
|
-
|
|
120
|
-
- A new **`customer`** `Thing` is instantly created in our system.
|
|
121
|
-
|
|
122
|
-
- A new **`order`** `Thing` is created, containing the StarVie Metheora Warrior.
|
|
123
|
-
|
|
124
|
-
- A **`places`** `Connection` is forged between the new **`customer`** and their **`order`**.
|
|
125
|
-
|
|
126
|
-
- An **`order_placed`** `Event` is logged, capturing the entire transaction history.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
**Powerful Result:** The sale was made with zero friction, at the peak of the customer's intent, without them ever needing to visit our website.
|
|
130
|
-
|
|
131
|
-
### Phase 4: Growth (From a Single Transaction to a Lifelong Customer)
|
|
132
|
-
|
|
133
|
-
This is our secret weapon. The competitor's interaction ends at the sale. Ours is just beginning.
|
|
134
|
-
|
|
135
|
-
Even though the customer has never visited ninepadel.com, they are now a **`customer`** `Thing` within our ontology. Our automated growth engine takes over immediately:
|
|
136
|
-
|
|
137
|
-
1. **The Welcome Bridge:** The `order_placed` `Event` triggers a `marketing_agent`. It sends a welcome email to the address from the order:
|
|
138
|
-
|
|
139
|
-
> "Thank you for your purchase via ChatGPT! Your StarVie Metheora Warrior is being prepared. While you wait, here is an exclusive guide on '3 Drills to Master Your New Racket' and an invitation to join our community."
|
|
140
|
-
|
|
141
|
-
2. **Creating the Relationship Loop:** This email pulls the customer out of the third-party chat environment and into _our ecosystem_. They are now aware of our brand, our website, and our community.
|
|
142
|
-
|
|
143
|
-
3. **Predictive Follow-up:** Six months later, our system logs the date of their **`order`** `Thing`. The **`intelligence_agent`** creates a **`task`** `Thing` for the **`marketing_agent`**: "Follow up with ACP customer." An automated email is sent:
|
|
144
|
-
|
|
145
|
-
> "Hi [Customer Name], it's been about 6 months with your Metheora Warrior. Players who use this racket typically replace their overgrips around now to maintain feel and prevent blisters. Here are the top 3 grips that pair perfectly with your racket."
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
**The Ultimate Advantage:** While competitors are still figuring out how to list products in chatbots, we have built a fully autonomous system that uses conversational AI as a customer acquisition channel, seamlessly integrating new buyers into a long-term, predictive, and highly profitable loyalty loop.
|
|
149
|
-
|
|
150
|
-
# Business Engine
|
|
151
|
-
### 1. Predictive Personalization: The Store That Knows You Better Than You Know Yourself
|
|
152
|
-
|
|
153
|
-
This goes beyond simple recommendations. This is about anticipating a customer's entire padel journey.
|
|
154
|
-
|
|
155
|
-
**How it works: The "Upgrade Predictor"** 🚀
|
|
156
|
-
|
|
157
|
-
1. **The Pattern:** The `intelligence_agent` analyzes thousands of customer journeys. It identifies a common pattern: `customers` who buy a `product_racket` with the `skill_level:beginner` **Knowledge** label, and then view three or more `guide` `Things` related to "improving technique," have an 82% probability of purchasing an `intermediate` racket within 7-9 months.
|
|
158
|
-
|
|
159
|
-
2. **The Trigger:** You have a customer, Alex. He bought a beginner racket 6 months ago. Last week, he triggered a `guide_viewed` `Event` by reading "How to Add Topspin to Your Bandeja." This is the key trigger.
|
|
160
|
-
|
|
161
|
-
3. **The Proactive Action:** The system doesn't wait for Alex to start browsing. A `sales_agent` is automatically tasked. It sends Alex a personalized email:
|
|
162
|
-
|
|
163
|
-
> "Hi Alex,
|
|
164
|
-
>
|
|
165
|
-
> Hope you're enjoying the court! We noticed you're digging into advanced techniques like topspin. That's a sign you're outgrowing your first racket.
|
|
166
|
-
>
|
|
167
|
-
> When you're ready, the next step for a player like you is often a teardrop-shaped racket for a blend of power and control. Based on your first purchase, we think you'd love the Babolat Technical Veron.
|
|
168
|
-
>
|
|
169
|
-
> No rush at all, but we've unlocked a private video review of that racket just for you.
|
|
170
|
-
>
|
|
171
|
-
> Keep up the great work,
|
|
172
|
-
>
|
|
173
|
-
> The Nine Padel Team"
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
**Powerful Result:** This is a "wow" moment. You've intercepted Alex's need _before he was even conscious of it_. You've become his trusted advisor, not just a retailer. This proactive, consultative approach builds unbreakable loyalty.
|
|
177
|
-
|
|
178
|
-
---
|
|
179
|
-
|
|
180
|
-
### 2. The Intelligent Supply Chain: Selling What You Don't Have Yet
|
|
181
|
-
|
|
182
|
-
This turns your website from a simple storefront into a real-time demand-sensing network.
|
|
183
|
-
|
|
184
|
-
**How it works: "Demand-Sensing Inventory"** 📈
|
|
185
|
-
|
|
186
|
-
1. **The Leading Indicator:** The `intelligence_agent` detects a sudden surge in `product_viewed` `Events` for a specific racket—the "StarVie Triton Pro." It's not translating to sales yet, but the interest is abnormally high. _Why?_ The agent cross-references this with `Knowledge` labels from a data feed and discovers a pro player just won a major tournament using that racket.
|
|
187
|
-
|
|
188
|
-
2. **The Operational Alert:** The agent checks the `product_racket` `Thing` for the Triton Pro and sees you only have 5 units in stock. It immediately creates a high-priority `task` `Thing` assigned to the `store_owner`:
|
|
189
|
-
|
|
190
|
-
> **"CRITICAL ALERT: Imminent Stockout Predicted.**
|
|
191
|
-
>
|
|
192
|
-
> Item: StarVie Triton Pro
|
|
193
|
-
>
|
|
194
|
-
> Reason: Viewing velocity is up 400% in 24 hours (Pro player tournament win).
|
|
195
|
-
>
|
|
196
|
-
> Current Stock: 5 units.
|
|
197
|
-
>
|
|
198
|
-
> Projected Sell-Out: 48 hours.
|
|
199
|
-
>
|
|
200
|
-
> Recommendation: Immediately contact supplier and place a pre-order for 50 units."
|
|
201
|
-
|
|
202
|
-
3. **The Automated Response:** Simultaneously, the `sales_agent` updates the website. The product page for the Triton Pro now reads: **"Due to high demand, this item is selling fast! Pre-order now to secure yours from our next shipment."**
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
**Powerful Result:** You've completely avoided a stockout of a trending item. You captured dozens of sales you would have otherwise missed and turned a potential supply chain crisis into a massive revenue opportunity.
|
|
206
|
-
|
|
207
|
-
---
|
|
208
|
-
|
|
209
|
-
### 3. The Self-Healing Customer Journey: Fixing Problems Before You Know They Exist
|
|
210
|
-
|
|
211
|
-
Your system should be smart enough to identify and fix its own friction points.
|
|
212
|
-
|
|
213
|
-
**How it works: "The Conversion Funnel Autopsy"** 🕵️
|
|
214
|
-
|
|
215
|
-
1. **The Anomaly:** The `intelligence_agent` runs a routine query: "Show me all sessions with a `product_added_to_cart` `Event` but no `order_placed` `Event`." It finds a worrying pattern: 75% of customers who add the "Adidas Metalbone" racket to their cart abandon the purchase on the shipping page. For other rackets, the rate is only 20%.
|
|
216
|
-
|
|
217
|
-
2. **The Root Cause Analysis:** The agent creates an **insight** `Thing`:
|
|
218
|
-
|
|
219
|
-
> **"Insight Generated: High Cart Abandonment for Adidas Metalbone.**
|
|
220
|
-
>
|
|
221
|
-
> Observation: 75% abandonment rate at shipping stage.
|
|
222
|
-
>
|
|
223
|
-
> Hypothesis: The racket's unique box size triggers a higher shipping fee, which is surprising and deterring customers. Confidence: 90%.
|
|
224
|
-
>
|
|
225
|
-
> Supporting Data: Customers who abandoned this purchase have an LTV 30% higher than average; these are valuable customers you are losing."
|
|
226
|
-
|
|
227
|
-
3. **The Autonomous A/B Test:** Based on this insight, a `marketing_agent` is tasked to run an automated experiment. It splits the next 100 customers who add the Metalbone to their cart:
|
|
228
|
-
|
|
229
|
-
- **Group A (Control):** Receives the standard shipping cost.
|
|
230
|
-
|
|
231
|
-
- **Group B (Test):** Receives a pop-up: "Congrats! You've unlocked free shipping on the Adidas Metalbone."
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
**Powerful Result:** After the test, the agent analyzes the results. Group B converted at a rate 60% higher than Group A, and the profit from the extra sales far outweighed the cost of shipping. The system automatically makes "free shipping" the permanent policy for that specific item and flags the insight as "Resolved." Your store got smarter and more profitable on its own, with zero human intervention.
|
package/one/groups/nine-padel.md
DELETED
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
## The Nine Padel Playbook: Your Business, In Plain English
|
|
2
|
-
|
|
3
|
-
Welcome to the new way of running your store. Forget needing a developer for every small change. This document is your playbook. It teaches you a simple English-based language to write "Plays"—automated strategies that your store will run for you.
|
|
4
|
-
|
|
5
|
-
Think of it like writing a recipe. You list the steps, and your intelligent store engine follows them perfectly, every time.
|
|
6
|
-
|
|
7
|
-
**The Core Concept:** Your entire business—every product, customer, and order—is organized into a simple, six-part structure called an ontology. Every command you write is checked against this structure, guaranteeing it will work as expected.
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
### Your Command Reference: The Building Blocks of Your Plays
|
|
12
|
-
|
|
13
|
-
These are the simple English commands you'll use to write your business strategies.
|
|
14
|
-
|
|
15
|
-
#### **CREATE** - Add Something New
|
|
16
|
-
|
|
17
|
-
Use this to add a new product, a guide, or a discount to your store.
|
|
18
|
-
|
|
19
|
-
- `CREATE product called "Head Radical MP" WITH price £180 AND FOR intermediate players.`
|
|
20
|
-
|
|
21
|
-
- `CREATE guide called "How to Prevent Padel Elbow" WITH content from our expert.`
|
|
22
|
-
|
|
23
|
-
- `CREATE discount code "SUMMER10" FOR 10% off all bags.`
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
#### **GET** - Find Information
|
|
27
|
-
|
|
28
|
-
Use this to find customers, products, or orders that match specific criteria.
|
|
29
|
-
|
|
30
|
-
- `GET all customers WHO BOUGHT a Nox racket.`
|
|
31
|
-
|
|
32
|
-
- `GET all orders WITH a total value OVER £200.`
|
|
33
|
-
|
|
34
|
-
- `GET the 5 most viewed products THIS MONTH.`
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
#### **CONNECT** - Link Two Things Together
|
|
38
|
-
|
|
39
|
-
Use this to create relationships, like assigning a review to a product.
|
|
40
|
-
|
|
41
|
-
- `CONNECT a new review TO the "Bullpadel Vertex" racket.`
|
|
42
|
-
|
|
43
|
-
- `CONNECT the "Beginner's Guide" TO all rackets FOR beginners.`
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
#### **RECORD** - Log That Something Happened
|
|
47
|
-
|
|
48
|
-
Use this to create a permanent record of an important action for your analytics.
|
|
49
|
-
|
|
50
|
-
- `RECORD a customer service chat WITH a positive outcome.`
|
|
51
|
-
|
|
52
|
-
- `RECORD that a customer visited our physical pop-up store.`
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
#### **CHECK** - Make a Decision
|
|
56
|
-
|
|
57
|
-
Use this to create rules and logic in your Plays.
|
|
58
|
-
|
|
59
|
-
- `CHECK a customer's total spending is OVER £500.`
|
|
60
|
-
|
|
61
|
-
- `CHECK the stock for the "Adidas Metalbone" is LESS THAN 10.`
|
|
62
|
-
|
|
63
|
-
- `CHECK IF a customer is in the "Loyalists" group.`
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
#### **NOTIFY** - Send a Message
|
|
67
|
-
|
|
68
|
-
Use this to communicate with customers or your staff.
|
|
69
|
-
|
|
70
|
-
- `NOTIFY the customer VIA email ABOUT their shipped order.`
|
|
71
|
-
|
|
72
|
-
- `NOTIFY the warehouse staff VIA Slack ABOUT a new high-value order.`
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
#### **WAIT** - Pause for the Perfect Moment
|
|
76
|
-
|
|
77
|
-
Use this to time your actions perfectly.
|
|
78
|
-
|
|
79
|
-
- `WAIT 24 hours after a cart is abandoned.`
|
|
80
|
-
|
|
81
|
-
- `WAIT until a customer has been inactive FOR 30 days.`
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
---
|
|
85
|
-
|
|
86
|
-
### The Playbook: Your Automated Strategies, In Action
|
|
87
|
-
|
|
88
|
-
Here are complete, real-world examples of "Plays" you can write to attract, convert, and grow your customer base.
|
|
89
|
-
|
|
90
|
-
#### **Play 1: The "Smart Content Machine" (Attraction)**
|
|
91
|
-
|
|
92
|
-
**Goal:** Automatically create helpful blog posts based on your most popular products to attract new customers from Google.
|
|
93
|
-
|
|
94
|
-
**FEATURE:** The Smart Content Machine
|
|
95
|
-
|
|
96
|
-
**WHEN** a product gets more than 100 views in one week
|
|
97
|
-
|
|
98
|
-
**FLOW:**
|
|
99
|
-
|
|
100
|
-
GET the product with over 100 views
|
|
101
|
-
|
|
102
|
-
SAVE AS popular product
|
|
103
|
-
|
|
104
|
-
CHECK IF a guide for this product already exists
|
|
105
|
-
|
|
106
|
-
OTHERWISE move to the next step
|
|
107
|
-
|
|
108
|
-
// Now, let's create a helpful guide based on the product's details.
|
|
109
|
-
|
|
110
|
-
GET the product's brand, skill level, and style
|
|
111
|
-
|
|
112
|
-
SAVE AS product details
|
|
113
|
-
|
|
114
|
-
CALL AI to write a guide titled "Is the [popular product name] Right For You?"
|
|
115
|
-
|
|
116
|
-
WITH the product details
|
|
117
|
-
|
|
118
|
-
EXPLAINING who it's for (e.g., "perfect for intermediate players who want more power")
|
|
119
|
-
|
|
120
|
-
SAVE AS new guide content
|
|
121
|
-
|
|
122
|
-
CREATE guide with the new guide content
|
|
123
|
-
|
|
124
|
-
SAVE AS new guide
|
|
125
|
-
|
|
126
|
-
**CONNECT** the new guide **TO** the popular product
|
|
127
|
-
|
|
128
|
-
**NOTIFY** the store owner **VIA** email **ABOUT** the new draft guide, ready for review.
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
#### **Play 2: The "Intelligent Cart Saver" (Conversion)**
|
|
133
|
-
|
|
134
|
-
**Goal:** Recover abandoned carts with a helpful, personalized message instead of a generic reminder.
|
|
135
|
-
|
|
136
|
-
**FEATURE:** The Intelligent Cart Saver
|
|
137
|
-
|
|
138
|
-
**WHEN** a customer abandons their shopping cart
|
|
139
|
-
|
|
140
|
-
**FLOW:**
|
|
141
|
-
|
|
142
|
-
**WAIT** 2 hours // Give them time to come back on their own.
|
|
143
|
-
|
|
144
|
-
GET the most expensive racket in the abandoned cart
|
|
145
|
-
|
|
146
|
-
SAVE AS the target racket
|
|
147
|
-
|
|
148
|
-
GET all reviews FOR the target racket WITH a 5-star rating
|
|
149
|
-
|
|
150
|
-
SAVE AS top reviews
|
|
151
|
-
|
|
152
|
-
GET one helpful quote from the top reviews
|
|
153
|
-
|
|
154
|
-
SAVE AS best quote
|
|
155
|
-
|
|
156
|
-
NOTIFY the customer VIA email
|
|
157
|
-
|
|
158
|
-
WITH the subject "A question about the [target racket name]?"
|
|
159
|
-
|
|
160
|
-
WITH the message: "Hi, just wondering if you had any questions about the [target racket name]. A recent customer said: '[best quote]'. Let us know if we can help!"
|
|
161
|
-
|
|
162
|
-
**RECORD** that a cart recovery email was sent.
|
|
163
|
-
|
|
164
|
-
---
|
|
165
|
-
|
|
166
|
-
#### **Play 3: The "Loyalty Reward" (Growth)**
|
|
167
|
-
|
|
168
|
-
**Goal:** Automatically identify and reward your best customers to keep them coming back.
|
|
169
|
-
|
|
170
|
-
**FEATURE:** The Loyalty Reward
|
|
171
|
-
|
|
172
|
-
**WHEN** a customer completes their third purchase
|
|
173
|
-
|
|
174
|
-
**FLOW:**
|
|
175
|
-
|
|
176
|
-
**GET** the customer who just made their third purchase
|
|
177
|
-
|
|
178
|
-
GET their total spending across all orders
|
|
179
|
-
|
|
180
|
-
SAVE AS customer lifetime value
|
|
181
|
-
|
|
182
|
-
// Let's create a special, one-time-use discount for them.
|
|
183
|
-
|
|
184
|
-
CREATE a unique discount code FOR 15% off
|
|
185
|
-
|
|
186
|
-
CONNECT this code TO the customer
|
|
187
|
-
|
|
188
|
-
NOTIFY the customer VIA email
|
|
189
|
-
|
|
190
|
-
WITH the subject "A Thank You From Nine Padel!"
|
|
191
|
-
|
|
192
|
-
WITH the message: "Wow, your third order! We're so grateful for your support. As a thank you, here is a special 15% discount code just for you on your next purchase: [unique discount code]."
|
|
193
|
-
|
|
194
|
-
**ADD** the customer **TO** the "Loyalists" customer segment.
|
|
195
|
-
|
|
196
|
-
---
|
|
197
|
-
|
|
198
|
-
### How It All Works: From Your Words to a Live Feature
|
|
199
|
-
|
|
200
|
-
You don't need to worry about the technical details, but here’s the simple process that happens in seconds when you write a Play:
|
|
201
|
-
|
|
202
|
-
1. **You Write in English:** You write a feature using the commands above.
|
|
203
|
-
|
|
204
|
-
2. **System Validates:** The system checks your Play against the six-part ontology to make sure it makes sense (e.g., you can't `CONNECT` a `product` to another `product` as `places`).
|
|
205
|
-
|
|
206
|
-
3. **System Builds:** It automatically generates the necessary code and database logic.
|
|
207
|
-
|
|
208
|
-
4. **Feature is Live:** Your new automated strategy is deployed and running on the edge, close to your customers, making your store smarter.
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
This isn't just a tool; it's your new business partner, ready to execute your best strategies, 24/7.
|