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
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# Remove MCP Context Pollution (Simplest Approach)
|
|
2
|
+
|
|
3
|
+
**Version:** 3.0.0
|
|
4
|
+
**Status:** Dead Simple - Just Remove Until Needed
|
|
5
|
+
**Purpose:** Stop loading 10,000 tokens of MCP docs until actually using the tools
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Problem
|
|
10
|
+
|
|
11
|
+
MCPs auto-load ~10,000 tokens of documentation into context:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
shadcn MCP: ~2,000 tokens
|
|
15
|
+
cloudflare-docs: ~1,500 tokens
|
|
16
|
+
cloudflare-builds: ~3,000 tokens
|
|
17
|
+
Figma MCP: ~2,500 tokens
|
|
18
|
+
IDE MCP: ~1,000 tokens
|
|
19
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
20
|
+
Total: ~10,000 tokens WASTED
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**We don't need these until using the actual tools.**
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Simplest Solution
|
|
28
|
+
|
|
29
|
+
Tell Claude:
|
|
30
|
+
|
|
31
|
+
> **"Don't keep MCP documentation in your active context. Only load it when I actually use an MCP tool."**
|
|
32
|
+
|
|
33
|
+
That's it. Nothing else needed.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## How It Works
|
|
38
|
+
|
|
39
|
+
### Current Behavior (Bad)
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
User: "Let's work on the homepage"
|
|
43
|
+
Claude: [Has 10,000 tokens of MCP docs loaded]
|
|
44
|
+
[Never uses them]
|
|
45
|
+
[Wasted context]
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### New Behavior (Good)
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
User: "Let's work on the homepage"
|
|
52
|
+
Claude: [NO MCP docs loaded]
|
|
53
|
+
[Saves 10,000 tokens]
|
|
54
|
+
[More room for actual work]
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### When Using MCP
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
User: "Add a button with shadcn"
|
|
61
|
+
Claude: [Loads ONLY shadcn docs: ~2,000 tokens]
|
|
62
|
+
[Uses shadcn MCP tool]
|
|
63
|
+
[Still saves 8,000 tokens]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## One-Time Setup Prompt
|
|
69
|
+
|
|
70
|
+
Copy and paste this prompt ONCE. Claude will remember and apply it automatically going forward:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
Claude, from now on and for all future conversations in this project:
|
|
74
|
+
|
|
75
|
+
AUTOMATICALLY clear all MCP documentation from your active context
|
|
76
|
+
unless I'm actually using an MCP tool.
|
|
77
|
+
|
|
78
|
+
Rules:
|
|
79
|
+
1. Default: NO MCP docs loaded (saves ~10,000 tokens)
|
|
80
|
+
2. When I use an MCP tool: Load ONLY that MCP's docs
|
|
81
|
+
3. After using tool: Clear those docs from context
|
|
82
|
+
4. Apply this behavior permanently for this project
|
|
83
|
+
|
|
84
|
+
Available MCPs:
|
|
85
|
+
- shadcn (component registry)
|
|
86
|
+
- cloudflare-docs (documentation search)
|
|
87
|
+
- cloudflare-builds (Workers builds)
|
|
88
|
+
- figma (design data)
|
|
89
|
+
- ide (VS Code integration)
|
|
90
|
+
|
|
91
|
+
Confirm you'll automatically apply this context management going forward.
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**That's it.** Run once, saves 10,000 tokens forever.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Implementation (2 Steps)
|
|
99
|
+
|
|
100
|
+
### Step 1: Update CLAUDE.md
|
|
101
|
+
|
|
102
|
+
Add this to project instructions:
|
|
103
|
+
|
|
104
|
+
```markdown
|
|
105
|
+
# MCP Context Management
|
|
106
|
+
|
|
107
|
+
**CRITICAL:** Do NOT load MCP documentation in active context unless actually using MCP tools.
|
|
108
|
+
|
|
109
|
+
## Available MCPs
|
|
110
|
+
|
|
111
|
+
- shadcn (component registry)
|
|
112
|
+
- cloudflare-docs (documentation search)
|
|
113
|
+
- cloudflare-builds (Workers builds)
|
|
114
|
+
- figma (design data)
|
|
115
|
+
- ide (VS Code integration)
|
|
116
|
+
|
|
117
|
+
## Instructions for Claude
|
|
118
|
+
|
|
119
|
+
1. **DO NOT keep MCP docs in active context by default**
|
|
120
|
+
2. **When user requests MCP tool usage:**
|
|
121
|
+
- Load ONLY that specific MCP's documentation
|
|
122
|
+
- Use the tool
|
|
123
|
+
- Don't keep docs after use
|
|
124
|
+
3. **Result:** Save ~10,000 tokens per conversation
|
|
125
|
+
|
|
126
|
+
## Why This Matters
|
|
127
|
+
|
|
128
|
+
Loading all MCP docs = 10,000 tokens wasted
|
|
129
|
+
Loading only needed MCP = Save 8,000-10,000 tokens
|
|
130
|
+
More tokens = Better code, deeper thinking, longer conversations
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Step 2: Run the One-Time Prompt
|
|
134
|
+
|
|
135
|
+
Use the "One-Time Setup Prompt" above. Claude will:
|
|
136
|
+
- ✓ Remember this instruction permanently
|
|
137
|
+
- ✓ Automatically apply it to all future conversations
|
|
138
|
+
- ✓ Save 10,000 tokens in every conversation
|
|
139
|
+
|
|
140
|
+
Done.
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Results
|
|
145
|
+
|
|
146
|
+
### Before
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
Context Usage:
|
|
150
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
151
|
+
Project instructions: 8,000 tokens
|
|
152
|
+
MCP docs (all): 10,000 tokens
|
|
153
|
+
Conversation: 10,000 tokens
|
|
154
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
155
|
+
Total: 28,000 tokens
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### After
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
Context Usage:
|
|
162
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
163
|
+
Project instructions: 8,000 tokens
|
|
164
|
+
MCP docs: 0 tokens (not loaded)
|
|
165
|
+
Conversation: 10,000 tokens
|
|
166
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
167
|
+
Total: 18,000 tokens
|
|
168
|
+
|
|
169
|
+
Savings: 10,000 tokens (35.7%)
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### When Using MCP
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
Context Usage (using shadcn):
|
|
176
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
177
|
+
Project instructions: 8,000 tokens
|
|
178
|
+
shadcn docs only: 2,000 tokens (loaded on demand)
|
|
179
|
+
Conversation: 10,000 tokens
|
|
180
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
181
|
+
Total: 20,000 tokens
|
|
182
|
+
|
|
183
|
+
Still saves: 8,000 tokens (28.6%)
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Benefits
|
|
189
|
+
|
|
190
|
+
1. **Zero Setup** - Just add one section to CLAUDE.md
|
|
191
|
+
2. **Zero Code** - No scripts, no files, no hooks
|
|
192
|
+
3. **Zero Complexity** - Tell Claude once, it remembers
|
|
193
|
+
4. **Maximum Savings** - 10,000 tokens per conversation
|
|
194
|
+
5. **Works Everywhere** - Copy to any Claude Code project
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## For Any Claude Code Project
|
|
199
|
+
|
|
200
|
+
Copy this to your project's instructions:
|
|
201
|
+
|
|
202
|
+
```markdown
|
|
203
|
+
# MCP Context Management
|
|
204
|
+
|
|
205
|
+
**Don't load MCP documentation in context unless actually using MCP tools.**
|
|
206
|
+
|
|
207
|
+
Available MCPs: [list your MCPs]
|
|
208
|
+
|
|
209
|
+
Instructions:
|
|
210
|
+
1. Don't keep MCP docs in active context
|
|
211
|
+
2. Load only when user requests MCP tool usage
|
|
212
|
+
3. Save ~10,000 tokens per conversation
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## That's It
|
|
218
|
+
|
|
219
|
+
No memory files.
|
|
220
|
+
No API config.
|
|
221
|
+
No hooks.
|
|
222
|
+
No complexity.
|
|
223
|
+
|
|
224
|
+
Just: **"Don't load MCP docs until needed."**
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
**Simple. Effective. Saves 10,000 tokens.**
|
package/one/things/plans/one.md
CHANGED
|
@@ -82,15 +82,16 @@ Non-technical founders and creators are locked out. Developers spend weeks on bo
|
|
|
82
82
|
|
|
83
83
|
## The Solution
|
|
84
84
|
|
|
85
|
-
ONE provides a complete operating system for AI businesses built on
|
|
85
|
+
ONE provides a complete operating system for AI businesses built on six dimensions that model reality:
|
|
86
86
|
|
|
87
|
-
1. **
|
|
88
|
-
2. **
|
|
89
|
-
3. **
|
|
90
|
-
4. **
|
|
91
|
-
5. **
|
|
87
|
+
1. **Groups** - Multi-tenant isolation with hierarchical nesting (friend circles → businesses → DAOs → governments)
|
|
88
|
+
2. **People** - Set intent, govern outcomes, authorize actions (humans stay in command)
|
|
89
|
+
3. **Things** - Every entity (agents, products, audiences, tokens) - 66 types out of the box
|
|
90
|
+
4. **Connections** - Express relationships (ownership, memberships, revenue flows) - 25 types
|
|
91
|
+
5. **Events** - Chronicle every action (launches, interactions, transactions, insights) - 67 types
|
|
92
|
+
6. **Knowledge** - Store semantics (labels, chunks, embeddings that make agents intelligent)
|
|
92
93
|
|
|
93
|
-
Everything you build maps to these
|
|
94
|
+
Everything you build maps to these six dimensions, creating a unified ontology that makes AI agents intelligent, features composable, and your business infinitely scalable.
|
|
94
95
|
|
|
95
96
|
---
|
|
96
97
|
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
# Migration Plan: 4-Table Ontology → 6-Dimension Ontology
|
|
2
2
|
|
|
3
|
-
**Version:**
|
|
3
|
+
**Version:** 2.0.0
|
|
4
4
|
**Created:** 2025-10-10
|
|
5
|
-
**
|
|
5
|
+
**Updated:** 2025-10-24
|
|
6
|
+
**Status:** ✅ Complete
|
|
6
7
|
**Goal:** Transform ONE Platform from a 4-table ontology to a complete 6-dimension architecture that scales from children learning to build AI apps to enterprise platforms serving millions.
|
|
7
8
|
|
|
8
9
|
---
|
|
9
10
|
|
|
10
11
|
## Executive Summary
|
|
11
12
|
|
|
12
|
-
The ONE Platform
|
|
13
|
+
The ONE Platform has been successfully upgraded from a "4-table ontology" (Things, Connections, Events, Knowledge) to a **6-dimension ontology** that explicitly includes Groups and People as first-class dimensions, creating a complete reality-aware architecture.
|
|
13
14
|
|
|
14
15
|
**Why This Matters:**
|
|
15
16
|
|
|
16
|
-
- **For Children:** "I own a lemonade stand (
|
|
17
|
+
- **For Children:** "I own a lemonade stand (Group), I'm the owner (Person), I sell lemonade (Things), customers buy it (Connections), sales happen (Events), and I learn what works (Knowledge)"
|
|
17
18
|
- **For Enterprises:** Multi-tenant SaaS platforms with clear ownership, governance, data isolation, and intelligence
|
|
18
19
|
|
|
19
20
|
**Key Changes:**
|
|
20
21
|
|
|
21
|
-
- `4 tables` → `6 dimensions`
|
|
22
|
-
- Explicit
|
|
23
|
-
- Explicit People (authorization & governance)
|
|
24
|
-
- Enhanced documentation throughout `/one/*`
|
|
22
|
+
- `4 tables` → `6 dimensions` ✅
|
|
23
|
+
- Explicit Groups (multi-tenant isolation with hierarchical nesting) ✅
|
|
24
|
+
- Explicit People (authorization & governance) ✅
|
|
25
|
+
- Enhanced documentation throughout `/one/*` ✅
|
|
26
|
+
|
|
27
|
+
**Note:** We use "Groups" not "Organizations" to support hierarchical nesting from friend circles → businesses → DAOs → governments.
|
|
25
28
|
|
|
26
29
|
---
|
|
27
30
|
|
|
@@ -55,39 +58,42 @@ The ONE Platform currently uses a "4-table ontology" (Things, Connections, Event
|
|
|
55
58
|
|
|
56
59
|
```
|
|
57
60
|
┌──────────────────────────────────────────────┐
|
|
58
|
-
│
|
|
59
|
-
│
|
|
60
|
-
│
|
|
61
|
+
│ 1. GROUPS │
|
|
62
|
+
│ Multi-tenant isolation with hierarchical │
|
|
63
|
+
│ nesting: friend circles → businesses → │
|
|
64
|
+
│ DAOs → governments (all group types) │
|
|
61
65
|
└──────────────────────────────────────────────┘
|
|
62
66
|
↓
|
|
63
67
|
┌──────────────────────────────────────────────┐
|
|
64
68
|
│ 2. PEOPLE │
|
|
65
69
|
│ Who can do what (authorization) │
|
|
66
|
-
│ Platform owner,
|
|
70
|
+
│ Platform owner, group owners, users │
|
|
67
71
|
└──────────────────────────────────────────────┘
|
|
68
72
|
↓
|
|
69
73
|
┌──────────────────────────────────────────────┐
|
|
70
74
|
│ 3. THINGS │
|
|
71
75
|
│ What exists - entities, agents, content │
|
|
72
|
-
│ Created within
|
|
76
|
+
│ Created within group context (via groupId) │
|
|
73
77
|
└──────────────────────────────────────────────┘
|
|
74
78
|
↓
|
|
75
79
|
┌──────────────────────────────────────────────┐
|
|
76
80
|
│ 4. CONNECTIONS │
|
|
77
81
|
│ How things relate - ownership, membership │
|
|
78
|
-
│ Scoped to
|
|
82
|
+
│ Scoped to groups (via groupId) │
|
|
79
83
|
└──────────────────────────────────────────────┘
|
|
80
84
|
↓
|
|
81
85
|
┌──────────────────────────────────────────────┐
|
|
82
86
|
│ 5. EVENTS │
|
|
83
87
|
│ What happened - actions, state changes │
|
|
84
88
|
│ Actor (person) + target (thing) + time │
|
|
89
|
+
│ Scoped to groups (via groupId) │
|
|
85
90
|
└──────────────────────────────────────────────┘
|
|
86
91
|
↓
|
|
87
92
|
┌──────────────────────────────────────────────┐
|
|
88
93
|
│ 6. KNOWLEDGE │
|
|
89
94
|
│ What it means - vectors, embeddings, RAG │
|
|
90
95
|
│ Intelligence layer for all dimensions │
|
|
96
|
+
│ Scoped to groups (via groupId) │
|
|
91
97
|
└──────────────────────────────────────────────┘
|
|
92
98
|
```
|
|
93
99
|
|