oneie 2.0.9 → 3.0.0
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/LICENSE.md +16 -11
- package/README.md +110 -128
- package/dist/index.js +0 -0
- package/folders.yaml +1 -1
- package/one/.obsidian/workspace.json +10 -10
- package/one/README.md +111 -31
- package/one/events/2025-10-15-unignore-public-group-docs.md +280 -0
- package/one/groups/groups.md +543 -0
- package/one/groups/one.md +599 -0
- package/one/knowledge/ontology-frontend.md +76 -46
- package/one/license.md +16 -11
- package/one/things/ONE.md +22 -21
- package/one/things/plans/5-build-frontend.md +0 -0
- package/one/things/plans/switch-off-auth.md +20 -0
- package/package.json +1 -1
- /package/one/things/{vision/elegant-interface.md → interface.md} +0 -0
package/one/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
Make Your Ideas Real
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
https://one.ie • npx oneie
|
|
15
15
|
|
|
16
16
|
The ONE Ontology gives AI agents—and the humans who direct them—a complete, scalable architecture for understanding **who owns what, who can do what, what happened, and what it all means.**
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ The ONE Ontology gives AI agents—and the humans who direct them—a complete,
|
|
|
21
21
|
|
|
22
22
|
---
|
|
23
23
|
|
|
24
|
-
## 🌟 Why
|
|
24
|
+
## 🌟 Why?
|
|
25
25
|
|
|
26
26
|
Traditional systems create tables for features, pollute schemas with temporary concepts, and end up with hundreds of entities nobody understands. The ONE Ontology takes a different approach:
|
|
27
27
|
|
|
@@ -42,11 +42,13 @@ Traditional systems create tables for features, pollute schemas with temporary c
|
|
|
42
42
|
## 🎯 The 6 Dimensions
|
|
43
43
|
|
|
44
44
|
### 1. 👥 Groups
|
|
45
|
+
|
|
45
46
|
**Hierarchical containers that organize people and things**
|
|
46
47
|
|
|
47
48
|
Groups can nest infinitely—from intimate friend circles to massive organizations. Each group owns its own graph of people, things, connections, events, and knowledge, creating perfect isolation at any scale.
|
|
48
49
|
|
|
49
50
|
**6 Group Types:**
|
|
51
|
+
|
|
50
52
|
- `friend_circle` - Small, intimate groups
|
|
51
53
|
- `business` - Commercial organizations
|
|
52
54
|
- `community` - Interest-based collectives
|
|
@@ -55,6 +57,7 @@ Groups can nest infinitely—from intimate friend circles to massive organizatio
|
|
|
55
57
|
- `organization` - Generic groups
|
|
56
58
|
|
|
57
59
|
**URL-Based Creation:**
|
|
60
|
+
|
|
58
61
|
```
|
|
59
62
|
one.ie/group/cooldao → creates "cooldao" group
|
|
60
63
|
one.ie/group/cooldao/treasury → creates nested "treasury" group
|
|
@@ -62,6 +65,7 @@ one.ie/group/emmas-birthday → creates "emmas-birthday" group
|
|
|
62
65
|
```
|
|
63
66
|
|
|
64
67
|
**Hierarchical Nesting Example:**
|
|
68
|
+
|
|
65
69
|
```
|
|
66
70
|
groups/acme-corp (business)
|
|
67
71
|
├─ groups/engineering (organization)
|
|
@@ -82,17 +86,20 @@ groups/cool-dao (dao)
|
|
|
82
86
|
---
|
|
83
87
|
|
|
84
88
|
### 2. 🙋 People
|
|
89
|
+
|
|
85
90
|
**Authorization & governance - WHO can do what**
|
|
86
91
|
|
|
87
92
|
People are the prime movers. Every decision, transaction, and relationship traces back to human intent. People link to organizations through membership connections, creating clear authorization chains.
|
|
88
93
|
|
|
89
94
|
**4 Roles:**
|
|
95
|
+
|
|
90
96
|
- `platform_owner` - Platform-level control
|
|
91
97
|
- `org_owner` - Organization-level control
|
|
92
98
|
- `org_user` - Organization member
|
|
93
99
|
- `customer` - End user
|
|
94
100
|
|
|
95
101
|
**Properties:**
|
|
102
|
+
|
|
96
103
|
- Identity (name, email, wallet)
|
|
97
104
|
- Authentication credentials
|
|
98
105
|
- Role within organization
|
|
@@ -100,6 +107,7 @@ People are the prime movers. Every decision, transaction, and relationship trace
|
|
|
100
107
|
- Preferences and settings
|
|
101
108
|
|
|
102
109
|
**Why it matters:**
|
|
110
|
+
|
|
103
111
|
- ✓ Human authorization required
|
|
104
112
|
- ✓ Clear governance
|
|
105
113
|
- ✓ Audit trails
|
|
@@ -109,6 +117,7 @@ People are the prime movers. Every decision, transaction, and relationship trace
|
|
|
109
117
|
---
|
|
110
118
|
|
|
111
119
|
### 3. 📦 Things
|
|
120
|
+
|
|
112
121
|
**Entities - WHAT exists in your system**
|
|
113
122
|
|
|
114
123
|
Things are discrete entities with properties, types, and states. They can be agents, products, audiences, tokens, mandates, contracts—anything you need to model. Every thing belongs to exactly one group.
|
|
@@ -116,32 +125,41 @@ Things are discrete entities with properties, types, and states. They can be age
|
|
|
116
125
|
**66 Thing Types** organized in categories:
|
|
117
126
|
|
|
118
127
|
**Core:**
|
|
128
|
+
|
|
119
129
|
- `creator`, `audience_member`, `workspace`, `organization_settings`
|
|
120
130
|
|
|
121
131
|
**Agents:**
|
|
132
|
+
|
|
122
133
|
- `intelligence_agent`, `business_agent`, `personal_assistant`, `data_analyst`, `writer`, `researcher`, `moderator`, `customer_support`, `sales_rep`, `code_reviewer`, `qa_tester`, `task_automator`
|
|
123
134
|
|
|
124
135
|
**Content:**
|
|
136
|
+
|
|
125
137
|
- `video_content`, `text_content`, `audio_content`, `image_content`, `course`, `curriculum`, `module`, `lesson`, `quiz`, `certificate`, `podcast`, `newsletter`, `live_stream`, `blog_post`
|
|
126
138
|
|
|
127
139
|
**Products:**
|
|
140
|
+
|
|
128
141
|
- `token`, `nft`, `digital_product`, `offer`, `subscription_tier`, `bundle`, `access_pass`
|
|
129
142
|
|
|
130
143
|
**Community:**
|
|
144
|
+
|
|
131
145
|
- `community`, `forum`, `discussion`, `announcement`, `poll`
|
|
132
146
|
|
|
133
147
|
**Knowledge:**
|
|
148
|
+
|
|
134
149
|
- `knowledge_base`, `knowledge_chunk`, `topic`, `recommendation`, `insight`, `summary`
|
|
135
150
|
|
|
136
151
|
**Platform:**
|
|
152
|
+
|
|
137
153
|
- `ai_clone`, `voice_clone`, `personality_profile`, `mandate`, `delegation`, `workflow`, `automation`, `integration`, `webhook`
|
|
138
154
|
|
|
139
155
|
**Business:**
|
|
156
|
+
|
|
140
157
|
- `lead`, `deal`, `invoice`, `payment_method`, `payout_config`
|
|
141
158
|
|
|
142
159
|
---
|
|
143
160
|
|
|
144
161
|
### 4. 🔗 Connections
|
|
162
|
+
|
|
145
163
|
**Relationships - HOW things relate to each other**
|
|
146
164
|
|
|
147
165
|
Connections are first-class relationships with their own properties. They express ownership, membership, governance, authorization, dependencies, transactions, and more. Connections make the implicit explicit.
|
|
@@ -149,28 +167,33 @@ Connections are first-class relationships with their own properties. They expres
|
|
|
149
167
|
**25 Connection Types:**
|
|
150
168
|
|
|
151
169
|
**Ownership & Authorization:**
|
|
170
|
+
|
|
152
171
|
- `owns` - Ownership relationship
|
|
153
172
|
- `can_read` - Read access
|
|
154
173
|
- `can_write` - Write access
|
|
155
174
|
- `can_execute` - Execution permission
|
|
156
175
|
|
|
157
176
|
**Governance:**
|
|
177
|
+
|
|
158
178
|
- `governed_by` - Governed by mandate
|
|
159
179
|
- `delegated_to` - Delegation chain
|
|
160
180
|
- `member_of` - Membership
|
|
161
181
|
|
|
162
182
|
**Content & Knowledge:**
|
|
183
|
+
|
|
163
184
|
- `authored` - Created content
|
|
164
185
|
- `taught_by` - Teaching relationship
|
|
165
186
|
- `enrolled_in` - Course enrollment
|
|
166
187
|
- `contains` - Hierarchical containment
|
|
167
188
|
|
|
168
189
|
**Social:**
|
|
190
|
+
|
|
169
191
|
- `following` - Social following
|
|
170
192
|
- `subscribed_to` - Subscription
|
|
171
193
|
- `holds_tokens` - Token ownership
|
|
172
194
|
|
|
173
195
|
**Consolidated Types (with metadata):**
|
|
196
|
+
|
|
174
197
|
- `transacted` - Financial transactions (metadata.protocol: stripe | sui | blockchain)
|
|
175
198
|
- `communicated` - Messages/interactions (metadata.channel: email | chat | voice)
|
|
176
199
|
- `delegated` - Delegated authority (metadata.permissions: [...])
|
|
@@ -182,6 +205,7 @@ Connections are first-class relationships with their own properties. They expres
|
|
|
182
205
|
---
|
|
183
206
|
|
|
184
207
|
### 5. ⚡ Events
|
|
208
|
+
|
|
185
209
|
**Actions - WHAT happened, when, and why**
|
|
186
210
|
|
|
187
211
|
Events are immutable records of every action in your system. They create an audit trail, enable time-travel queries, feed analytics, and power learning loops. Events are the memory of your system.
|
|
@@ -189,30 +213,39 @@ Events are immutable records of every action in your system. They create an audi
|
|
|
189
213
|
**67 Event Types** organized in categories:
|
|
190
214
|
|
|
191
215
|
**Thing Lifecycle:**
|
|
216
|
+
|
|
192
217
|
- `thing_created`, `thing_updated`, `thing_deleted`, `thing_published`, `thing_archived`
|
|
193
218
|
|
|
194
219
|
**User Actions:**
|
|
220
|
+
|
|
195
221
|
- `user_signup`, `user_login`, `user_logout`, `profile_updated`, `preferences_changed`
|
|
196
222
|
|
|
197
223
|
**AI/Agent:**
|
|
224
|
+
|
|
198
225
|
- `agent_created`, `agent_executed`, `agent_completed`, `agent_failed`, `clone_created`, `clone_interaction`, `voice_cloned`, `personality_analyzed`
|
|
199
226
|
|
|
200
227
|
**Inference Events:**
|
|
228
|
+
|
|
201
229
|
- `inference_request`, `inference_completed`, `inference_failed`, `inference_quota_exceeded`, `inference_revenue_collected`, `org_revenue_generated`, `revenue_share_distributed`
|
|
202
230
|
|
|
203
231
|
**Token/NFT:**
|
|
232
|
+
|
|
204
233
|
- `token_created`, `tokens_purchased`, `tokens_transferred`, `tokens_burned`, `nft_minted`, `nft_transferred`
|
|
205
234
|
|
|
206
235
|
**Blockchain:**
|
|
236
|
+
|
|
207
237
|
- `tokens_bridged`, `contract_deployed`, `treasury_withdrawal`
|
|
208
238
|
|
|
209
239
|
**Content:**
|
|
240
|
+
|
|
210
241
|
- `content_created`, `content_published`, `content_viewed`, `content_liked`, `content_shared`, `course_enrolled`, `lesson_completed`, `quiz_submitted`, `certificate_earned`
|
|
211
242
|
|
|
212
243
|
**Knowledge:**
|
|
244
|
+
|
|
213
245
|
- `knowledge_indexed`, `embedding_generated`, `search_performed`, `recommendation_generated`
|
|
214
246
|
|
|
215
247
|
**Consolidated Events (with metadata):**
|
|
248
|
+
|
|
216
249
|
- `communicated` (metadata.protocol: email | sms | chat)
|
|
217
250
|
- `transacted` (metadata.protocol: stripe | sui | blockchain)
|
|
218
251
|
- `content_engaged` (metadata.engagement_type: view | like | share)
|
|
@@ -221,6 +254,7 @@ Events are immutable records of every action in your system. They create an audi
|
|
|
221
254
|
---
|
|
222
255
|
|
|
223
256
|
### 6. 🧠 Knowledge
|
|
257
|
+
|
|
224
258
|
**Intelligence - WHAT it all means**
|
|
225
259
|
|
|
226
260
|
Knowledge captures semantics—labels, chunks, embeddings, and structured insights—that give agents the context they need to act intelligently. Knowledge transforms raw events and properties into queryable, composable intelligence.
|
|
@@ -241,6 +275,7 @@ Knowledge captures semantics—labels, chunks, embeddings, and structured insigh
|
|
|
241
275
|
12. **network** - sui, solana, base, ethereum
|
|
242
276
|
|
|
243
277
|
**Features:**
|
|
278
|
+
|
|
244
279
|
- Labels for categorization
|
|
245
280
|
- Chunks for semantic search
|
|
246
281
|
- Embeddings for vector similarity
|
|
@@ -258,19 +293,22 @@ Knowledge captures semantics—labels, chunks, embeddings, and structured insigh
|
|
|
258
293
|
Let's see how all six dimensions work together in a real feature:
|
|
259
294
|
|
|
260
295
|
#### Step 0: **Groups** (Scope)
|
|
296
|
+
|
|
261
297
|
```typescript
|
|
262
|
-
groupId: "acme-corp"
|
|
298
|
+
groupId: "acme-corp";
|
|
263
299
|
// Transaction happens within this group boundary
|
|
264
300
|
// All entities belong to this group (can be nested)
|
|
265
301
|
```
|
|
266
302
|
|
|
267
303
|
#### Step 1: **People** (Authorization)
|
|
304
|
+
|
|
268
305
|
```typescript
|
|
269
|
-
actorId: "fan_123"
|
|
306
|
+
actorId: "fan_123";
|
|
270
307
|
// Fan authorizes: "Buy 100 creator tokens for $10"
|
|
271
308
|
```
|
|
272
309
|
|
|
273
310
|
#### Step 2: **Things** (Entities Involved)
|
|
311
|
+
|
|
274
312
|
```typescript
|
|
275
313
|
{
|
|
276
314
|
fan_123: { type: "audience_member" },
|
|
@@ -279,6 +317,7 @@ actorId: "fan_123"
|
|
|
279
317
|
```
|
|
280
318
|
|
|
281
319
|
#### Step 3: **Connections** (Relationship Created)
|
|
320
|
+
|
|
282
321
|
```typescript
|
|
283
322
|
{
|
|
284
323
|
fromThingId: "fan_123",
|
|
@@ -289,6 +328,7 @@ actorId: "fan_123"
|
|
|
289
328
|
```
|
|
290
329
|
|
|
291
330
|
#### Step 4: **Events** (Action Recorded)
|
|
331
|
+
|
|
292
332
|
```typescript
|
|
293
333
|
{
|
|
294
334
|
type: "tokens_purchased",
|
|
@@ -300,9 +340,10 @@ actorId: "fan_123"
|
|
|
300
340
|
```
|
|
301
341
|
|
|
302
342
|
#### Step 5: **Knowledge** (Context Added)
|
|
343
|
+
|
|
303
344
|
```typescript
|
|
304
345
|
// Labels give downstream agents context
|
|
305
|
-
tags: ["payment_method:stripe", "status:completed", "audience:engaged"]
|
|
346
|
+
tags: ["payment_method:stripe", "status:completed", "audience:engaged"];
|
|
306
347
|
```
|
|
307
348
|
|
|
308
349
|
**Result:** One intent now touches every dimension—organizational scope, authorization, entities, relationships, events, and context—ready for agents to reuse.
|
|
@@ -364,13 +405,13 @@ WHEN a fan sends a message
|
|
|
364
405
|
|
|
365
406
|
**5 Core Commands:**
|
|
366
407
|
|
|
367
|
-
| Command
|
|
368
|
-
|
|
369
|
-
| `CREATE`
|
|
370
|
-
| `CONNECT` | Define relationships with metadata
|
|
371
|
-
| `RECORD`
|
|
372
|
-
| `CALL`
|
|
373
|
-
| `CHECK`
|
|
408
|
+
| Command | Purpose | Example |
|
|
409
|
+
| --------- | ----------------------------------- | -------------------------------- |
|
|
410
|
+
| `CREATE` | Add typed Things into the graph | `CREATE ai clone WITH voice ID` |
|
|
411
|
+
| `CONNECT` | Define relationships with metadata | `CONNECT fan to token as holder` |
|
|
412
|
+
| `RECORD` | Append immutable Events | `RECORD tokens purchased BY fan` |
|
|
413
|
+
| `CALL` | Invoke services and persist outputs | `CALL Stripe to charge payment` |
|
|
414
|
+
| `CHECK` | Enforce guardrails before action | `CHECK user has tokens` |
|
|
374
415
|
|
|
375
416
|
See [language.md](./knowledge/language.md) for complete DSL specification.
|
|
376
417
|
|
|
@@ -379,21 +420,27 @@ See [language.md](./knowledge/language.md) for complete DSL specification.
|
|
|
379
420
|
## 🚀 What This Unlocks
|
|
380
421
|
|
|
381
422
|
### Zero-Trust Authorization
|
|
423
|
+
|
|
382
424
|
Every action traces back through explicit connections to a person in an organization. Perfect auditability. No implicit permissions. Authorization is data, not code.
|
|
383
425
|
|
|
384
426
|
### Identity-Aware Intelligence
|
|
427
|
+
|
|
385
428
|
Agents don't just retrieve facts—they understand organizational context, provenance, licensing, governance, and strategic constraints.
|
|
386
429
|
|
|
387
430
|
### Event-Driven Compounding
|
|
431
|
+
|
|
388
432
|
Every action generates events that create knowledge that enriches future actions. The system gets smarter with every interaction.
|
|
389
433
|
|
|
390
434
|
### Protocol-Agnostic Integration
|
|
435
|
+
|
|
391
436
|
Same ontology, different protocols—all via metadata. Query across Stripe, SUI, and any future protocol with unified patterns.
|
|
392
437
|
|
|
393
438
|
### Cross-Organization Collaboration
|
|
439
|
+
|
|
394
440
|
Resources can be shared without transferring ownership. Perfect for knowledge marketplaces with trustless licensing.
|
|
395
441
|
|
|
396
442
|
### Tokenization with SUI
|
|
443
|
+
|
|
397
444
|
SUI's object-centric model maps naturally to ONE's thing-centric ontology. Knowledge as tradeable, licensable assets.
|
|
398
445
|
|
|
399
446
|
---
|
|
@@ -401,18 +448,21 @@ SUI's object-centric model maps naturally to ONE's thing-centric ontology. Knowl
|
|
|
401
448
|
## 📈 Built for Scale
|
|
402
449
|
|
|
403
450
|
### Current Scale
|
|
451
|
+
|
|
404
452
|
- ✅ 1M+ things per organization
|
|
405
453
|
- ✅ 10M+ connections (optimized indexes)
|
|
406
454
|
- ✅ 100M+ events (time-partitioned)
|
|
407
455
|
- ✅ 1M+ knowledge chunks (vector search)
|
|
408
456
|
|
|
409
457
|
### Performance
|
|
458
|
+
|
|
410
459
|
- 🚀 Graph caching (ownership chains)
|
|
411
460
|
- 🚀 Materialized views (common queries)
|
|
412
461
|
- 🚀 Event archival (cold storage)
|
|
413
462
|
- 🚀 Token budgeting (context aware)
|
|
414
463
|
|
|
415
464
|
### Future Scale
|
|
465
|
+
|
|
416
466
|
- 🔮 Shard by organization (>10M things)
|
|
417
467
|
- 🔮 Streaming events (Kafka)
|
|
418
468
|
- 🔮 Distributed vectors (Weaviate)
|
|
@@ -425,11 +475,11 @@ SUI's object-centric model maps naturally to ONE's thing-centric ontology. Knowl
|
|
|
425
475
|
This repository contains **41 documentation files** organized in **8 layers**:
|
|
426
476
|
|
|
427
477
|
### 1. Strategy Layer (Vision & Revenue)
|
|
428
|
-
|
|
429
|
-
- [revenue.md](./groups/revenue.md) - Revenue strategy
|
|
478
|
+
|
|
430
479
|
- [one.md](./groups/one.md) - Platform organization
|
|
431
480
|
|
|
432
481
|
### 2. Ontology Layer (Core Model)
|
|
482
|
+
|
|
433
483
|
- [ontology.md](./knowledge/ontology.md) - Complete 6-dimension spec (Version 1.0.0)
|
|
434
484
|
- [groups.md](./groups/groups.md) - Groups dimension
|
|
435
485
|
- [things.md](./things/things.md) - Things dimension
|
|
@@ -438,29 +488,35 @@ This repository contains **41 documentation files** organized in **8 layers**:
|
|
|
438
488
|
- [knowledge.md](./knowledge/knowledge.md) - Knowledge dimension
|
|
439
489
|
|
|
440
490
|
### 3. Protocols Layer (A2A, ACP, AP2, X402, AG-UI)
|
|
491
|
+
|
|
441
492
|
- [protocols.md](./connections/protocols.md) - Protocol overview
|
|
442
493
|
- [a2a.md](./connections/a2a.md), [acp.md](./connections/acp.md), [ap2.md](./connections/ap2.md), [x402.md](./connections/x402.md), [agui.md](./connections/agui.md)
|
|
443
494
|
|
|
444
495
|
### 4. Services Layer (Effect.ts)
|
|
496
|
+
|
|
445
497
|
- [service-layer.md](./connections/service-layer.md) - Effect.ts patterns
|
|
446
498
|
- [service-providers.md](./things/service-providers.md) - External API providers
|
|
447
499
|
|
|
448
500
|
### 5. Implementation Layer (Frontend, Patterns)
|
|
501
|
+
|
|
449
502
|
- [frontend.md](./knowledge/frontend.md) - Frontend architecture
|
|
450
503
|
- [architecture.md](./knowledge/architecture.md) - System architecture
|
|
451
504
|
- [patterns.md](./connections/patterns.md) - Code patterns
|
|
452
505
|
|
|
453
506
|
### 6. Integration Layer (ElizaOS, CopilotKit, MCP, N8N)
|
|
507
|
+
|
|
454
508
|
- [elizaos.md](./connections/elizaos.md) - ElizaOS integration
|
|
455
509
|
- [copilotkit.md](./connections/copilotkit.md) - CopilotKit integration
|
|
456
510
|
- [mcp.md](./connections/mcp.md) - Model Context Protocol
|
|
457
511
|
- [n8n.md](./connections/n8n.md) - N8N workflow automation
|
|
458
512
|
|
|
459
513
|
### 7. Examples Layer (Use Cases)
|
|
514
|
+
|
|
460
515
|
- [lemonade-stand.md](./things/examples/children/lemonade-stand.md) - Simple for children
|
|
461
516
|
- Enterprise CRM examples
|
|
462
517
|
|
|
463
518
|
### 8. Plans Layer (Future & Technical Debt)
|
|
519
|
+
|
|
464
520
|
- Various planning documents
|
|
465
521
|
|
|
466
522
|
**Use targeted reading:** Don't read everything - follow the critical path for your specific feature type.
|
|
@@ -474,6 +530,7 @@ See [files.md](./knowledge/files.md) for complete file location guide.
|
|
|
474
530
|
### For Developers
|
|
475
531
|
|
|
476
532
|
1. **Understand the Ontology**
|
|
533
|
+
|
|
477
534
|
```bash
|
|
478
535
|
# Read these in order:
|
|
479
536
|
- knowledge/ontology.md (complete 6-dimension spec)
|
|
@@ -543,24 +600,31 @@ See [language.md](./knowledge/language.md) for complete DSL reference.
|
|
|
543
600
|
## 🏗️ Architecture Principles
|
|
544
601
|
|
|
545
602
|
### 1. Clarity Scales
|
|
603
|
+
|
|
546
604
|
Everything maps to the 6 dimensions. No exceptions. If it doesn't map, rethink your approach.
|
|
547
605
|
|
|
548
606
|
### 2. Groups Partition for Scale
|
|
607
|
+
|
|
549
608
|
From friend circles (2 people) to governments (billions) without schema changes. Infinite hierarchical nesting supported.
|
|
550
609
|
|
|
551
610
|
### 3. People Authorize for Governance
|
|
611
|
+
|
|
552
612
|
Every action traces back to human intent. AI serves people, not the other way around.
|
|
553
613
|
|
|
554
614
|
### 4. Things Exist for Substance
|
|
615
|
+
|
|
555
616
|
66 thing types capture everything you need to model. Flexible `properties` field for type-specific data.
|
|
556
617
|
|
|
557
618
|
### 5. Connections Relate for Structure
|
|
619
|
+
|
|
558
620
|
25 connection types make the implicit explicit. Relationships are first-class with metadata.
|
|
559
621
|
|
|
560
622
|
### 6. Events Record for Memory
|
|
623
|
+
|
|
561
624
|
67 event types create immutable audit trail. Time-travel queries and analytics built-in.
|
|
562
625
|
|
|
563
626
|
### 7. Knowledge Learns for Intelligence
|
|
627
|
+
|
|
564
628
|
Tags, chunks, embeddings, and relationships give AI agents context to act intelligently.
|
|
565
629
|
|
|
566
630
|
---
|
|
@@ -579,9 +643,34 @@ Tags, chunks, embeddings, and relationships give AI agents context to act intell
|
|
|
579
643
|
|
|
580
644
|
---
|
|
581
645
|
|
|
646
|
+
## 🤖 Claude Automation Stack
|
|
647
|
+
|
|
648
|
+
### `.claude/agents/*`
|
|
649
|
+
|
|
650
|
+
- **Director (`agent-director.md`)** validates ideas against the 6 dimensions, sequences numbered plans, and routes work to the right specialist.
|
|
651
|
+
- **Builder squad (`agent-builder.md`, `agent-backend.md`, `agent-frontend.md`, `backend-specialist.md`, `frontend-specialist.md`)** implements Convex services, Astro interfaces, and cross-cutting features while preserving multi-tenant boundaries and typed contracts.
|
|
652
|
+
- **Integration lead (`agent-integrator.md`)** connects external protocols (A2A, ACP, AP2, X402, AG-UI) and reconciles third-party data so it lands in groups, people, things, connections, events, and knowledge.
|
|
653
|
+
- **Quality loop (`agent-quality.md`, `agent-clean.md`, `agent-problem-solver.md`)** defines acceptance up front, enforces guardrails, diagnoses failures, and refactors without breaking ontology guarantees.
|
|
654
|
+
- **Design + knowledge (`agent-designer.md`, `designer.md`, `agent-documenter.md`)** translate specs into accessible UI systems, tokens, and documentation so the knowledge dimension stays queryable for future generations.
|
|
655
|
+
- **Growth ops (`agent-clone.md`, `agent-sales.md`)** migrate legacy assets, build AI clones, manage trials, and tie revenue attribution back to event streams.
|
|
656
|
+
|
|
657
|
+
**Cascade in practice:** Director validates → Quality defines tests → Designers supply artifacts → Specialists build → Clean and Problem Solver close gaps → Documenter updates knowledge. Every agent reads and writes to the same ontology, so each run leaves richer context for the next.
|
|
658
|
+
|
|
659
|
+
### MCP Servers (`.mcp.json`)
|
|
660
|
+
|
|
661
|
+
- **shadcn** (`npx shadcn@latest mcp`) gives UI agents instant access to audited component recipes without leaving Claude Code.
|
|
662
|
+
- **cloudflare-builds** (`npx -y mcp-remote https://builds.mcp.cloudflare.com/sse`) lets release flows trigger deployments, inspect logs, and roll back while emitting auditable events.
|
|
663
|
+
- **cloudflare-docs** (`npx -y mcp-remote https://docs.mcp.cloudflare.com/sse`) streams authoritative references so integrators and quality agents stay aligned with platform guidance.
|
|
664
|
+
- **chrome-devtools** (`npx -y chrome-devtools-mcp@latest`) enables live performance profiling; findings roll into knowledge chunks for future optimizations.
|
|
665
|
+
|
|
666
|
+
**How it fits:** `.claude/commands/*` orchestrate the workflow (plan → build → release), `.claude/hooks/*` enforce guardrails, agents execute the steps, and MCP servers provide live tool access—all grounded in the ONE ontology as the single source of truth.
|
|
667
|
+
|
|
668
|
+
---
|
|
669
|
+
|
|
582
670
|
## 📊 Statistics
|
|
583
671
|
|
|
584
672
|
### Ontology Size
|
|
673
|
+
|
|
585
674
|
- **6 Dimensions** (groups, people, things, connections, events, knowledge)
|
|
586
675
|
- **6 Group Types** (friend_circle, business, community, dao, government, organization)
|
|
587
676
|
- **4 Roles** (platform_owner, org_owner, org_user, customer)
|
|
@@ -591,6 +680,7 @@ Tags, chunks, embeddings, and relationships give AI agents context to act intell
|
|
|
591
680
|
- **12 Tag Categories** (industry, skill, topic, format, goal, audience, technology, status, capability, protocol, payment, network)
|
|
592
681
|
|
|
593
682
|
### Coverage
|
|
683
|
+
|
|
594
684
|
- ✅ **100% Protocol Agnostic** - Stripe, SUI, Solana, any blockchain via metadata
|
|
595
685
|
- ✅ **100% Type Safe** - Every entity, connection, and event is typed
|
|
596
686
|
- ✅ **100% AI Understandable** - Plain English DSL compiles to ontology
|
|
@@ -601,6 +691,7 @@ Tags, chunks, embeddings, and relationships give AI agents context to act intell
|
|
|
601
691
|
## 🔗 Quick Links
|
|
602
692
|
|
|
603
693
|
### Core Documentation
|
|
694
|
+
|
|
604
695
|
- [📖 Complete Ontology Specification](./knowledge/ontology.md) - Version 1.0.0
|
|
605
696
|
- [🎨 Plain English DSL](./knowledge/language.md) - Write features in English
|
|
606
697
|
- [🏗️ Architecture Guide](./knowledge/architecture.md) - System architecture
|
|
@@ -610,14 +701,14 @@ Tags, chunks, embeddings, and relationships give AI agents context to act intell
|
|
|
610
701
|
- [📁 File Locations](./knowledge/files.md) - Where everything goes
|
|
611
702
|
|
|
612
703
|
### Integrations
|
|
704
|
+
|
|
613
705
|
- [🤖 ElizaOS](./connections/elizaos.md) - Multi-agent communication
|
|
614
|
-
- [🎨 CopilotKit](./connections/copilotkit.md) - Generative UI
|
|
615
706
|
- [🔌 MCP](./connections/mcp.md) - Model Context Protocol
|
|
616
707
|
- [⚙️ N8N](./connections/n8n.md) - Workflow automation
|
|
617
708
|
|
|
618
709
|
### Examples
|
|
710
|
+
|
|
619
711
|
- [🍋 Lemonade Stand](./things/examples/children/lemonade-stand.md) - Simple for children
|
|
620
|
-
- Enterprise CRM (coming soon)
|
|
621
712
|
|
|
622
713
|
---
|
|
623
714
|
|
|
@@ -636,19 +727,8 @@ We welcome contributions! Before submitting:
|
|
|
636
727
|
|
|
637
728
|
## 📜 License
|
|
638
729
|
|
|
639
|
-
Copyright © 2025 ONE
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
See [LICENSE.md](../LICENSE.md) for details.
|
|
643
|
-
|
|
644
|
-
---
|
|
645
|
-
|
|
646
|
-
## 🌐 Links
|
|
647
|
-
|
|
648
|
-
- **Website:** [one.ie](https://one.ie)
|
|
649
|
-
- **GitHub:** [github.com/one-ie/ontology](https://github.com/one-ie/ontology)
|
|
650
|
-
- **Documentation:** [docs.one.ie](https://docs.one.ie)
|
|
651
|
-
- **NPM:** `npx oneie@latest`
|
|
730
|
+
Copyright © 2025 ONE
|
|
731
|
+
ONE Free License -see [LICENSE.md](../LICENSE.md).
|
|
652
732
|
|
|
653
733
|
---
|
|
654
734
|
|
|
@@ -656,8 +736,8 @@ See [LICENSE.md](../LICENSE.md) for details.
|
|
|
656
736
|
|
|
657
737
|
**ONE Ontology. Infinite Systems.**
|
|
658
738
|
|
|
659
|
-
|
|
739
|
+
_Built with clarity, simplicity, and infinite scale in mind._
|
|
660
740
|
|
|
661
|
-
[Explore the Platform](https://one.ie) • [View on GitHub](https://github.com/one-ie/
|
|
741
|
+
[Explore the Platform](https://one.ie) • [View on GitHub](https://github.com/one-ie/one) • [Read the Docs](https://one.ie/docs)
|
|
662
742
|
|
|
663
743
|
</div>
|