oneie 3.7.0 → 3.8.1
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/README.md +9 -9
- package/dist/commands/agent.d.ts +2 -0
- package/dist/commands/agent.d.ts.map +1 -1
- package/dist/commands/agent.js +44 -0
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/bounty.d.ts +4 -0
- package/dist/commands/bounty.d.ts.map +1 -0
- package/dist/commands/bounty.js +24 -0
- package/dist/commands/bounty.js.map +1 -0
- package/dist/commands/buy.d.ts +19 -0
- package/dist/commands/buy.d.ts.map +1 -0
- package/dist/commands/buy.js +63 -0
- package/dist/commands/buy.js.map +1 -0
- package/dist/commands/capabilities.d.ts +4 -0
- package/dist/commands/capabilities.d.ts.map +1 -0
- package/dist/commands/capabilities.js +18 -0
- package/dist/commands/capabilities.js.map +1 -0
- package/dist/commands/commend.d.ts +4 -0
- package/dist/commands/commend.d.ts.map +1 -0
- package/dist/commands/commend.js +13 -0
- package/dist/commands/commend.js.map +1 -0
- package/dist/commands/completion.d.ts +4 -0
- package/dist/commands/completion.d.ts.map +1 -0
- package/dist/commands/completion.js +49 -0
- package/dist/commands/completion.js.map +1 -0
- package/dist/commands/config.d.ts +4 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +78 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/deploy.d.ts +1 -1
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/deploy.js +39 -4
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/doctor.d.ts +4 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +72 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/domain.d.ts +4 -0
- package/dist/commands/domain.d.ts.map +1 -0
- package/dist/commands/domain.js +19 -0
- package/dist/commands/domain.js.map +1 -0
- package/dist/commands/export.d.ts +4 -0
- package/dist/commands/export.d.ts.map +1 -0
- package/dist/commands/export.js +15 -0
- package/dist/commands/export.js.map +1 -0
- package/dist/commands/fade.d.ts.map +1 -1
- package/dist/commands/fade.js +8 -4
- package/dist/commands/fade.js.map +1 -1
- package/dist/commands/flag.d.ts +4 -0
- package/dist/commands/flag.d.ts.map +1 -0
- package/dist/commands/flag.js +13 -0
- package/dist/commands/flag.js.map +1 -0
- package/dist/commands/health.d.ts +4 -0
- package/dist/commands/health.d.ts.map +1 -0
- package/dist/commands/health.js +11 -0
- package/dist/commands/health.js.map +1 -0
- package/dist/commands/highways.d.ts.map +1 -1
- package/dist/commands/highways.js +7 -4
- package/dist/commands/highways.js.map +1 -1
- package/dist/commands/hire.d.ts +4 -0
- package/dist/commands/hire.d.ts.map +1 -0
- package/dist/commands/hire.js +16 -0
- package/dist/commands/hire.js.map +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +85 -48
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/invite.d.ts +4 -0
- package/dist/commands/invite.d.ts.map +1 -0
- package/dist/commands/invite.js +37 -0
- package/dist/commands/invite.js.map +1 -0
- package/dist/commands/mark.d.ts.map +1 -1
- package/dist/commands/mark.js +7 -7
- package/dist/commands/mark.js.map +1 -1
- package/dist/commands/pay.d.ts +4 -0
- package/dist/commands/pay.d.ts.map +1 -0
- package/dist/commands/pay.js +21 -0
- package/dist/commands/pay.js.map +1 -0
- package/dist/commands/pipe.d.ts +4 -0
- package/dist/commands/pipe.d.ts.map +1 -0
- package/dist/commands/pipe.js +35 -0
- package/dist/commands/pipe.js.map +1 -0
- package/dist/commands/publish.d.ts +4 -0
- package/dist/commands/publish.d.ts.map +1 -0
- package/dist/commands/publish.js +23 -0
- package/dist/commands/publish.js.map +1 -0
- package/dist/commands/repl.d.ts +4 -0
- package/dist/commands/repl.d.ts.map +1 -0
- package/dist/commands/repl.js +56 -0
- package/dist/commands/repl.js.map +1 -0
- package/dist/commands/revenue.d.ts +4 -0
- package/dist/commands/revenue.d.ts.map +1 -0
- package/dist/commands/revenue.js +11 -0
- package/dist/commands/revenue.js.map +1 -0
- package/dist/commands/sell.d.ts +15 -0
- package/dist/commands/sell.d.ts.map +1 -0
- package/dist/commands/sell.js +49 -0
- package/dist/commands/sell.js.map +1 -0
- package/dist/commands/stats.d.ts +4 -0
- package/dist/commands/stats.d.ts.map +1 -0
- package/dist/commands/stats.js +11 -0
- package/dist/commands/stats.js.map +1 -0
- package/dist/commands/status.d.ts +4 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +18 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/commands/subscribe.d.ts +14 -0
- package/dist/commands/subscribe.d.ts.map +1 -0
- package/dist/commands/subscribe.js +33 -0
- package/dist/commands/subscribe.js.map +1 -0
- package/dist/commands/tail.d.ts +4 -0
- package/dist/commands/tail.d.ts.map +1 -0
- package/dist/commands/tail.js +51 -0
- package/dist/commands/tail.js.map +1 -0
- package/dist/commands/warn.d.ts.map +1 -1
- package/dist/commands/warn.js +6 -6
- package/dist/commands/warn.js.map +1 -1
- package/dist/index.js +70 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/args.d.ts +1 -0
- package/dist/lib/args.d.ts.map +1 -1
- package/dist/lib/args.js +3 -0
- package/dist/lib/args.js.map +1 -1
- package/dist/lib/output.d.ts +5 -0
- package/dist/lib/output.d.ts.map +1 -0
- package/dist/lib/output.js +32 -0
- package/dist/lib/output.js.map +1 -0
- package/dist/lib/sdk.d.ts +10 -0
- package/dist/lib/sdk.d.ts.map +1 -0
- package/dist/lib/sdk.js +22 -0
- package/dist/lib/sdk.js.map +1 -0
- package/dist/utils/installation-setup.d.ts +15 -0
- package/dist/utils/installation-setup.d.ts.map +1 -1
- package/dist/utils/installation-setup.js +63 -0
- package/dist/utils/installation-setup.js.map +1 -1
- package/package.json +3 -18
- package/.claude/agents/TROUBLESHOOTING.md +0 -530
- package/.claude/agents/agent-backend.md +0 -574
- package/.claude/agents/agent-builder.md +0 -911
- package/.claude/agents/agent-claude.md +0 -645
- package/.claude/agents/agent-clean.md +0 -477
- package/.claude/agents/agent-clone.md +0 -554
- package/.claude/agents/agent-designer.md +0 -1080
- package/.claude/agents/agent-director.md +0 -2254
- package/.claude/agents/agent-documenter.md +0 -688
- package/.claude/agents/agent-frontend.md +0 -1199
- package/.claude/agents/agent-integrator.md +0 -670
- package/.claude/agents/agent-lawyer.md +0 -1320
- package/.claude/agents/agent-news.md +0 -363
- package/.claude/agents/agent-onboard.md +0 -613
- package/.claude/agents/agent-ontology.md +0 -585
- package/.claude/agents/agent-ops.md +0 -1275
- package/.claude/agents/agent-problem-solver.md +0 -669
- package/.claude/agents/agent-quality.md +0 -1042
- package/.claude/agents/agent-sales.md +0 -507
- package/.claude/agents/agent-writer.md +0 -1068
- package/.claude/commands/cascade.md +0 -742
- package/.claude/commands/chat.md +0 -728
- package/.claude/commands/commit.md +0 -95
- package/.claude/commands/create.md +0 -544
- package/.claude/commands/deploy.md +0 -309
- package/.claude/commands/fast.md +0 -636
- package/.claude/commands/mcp-on.md +0 -191
- package/.claude/commands/media-upload.md +0 -186
- package/.claude/commands/news.md +0 -274
- package/.claude/commands/onboard.md +0 -440
- package/.claude/commands/one.md +0 -398
- package/.claude/commands/optimize.md +0 -74
- package/.claude/commands/plan.md +0 -719
- package/.claude/commands/push.md +0 -214
- package/.claude/commands/release.md +0 -105
- package/.claude/commands/review.md +0 -99
- package/.claude/commands/server.md +0 -487
- package/.claude/commands/start.md +0 -227
- package/.claude/commands/test.md +0 -197
- package/.claude/commands/validate.md +0 -140
- package/.claude/hooks/.last-news-context +0 -1
- package/.claude/hooks/PULL-BEFORE-PUSH-GUIDE.md +0 -473
- package/.claude/hooks/README-knowledge-hooks.md +0 -451
- package/.claude/hooks/README-news-generation.md +0 -364
- package/.claude/hooks/README-root-cleanup.md +0 -200
- package/.claude/hooks/README.md +0 -284
- package/.claude/hooks/__pycache__/todo.cpython-312.pyc +0 -0
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/auto-format.sh +0 -106
- package/.claude/hooks/check-filenames.py +0 -177
- package/.claude/hooks/clean-post.py +0 -468
- package/.claude/hooks/clean-pre.py +0 -393
- package/.claude/hooks/clean-root-markdown.sh +0 -73
- package/.claude/hooks/commit-push.sh +0 -95
- package/.claude/hooks/done.py +0 -236
- package/.claude/hooks/format-hook.sh +0 -163
- package/.claude/hooks/formatting.py +0 -187
- package/.claude/hooks/hook-logger.sh +0 -173
- package/.claude/hooks/knowledge-post.py +0 -355
- package/.claude/hooks/knowledge-pre.py +0 -245
- package/.claude/hooks/mcp-on.sh +0 -134
- package/.claude/hooks/notification-hook.sh +0 -279
- package/.claude/hooks/ontology-validation.py +0 -255
- package/.claude/hooks/push.sh +0 -153
- package/.claude/hooks/release-cli.sh +0 -205
- package/.claude/hooks/root-cleanup.py +0 -217
- package/.claude/hooks/security-hook.sh +0 -397
- package/.claude/hooks/tag-all-docs.py +0 -464
- package/.claude/hooks/test-validate-ontology.sh +0 -170
- package/.claude/hooks/todo.py +0 -368
- package/.claude/hooks/track-changes.sh +0 -101
- package/.claude/hooks/validate-imports.py +0 -182
- package/.claude/hooks/validate-ontology-structure-summary.md +0 -243
- package/.claude/hooks/validate-ontology-structure.py +0 -558
- package/.claude/hooks/validate-ontology-structure.py.backup +0 -518
- package/.claude/hooks/validate-ontology.py +0 -140
- package/.claude/hooks/write-news.sh +0 -194
- package/.claude/skills/INDEX.md +0 -523
- package/.claude/skills/REGISTRY.md +0 -529
- package/.claude/skills/agent-backend-create-mutation.md +0 -319
- package/.claude/skills/agent-designer-create-wireframe.md +0 -341
- package/.claude/skills/agent-frontend-create-page.md +0 -413
- package/.claude/skills/agents/README.md +0 -238
- package/.claude/skills/astro/add-content-collection.md +0 -30
- package/.claude/skills/astro/check-build.md +0 -29
- package/.claude/skills/astro/create-component.md +0 -29
- package/.claude/skills/astro/create-page.md +0 -30
- package/.claude/skills/astro/optimize-performance.md +0 -21
- package/.claude/skills/convex/check-deployment.md +0 -46
- package/.claude/skills/convex/create-mutation.md +0 -405
- package/.claude/skills/convex/create-query.md +0 -52
- package/.claude/skills/convex/read-schema.md +0 -373
- package/.claude/skills/convex/test-function.md +0 -50
- package/.claude/skills/deployment/check-deployment-health.md +0 -20
- package/.claude/skills/deployment/create-release.md +0 -21
- package/.claude/skills/deployment/deploy-cloudflare.md +0 -31
- package/.claude/skills/deployment/deploy-convex.md +0 -30
- package/.claude/skills/deployment/sync-repositories.md +0 -19
- package/.claude/skills/design/check-accessibility.md +0 -21
- package/.claude/skills/design/create-component-spec.md +0 -27
- package/.claude/skills/design/generate-design-tokens.md +0 -24
- package/.claude/skills/design/generate-wireframe.md +0 -30
- package/.claude/skills/documentation/create-migration-guide.md +0 -20
- package/.claude/skills/documentation/generate-api-docs.md +0 -27
- package/.claude/skills/documentation/generate-readme.md +0 -22
- package/.claude/skills/documentation/update-knowledge.md +0 -20
- package/.claude/skills/integration/connect-external-system.md +0 -21
- package/.claude/skills/integration/implement-a2a.md +0 -20
- package/.claude/skills/integration/implement-acp.md +0 -20
- package/.claude/skills/integration/verify-integration.md +0 -20
- package/.claude/skills/ontology/README.md +0 -255
- package/.claude/skills/ontology/check-dimension.md +0 -307
- package/.claude/skills/ontology/generate-entity-type.md +0 -339
- package/.claude/skills/ontology/validate-schema.md +0 -229
- package/.claude/skills/ontology/verify-relationships.md +0 -310
- package/.claude/skills/problem-solving/analyze-test-failure.md +0 -21
- package/.claude/skills/problem-solving/identify-root-cause.md +0 -20
- package/.claude/skills/problem-solving/propose-solution.md +0 -29
- package/.claude/skills/problem-solving/verify-fix.md +0 -21
- package/.claude/skills/sales/generate-demo-script.md +0 -21
- package/.claude/skills/sales/qualify-lead.md +0 -30
- package/.claude/skills/sales/track-trial.md +0 -20
- package/.claude/skills/sales/verify-kyc.md +0 -20
- package/.claude/skills/testing/analyze-coverage.md +0 -24
- package/.claude/skills/testing/generate-tests.md +0 -24
- package/.claude/skills/testing/run-tests.md +0 -27
- package/.claude/skills/testing/validate-e2e.md +0 -25
- package/AGENTS.md +0 -60
- package/CLAUDE.md +0 -130
- package/CREATE-WEBSITE.md +0 -458
- package/SECURITY.md +0 -31
- package/folders.yaml +0 -92
- package/one/README.md +0 -760
- package/one/actors/anthony-o-connell.md +0 -469
- package/one/actors/people.md +0 -590
- package/one/events/0-changes.md +0 -2764
- package/one/events/1-PROJECTS-START-HERE.md +0 -384
- package/one/events/1-projects-developer-quickstart.md +0 -620
- package/one/events/1-projects-feature.md +0 -2047
- package/one/events/1-projects-team-briefing.md +0 -583
- package/one/events/2024-10-14-deployment-plan.md +0 -330
- package/one/events/2024-10-14-deployment-success.md +0 -447
- package/one/events/2024-10-14-final-sync-complete.md +0 -250
- package/one/events/2024-10-14-release-v2.0.6.md +0 -414
- package/one/events/2024-10-15-agent-clean-v2-summary.md +0 -495
- package/one/events/2024-10-15-handoff-to-clean.md +0 -347
- package/one/events/2024-10-15-package-manager-tests.md +0 -442
- package/one/events/2024-10-15-release-command-complete.md +0 -416
- package/one/events/2025-10-15-private-files-secured.md +0 -359
- package/one/events/2025-10-15-unignore-public-group-docs.md +0 -298
- package/one/events/2025-11-08-backend-claude-refactor.md +0 -242
- package/one/events/2025-11-08-parallel-agent-implementation.md +0 -620
- package/one/events/2025-11-10-ai-integration-status-report.md +0 -241
- package/one/events/ACCESSIBILITY_CHECKLIST.md +0 -275
- package/one/events/ACCESSIBILITY_FIXES_SUMMARY.md +0 -293
- package/one/events/ALIGNMENT_REPORT_PROBLEM_SOLVER.md +0 -335
- package/one/events/ALIGNMENT_SUMMARY.md +0 -280
- package/one/events/API_ROUTES_FIXES_SUMMARY.md +0 -280
- package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +0 -654
- package/one/events/AUDIT-ONTOLOGY-ALIGNMENT.md +0 -598
- package/one/events/AUDIT_PLAN_COMPLETION-20251108-125555.md +0 -262
- package/one/events/BEFORE_AFTER_COMPARISON.md +0 -978
- package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +0 -372
- package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +0 -430
- package/one/events/CHARTS-READY-TO-USE-20251106-080939.md +0 -184
- package/one/events/CHARTS-SUMMARY-20251106-080938.md +0 -196
- package/one/events/CLAUDE copy.md +0 -897
- package/one/events/CLEANUP-RELEASE-V2.0.8.md +0 -308
- package/one/events/CLOUDFLARE-FS-FIX-20251106-100516.md +0 -75
- package/one/events/COMPONENT_SHOWCASE-20251106-080938.md +0 -629
- package/one/events/CONNECTIONS_DEMO.md +0 -519
- package/one/events/CREATE-WEBSITE.md +0 -460
- package/one/events/CRITICAL-FIXES-COMPLETE.md +0 -571
- package/one/events/CUSTOM-DOMAIN.md +0 -375
- package/one/events/DELIVERABLES.md +0 -450
- package/one/events/DELIVERABLES.txt +0 -273
- package/one/events/DEMO-GROUPS-PAGE.md +0 -410
- package/one/events/DEMO-TESTING-SUMMARY.md +0 -536
- package/one/events/DEMO_COMPONENTS.md +0 -505
- package/one/events/DEMO_HOOKS_INDEX.md +0 -352
- package/one/events/DEMO_INFRASTRUCTURE.md +0 -923
- package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +0 -588
- package/one/events/DEMO_INTEGRATION_CHECKLIST.md +0 -449
- package/one/events/DEMO_QUICK_REFERENCE.md +0 -459
- package/one/events/DEMO_SETUP.md +0 -494
- package/one/events/DEPLOYMENT copy.md +0 -444
- package/one/events/DEPLOYMENT.md +0 -196
- package/one/events/DESIGN-DELIVERABLES-20251106-080938.md +0 -557
- package/one/events/DESIGN-EXECUTIVE-SUMMARY-20251106-080938.md +0 -484
- package/one/events/DOCS-SYSTEM-GUIDE-20251105-142103.md +0 -458
- package/one/events/DOCUMENTER-DELIVERY-SUMMARY.md +0 -481
- package/one/events/DOCUMENTER-EXECUTION-GUIDE.md +0 -394
- package/one/events/DOCUMENTER-TASK-BREAKDOWN.md +0 -783
- package/one/events/ECOMMERCE-BEFORE-AFTER.md +0 -267
- package/one/events/ECOMMERCE-DEMO-PLAN.md +0 -243
- package/one/events/ECOMMERCE-ENHANCEMENTS.md +0 -594
- package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +0 -439
- package/one/events/ECOMMERCE-LIVE-DEMO.md +0 -381
- package/one/events/ECOMMERCE-QUICKSTART.md +0 -376
- package/one/events/ECOMMERCE-README.md +0 -354
- package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +0 -214
- package/one/events/ECOMMERCE-SETUP-SUMMARY.md +0 -414
- package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +0 -753
- package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +0 -941
- package/one/events/EFFECT_TS_API_PATTERN.md +0 -496
- package/one/events/EXECUTION-READY.md +0 -359
- package/one/events/EXECUTION-SUMMARY.md +0 -478
- package/one/events/FEATURE-2-4-COMPLETE.md +0 -320
- package/one/events/FEATURE_2_3_COMPLETE.md +0 -593
- package/one/events/FILE-REFERENCE-20251105-142103.md +0 -325
- package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +0 -241
- package/one/events/GROUPS-MIGRATION.md +0 -643
- package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +0 -432
- package/one/events/HANDOFF.md +0 -331
- package/one/events/HOOKS-DEMO.md +0 -459
- package/one/events/IMPLEMENTATION-CHECKLIST-20251105-142103.md +0 -274
- package/one/events/IMPLEMENTATION-REPORT-DOCS-20251105-142102.md +0 -394
- package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +0 -568
- package/one/events/IMPLEMENTATION_SUMMARY-20251106-080938.md +0 -571
- package/one/events/IMPLEMENTATION_SUMMARY.md +0 -547
- package/one/events/INDEX-ALL-AGENTS.md +0 -190
- package/one/events/INDEX-FRONTEND-TESTING.md +0 -524
- package/one/events/INDEX-PROBLEM-SOLVER.md +0 -488
- package/one/events/INDEX-QUALITY-AGENT-INFER65.md +0 -455
- package/one/events/INDEX.md +0 -295
- package/one/events/INDEX_QUICK_START_REDESIGN-20251106-080939.md +0 -342
- package/one/events/INSTALL-TESTS.md +0 -311
- package/one/events/INSTALLATION_FOLDERS.md +0 -534
- package/one/events/INSTALLATION_FOLDERS_FILES.md +0 -223
- package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +0 -437
- package/one/events/INTEGRATION-ARCHITECTURE.md +0 -579
- package/one/events/INTEGRATION-CHECKLIST.md +0 -1252
- package/one/events/INTEGRATION-ORCHESTRATION.md +0 -2641
- package/one/events/INTEGRATION-SUMMARY.md +0 -671
- package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +0 -684
- package/one/events/LANDING-PAGE-IMPLEMENTATION.md +0 -660
- package/one/events/LANDING-PAGE-QUICKSTART.md +0 -425
- package/one/events/LICENSE.md +0 -107
- package/one/events/MASTER-COORDINATION-PLAN.md +0 -613
- package/one/events/MASTER-ORCHESTRATION-INFER65.md +0 -441
- package/one/events/MASTER-PLAN-SUMMARY.md +0 -309
- package/one/events/MCP-CONFIGURATION.md +0 -354
- package/one/events/MCP-SETUP-COMPLETE.md +0 -223
- package/one/events/MIGRATION-REPORT.md +0 -453
- package/one/events/MIGRATION.md +0 -87
- package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +0 -1663
- package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +0 -643
- package/one/events/NEWS-COMMANDS.md +0 -506
- package/one/events/NEWS-SYSTEM-SUMMARY.md +0 -480
- package/one/events/NODE-UPGRADE.md +0 -129
- package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +0 -416
- package/one/events/ONTOLOGY-HOOKS-README.md +0 -718
- package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +0 -383
- package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +0 -569
- package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +0 -491
- package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +0 -504
- package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +0 -221
- package/one/events/PACKAGE-STRUCTURE.md +0 -328
- package/one/events/PLAN-COMPLETE.md +0 -429
- package/one/events/PLAYBOOK-SETUP-SUMMARY.md +0 -349
- package/one/events/PROBLEM-SOLVER-EXECUTIVE-SUMMARY.md +0 -484
- package/one/events/PROBLEM-SOLVER-QUICKSTART.md +0 -420
- package/one/events/PROJECTS-PLAN-SUMMARY.md +0 -480
- package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +0 -585
- package/one/events/QA-CHECKLIST.md +0 -692
- package/one/events/QUALITY-AGENT-SUMMARY.md +0 -334
- package/one/events/QUALITY-EXECUTION-CHECKLIST.md +0 -593
- package/one/events/QUICK-REFERENCE-FRONTEND-TESTING.md +0 -475
- package/one/events/QUICK-START-ONTOLOGY.md +0 -426
- package/one/events/QUICK_START_REDESIGN-20251106-080938.md +0 -400
- package/one/events/README-PROBLEM-SOLVER.md +0 -394
- package/one/events/README-archived.md +0 -537
- package/one/events/README_QUICK_START_REDESIGN-20251106-080938.md +0 -484
- package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +0 -657
- package/one/events/SEARCH_DEMO_DELIVERY.md +0 -433
- package/one/events/SEARCH_DEMO_SUMMARY.md +0 -321
- package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +0 -399
- package/one/events/SECURITY-AUDIT-FIXES.md +0 -394
- package/one/events/SECURITY-SCAN-COMPLETE.md +0 -299
- package/one/events/SHOP-BUILD-STATUS.md +0 -132
- package/one/events/SHOP-PREMIUM-UPDATE.md +0 -165
- package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +0 -280
- package/one/events/SITE-WIDE-GRADIENT-FIX.md +0 -317
- package/one/events/SPECIALIST-QUICK-REFERENCE.md +0 -678
- package/one/events/STORE-PRODUCTION-READY-STATUS.md +0 -377
- package/one/events/STRIPE-INTEGRATION.md +0 -432
- package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +0 -447
- package/one/events/STRIPE-SETUP-GUIDE.md +0 -480
- package/one/events/TEST-PLAN-INDEX.md +0 -364
- package/one/events/TEST-PLAN.md +0 -1435
- package/one/events/TEST-SUMMARY.md +0 -411
- package/one/events/TESTING-DELIVERY.txt +0 -372
- package/one/events/TESTS-QUICK-REF.md +0 -280
- package/one/events/TRANSITIONS-QUICK-START.md +0 -159
- package/one/events/TRANSPARENCY-FIXES.md +0 -293
- package/one/events/TYPESCRIPT_FIXES.md +0 -170
- package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +0 -412
- package/one/events/TYPESCRIPT_FIXES_INDEX.md +0 -359
- package/one/events/VERIFICATION_CHECKLIST-20251106-080938.md +0 -326
- package/one/events/VIEW-TRANSITIONS.md +0 -446
- package/one/events/agent-command-implementation.md +0 -305
- package/one/events/agent-director-enhancement-summary.md +0 -404
- package/one/events/agent-director-routing-update.md +0 -214
- package/one/events/agent-onboard-implementation-summary.md +0 -475
- package/one/events/agent-ontology-alignment-completion.md +0 -263
- package/one/events/ai-integration-complete.md +0 -294
- package/one/events/ai-integration-lessons-learned.md +0 -511
- package/one/events/backend-integration-tests.md +0 -624
- package/one/events/backend-structure-diagram.txt +0 -393
- package/one/events/backend-structure-summary.txt +0 -269
- package/one/events/bullfm-video-podcast-analysis.md +0 -319
- package/one/events/clean-agent-ontology-cleanup-report.md +0 -371
- package/one/events/clean-agent-todo-analysis-summary.md +0 -336
- package/one/events/cloudflare-automation-complete.md +0 -350
- package/one/events/cloudflare-pages-infrastructure-setup.md +0 -282
- package/one/events/contact-page-complete.md +0 -316
- package/one/events/convex-analysis-index.md +0 -322
- package/one/events/convex-structure-analysis.md +0 -718
- package/one/events/creation-instructions-9-todos.md +0 -906
- package/one/events/cycle-3-video-player-port-20251108.md +0 -368
- package/one/events/cycle-3-video-player-port-complete-20251108.md +0 -334
- package/one/events/deployment-installation-folders.md +0 -178
- package/one/events/deployment-ops-summary.md +0 -386
- package/one/events/deployment-verification.md +0 -366
- package/one/events/design-spec-complete.md +0 -226
- package/one/events/documentation-audit-index.md +0 -473
- package/one/events/documentation-audit-summary.md +0 -417
- package/one/events/documentation-improvement-roadmap.md +0 -906
- package/one/events/documentation-standards-compliance-report.md +0 -538
- package/one/events/documentation-updates.md +0 -370
- package/one/events/events.md +0 -563
- package/one/events/fix-product-hydration-20251106.md +0 -211
- package/one/events/frontend-effects-complete.md +0 -584
- package/one/events/frontend-effects-orchestration.md +0 -1356
- package/one/events/frontend-effects-risk-register.md +0 -1055
- package/one/events/frontend-effects-week1-assignments.md +0 -1594
- package/one/events/hook-ontology-alignment-summary.md +0 -528
- package/one/events/installation-folders-workflow-integration.md +0 -458
- package/one/events/landing-page-generator.md +0 -476
- package/one/events/legal-assessment-2025-10-16.md +0 -1917
- package/one/events/master-coordination-plan.json +0 -1078
- package/one/events/master-plan-9-todos.md +0 -900
- package/one/events/mobile-performance-optimization.md +0 -179
- package/one/events/onboarding-implementation-complete.md +0 -523
- package/one/events/ontology-audit-agent-clone.md +0 -323
- package/one/events/ontology-test-examples.md +0 -580
- package/one/events/phase1-backend-implementation-complete.md +0 -536
- package/one/events/plan-completion-audit.md +0 -707
- package/one/events/plan-files-updated.md +0 -273
- package/one/events/production-readiness-plan.md +0 -389
- package/one/events/readme.md +0 -100
- package/one/events/release.md +0 -272
- package/one/events/root-cleanup-alignment-report.md +0 -265
- package/one/events/security-fixes-2025-01-15.md +0 -226
- package/one/events/separate-implementation-status.md +0 -555
- package/one/events/server-command-optimization-20251108.md +0 -150
- package/one/events/session-summary-2025-10-18.md +0 -366
- package/one/events/skills-complete.md +0 -351
- package/one/events/skills-infer-6-10-summary.md +0 -70
- package/one/events/skills-phase1-complete.md +0 -281
- package/one/events/specialist-assignments.md +0 -766
- package/one/events/structural-analysis-architecture-vs-plans.md +0 -600
- package/one/events/test-dashboard.md +0 -363
- package/one/events/test-index.md +0 -421
- package/one/events/test-report-ontology.md +0 -611
- package/one/events/testing-summary.md +0 -388
- package/one/events/todo-agent-builder.md +0 -1180
- package/one/events/todo-agent-director.md +0 -164
- package/one/events/todo-agent-documenter.md +0 -1815
- package/one/events/todo-agent-frontend.md +0 -1542
- package/one/events/todo-agent-problem-solver.md +0 -1682
- package/one/events/todo-agent-quality.md +0 -1647
- package/one/events/todo-refactoring-complete.md +0 -408
- package/one/events/wave1-backend-implementation-complete.md +0 -698
- package/one/events/web-AI_INTEGRATION_PHASE2_SUMMARY-20251111-152540.md +0 -529
- package/one/events/web-BUY-IN-CHATGPT-README-20251116-235241.md +0 -491
- package/one/events/web-CHARTS-IMPLEMENTATION-20251106-080939.md +0 -576
- package/one/events/web-CHARTS-QUICKSTART-20251106-080939.md +0 -416
- package/one/events/web-CODE-HIGHLIGHTING-SUMMARY-20251111-152540.md +0 -442
- package/one/events/web-DEPLOYMENT_SUMMARY-20251116-005428.md +0 -290
- package/one/events/web-DESIGN-SUMMARY-20251106-080939.md +0 -514
- package/one/events/web-README-AI-INTEGRATION-20251111-152540.md +0 -196
- package/one/events/web-RECHARTS-INTEGRATION-20251111-152540.md +0 -265
- package/one/events/web-RELEASE_OPTIMIZATION_PLAN-20251116-005428.md +0 -447
- package/one/events/web-TEST-CLEANUP-20251105-143205.md +0 -3
- package/one/events/web-USING-ANY-COMPONENT-IN-CHAT-20251111-152540.md +0 -561
- package/one/events/web-test-code-highlighting-20251111-152540.md +0 -231
- package/one/groups/features.md +0 -2904
- package/one/groups/groups.md +0 -587
- package/one/groups/one.md +0 -619
- package/one/groups/strategy-copy.md +0 -887
- package/one/learning/.obsidian/app.json +0 -1
- package/one/learning/.obsidian/appearance.json +0 -1
- package/one/learning/.obsidian/core-plugins.json +0 -33
- package/one/learning/.obsidian/ecommerce-ontology.md +0 -210
- package/one/learning/.obsidian/workspace.json +0 -211
- package/one/learning/100-inference-quick-reference.md +0 -449
- package/one/learning/ag-ui-protocol.md +0 -613
- package/one/learning/agent-onboard-usage.md +0 -630
- package/one/learning/agentic-commerce.md +0 -146
- package/one/learning/ai-agents-vs-memecoins-thesis.md +0 -683
- package/one/learning/ai-api-reference.md +0 -715
- package/one/learning/ai-platform.md +0 -323
- package/one/learning/ai-quickstart.md +0 -355
- package/one/learning/ai-sdk-implementation.md +0 -436
- package/one/learning/ai-token-crypto-analysis-framework.md +0 -1191
- package/one/learning/ai-token-paradigm-shift-2025.md +0 -732
- package/one/learning/altcoin-cycle-prediction-ontology.md +0 -884
- package/one/learning/altcoin-cycle-trading-strategy.md +0 -642
- package/one/learning/architecture-any-backend.md +0 -1589
- package/one/learning/architecture-diagram.md +0 -404
- package/one/learning/architecture-frontend.md +0 -1014
- package/one/learning/architecture.md +0 -1742
- package/one/learning/archived/ontology.old.md +0 -2840
- package/one/learning/astro-effect-complete-vision.md +0 -2148
- package/one/learning/astro-effect-simple-architecture.md +0 -750
- package/one/learning/audit-agent-onboard-alignment.md +0 -481
- package/one/learning/audit-agent-sales-alignment.md +0 -444
- package/one/learning/backend-api-reference.md +0 -728
- package/one/learning/cascading-context-specification.md +0 -1617
- package/one/learning/claude-code-integration.md +0 -1293
- package/one/learning/cli-claude-handoff.md +0 -736
- package/one/learning/context-engineering.md +0 -610
- package/one/learning/crypto-analysis-strategy.md +0 -1276
- package/one/learning/crypto-cycle-2024-2025-analysis.md +0 -44
- package/one/learning/crypto.md +0 -978
- package/one/learning/develop/design.md +0 -364
- package/one/learning/develop/index.md +0 -145
- package/one/learning/development-commands.md +0 -251
- package/one/learning/docs.md +0 -627
- package/one/learning/dsl.md +0 -1678
- package/one/learning/event-driven-documentation.md +0 -270
- package/one/learning/files.md +0 -2489
- package/one/learning/frontend.md +0 -1056
- package/one/learning/games-english.md +0 -691
- package/one/learning/games.md +0 -1082
- package/one/learning/generative-ui-patterns.md +0 -559
- package/one/learning/guidelines.md +0 -314
- package/one/learning/hono.md +0 -2127
- package/one/learning/implementation-examples.md +0 -2554
- package/one/learning/installation-folders.md +0 -366
- package/one/learning/institutional-cycle-paradigm-2025.md +0 -555
- package/one/learning/knowledge.md +0 -660
- package/one/learning/language.md +0 -998
- package/one/learning/lessons-learned.md +0 -378
- package/one/learning/lessons-website-building-focus.md +0 -382
- package/one/learning/merge-report.md +0 -254
- package/one/learning/metadata-system.md +0 -504
- package/one/learning/nine-padel-playbook.md +0 -229
- package/one/learning/one-protocol-ai-agents.md +0 -892
- package/one/learning/one-protocol-executive-report.md +0 -617
- package/one/learning/one-protocol-standard.md +0 -869
- package/one/learning/one-protocol-whitepaper.md +0 -756
- package/one/learning/ontology-blog.yaml +0 -47
- package/one/learning/ontology-cheatsheet.md +0 -617
- package/one/learning/ontology-community.yaml +0 -65
- package/one/learning/ontology-core-universal.md +0 -740
- package/one/learning/ontology-core.yaml +0 -63
- package/one/learning/ontology-courses.yaml +0 -76
- package/one/learning/ontology-creator.md +0 -402
- package/one/learning/ontology-crypto.md +0 -1603
- package/one/learning/ontology-developer-guide.md +0 -814
- package/one/learning/ontology-documentation.md +0 -377
- package/one/learning/ontology-ecommerce.md +0 -269
- package/one/learning/ontology-education-game.md +0 -1654
- package/one/learning/ontology-education.md +0 -938
- package/one/learning/ontology-engineering-specification.md +0 -1310
- package/one/learning/ontology-engineering.md +0 -1676
- package/one/learning/ontology-files.yaml +0 -525
- package/one/learning/ontology-frontend-master.md +0 -2898
- package/one/learning/ontology-frontend-specifications.md +0 -2196
- package/one/learning/ontology-frontend.md +0 -2475
- package/one/learning/ontology-index.md +0 -397
- package/one/learning/ontology-minimal.yaml +0 -301
- package/one/learning/ontology-portfolio.yaml +0 -45
- package/one/learning/ontology-quickstart.md +0 -602
- package/one/learning/ontology-release.md +0 -317
- package/one/learning/ontology-shop.yaml +0 -148
- package/one/learning/ontology-tokens.yaml +0 -51
- package/one/learning/ontology-tutorial.md +0 -455
- package/one/learning/ontology-v2.md +0 -4449
- package/one/learning/ontology-video-script.md +0 -939
- package/one/learning/ontology-visual-guide.md +0 -378
- package/one/learning/ontology.md +0 -3847
- package/one/learning/ontology.yaml +0 -1653
- package/one/learning/parallel-agents.md +0 -932
- package/one/learning/patterns/backend/convex-mutation-pattern.md +0 -130
- package/one/learning/patterns/backend/convex-query-pattern.md +0 -143
- package/one/learning/patterns/backend/mutation-template.md +0 -249
- package/one/learning/patterns/backend/query-template.md +0 -286
- package/one/learning/patterns/backend/service-template.md +0 -258
- package/one/learning/patterns/design/component-architecture.md +0 -435
- package/one/learning/patterns/design/index.md +0 -160
- package/one/learning/patterns/design/test-driven-design-pattern.md +0 -196
- package/one/learning/patterns/design/wireframe-template.md +0 -250
- package/one/learning/patterns/frontend/component-template.md +0 -246
- package/one/learning/patterns/frontend/form-template.md +0 -348
- package/one/learning/patterns/frontend/page-template.md +0 -209
- package/one/learning/patterns/frontend/react-component-pattern.md +0 -188
- package/one/learning/patterns/test/acceptance-criteria-template.md +0 -396
- package/one/learning/patterns/test/technical-test-template.md +0 -566
- package/one/learning/patterns/test/test-driven-pattern.md +0 -160
- package/one/learning/patterns/test/user-flow-template.md +0 -272
- package/one/learning/performance.md +0 -459
- package/one/learning/provider-agnostic-content.md +0 -995
- package/one/learning/provider-creation-guide.md +0 -1082
- package/one/learning/quality-loop.md +0 -419
- package/one/learning/quick-start-ontology-mapping.md +0 -773
- package/one/learning/readme-architecture.md +0 -158
- package/one/learning/readme.md +0 -149
- package/one/learning/rules.md +0 -644
- package/one/learning/score.md +0 -85
- package/one/learning/specifications.md +0 -873
- package/one/learning/tags.md +0 -148
- package/one/learning/todo-template.md +0 -269
- package/one/learning/todo.md +0 -269
- package/one/learning/troubleshooting.md +0 -434
- package/one/learning/typescript-patterns.md +0 -321
- package/one/learning/universal-generation-language.md +0 -827
- package/one/learning/x402-research.md +0 -104
- package/one/license.md +0 -107
- package/one/paths/a2a.md +0 -600
- package/one/paths/acp.md +0 -808
- package/one/paths/acps.md +0 -749
- package/one/paths/agentkit.md +0 -367
- package/one/paths/agui.md +0 -785
- package/one/paths/any-backend.md +0 -1720
- package/one/paths/ap2.md +0 -1072
- package/one/paths/api/queries-reference.md +0 -860
- package/one/paths/api-docs.md +0 -1909
- package/one/paths/api-reference.md +0 -1029
- package/one/paths/api.md +0 -2208
- package/one/paths/architecture-diagram.md +0 -112
- package/one/paths/communications.md +0 -467
- package/one/paths/connections.md +0 -357
- package/one/paths/copilotkit.md +0 -1577
- package/one/paths/cryptonetworks.md +0 -799
- package/one/paths/documentation.md +0 -1138
- package/one/paths/effect.md +0 -297
- package/one/paths/elizaos.md +0 -1308
- package/one/paths/groups.md +0 -814
- package/one/paths/inference.md +0 -76
- package/one/paths/integration-examples.md +0 -893
- package/one/paths/integration-guide.md +0 -887
- package/one/paths/integration-phase2.md +0 -754
- package/one/paths/kyc.md +0 -650
- package/one/paths/mcp.md +0 -860
- package/one/paths/membership.md +0 -1170
- package/one/paths/middleware.md +0 -1085
- package/one/paths/multitenant.md +0 -1359
- package/one/paths/n8n.md +0 -1033
- package/one/paths/patterns.md +0 -107
- package/one/paths/protocols.md +0 -297
- package/one/paths/relationships.md +0 -125
- package/one/paths/schema.md +0 -605
- package/one/paths/service-layer.md +0 -568
- package/one/paths/vectors.md +0 -225
- package/one/paths/wordpress.md +0 -1320
- package/one/paths/workflow-copy.md +0 -923
- package/one/paths/workflow-examples.md +0 -759
- package/one/paths/workflow-onboarding.md +0 -701
- package/one/paths/workflow.md +0 -923
- package/one/paths/workflows/delegation.md +0 -903
- package/one/paths/workflows/frontend.md +0 -1055
- package/one/paths/workflows/strategy.md +0 -921
- package/one/paths/workflows/tasks.md +0 -716
- package/one/paths/x402-baazar.md +0 -131
- package/one/paths/x402.md +0 -1353
- package/one/things/ALIGNMENT_AUDIT_QUALITY_AGENT.md +0 -401
- package/one/things/AUDIT_AGENT_INTEGRATOR_ALIGNMENT.md +0 -588
- package/one/things/AUDIT_REPORT_AGENT_CLEAN.md +0 -461
- package/one/things/CHECKLIST.md +0 -407
- package/one/things/IMPLEMENTATION_STATUS.md +0 -379
- package/one/things/ONE.md +0 -529
- package/one/things/agents/agent-backend.md +0 -1501
- package/one/things/agents/agent-builder.md +0 -1064
- package/one/things/agents/agent-clean.md +0 -1112
- package/one/things/agents/agent-clone.md +0 -1324
- package/one/things/agents/agent-deploy.md +0 -986
- package/one/things/agents/agent-designer.md +0 -2305
- package/one/things/agents/agent-director.md +0 -1526
- package/one/things/agents/agent-documenter.md +0 -1129
- package/one/things/agents/agent-frontend.md +0 -1201
- package/one/things/agents/agent-integrator.md +0 -1269
- package/one/things/agents/agent-lawyer.md +0 -1371
- package/one/things/agents/agent-problem-solver.md +0 -1457
- package/one/things/agents/agent-quality.md +0 -1483
- package/one/things/agents/agent-sales.md +0 -1074
- package/one/things/cascade/cascade.yaml +0 -481
- package/one/things/cascade/docs/examples/1-1-agent-prompts/design.md +0 -523
- package/one/things/cascade/docs/examples/1-1-agent-prompts/tests.md +0 -314
- package/one/things/cascade/docs/examples/1-1-agent-prompts.md +0 -562
- package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/design.md +0 -543
- package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/tests.md +0 -272
- package/one/things/cascade/docs/examples/1-2-yaml-orchestrator.md +0 -548
- package/one/things/cascade/docs/examples/1-3-event-coordination/design.md +0 -586
- package/one/things/cascade/docs/examples/1-3-event-coordination/tests.md +0 -267
- package/one/things/cascade/docs/examples/1-3-event-coordination.md +0 -547
- package/one/things/cascade/docs/examples/1-4-knowledge-management/design.md +0 -665
- package/one/things/cascade/docs/examples/1-4-knowledge-management/tests.md +0 -236
- package/one/things/cascade/docs/examples/1-4-knowledge-management.md +0 -652
- package/one/things/cascade/docs/examples/1-5-quality-loops/design.md +0 -860
- package/one/things/cascade/docs/examples/1-5-quality-loops/tests.md +0 -255
- package/one/things/cascade/docs/examples/1-5-quality-loops.md +0 -725
- package/one/things/cascade/docs/examples/1-6-numbering-structure/design.md +0 -659
- package/one/things/cascade/docs/examples/1-6-numbering-structure/tests.md +0 -256
- package/one/things/cascade/docs/examples/1-6-numbering-structure.md +0 -639
- package/one/things/cascade/docs/examples/readme.md +0 -259
- package/one/things/cascade/docs/getting-started.md +0 -533
- package/one/things/cascade/docs/workflow.md +0 -1378
- package/one/things/cascade/readme.md +0 -379
- package/one/things/cascade/templates/feature-template.md +0 -289
- package/one/things/claude/agents/advocacy-activation-manager.md +0 -710
- package/one/things/claude/agents/advocacy-campaign-designer.md +0 -688
- package/one/things/claude/agents/analyst.md +0 -508
- package/one/things/claude/agents/architect.md +0 -505
- package/one/things/claude/agents/brand-identity-specialist.md +0 -538
- package/one/things/claude/agents/bstp-token-strategist.md +0 -690
- package/one/things/claude/agents/builder-repo.md +0 -532
- package/one/things/claude/agents/bullstamp-community-builder.md +0 -597
- package/one/things/claude/agents/bullstamp-marketing-orchestrator.md +0 -529
- package/one/things/claude/agents/bulltilt-platform-growth.md +0 -590
- package/one/things/claude/agents/company-bullstamp-character.md +0 -602
- package/one/things/claude/agents/company-bullstamp-community.md +0 -307
- package/one/things/claude/agents/company-bullstamp-marketing.md +0 -307
- package/one/things/claude/agents/company-bullstamp-token.md +0 -307
- package/one/things/claude/agents/company-bulltilt-growth.md +0 -307
- package/one/things/claude/agents/content-bibliography-formatter.md +0 -404
- package/one/things/claude/agents/content-calendar-planner.md +0 -473
- package/one/things/claude/agents/content-chapter-formatter.md +0 -513
- package/one/things/claude/agents/content-formatter.md +0 -571
- package/one/things/claude/agents/content-hook-specialist.md +0 -485
- package/one/things/claude/agents/content-image-formatter.md +0 -560
- package/one/things/claude/agents/content-introduction-formatter.md +0 -510
- package/one/things/claude/agents/content-multiplication-engine.md +0 -579
- package/one/things/claude/agents/content-playbook-writer.md +0 -473
- package/one/things/claude/agents/content-team-manager.md +0 -647
- package/one/things/claude/agents/content-toc-formatter.md +0 -547
- package/one/things/claude/agents/convex-backend-specialist.md +0 -2725
- package/one/things/claude/agents/core-manager.md +0 -607
- package/one/things/claude/agents/core-master.md +0 -426
- package/one/things/claude/agents/cross-functional-manager.md +0 -476
- package/one/things/claude/agents/crypto-airdrop-strategist.md +0 -622
- package/one/things/claude/agents/crypto-analytics-educator.md +0 -596
- package/one/things/claude/agents/crypto-architecture-specialist.md +0 -497
- package/one/things/claude/agents/crypto-community-analyst.md +0 -314
- package/one/things/claude/agents/crypto-community-psychologist.md +0 -546
- package/one/things/claude/agents/crypto-dex-optimization-expert.md +0 -579
- package/one/things/claude/agents/crypto-dex-optimizer.md +0 -307
- package/one/things/claude/agents/crypto-diamond-formation-specialist.md +0 -552
- package/one/things/claude/agents/crypto-diamond-hands.md +0 -307
- package/one/things/claude/agents/crypto-ecosystem-expansion-manager.md +0 -597
- package/one/things/claude/agents/crypto-engagement-specialist.md +0 -581
- package/one/things/claude/agents/crypto-market-researcher.md +0 -307
- package/one/things/claude/agents/crypto-marketing-orchestrator.md +0 -563
- package/one/things/claude/agents/crypto-network-effect-amplifier.md +0 -614
- package/one/things/claude/agents/crypto-optimization-analyst.md +0 -597
- package/one/things/claude/agents/crypto-strategic-synthesizer.md +0 -556
- package/one/things/claude/agents/crypto-team-manager.md +0 -392
- package/one/things/claude/agents/crypto-token-analyst.md +0 -319
- package/one/things/claude/agents/crypto-viral-content-creator.md +0 -549
- package/one/things/claude/agents/crypto-wallet-identification-expert.md +0 -527
- package/one/things/claude/agents/crypto-wallet-identifier.md +0 -307
- package/one/things/claude/agents/customer-journey-designer.md +0 -474
- package/one/things/claude/agents/customer-success-manager.md +0 -574
- package/one/things/claude/agents/dev.md +0 -406
- package/one/things/claude/agents/documenter.md +0 -548
- package/one/things/claude/agents/elevate-marketing-orchestrator.md +0 -403
- package/one/things/claude/agents/engagement-specialist.md +0 -502
- package/one/things/claude/agents/engineering-architect.md +0 -387
- package/one/things/claude/agents/engineering-business-analyst.md +0 -527
- package/one/things/claude/agents/engineering-developer.md +0 -386
- package/one/things/claude/agents/engineering-director.md +0 -322
- package/one/things/claude/agents/engineering-ingestor.md +0 -659
- package/one/things/claude/agents/engineering-product-manager.md +0 -525
- package/one/things/claude/agents/engineering-product-owner.md +0 -527
- package/one/things/claude/agents/engineering-project-coordinator.md +0 -525
- package/one/things/claude/agents/engineering-quality-assurance.md +0 -392
- package/one/things/claude/agents/engineering-team-manager.md +0 -515
- package/one/things/claude/agents/engineering-user-experience.md +0 -386
- package/one/things/claude/agents/framework-elevate-manager.md +0 -309
- package/one/things/claude/agents/improver.md +0 -805
- package/one/things/claude/agents/intelligence-team-manager.md +0 -390
- package/one/things/claude/agents/lead-capture-expert.md +0 -459
- package/one/things/claude/agents/lead-magnet-creator.md +0 -446
- package/one/things/claude/agents/market-research-analyst.md +0 -435
- package/one/things/claude/agents/marketing-brand-identity.md +0 -344
- package/one/things/claude/agents/marketing-content-hooks.md +0 -455
- package/one/things/claude/agents/marketing-content-multiplier.md +0 -331
- package/one/things/claude/agents/marketing-content-poster.md +0 -372
- package/one/things/claude/agents/marketing-customer-journey.md +0 -331
- package/one/things/claude/agents/marketing-director.md +0 -402
- package/one/things/claude/agents/marketing-engagement.md +0 -331
- package/one/things/claude/agents/marketing-lead-capture.md +0 -331
- package/one/things/claude/agents/marketing-lead-magnet.md +0 -331
- package/one/things/claude/agents/marketing-network-effects.md +0 -331
- package/one/things/claude/agents/marketing-nurture-campaigns.md +0 -331
- package/one/things/claude/agents/marketing-share-optimizer.md +0 -331
- package/one/things/claude/agents/marketing-team-manager.md +0 -451
- package/one/things/claude/agents/marketing-viral-growth.md +0 -232
- package/one/things/claude/agents/mission-commander.md +0 -378
- package/one/things/claude/agents/network-effect-analyst.md +0 -604
- package/one/things/claude/agents/nextjs-15-specialist.md +0 -1634
- package/one/things/claude/agents/npx.md +0 -946
- package/one/things/claude/agents/nurture-campaign-manager.md +0 -554
- package/one/things/claude/agents/one-master.md +0 -378
- package/one/things/claude/agents/one-orchestrator.md +0 -345
- package/one/things/claude/agents/one.md +0 -658
- package/one/things/claude/agents/playbook-generator.md +0 -526
- package/one/things/claude/agents/pm.md +0 -349
- package/one/things/claude/agents/po.md +0 -370
- package/one/things/claude/agents/qa.md +0 -361
- package/one/things/claude/agents/research-foundation-analyst.md +0 -324
- package/one/things/claude/agents/research-intelligence-gatherer.md +0 -435
- package/one/things/claude/agents/research-market-analyst.md +0 -324
- package/one/things/claude/agents/research-team-manager.md +0 -489
- package/one/things/claude/agents/sales-environment-optimizer.md +0 -519
- package/one/things/claude/agents/sales-team-manager.md +0 -407
- package/one/things/claude/agents/sales-upsell-strategist.md +0 -324
- package/one/things/claude/agents/service-advocacy-campaigns.md +0 -324
- package/one/things/claude/agents/service-advocacy-manager.md +0 -324
- package/one/things/claude/agents/service-success-manager.md +0 -324
- package/one/things/claude/agents/service-team-manager.md +0 -405
- package/one/things/claude/agents/shadcn-ui-design-system-specialist.md +0 -2357
- package/one/things/claude/agents/share-optimization-specialist.md +0 -576
- package/one/things/claude/agents/sm.md +0 -352
- package/one/things/claude/agents/story-teller.md +0 -498
- package/one/things/claude/agents/task-master.md +0 -621
- package/one/things/claude/agents/tauri-cross-platform-specialist.md +0 -1912
- package/one/things/claude/agents/tester.md +0 -595
- package/one/things/claude/agents/the-bull-character-manager.md +0 -603
- package/one/things/claude/agents/tools-playbook-generator.md +0 -492
- package/one/things/claude/agents/turbo-repo-builder.md +0 -346
- package/one/things/claude/agents/upsell-strategist.md +0 -503
- package/one/things/claude/agents/ux-expert.md +0 -360
- package/one/things/claude/agents/viral-growth-orchestrator.md +0 -520
- package/one/things/claude/claude-code-hooks-development.json +0 -21
- package/one/things/claude/claude-code-hooks-production.json +0 -21
- package/one/things/claude/claude-code-hooks.json +0 -25
- package/one/things/claude/commands/agent.md +0 -124
- package/one/things/claude/commands/cascade-status.md +0 -153
- package/one/things/claude/commands/ingest.md +0 -343
- package/one/things/claude/commands/ingestor.md +0 -158
- package/one/things/claude/commands/mission.md +0 -103
- package/one/things/claude/commands/npx.md +0 -156
- package/one/things/claude/commands/one.md +0 -486
- package/one/things/claude/commands/quality-check.md +0 -252
- package/one/things/claude/commands/smart-route.md +0 -261
- package/one/things/claude/commands/start.md +0 -139
- package/one/things/claude/commands/story.md +0 -103
- package/one/things/claude/commands/task.md +0 -193
- package/one/things/claude/hook-bypass.json +0 -32
- package/one/things/claude/hooks/agent-hook-config.json +0 -427
- package/one/things/claude/hooks/build-hook.sh +0 -156
- package/one/things/claude/hooks/cleanup-hook.sh +0 -201
- package/one/things/claude/hooks/file-organization-hook.sh +0 -80
- package/one/things/claude/hooks/format-hook.sh +0 -43
- package/one/things/claude/hooks/hook-bypass.sh +0 -293
- package/one/things/claude/hooks/hook-debouncer.sh +0 -62
- package/one/things/claude/hooks/hook-logger.sh +0 -89
- package/one/things/claude/hooks/lint-hook.sh +0 -140
- package/one/things/claude/hooks/notification-hook.sh +0 -204
- package/one/things/claude/hooks/ontology-validation-hook.sh +0 -86
- package/one/things/claude/hooks/performance-metrics.json +0 -25
- package/one/things/claude/hooks/security-hook.sh +0 -256
- package/one/things/claude/hooks/story-validation-hook-enhanced.sh +0 -210
- package/one/things/claude/hooks/story-validation-hook.sh +0 -145
- package/one/things/claude/hooks/test-hook.sh +0 -145
- package/one/things/claude/hooks/test-story-validation.sh +0 -170
- package/one/things/claude/settings-local.json +0 -86
- package/one/things/cli/cli-code.md +0 -677
- package/one/things/cli/cli-compiler-code.md +0 -677
- package/one/things/cli/cli.md +0 -871
- package/one/things/components/card-shadcn.md +0 -953
- package/one/things/components/card.md +0 -1041
- package/one/things/components.md +0 -1743
- package/one/things/componets.md +0 -19
- package/one/things/contracts/Move.toml +0 -12
- package/one/things/contracts/README.md +0 -288
- package/one/things/contracts/one.move +0 -762
- package/one/things/contracts/sdk.ts +0 -579
- package/one/things/creator-diagram.md +0 -184
- package/one/things/crypto/FEATURES.md +0 -78
- package/one/things/crypto/ONECORE.md +0 -62
- package/one/things/crypto/ONECOREFAQ.md +0 -22
- package/one/things/crypto/ONECOREHOW.md +0 -46
- package/one/things/crypto/ONEENTERPRISE.md +0 -64
- package/one/things/crypto/ONEENTERPRISEFAQ.md +0 -64
- package/one/things/crypto/ONEENTERPRISEHOW.md +0 -53
- package/one/things/crypto/ONEPRO.md +0 -60
- package/one/things/crypto/ONEPROFAQ.md +0 -22
- package/one/things/crypto/ONEPROHOW.md +0 -53
- package/one/things/crypto/READMEAGENCY.md +0 -64
- package/one/things/crypto/VSL.md +0 -45
- package/one/things/crypto/WebsiteCopy.md +0 -176
- package/one/things/demo-accessibility-animations.md +0 -1025
- package/one/things/demo-components.md +0 -1310
- package/one/things/demo-design-summary.md +0 -692
- package/one/things/demo-design-system.md +0 -973
- package/one/things/demo-page-layouts.md +0 -1016
- package/one/things/design-system.md +0 -832
- package/one/things/designs/accessibility-audit.md +0 -877
- package/one/things/designs/component-specifications.md +0 -855
- package/one/things/designs/design-overview.md +0 -377
- package/one/things/designs/design-tokens.md +0 -448
- package/one/things/designs/wireframes-dashboard.md +0 -710
- package/one/things/docs/api-requests.md +0 -987
- package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +0 -485
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +0 -465
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +0 -425
- package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +0 -451
- package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +0 -536
- package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +0 -650
- package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +0 -473
- package/one/things/docs/ecommerce/QUICK-START.md +0 -405
- package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +0 -567
- package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +0 -271
- package/one/things/docs/ecommerce/USAGE-EXAMPLE.astro +0 -171
- package/one/things/docs/ecommerce/demo.astro +0 -309
- package/one/things/examples/children/lemonade-stand.md +0 -404
- package/one/things/examples/enterprise/crm-saas.md +0 -1444
- package/one/things/features/1-1-agent-prompts.md +0 -562
- package/one/things/features/1-2-yaml-orchestrator.md +0 -548
- package/one/things/features/1-3-event-coordination.md +0 -547
- package/one/things/features/1-4-knowledge-management.md +0 -652
- package/one/things/features/1-5-quality-loops.md +0 -725
- package/one/things/features/1-6-numbering-structure.md +0 -639
- package/one/things/features/2-1-dataprovider-interface.md +0 -2583
- package/one/things/features/2-2-config-system.md +0 -3242
- package/one/things/features/2-3-effectts-services.md +0 -1645
- package/one/things/features/2-4-react-hooks.md +0 -2136
- package/one/things/features/2-5-auth-migration.md +0 -2144
- package/one/things/features/2-6-dashboard-migration.md +0 -2084
- package/one/things/features/2-7-alternative-providers.md +0 -2578
- package/one/things/features/2-7-implementation-report.md +0 -724
- package/one/things/features/2-cli.md +0 -1720
- package/one/things/features/2-design.md +0 -1770
- package/one/things/features/2-tests.md +0 -576
- package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +0 -576
- package/one/things/features/DECOUPLING.md +0 -290
- package/one/things/features/DEPLOYMENT.md +0 -470
- package/one/things/features/IMPLEMENTATION_SUMMARY.md +0 -362
- package/one/things/features/improve.md +0 -861
- package/one/things/features/remove-convex-deps.md +0 -63
- package/one/things/features/top-features.md +0 -87
- package/one/things/features/use-one-backend.md +0 -1217
- package/one/things/features-in-english.md +0 -200
- package/one/things/files.yaml +0 -721
- package/one/things/ideas/1-create-workflow.md +0 -207
- package/one/things/ideas/2-backend-agnostic-frontend.md +0 -439
- package/one/things/implementation/backend-guide.md +0 -457
- package/one/things/interface.md +0 -257
- package/one/things/landing-page-implementation.md +0 -455
- package/one/things/legal/README.md +0 -234
- package/one/things/legal/privacy-policy.md +0 -1227
- package/one/things/legal/terms-of-service.md +0 -1432
- package/one/things/master-workflow-plan.md +0 -806
- package/one/things/pay.one.ie.md +0 -53
- package/one/things/plans/0-in-sync.md +0 -136
- package/one/things/plans/0-timeline.md +0 -36
- package/one/things/plans/1-create-workflow.md +0 -732
- package/one/things/plans/QUICK-START-SIMPLIFICATION.md +0 -333
- package/one/things/plans/README-SIMPLIFICATION.md +0 -349
- package/one/things/plans/SIMPLIFICATION-EXAMPLES.md +0 -16
- package/one/things/plans/SIMPLIFICATION-SUMMARY.md +0 -455
- package/one/things/plans/ai-elements-integration.md +0 -483
- package/one/things/plans/ai-elements.md +0 -1278
- package/one/things/plans/ai-integration-plan.md +0 -263
- package/one/things/plans/ai-integration.md +0 -996
- package/one/things/plans/ai-sdk.md +0 -798
- package/one/things/plans/ai-tools.md +0 -621
- package/one/things/plans/app.md +0 -832
- package/one/things/plans/architecture-summary.md +0 -312
- package/one/things/plans/async-ai-agents.md +0 -233
- package/one/things/plans/backend-agnostic-frontend.md +0 -390
- package/one/things/plans/backend-cleanup-quickstart.md +0 -380
- package/one/things/plans/backend-ontology-conformance.md +0 -475
- package/one/things/plans/backend-status.md +0 -599
- package/one/things/plans/backend-structure.md +0 -847
- package/one/things/plans/backend-target-structure.md +0 -482
- package/one/things/plans/backend.md +0 -1175
- package/one/things/plans/better-auth-any-backend-revised.md +0 -1103
- package/one/things/plans/better-auth-any-backend.md +0 -1896
- package/one/things/plans/better-auth-available-features.md +0 -273
- package/one/things/plans/big-plan.md +0 -52
- package/one/things/plans/cli-updates-required.md +0 -320
- package/one/things/plans/complete-step-by-step.md +0 -1409
- package/one/things/plans/components.md +0 -709
- package/one/things/plans/convex-agents.md +0 -1034
- package/one/things/plans/convex-better-auth.md +0 -1141
- package/one/things/plans/convex-on-off.md +0 -407
- package/one/things/plans/crypto-token-researcher.md +0 -629
- package/one/things/plans/data-quality-metrics.md +0 -745
- package/one/things/plans/deep-researcher-agent.md +0 -466
- package/one/things/plans/deploy-to-cloudflare.md +0 -623
- package/one/things/plans/deployment-architecture.md +0 -469
- package/one/things/plans/desktop.md +0 -1139
- package/one/things/plans/development-plan.md +0 -1283
- package/one/things/plans/development-workflow-tldr.md +0 -207
- package/one/things/plans/development-workflow.md +0 -959
- package/one/things/plans/dsl-claude-code.md +0 -1011
- package/one/things/plans/effect-components.md +0 -1743
- package/one/things/plans/effect-patterns-reference.md +0 -2235
- package/one/things/plans/effect.md +0 -1806
- package/one/things/plans/email.md +0 -966
- package/one/things/plans/enhance-auth.md +0 -1692
- package/one/things/plans/execution-strategy.md +0 -1291
- package/one/things/plans/existing-infrastructure.md +0 -712
- package/one/things/plans/feature-based-sites.md +0 -894
- package/one/things/plans/frontend-effects.md +0 -1276
- package/one/things/plans/group-folder-multi-tenancy.md +0 -893
- package/one/things/plans/improve-codebase.md +0 -1811
- package/one/things/plans/install-components.md +0 -215
- package/one/things/plans/integrate-frontend-and-backend.md +0 -603
- package/one/things/plans/landing.md +0 -820
- package/one/things/plans/layout.md +0 -249
- package/one/things/plans/mail-backend.md +0 -1361
- package/one/things/plans/mail.md +0 -2677
- package/one/things/plans/mcp-clear-context-prompt.md +0 -81
- package/one/things/plans/mcp-simple.md +0 -248
- package/one/things/plans/multi-ontology-architecture.md +0 -885
- package/one/things/plans/next-features.md +0 -114
- package/one/things/plans/npx-agent-safety.md +0 -785
- package/one/things/plans/npx-agent.md +0 -1089
- package/one/things/plans/onboarding.md +0 -51
- package/one/things/plans/one-protocol-and-payone-usage.md +0 -82
- package/one/things/plans/one.md +0 -677
- package/one/things/plans/ontology-6-dimensions.md +0 -2201
- package/one/things/plans/ontology-compliance-audit.md +0 -342
- package/one/things/plans/ontology-driven-strategy.md +0 -882
- package/one/things/plans/ontology-refine.md +0 -586
- package/one/things/plans/ontology-ui-approach.md +0 -375
- package/one/things/plans/open-agent.md +0 -840
- package/one/things/plans/performace.md +0 -122
- package/one/things/plans/phase-1-foundation.md +0 -620
- package/one/things/plans/phase-3-implementation.md +0 -1037
- package/one/things/plans/plan-connect-to-api.md +0 -146
- package/one/things/plans/quick-wins.md +0 -1428
- package/one/things/plans/r2.md +0 -777
- package/one/things/plans/readme-backend-cleanup.md +0 -402
- package/one/things/plans/release.md +0 -507
- package/one/things/plans/remove-backend-development-from-agents.md +0 -1331
- package/one/things/plans/repos.md +0 -98
- package/one/things/plans/separate-copy-2.md +0 -1349
- package/one/things/plans/separate-copy-3.md +0 -2479
- package/one/things/plans/separate-copy.md +0 -1349
- package/one/things/plans/separate-demo.md +0 -864
- package/one/things/plans/separate.md +0 -1999
- package/one/things/plans/sequence.md +0 -2040
- package/one/things/plans/shadcn-integration-summary.md +0 -510
- package/one/things/plans/sidebar.md +0 -206
- package/one/things/plans/skills.md +0 -709
- package/one/things/plans/small-fixes.md +0 -23
- package/one/things/plans/start-new.md +0 -764
- package/one/things/plans/switch-off-auth.md +0 -42
- package/one/things/plans/sync-checklist.md +0 -351
- package/one/things/plans/test-backend-connection.md +0 -514
- package/one/things/plans/unified-implementation-plan.md +0 -934
- package/one/things/plans/update-demos.md +0 -581
- package/one/things/plans/use-our-backend.md +0 -572
- package/one/things/plans/video-backend.md +0 -638
- package/one/things/plans/video-frontend.md +0 -490
- package/one/things/plans/video-old-archived.md +0 -656
- package/one/things/plans/wave1-onboarding-100-inferences.md +0 -1686
- package/one/things/plans/wave1-onboarding-vision.md +0 -744
- package/one/things/plans/wave1-orchestration-summary.md +0 -604
- package/one/things/plans/wave1-specialist-assignments.md +0 -1413
- package/one/things/plans/workflow-files.md +0 -1210
- package/one/things/plans/workflow.md +0 -1378
- package/one/things/plans-u.md +0 -905
- package/one/things/products/Blockchain Products.md +0 -6278
- package/one/things/products/cascade-landing-page.md +0 -841
- package/one/things/products/cascade.md +0 -1568
- package/one/things/products/context-engineering.md +0 -1488
- package/one/things/products/onthology.md +0 -15
- package/one/things/products/ontology-ui-shadcn.md +0 -1302
- package/one/things/products/ontology-ui.md +0 -1429
- package/one/things/products/ontology.md +0 -789
- package/one/things/products/sdk.md +0 -573
- package/one/things/promptkit.md +0 -930
- package/one/things/repos/all-repos.md +0 -0
- package/one/things/scripts-clean-mac.sh +0 -409
- package/one/things/service-providers-new.md +0 -1052
- package/one/things/service-providers.md +0 -1121
- package/one/things/structure.md +0 -532
- package/one/things/system.md +0 -618
- package/one/things/templates.md +0 -294
- package/one/things/tests/2-1-dataprovider-interface.md +0 -1216
- package/one/things/tests/2-1-test-analysis.md +0 -544
- package/one/things/things.md +0 -384
- package/one/things/todo-acp-integration.md +0 -744
- package/one/things/todo-ai.md +0 -933
- package/one/things/todo-api.md +0 -1078
- package/one/things/todo-assignment.md +0 -580
- package/one/things/todo-buy-chatgpt.md +0 -1450
- package/one/things/todo-components.md +0 -1683
- package/one/things/todo-connections.md +0 -278
- package/one/things/todo-ecommerce-frontend.md +0 -1313
- package/one/things/todo-ecommerce.md +0 -569
- package/one/things/todo-effects.md +0 -1075
- package/one/things/todo-frontend-effects.md +0 -977
- package/one/things/todo-landing-page.md +0 -1091
- package/one/things/todo-mail.md +0 -1160
- package/one/things/todo-master-plan.md +0 -490
- package/one/things/todo-onboard.md +0 -666
- package/one/things/todo-one-ie.md +0 -538
- package/one/things/todo-page.md +0 -606
- package/one/things/todo-plans.md +0 -282
- package/one/things/todo-projects.md +0 -241
- package/one/things/todo-refactoring-plan.md +0 -366
- package/one/things/todo-release.md +0 -654
- package/one/things/todo-sequence.md +0 -1621
- package/one/things/todo-use-our-backend.md +0 -1908
- package/one/things/todo-workflow.md +0 -626
- package/one/things/todo-x402.md +0 -2047
- package/one/things/todo.md +0 -21
- package/one/things/video/scripts-crypto.md +0 -835
- package/one/things/video-script-backup.md +0 -318
- package/one/things/video-script-demo.md +0 -382
- package/one/things/video-script-ontology.md +0 -333
- package/one/things/video-script.md +0 -361
|
@@ -1,1653 +0,0 @@
|
|
|
1
|
-
# ONE Platform - Ontology Specification (YAML)
|
|
2
|
-
|
|
3
|
-
version: 2.0.0
|
|
4
|
-
status: Complete - Groups-Based Reality Model
|
|
5
|
-
principle: This ontology models reality in six dimensions. All protocols map TO this ontology via metadata.
|
|
6
|
-
|
|
7
|
-
# ======================================================================
|
|
8
|
-
# AI PATTERN RECOGNITION METADATA
|
|
9
|
-
# ======================================================================
|
|
10
|
-
|
|
11
|
-
ai_learning:
|
|
12
|
-
accuracy_target: 98%
|
|
13
|
-
learning_progression:
|
|
14
|
-
generation_1_5: "85% - Learning ontology structure"
|
|
15
|
-
generation_6_20: "90% - Recognizing patterns"
|
|
16
|
-
generation_21_50: "93% - Composing services"
|
|
17
|
-
generation_51_100: "96% - Mastering structure"
|
|
18
|
-
generation_100_plus: "98% - Generalizing patterns"
|
|
19
|
-
|
|
20
|
-
universal_patterns:
|
|
21
|
-
create_entity: "provider.things.create({ type, name, properties })"
|
|
22
|
-
create_connection: "provider.connections.create({ fromThingId, toThingId, relationshipType, metadata })"
|
|
23
|
-
log_event: "provider.events.log({ type, actorId, targetId, metadata, timestamp })"
|
|
24
|
-
query_by_type: "db.query('things').withIndex('by_type', (q) => q.eq('type', TYPE))"
|
|
25
|
-
query_relationships: "db.query('connections').withIndex('from_type', (q) => q.eq('fromThingId', ID))"
|
|
26
|
-
|
|
27
|
-
decision_tree:
|
|
28
|
-
is_it_a_container: "→ groups (friend_circle, business, community, dao, government, organization)"
|
|
29
|
-
is_it_an_actor: "→ people (platform_owner, group_owner, group_user, customer)"
|
|
30
|
-
can_you_point_at_it: "→ things (66 types: user, product, course, agent, token...)"
|
|
31
|
-
does_it_relate_x_to_y: "→ connections (25 types: owns, purchased, enrolled_in...)"
|
|
32
|
-
did_it_happen_at_time: "→ events (67 types: created, updated, viewed...)"
|
|
33
|
-
is_it_semantic_data: "→ knowledge (labels, chunks, embeddings)"
|
|
34
|
-
|
|
35
|
-
context_efficiency:
|
|
36
|
-
root_ontology: "200 tokens - Just dimension names and type counts"
|
|
37
|
-
with_patterns: "1500 tokens - Add universal patterns and decision tree"
|
|
38
|
-
full_specification: "3000 tokens - Complete type enums and examples"
|
|
39
|
-
vs_traditional: "50000+ tokens - Agents must learn 100+ divergent patterns"
|
|
40
|
-
|
|
41
|
-
# ======================================================================
|
|
42
|
-
# THE 6-DIMENSION REALITY MODEL
|
|
43
|
-
# ======================================================================
|
|
44
|
-
|
|
45
|
-
dimensions:
|
|
46
|
-
- name: groups
|
|
47
|
-
description: Multi-tenant isolation boundary with hierarchical nesting - who owns what at group level
|
|
48
|
-
purpose: Partition the system with perfect isolation, supporting nested groups (groups within groups)
|
|
49
|
-
pattern_recognition_hint: "Container that owns all other dimensions. Everything is scoped to groupId."
|
|
50
|
-
|
|
51
|
-
- name: people
|
|
52
|
-
description: Authorization & governance - platform owner, group owners
|
|
53
|
-
purpose: Define who can do what. People direct groups, customize AI agents, and govern access
|
|
54
|
-
pattern_recognition_hint: "Actor for all events. Every action has actorId pointing to people."
|
|
55
|
-
|
|
56
|
-
- name: things
|
|
57
|
-
description: Every "thing" - users, agents, content, tokens, courses
|
|
58
|
-
purpose: All addressable objects in the system
|
|
59
|
-
pattern_recognition_hint: "Nouns. If you can say 'this is a ___', it's a thing. Use type field to categorize."
|
|
60
|
-
|
|
61
|
-
- name: connections
|
|
62
|
-
description: Every relationship - owns, follows, taught_by, powers
|
|
63
|
-
purpose: All relationships between things
|
|
64
|
-
pattern_recognition_hint: "Verbs. If X relates to Y, create connection. Use relationshipType to categorize."
|
|
65
|
-
|
|
66
|
-
- name: events
|
|
67
|
-
description: Every action - purchased, created, viewed, completed
|
|
68
|
-
purpose: All time-stamped occurrences
|
|
69
|
-
pattern_recognition_hint: "History. If it happened at a specific time, log event. Complete audit trail."
|
|
70
|
-
|
|
71
|
-
- name: knowledge
|
|
72
|
-
description: Labels + chunks + vectors powering RAG & search
|
|
73
|
-
purpose: Taxonomy (labels) and retrieval-augmented generation (RAG)
|
|
74
|
-
pattern_recognition_hint: "Understanding. Labels categorize (skill:*, industry:*), chunks enable semantic search."
|
|
75
|
-
|
|
76
|
-
golden_rule: "If you can't map your feature to these 6 dimensions, you're thinking about it wrong."
|
|
77
|
-
|
|
78
|
-
simplicity: "ONE is six dimensions — groups partition, people authorize, things exist, connections relate, events record, and knowledge understands. Everything composes from these building blocks."
|
|
79
|
-
|
|
80
|
-
# ======================================================================
|
|
81
|
-
# GROUPS: The Isolation Boundary with Nesting
|
|
82
|
-
# ======================================================================
|
|
83
|
-
|
|
84
|
-
groups:
|
|
85
|
-
structure:
|
|
86
|
-
_id: Id<'groups'>
|
|
87
|
-
slug: string # REQUIRED: URL identifier (/group/slug)
|
|
88
|
-
name: string # REQUIRED: Display name
|
|
89
|
-
type:
|
|
90
|
-
- friend_circle # 2-10 people (friends, family)
|
|
91
|
-
- business # 10-1000 people (small business to medium company)
|
|
92
|
-
- community # 100-100k people (online community, forum)
|
|
93
|
-
- dao # 100-1M people (decentralized autonomous organization)
|
|
94
|
-
- government # 1M+ people (city, state, country)
|
|
95
|
-
- organization # Legacy type for backward compatibility
|
|
96
|
-
parentGroupId: Id<'groups'>? # OPTIONAL: Parent group for nesting
|
|
97
|
-
description: string? # OPTIONAL: About text
|
|
98
|
-
metadata: Record<string, any>
|
|
99
|
-
settings:
|
|
100
|
-
visibility:
|
|
101
|
-
- public # Anyone can discover
|
|
102
|
-
- private # Invitation only
|
|
103
|
-
joinPolicy:
|
|
104
|
-
- open # Anyone can join
|
|
105
|
-
- invite_only # Requires invitation
|
|
106
|
-
- approval_required # Requires admin approval
|
|
107
|
-
plan:
|
|
108
|
-
- starter # Free or basic tier
|
|
109
|
-
- pro # Paid professional tier
|
|
110
|
-
- enterprise # Custom enterprise tier
|
|
111
|
-
limits:
|
|
112
|
-
users: number # Max users allowed
|
|
113
|
-
storage: number # GB of storage
|
|
114
|
-
apiCalls: number # API calls per month
|
|
115
|
-
status:
|
|
116
|
-
- active # Group is operational
|
|
117
|
-
- archived # Group is archived (soft delete)
|
|
118
|
-
createdAt: number
|
|
119
|
-
updatedAt: number
|
|
120
|
-
|
|
121
|
-
common_fields:
|
|
122
|
-
identity: [slug, name]
|
|
123
|
-
web: [slug, name, description]
|
|
124
|
-
operations: [status, type, settings, parentGroupId]
|
|
125
|
-
|
|
126
|
-
why_matters:
|
|
127
|
-
- Multi-Tenant Isolation: Each group's data is completely separate
|
|
128
|
-
- Hierarchical Nesting: Groups can contain sub-groups for complex organizations
|
|
129
|
-
- Flexible Types: From friend circles to DAOs to governments
|
|
130
|
-
- Resource Quotas: Control costs and usage per group
|
|
131
|
-
- Privacy Control: Groups can be public or private with controlled access
|
|
132
|
-
|
|
133
|
-
ai_pattern:
|
|
134
|
-
scope_all_queries: "ALWAYS filter by groupId for multi-tenant isolation"
|
|
135
|
-
example: "db.query('things').filter((q) => q.eq(q.field('groupId'), currentGroupId))"
|
|
136
|
-
|
|
137
|
-
# ======================================================================
|
|
138
|
-
# PEOPLE: Authorization & Governance
|
|
139
|
-
# ======================================================================
|
|
140
|
-
|
|
141
|
-
people:
|
|
142
|
-
structure:
|
|
143
|
-
_id: Id<'people'>
|
|
144
|
-
email: string # REQUIRED: Auth identifier
|
|
145
|
-
username: string # REQUIRED: URL identifier (/username)
|
|
146
|
-
displayName: string # REQUIRED: Display name
|
|
147
|
-
role:
|
|
148
|
-
- platform_owner # Owns the platform (Anthony). 100% platform revenue.
|
|
149
|
-
- group_owner # Owns/manages groups. Revenue sharing with platform.
|
|
150
|
-
- group_user # Works within group. Limited permissions.
|
|
151
|
-
- customer # External user. Purchases tokens, enrolls in courses.
|
|
152
|
-
groupId: Id<'groups'>? # Current/default group
|
|
153
|
-
permissions: string[]? # Additional permissions
|
|
154
|
-
bio: string? # OPTIONAL: About text
|
|
155
|
-
avatar: string? # OPTIONAL: Profile image
|
|
156
|
-
groups: Id<'groups'>[] # All groups this person belongs to
|
|
157
|
-
createdAt: number
|
|
158
|
-
updatedAt: number
|
|
159
|
-
|
|
160
|
-
common_fields:
|
|
161
|
-
identity: [email, username, displayName]
|
|
162
|
-
auth: [email, username, role, permissions]
|
|
163
|
-
web: [username, displayName, avatar, bio]
|
|
164
|
-
governance: [role, groupId, groups, permissions]
|
|
165
|
-
|
|
166
|
-
roles:
|
|
167
|
-
platform_owner:
|
|
168
|
-
description: Owns the ONE Platform
|
|
169
|
-
revenue: 100% from platform-level services
|
|
170
|
-
access: Can access all groups (support/debugging)
|
|
171
|
-
capabilities: Creates new groups
|
|
172
|
-
|
|
173
|
-
group_owner:
|
|
174
|
-
description: Owns/manages one or more groups
|
|
175
|
-
control: Users, permissions, billing within group
|
|
176
|
-
customization: AI agents and frontend
|
|
177
|
-
revenue: Revenue sharing with platform
|
|
178
|
-
|
|
179
|
-
group_user:
|
|
180
|
-
description: Works within a group
|
|
181
|
-
permissions: Limited permissions (defined by group owner)
|
|
182
|
-
capabilities: Can create content, run agents (within quotas)
|
|
183
|
-
|
|
184
|
-
customer:
|
|
185
|
-
description: External user consuming content
|
|
186
|
-
access: Purchases tokens, enrolls in courses
|
|
187
|
-
admin: No admin access
|
|
188
|
-
|
|
189
|
-
why_matters:
|
|
190
|
-
- Authorization: Every action must have an actor (person)
|
|
191
|
-
- Governance: Group owners control who can do what
|
|
192
|
-
- Audit Trail: Events log who did what when
|
|
193
|
-
- Customization: People teach AI agents their preferences
|
|
194
|
-
|
|
195
|
-
ai_pattern:
|
|
196
|
-
every_event_has_actor: "events.actorId ALWAYS references people._id"
|
|
197
|
-
check_permissions: "Query person.role and person.permissions before mutations"
|
|
198
|
-
example: "const person = await db.get(actorId); if (person.role !== 'group_owner') throw Error()"
|
|
199
|
-
|
|
200
|
-
# ======================================================================
|
|
201
|
-
# KNOWLEDGE: Labels, Chunks, and Vectors (RAG)
|
|
202
|
-
# ======================================================================
|
|
203
|
-
|
|
204
|
-
knowledge:
|
|
205
|
-
purpose: Unify taxonomy ("tags") and retrieval-augmented generation (RAG) under one table
|
|
206
|
-
|
|
207
|
-
principles:
|
|
208
|
-
- Protocol-agnostic: store protocol details in metadata
|
|
209
|
-
- Many-to-many: link knowledge ⇄ things via thingKnowledge with optional context metadata
|
|
210
|
-
- Scalable: consolidated types minimize index fan-out; embeddings enable semantic search
|
|
211
|
-
|
|
212
|
-
types:
|
|
213
|
-
- label: # replaces legacy "tag"; lightweight categorical marker
|
|
214
|
-
description: "Categorization (skill:python, industry:fitness, topic:ai)"
|
|
215
|
-
- document: # wrapper for a source text/blob (pre-chunking)
|
|
216
|
-
description: "Full document before chunking (blog post, transcript)"
|
|
217
|
-
- chunk: # atomic chunk of text with embedding
|
|
218
|
-
description: "800-token chunk with vector embedding for semantic search"
|
|
219
|
-
- vector_only: # embedding without stored text (e.g., privacy)
|
|
220
|
-
description: "Privacy-preserving vector (no text stored)"
|
|
221
|
-
|
|
222
|
-
structure:
|
|
223
|
-
_id: Id<'knowledge'>
|
|
224
|
-
knowledgeType: KnowledgeType
|
|
225
|
-
text: string? # optional for label/vector_only
|
|
226
|
-
embedding: number[]? # Float32 vector; model-dependent dimension
|
|
227
|
-
embeddingModel: string? # e.g., "text-embedding-3-large"
|
|
228
|
-
embeddingDim: number?
|
|
229
|
-
sourceThingId: Id<'things'>? # Primary source entity
|
|
230
|
-
sourceField: string? # e.g., 'content', 'transcript', 'title'
|
|
231
|
-
chunk:
|
|
232
|
-
index: number
|
|
233
|
-
start: number?
|
|
234
|
-
end: number?
|
|
235
|
-
tokenCount: number?
|
|
236
|
-
overlap: number?
|
|
237
|
-
labels: string[]? # Replaces per-thing tags; applied to knowledge
|
|
238
|
-
metadata: Record<string, any>? # protocol, language, mime, hash, version
|
|
239
|
-
createdAt: number
|
|
240
|
-
updatedAt: number
|
|
241
|
-
deletedAt: number?
|
|
242
|
-
|
|
243
|
-
junction_thingKnowledge:
|
|
244
|
-
_id: Id<'thingKnowledge'>
|
|
245
|
-
thingId: Id<'things'>
|
|
246
|
-
knowledgeId: Id<'knowledge'>
|
|
247
|
-
role:
|
|
248
|
-
- label # This knowledge labels the thing
|
|
249
|
-
- summary # This knowledge summarizes the thing
|
|
250
|
-
- chunk_of # This knowledge is a chunk from the thing
|
|
251
|
-
- caption # This knowledge captions the thing (image, video)
|
|
252
|
-
- keyword # This knowledge is a keyword for the thing
|
|
253
|
-
metadata: Record<string, any>?
|
|
254
|
-
createdAt: number
|
|
255
|
-
|
|
256
|
-
indexes:
|
|
257
|
-
- knowledge.by_type (knowledgeType)
|
|
258
|
-
- knowledge.by_source (sourceThingId)
|
|
259
|
-
- knowledge.by_created (createdAt)
|
|
260
|
-
- thingKnowledge.by_thing (thingId)
|
|
261
|
-
- thingKnowledge.by_knowledge (knowledgeId)
|
|
262
|
-
- knowledge.by_embedding (vector index for ANN search)
|
|
263
|
-
|
|
264
|
-
governance:
|
|
265
|
-
policy: Default is free-form, user-extensible knowledge labels for maximum flexibility
|
|
266
|
-
curated_prefixes:
|
|
267
|
-
- skill:* # e.g., skill:python, skill:design, skill:marketing
|
|
268
|
-
- industry:* # e.g., industry:fitness, industry:finance, industry:healthcare
|
|
269
|
-
- topic:* # e.g., topic:ai, topic:blockchain, topic:climate
|
|
270
|
-
- format:* # e.g., format:video, format:blog, format:podcast
|
|
271
|
-
- goal:* # e.g., goal:learn, goal:build, goal:grow
|
|
272
|
-
- audience:* # e.g., audience:beginners, audience:enterprise, audience:developers
|
|
273
|
-
- technology:* # e.g., technology:react, technology:python, technology:aws
|
|
274
|
-
- status:* # e.g., status:draft, status:published, status:archived
|
|
275
|
-
- capability:* # e.g., capability:analyze, capability:generate, capability:predict
|
|
276
|
-
- protocol:* # e.g., protocol:a2a, protocol:acp, protocol:x402
|
|
277
|
-
- payment_method:* # e.g., payment_method:stripe, payment_method:crypto
|
|
278
|
-
- network:* # e.g., network:base, network:ethereum, network:polygon
|
|
279
|
-
# Domain-specific prefixes (curated by domain experts)
|
|
280
|
-
- subject:* # Education: subject:mathematics, subject:science, subject:history
|
|
281
|
-
- grade:* # Education: grade:k-5, grade:9-12, grade:undergraduate
|
|
282
|
-
- difficulty:* # Education: difficulty:beginner, difficulty:advanced
|
|
283
|
-
- learning_style:* # Education: learning_style:visual, learning_style:kinesthetic
|
|
284
|
-
- course_level:* # Education: course_level:introductory, course_level:advanced
|
|
285
|
-
- product_type:* # E-commerce: product_type:apparel, product_type:electronics
|
|
286
|
-
- price_tier:* # E-commerce: price_tier:budget, price_tier:premium
|
|
287
|
-
- category:* # E-commerce: category:clothing, category:books
|
|
288
|
-
- revenue_stream:* # Creator: revenue_stream:sponsorship, revenue_stream:membership
|
|
289
|
-
- content_type:* # Creator: content_type:youtube, content_type:podcast
|
|
290
|
-
- platform:* # Creator: platform:youtube, platform:tiktok, platform:twitter
|
|
291
|
-
- monetization:* # Creator: monetization:ads, monetization:patreon
|
|
292
|
-
- token_category:* # Crypto: token_category:compute, token_category:governance
|
|
293
|
-
- blockchain:* # Crypto: blockchain:ethereum, blockchain:base, blockchain:polygon
|
|
294
|
-
- defi_type:* # Crypto: defi_type:lending, defi_type:dex, defi_type:yield
|
|
295
|
-
- market_segment:* # Crypto: market_segment:ai_tokens, market_segment:layer2
|
|
296
|
-
validation: Enforce label hygiene (no duplicates within scope)
|
|
297
|
-
ownership: Platform/organization owners may curate official labels
|
|
298
|
-
|
|
299
|
-
ai_pattern:
|
|
300
|
-
add_labels: "Create knowledge items with knowledgeType: 'label', link via thingKnowledge"
|
|
301
|
-
semantic_search: "Vector search on knowledge.embedding filtered by groupId"
|
|
302
|
-
example: |
|
|
303
|
-
// Add label
|
|
304
|
-
const labelId = await db.insert('knowledge', { knowledgeType: 'label', labels: ['skill:python'] });
|
|
305
|
-
await db.insert('thingKnowledge', { thingId, knowledgeId: labelId, role: 'label' });
|
|
306
|
-
|
|
307
|
-
// Semantic search
|
|
308
|
-
const results = await db.vectorSearch('knowledge', {
|
|
309
|
-
vectorField: 'embedding',
|
|
310
|
-
query: queryEmbedding,
|
|
311
|
-
filter: { groupId: currentGroupId, knowledgeType: 'chunk' },
|
|
312
|
-
k: 10
|
|
313
|
-
});
|
|
314
|
-
|
|
315
|
-
# ======================================================================
|
|
316
|
-
# THINGS: All The "Things" (66 Types)
|
|
317
|
-
# ======================================================================
|
|
318
|
-
|
|
319
|
-
things:
|
|
320
|
-
test: "If you can point at it and say 'this is a ___', it's a thing"
|
|
321
|
-
|
|
322
|
-
structure:
|
|
323
|
-
_id: Id<"things">
|
|
324
|
-
type: ThingType
|
|
325
|
-
name: string
|
|
326
|
-
properties: Record<string, any> # Type-specific properties (JSON)
|
|
327
|
-
status:
|
|
328
|
-
- active # Entity is operational
|
|
329
|
-
- inactive # Entity is disabled
|
|
330
|
-
- draft # Entity is being created
|
|
331
|
-
- published # Entity is public
|
|
332
|
-
- archived # Entity is archived (soft delete)
|
|
333
|
-
createdAt: number
|
|
334
|
-
updatedAt: number
|
|
335
|
-
deletedAt: number?
|
|
336
|
-
|
|
337
|
-
types:
|
|
338
|
-
core:
|
|
339
|
-
- creator # Human creator (role: platform_owner, group_owner, group_user, customer)
|
|
340
|
-
# Examples: user, instructor, entrepreneur, content creator, founder
|
|
341
|
-
- ai_clone # Digital twin of creator
|
|
342
|
-
# Examples: voice clone, appearance clone, AI agent trained on creator
|
|
343
|
-
- audience_member # Fan/user (role: customer)
|
|
344
|
-
# Examples: student, customer, subscriber, community member
|
|
345
|
-
- organization # DEPRECATED: Legacy - Use type='organization' group instead
|
|
346
|
-
# Use groups table instead for hierarchical organization structures
|
|
347
|
-
|
|
348
|
-
business_agents:
|
|
349
|
-
- strategy_agent # Vision, planning, OKRs
|
|
350
|
-
- research_agent # Market, trends, competitors
|
|
351
|
-
- marketing_agent # Content strategy, SEO, distribution
|
|
352
|
-
- sales_agent # Funnels, conversion, follow-up
|
|
353
|
-
- service_agent # Support, onboarding, success
|
|
354
|
-
- design_agent # Brand, UI/UX, assets
|
|
355
|
-
- engineering_agent # Tech, integration, automation
|
|
356
|
-
- finance_agent # Revenue, costs, forecasting
|
|
357
|
-
- legal_agent # Compliance, contracts, IP
|
|
358
|
-
- intelligence_agent # Analytics, insights, predictions
|
|
359
|
-
|
|
360
|
-
content:
|
|
361
|
-
- blog_post # Written content
|
|
362
|
-
# Examples: article, tutorial, guide, how-to, case study
|
|
363
|
-
- video # Video content
|
|
364
|
-
# Examples: YouTube video, Vimeo, livestream, short-form (TikTok, Shorts)
|
|
365
|
-
- podcast # Audio content
|
|
366
|
-
# Examples: episode, audio lesson, interview, audio tutorial
|
|
367
|
-
- social_post # Social media post
|
|
368
|
-
# Examples: Tweet, Instagram post, LinkedIn article, TikTok video
|
|
369
|
-
- email # Email content
|
|
370
|
-
# Examples: newsletter, email campaign, transactional email
|
|
371
|
-
- course # Educational course
|
|
372
|
-
# Examples: online course, bootcamp, certification program, cohort-based class
|
|
373
|
-
- lesson # Individual lesson
|
|
374
|
-
# Examples: course module, lecture, tutorial video, exercise
|
|
375
|
-
|
|
376
|
-
products:
|
|
377
|
-
- digital_product # Templates, tools, assets
|
|
378
|
-
# Examples: ebook, template, software tool, design asset, code library
|
|
379
|
-
- membership # Tiered membership
|
|
380
|
-
# Examples: Patreon tier, Substack premium, Discord membership, club membership
|
|
381
|
-
- consultation # 1-on-1 session
|
|
382
|
-
# Examples: coaching call, expert call, mentoring session, consulting engagement
|
|
383
|
-
- nft # NFT collectible
|
|
384
|
-
# Examples: art NFT, utility NFT, gaming asset, collectible
|
|
385
|
-
|
|
386
|
-
community:
|
|
387
|
-
- community # Community space
|
|
388
|
-
- conversation # Thread/discussion
|
|
389
|
-
- message # Individual message
|
|
390
|
-
|
|
391
|
-
token:
|
|
392
|
-
- token # Actual token instance
|
|
393
|
-
- token_contract # Smart contract
|
|
394
|
-
|
|
395
|
-
knowledge_types:
|
|
396
|
-
- knowledge_item # Piece of creator knowledge
|
|
397
|
-
- embedding # Vector embedding
|
|
398
|
-
|
|
399
|
-
platform:
|
|
400
|
-
- website # Auto-generated creator site
|
|
401
|
-
- landing_page # Custom landing pages
|
|
402
|
-
- template # Design templates
|
|
403
|
-
- livestream # Live broadcast
|
|
404
|
-
- recording # Saved livestream content
|
|
405
|
-
- media_asset # Images, videos, files
|
|
406
|
-
|
|
407
|
-
business:
|
|
408
|
-
- payment # Payment transaction
|
|
409
|
-
# Examples: Stripe payment, X402 micropayment, crypto transaction, invoice payment
|
|
410
|
-
# Metadata: protocol (stripe|x402|crypto), amount, currency, status
|
|
411
|
-
- subscription # Recurring subscription
|
|
412
|
-
# Examples: SaaS subscription, Patreon subscription, membership renewal, course enrollment
|
|
413
|
-
# Metadata: recurring amount, interval (monthly|yearly), status (active|cancelled)
|
|
414
|
-
- invoice # Invoice record
|
|
415
|
-
# Examples: client invoice, service invoice, product invoice, subscription invoice
|
|
416
|
-
# Metadata: items, total, dueDate, paymentTerms
|
|
417
|
-
- metric # Tracked metric
|
|
418
|
-
# Examples: revenue, users, engagement rate, conversion rate, retention
|
|
419
|
-
# Metadata: value, unit, period, trend
|
|
420
|
-
- insight # AI-generated insight
|
|
421
|
-
# Examples: market trend, customer behavior pattern, performance analysis
|
|
422
|
-
# Metadata: confidence, sourceData, recommendedAction
|
|
423
|
-
- prediction # AI prediction
|
|
424
|
-
# Examples: revenue forecast, churn prediction, demand forecast
|
|
425
|
-
# Metadata: confidence, timeframe, factors
|
|
426
|
-
- report # Analytics report
|
|
427
|
-
# Examples: monthly report, quarterly results, performance analysis
|
|
428
|
-
# Metadata: period, metrics, trends
|
|
429
|
-
|
|
430
|
-
auth_session:
|
|
431
|
-
- session # User session (Better Auth)
|
|
432
|
-
- oauth_account # OAuth connection (GitHub, Google)
|
|
433
|
-
- verification_token # Email/2FA verification token
|
|
434
|
-
- password_reset_token # Password reset token
|
|
435
|
-
|
|
436
|
-
ui_preferences:
|
|
437
|
-
- ui_preferences # User UI settings (theme, layout, etc.)
|
|
438
|
-
|
|
439
|
-
marketing:
|
|
440
|
-
- notification # System notification
|
|
441
|
-
- email_campaign # Email marketing campaign
|
|
442
|
-
- announcement # Platform announcement
|
|
443
|
-
- referral # Referral record
|
|
444
|
-
- campaign # Marketing campaign
|
|
445
|
-
- lead # Potential customer/lead
|
|
446
|
-
|
|
447
|
-
external:
|
|
448
|
-
- external_agent # External AI agent (ElizaOS, etc.)
|
|
449
|
-
- external_workflow # External workflow (n8n, Zapier, Make)
|
|
450
|
-
- external_connection # Connection config to external service
|
|
451
|
-
|
|
452
|
-
protocol:
|
|
453
|
-
- mandate # Intent or cart mandate (AP2)
|
|
454
|
-
# Examples: payment intent, shopping cart mandate, order mandate
|
|
455
|
-
# Maps to: Thing with metadata.protocol=ap2, properties.mandateType
|
|
456
|
-
- product # Sellable product (ACP/marketplace)
|
|
457
|
-
# Examples: digital product, course, service, physical product
|
|
458
|
-
# Maps to: digital_product, course, consultation thing types
|
|
459
|
-
|
|
460
|
-
# ========================================================================
|
|
461
|
-
# DOMAIN-SPECIFIC THING TYPE MAPPINGS (NOT NEW TYPES)
|
|
462
|
-
# ========================================================================
|
|
463
|
-
# These are domain-specific uses of canonical thing types:
|
|
464
|
-
# They clarify how to use existing types in different domains
|
|
465
|
-
|
|
466
|
-
domain_mappings:
|
|
467
|
-
ecommerce:
|
|
468
|
-
# Products & Catalog (map to digital_product or nft)
|
|
469
|
-
product: "digital_product or nft thing with product properties"
|
|
470
|
-
product_variant: "separate digital_product thing, linked via connection"
|
|
471
|
-
category: "knowledge label with label type"
|
|
472
|
-
brand: "creator thing (manufacturer/label)"
|
|
473
|
-
collection: "knowledge label grouping products"
|
|
474
|
-
inventory_item: "metric thing tracking stock level"
|
|
475
|
-
|
|
476
|
-
# Commerce & Orders (map to payment, subscription, digital_product)
|
|
477
|
-
order: "bundle of connections: customer→purchase→product"
|
|
478
|
-
shopping_cart: "mandate thing with type=shopping_cart via metadata"
|
|
479
|
-
discount_code: "knowledge label or digital_product thing"
|
|
480
|
-
subscription: "subscription thing with recurring metadata"
|
|
481
|
-
|
|
482
|
-
# Content & Engagement (map to blog_post, video, social_post)
|
|
483
|
-
guide: "blog_post thing"
|
|
484
|
-
customer_review: "social_post thing with review metadata"
|
|
485
|
-
faq: "blog_post thing or knowledge chunk"
|
|
486
|
-
landing_page: "landing_page thing"
|
|
487
|
-
|
|
488
|
-
# Marketing & Analytics (map to campaign, insight, metric)
|
|
489
|
-
customer_segment: "knowledge label with segment metadata"
|
|
490
|
-
ad_campaign: "campaign thing"
|
|
491
|
-
|
|
492
|
-
education:
|
|
493
|
-
# Academic Structure (map to community, knowledge labels)
|
|
494
|
-
department: "community thing (org group)"
|
|
495
|
-
program: "knowledge label prefix:program or collection"
|
|
496
|
-
curriculum: "knowledge label or collection of courses"
|
|
497
|
-
semester: "knowledge label with calendar metadata"
|
|
498
|
-
classroom: "community thing or metadata on course"
|
|
499
|
-
|
|
500
|
-
# Courses & Content (map to course, lesson, blog_post)
|
|
501
|
-
course_section: "course thing with section in properties"
|
|
502
|
-
module: "lesson thing or knowledge chunk"
|
|
503
|
-
lecture_notes: "blog_post or knowledge document"
|
|
504
|
-
video_lecture: "video thing"
|
|
505
|
-
lab: "lesson thing with lab properties"
|
|
506
|
-
tutorial: "lesson or blog_post thing"
|
|
507
|
-
|
|
508
|
-
# Assessments (map to metric, insight)
|
|
509
|
-
assignment: "metric thing or knowledge label"
|
|
510
|
-
quiz: "metric thing with assessment metadata"
|
|
511
|
-
exam: "metric thing with exam metadata"
|
|
512
|
-
project: "metric thing or digital_product"
|
|
513
|
-
presentation: "video or social_post thing"
|
|
514
|
-
|
|
515
|
-
# Submissions & Grading (map to message, payment/transaction)
|
|
516
|
-
submission: "social_post or message thing"
|
|
517
|
-
grade: "metric thing with grading metadata"
|
|
518
|
-
rubric: "knowledge document"
|
|
519
|
-
feedback: "message thing or knowledge chunk"
|
|
520
|
-
peer_review: "connection with review metadata"
|
|
521
|
-
|
|
522
|
-
# Achievements (map to nft, knowledge label)
|
|
523
|
-
certificate: "nft thing"
|
|
524
|
-
degree: "nft thing"
|
|
525
|
-
diploma: "nft thing"
|
|
526
|
-
badge: "knowledge label"
|
|
527
|
-
transcript: "report thing"
|
|
528
|
-
credit: "metric thing"
|
|
529
|
-
attendance_record: "metric thing"
|
|
530
|
-
|
|
531
|
-
# Resources (map to blog_post, knowledge)
|
|
532
|
-
textbook: "blog_post or knowledge document"
|
|
533
|
-
syllabus: "blog_post or knowledge document"
|
|
534
|
-
calendar: "knowledge label or metric"
|
|
535
|
-
schedule: "knowledge label or metric"
|
|
536
|
-
office_hours: "conversation thing"
|
|
537
|
-
|
|
538
|
-
creator:
|
|
539
|
-
# Content (map to blog_post, video, podcast, social_post, email, course)
|
|
540
|
-
youtube_video: "video thing with youtube properties"
|
|
541
|
-
tiktok_video: "video thing with social_post properties"
|
|
542
|
-
livestream: "livestream thing"
|
|
543
|
-
newsletter_issue: "email thing"
|
|
544
|
-
thread: "social_post thing"
|
|
545
|
-
|
|
546
|
-
# Education (map to course, lesson, blog_post)
|
|
547
|
-
course_module: "lesson thing"
|
|
548
|
-
course_lesson: "lesson thing"
|
|
549
|
-
workshop: "course thing"
|
|
550
|
-
webinar: "livestream thing"
|
|
551
|
-
masterclass: "course thing"
|
|
552
|
-
template: "digital_product thing"
|
|
553
|
-
resource_pack: "digital_product thing"
|
|
554
|
-
|
|
555
|
-
# Community (map to community, conversation, message)
|
|
556
|
-
discord_server: "community thing"
|
|
557
|
-
community_post: "social_post thing"
|
|
558
|
-
discussion_thread: "conversation thing"
|
|
559
|
-
poll: "social_post thing with poll metadata"
|
|
560
|
-
qa_session: "conversation thing"
|
|
561
|
-
exclusive_content: "social_post thing or digital_product"
|
|
562
|
-
|
|
563
|
-
# Monetization (map to membership, subscription, digital_product, nft)
|
|
564
|
-
membership_tier: "membership thing with tier properties"
|
|
565
|
-
sponsorship: "subscription thing with sponsor metadata"
|
|
566
|
-
brand_partnership: "subscription thing with partnership metadata"
|
|
567
|
-
affiliate_link: "social_post thing with affiliate metadata"
|
|
568
|
-
merch_item: "digital_product or nft thing"
|
|
569
|
-
|
|
570
|
-
# Finance (map to payment, subscription, invoice, metric)
|
|
571
|
-
revenue_stream: "metric thing with revenue properties"
|
|
572
|
-
payout: "payment thing"
|
|
573
|
-
expense: "payment thing with negative amount"
|
|
574
|
-
tax_document: "blog_post or knowledge document"
|
|
575
|
-
|
|
576
|
-
# Events (map to livestream, community, conversation)
|
|
577
|
-
event: "livestream or community thing"
|
|
578
|
-
meetup: "community thing with meetup properties"
|
|
579
|
-
conference: "community thing with event properties"
|
|
580
|
-
tour: "livestream thing"
|
|
581
|
-
|
|
582
|
-
crypto:
|
|
583
|
-
# Tokens (map to nft, token thing)
|
|
584
|
-
fungible_token: "token thing with ERC20 standard"
|
|
585
|
-
governance_token: "token thing with governance properties"
|
|
586
|
-
utility_token: "token thing with utility properties"
|
|
587
|
-
stablecoin: "token thing with stablecoin properties"
|
|
588
|
-
ai_compute_token: "token thing with compute properties"
|
|
589
|
-
ai_agent_token: "token thing with agent economy properties"
|
|
590
|
-
|
|
591
|
-
# NFTs (map to nft thing)
|
|
592
|
-
nft_collection: "nft thing with collection metadata"
|
|
593
|
-
ai_model_nft: "nft thing with model properties"
|
|
594
|
-
compute_node_nft: "nft thing with node properties"
|
|
595
|
-
|
|
596
|
-
# Smart Contracts & Finance (map to digital_product, metric, payment)
|
|
597
|
-
smart_contract: "digital_product thing with contract properties"
|
|
598
|
-
liquidity_pool: "metric thing with pool properties"
|
|
599
|
-
yield_strategy: "metric thing or knowledge label"
|
|
600
|
-
defi_protocol: "community thing representing protocol"
|
|
601
|
-
|
|
602
|
-
# Governance & Organization (map to community, creator groups)
|
|
603
|
-
dao: "community thing (via groups table)"
|
|
604
|
-
protocol_governance: "knowledge label or metric"
|
|
605
|
-
investment_fund: "creator thing or group"
|
|
606
|
-
|
|
607
|
-
properties_by_type:
|
|
608
|
-
creator:
|
|
609
|
-
email: string
|
|
610
|
-
username: string
|
|
611
|
-
displayName: string
|
|
612
|
-
bio: string?
|
|
613
|
-
avatar: string?
|
|
614
|
-
niche: string[]
|
|
615
|
-
expertise: string[]
|
|
616
|
-
targetAudience: string
|
|
617
|
-
brandColors:
|
|
618
|
-
primary: string
|
|
619
|
-
secondary: string
|
|
620
|
-
accent: string
|
|
621
|
-
totalFollowers: number
|
|
622
|
-
totalContent: number
|
|
623
|
-
totalRevenue: number
|
|
624
|
-
role:
|
|
625
|
-
- platform_owner
|
|
626
|
-
- group_owner
|
|
627
|
-
- group_user
|
|
628
|
-
- customer
|
|
629
|
-
groupId: Id<"groups">?
|
|
630
|
-
permissions: string[]?
|
|
631
|
-
|
|
632
|
-
organization: # DEPRECATED: Legacy type for backward compatibility
|
|
633
|
-
name: string
|
|
634
|
-
slug: string
|
|
635
|
-
domain: string?
|
|
636
|
-
logo: string?
|
|
637
|
-
description: string?
|
|
638
|
-
status:
|
|
639
|
-
- active
|
|
640
|
-
- suspended
|
|
641
|
-
- trial
|
|
642
|
-
- cancelled
|
|
643
|
-
plan:
|
|
644
|
-
- starter
|
|
645
|
-
- pro
|
|
646
|
-
- enterprise
|
|
647
|
-
limits:
|
|
648
|
-
users: number
|
|
649
|
-
storage: number
|
|
650
|
-
apiCalls: number
|
|
651
|
-
usage:
|
|
652
|
-
users: number
|
|
653
|
-
storage: number
|
|
654
|
-
apiCalls: number
|
|
655
|
-
billing:
|
|
656
|
-
customerId: string?
|
|
657
|
-
subscriptionId: string?
|
|
658
|
-
currentPeriodEnd: number?
|
|
659
|
-
settings:
|
|
660
|
-
allowSignups: boolean
|
|
661
|
-
requireEmailVerification: boolean
|
|
662
|
-
enableTwoFactor: boolean
|
|
663
|
-
allowedDomains: string[]?
|
|
664
|
-
createdAt: number
|
|
665
|
-
trialEndsAt: number?
|
|
666
|
-
|
|
667
|
-
ai_clone:
|
|
668
|
-
voiceId: string?
|
|
669
|
-
voiceProvider:
|
|
670
|
-
- elevenlabs
|
|
671
|
-
- azure
|
|
672
|
-
- custom
|
|
673
|
-
appearanceId: string?
|
|
674
|
-
appearanceProvider:
|
|
675
|
-
- d-id
|
|
676
|
-
- heygen
|
|
677
|
-
- custom
|
|
678
|
-
systemPrompt: string
|
|
679
|
-
temperature: number
|
|
680
|
-
knowledgeBaseSize: number
|
|
681
|
-
lastTrainingDate: number
|
|
682
|
-
totalInteractions: number
|
|
683
|
-
satisfactionScore: number
|
|
684
|
-
|
|
685
|
-
token:
|
|
686
|
-
contractAddress: string
|
|
687
|
-
blockchain:
|
|
688
|
-
- base
|
|
689
|
-
- ethereum
|
|
690
|
-
- polygon
|
|
691
|
-
standard:
|
|
692
|
-
- ERC20
|
|
693
|
-
- ERC721
|
|
694
|
-
- ERC1155
|
|
695
|
-
totalSupply: number
|
|
696
|
-
circulatingSupply: number
|
|
697
|
-
price: number
|
|
698
|
-
marketCap: number
|
|
699
|
-
utility: string[]
|
|
700
|
-
burnRate: number
|
|
701
|
-
holders: number
|
|
702
|
-
transactions24h: number
|
|
703
|
-
volume24h: number
|
|
704
|
-
|
|
705
|
-
course:
|
|
706
|
-
title: string
|
|
707
|
-
description: string
|
|
708
|
-
thumbnail: string?
|
|
709
|
-
modules: number
|
|
710
|
-
lessons: number
|
|
711
|
-
totalDuration: number
|
|
712
|
-
price: number
|
|
713
|
-
currency: string
|
|
714
|
-
tokenPrice: number?
|
|
715
|
-
enrollments: number
|
|
716
|
-
completions: number
|
|
717
|
-
averageRating: number
|
|
718
|
-
generatedBy:
|
|
719
|
-
- ai
|
|
720
|
-
- human
|
|
721
|
-
- hybrid
|
|
722
|
-
personalizationLevel:
|
|
723
|
-
- none
|
|
724
|
-
- basic
|
|
725
|
-
- advanced
|
|
726
|
-
|
|
727
|
-
ai_pattern:
|
|
728
|
-
always_use_provider: "provider.things.create({ type, name, properties })"
|
|
729
|
-
never_hardcode_types: "Use type field to categorize, properties for type-specific data"
|
|
730
|
-
example: |
|
|
731
|
-
// CORRECT: Universal pattern
|
|
732
|
-
const userId = await provider.things.create({
|
|
733
|
-
type: 'creator',
|
|
734
|
-
name: email,
|
|
735
|
-
properties: { email, username, role: 'customer' }
|
|
736
|
-
});
|
|
737
|
-
|
|
738
|
-
// WRONG: Custom function per type
|
|
739
|
-
const userId = await createUser(email, username);
|
|
740
|
-
|
|
741
|
-
# ======================================================================
|
|
742
|
-
# CONNECTIONS: All The Relationships (25 Types)
|
|
743
|
-
# ======================================================================
|
|
744
|
-
|
|
745
|
-
connections:
|
|
746
|
-
test: "If you're describing how thing X relates to thing Y, it's a connection"
|
|
747
|
-
|
|
748
|
-
principle: Consolidated types with metadata for variants. Protocol identity stored in metadata.protocol
|
|
749
|
-
|
|
750
|
-
structure:
|
|
751
|
-
_id: Id<"connections">
|
|
752
|
-
fromThingId: Id<"things">
|
|
753
|
-
toThingId: Id<"things">
|
|
754
|
-
relationshipType: ConnectionType
|
|
755
|
-
metadata: Record<string, any>? # relationship data
|
|
756
|
-
strength: number? # 0-1
|
|
757
|
-
validFrom: number?
|
|
758
|
-
validTo: number?
|
|
759
|
-
createdAt: number
|
|
760
|
-
updatedAt: number?
|
|
761
|
-
|
|
762
|
-
types:
|
|
763
|
-
ownership:
|
|
764
|
-
- owns # Thing A owns thing B
|
|
765
|
-
- created_by # Thing A was created by thing B
|
|
766
|
-
|
|
767
|
-
ai_relationships:
|
|
768
|
-
- clone_of # AI clone is clone of creator
|
|
769
|
-
- trained_on # AI trained on knowledge
|
|
770
|
-
- powers # Agent powers AI clone
|
|
771
|
-
|
|
772
|
-
content_relationships:
|
|
773
|
-
- authored # Creator authored content
|
|
774
|
-
- generated_by # Content generated by agent
|
|
775
|
-
- published_to # Content published to platform
|
|
776
|
-
- part_of # Lesson part of course
|
|
777
|
-
- references # Content references other content
|
|
778
|
-
|
|
779
|
-
community_relationships:
|
|
780
|
-
- member_of # Person member of group
|
|
781
|
-
- following # Person following other person
|
|
782
|
-
- moderates # Person moderates community
|
|
783
|
-
- participated_in # Person participated in event
|
|
784
|
-
|
|
785
|
-
business_relationships:
|
|
786
|
-
- manages # Person manages thing
|
|
787
|
-
- reports_to # Person reports to person
|
|
788
|
-
- collaborates_with # Person collaborates with person
|
|
789
|
-
|
|
790
|
-
token_relationships:
|
|
791
|
-
- holds_tokens # Person holds tokens
|
|
792
|
-
- staked_in # Tokens staked in pool
|
|
793
|
-
- earned_from # Tokens earned from action
|
|
794
|
-
|
|
795
|
-
product_relationships:
|
|
796
|
-
- purchased # Person purchased product
|
|
797
|
-
- enrolled_in # Person enrolled in course
|
|
798
|
-
- completed # Person completed course
|
|
799
|
-
- teaching # Creator teaching course
|
|
800
|
-
|
|
801
|
-
consolidated:
|
|
802
|
-
transacted: # Payment/subscription/invoice (metadata.transactionType + protocol)
|
|
803
|
-
description: "Financial transaction. Use metadata.transactionType: payment|subscription|invoice"
|
|
804
|
-
# E-commerce: customer→product purchase (payment), customer→course (subscription)
|
|
805
|
-
# Education: student→course (enrollment fee), instructor→institution (salary)
|
|
806
|
-
# Creator: fan→creator (Patreon payment), agency→brand (sponsorship payment)
|
|
807
|
-
# Crypto: holder→pool (staking), trader→protocol (swap fee)
|
|
808
|
-
notified: # Notifications (metadata.channel + notificationType)
|
|
809
|
-
description: "Notification sent. Use metadata.channel: email|sms|push|in_app"
|
|
810
|
-
# E-commerce: order→customer (order status), product→customer (restock alert)
|
|
811
|
-
# Education: course→student (assignment due), instructor→class (announcement)
|
|
812
|
-
# Creator: post→subscriber (new content), community→member (event reminder)
|
|
813
|
-
referred: # Referrals (metadata.referralType)
|
|
814
|
-
description: "Referral relationship. Use metadata.referralType: direct|conversion|campaign"
|
|
815
|
-
# E-commerce: customer A→customer B (referral reward), affiliate→customer
|
|
816
|
-
# Creator: fan→creator (referral commission)
|
|
817
|
-
# Crypto: early_user→new_user (referral incentive)
|
|
818
|
-
communicated: # Agent/protocol communication (metadata.protocol + messageType)
|
|
819
|
-
description: "Cross-agent communication. Use metadata.protocol: a2a|acp|ag-ui"
|
|
820
|
-
# Agent coordination via A2A, ACP, or AG-UI protocols
|
|
821
|
-
delegated: # Task/workflow delegation (metadata.protocol + taskType)
|
|
822
|
-
description: "Task delegation. Use metadata.protocol: a2a|custom"
|
|
823
|
-
# Agent→Agent (task assignment), Creator→ContentAgent (generate post)
|
|
824
|
-
approved: # Approvals (metadata.approvalType + protocol)
|
|
825
|
-
description: "Approval relationship. Use metadata.approvalType: transaction|content|purchase"
|
|
826
|
-
# Education: teacher→submission (grade approval), admin→course (publish approval)
|
|
827
|
-
# E-commerce: customer→cart (checkout confirmation)
|
|
828
|
-
fulfilled: # Fulfillment (metadata.fulfillmentType + protocol)
|
|
829
|
-
description: "Fulfillment relationship. Use metadata.fulfillmentType: intent|cart|order"
|
|
830
|
-
# E-commerce: order→shipment (fulfilled), digital_product→customer (delivered)
|
|
831
|
-
# Education: course→student (enrollment fulfilled)
|
|
832
|
-
|
|
833
|
-
patterns:
|
|
834
|
-
ownership:
|
|
835
|
-
description: Creator owns AI clone
|
|
836
|
-
example:
|
|
837
|
-
fromThingId: creatorId
|
|
838
|
-
toThingId: cloneId
|
|
839
|
-
relationshipType: owns
|
|
840
|
-
|
|
841
|
-
revenue_split:
|
|
842
|
-
description: Collaborator owns 30% of course
|
|
843
|
-
example:
|
|
844
|
-
fromThingId: collaboratorId
|
|
845
|
-
toThingId: courseId
|
|
846
|
-
relationshipType: owns
|
|
847
|
-
metadata:
|
|
848
|
-
revenueShare: 0.3
|
|
849
|
-
|
|
850
|
-
token_holding:
|
|
851
|
-
description: User holds 1000 tokens
|
|
852
|
-
example:
|
|
853
|
-
fromThingId: userId
|
|
854
|
-
toThingId: tokenId
|
|
855
|
-
relationshipType: holds_tokens
|
|
856
|
-
metadata:
|
|
857
|
-
balance: 1000
|
|
858
|
-
acquiredAt: timestamp
|
|
859
|
-
|
|
860
|
-
group_membership:
|
|
861
|
-
description: User is member of group with role
|
|
862
|
-
example:
|
|
863
|
-
fromThingId: userId
|
|
864
|
-
toThingId: groupId
|
|
865
|
-
relationshipType: member_of
|
|
866
|
-
metadata:
|
|
867
|
-
role: group_owner # or group_user
|
|
868
|
-
permissions: [read, write, admin]
|
|
869
|
-
invitedBy: userId?
|
|
870
|
-
joinedAt: timestamp
|
|
871
|
-
|
|
872
|
-
ai_pattern:
|
|
873
|
-
always_use_provider: "provider.connections.create({ fromThingId, toThingId, relationshipType, metadata })"
|
|
874
|
-
metadata_for_variants: "Use metadata.protocol for protocol-specific variants"
|
|
875
|
-
example: |
|
|
876
|
-
// Create connection with protocol metadata
|
|
877
|
-
await provider.connections.create({
|
|
878
|
-
fromThingId: userId,
|
|
879
|
-
toThingId: productId,
|
|
880
|
-
relationshipType: 'transacted',
|
|
881
|
-
metadata: {
|
|
882
|
-
protocol: 'x402',
|
|
883
|
-
transactionType: 'payment',
|
|
884
|
-
amount: 99.00,
|
|
885
|
-
currency: 'USD',
|
|
886
|
-
txHash: '0x...'
|
|
887
|
-
}
|
|
888
|
-
});
|
|
889
|
-
|
|
890
|
-
# ======================================================================
|
|
891
|
-
# EVENTS: All The Actions (67 Types)
|
|
892
|
-
# ======================================================================
|
|
893
|
-
|
|
894
|
-
events:
|
|
895
|
-
test: "If you're describing something that HAPPENED at a specific TIME, it's an event"
|
|
896
|
-
|
|
897
|
-
principle: Consolidated types with metadata for variants. Protocol identity stored in metadata.protocol
|
|
898
|
-
|
|
899
|
-
structure:
|
|
900
|
-
_id: Id<"events">
|
|
901
|
-
type: EventType
|
|
902
|
-
actorId: Id<"things"> # Who/what caused this
|
|
903
|
-
targetId: Id<"things">? # Optional target thing
|
|
904
|
-
timestamp: number
|
|
905
|
-
metadata: any # Event-specific data
|
|
906
|
-
|
|
907
|
-
metadata_structure:
|
|
908
|
-
protocol_agnostic:
|
|
909
|
-
action: string
|
|
910
|
-
contentType: string
|
|
911
|
-
|
|
912
|
-
protocol_specific:
|
|
913
|
-
protocol:
|
|
914
|
-
- a2a # Agent-to-Agent
|
|
915
|
-
- acp # Agentic Commerce Protocol
|
|
916
|
-
- ap2 # Agent Payments Protocol
|
|
917
|
-
- x402 # HTTP Micropayments
|
|
918
|
-
- ag-ui # Generative UI
|
|
919
|
-
# protocol-specific fields
|
|
920
|
-
|
|
921
|
-
types:
|
|
922
|
-
entity_lifecycle:
|
|
923
|
-
- entity_created # Any entity created
|
|
924
|
-
- entity_updated # Any entity updated
|
|
925
|
-
- entity_deleted # Any entity deleted
|
|
926
|
-
- entity_archived # Any entity archived
|
|
927
|
-
|
|
928
|
-
user_events:
|
|
929
|
-
- user_registered # New user signed up
|
|
930
|
-
- user_verified # User verified email
|
|
931
|
-
- user_login # User logged in
|
|
932
|
-
- user_logout # User logged out
|
|
933
|
-
- profile_updated # User updated profile
|
|
934
|
-
|
|
935
|
-
authentication_events:
|
|
936
|
-
- password_reset_requested # Password reset email sent
|
|
937
|
-
- password_reset_completed # Password was reset
|
|
938
|
-
- email_verification_sent # Verification email sent
|
|
939
|
-
- email_verified # Email was verified
|
|
940
|
-
- two_factor_enabled # 2FA was enabled
|
|
941
|
-
- two_factor_disabled # 2FA was disabled
|
|
942
|
-
|
|
943
|
-
group_events:
|
|
944
|
-
- group_created # New group created
|
|
945
|
-
- group_updated # Group settings updated
|
|
946
|
-
- user_invited_to_group # User invited to join group
|
|
947
|
-
- user_joined_group # User joined group
|
|
948
|
-
- user_removed_from_group # User removed from group
|
|
949
|
-
|
|
950
|
-
dashboard_ui_events:
|
|
951
|
-
- dashboard_viewed # Dashboard page viewed
|
|
952
|
-
- settings_updated # Settings changed
|
|
953
|
-
- theme_changed # UI theme changed
|
|
954
|
-
- preferences_updated # User preferences updated
|
|
955
|
-
|
|
956
|
-
ai_clone_events:
|
|
957
|
-
- clone_created # AI clone created
|
|
958
|
-
- clone_updated # AI clone updated
|
|
959
|
-
- voice_cloned # Voice clone ready
|
|
960
|
-
- appearance_cloned # Appearance clone ready
|
|
961
|
-
|
|
962
|
-
agent_events:
|
|
963
|
-
- agent_created # Agent created
|
|
964
|
-
- agent_executed # Agent started execution
|
|
965
|
-
- agent_completed # Agent finished execution
|
|
966
|
-
- agent_failed # Agent execution failed
|
|
967
|
-
|
|
968
|
-
token_events:
|
|
969
|
-
- token_created # Token entity created
|
|
970
|
-
- token_minted # Token minted on-chain
|
|
971
|
-
- token_burned # Token burned
|
|
972
|
-
- tokens_purchased # Tokens purchased by user
|
|
973
|
-
- tokens_staked # Tokens staked
|
|
974
|
-
- tokens_unstaked # Tokens unstaked
|
|
975
|
-
- tokens_transferred # Tokens transferred
|
|
976
|
-
|
|
977
|
-
course_events:
|
|
978
|
-
- course_created # Course created
|
|
979
|
-
- course_enrolled # User enrolled in course
|
|
980
|
-
- lesson_completed # User completed lesson
|
|
981
|
-
- course_completed # User completed course
|
|
982
|
-
- certificate_earned # User earned certificate
|
|
983
|
-
|
|
984
|
-
analytics_events:
|
|
985
|
-
- metric_calculated # Metric calculated
|
|
986
|
-
- insight_generated # AI insight generated
|
|
987
|
-
- prediction_made # AI prediction made
|
|
988
|
-
- optimization_applied # Optimization applied
|
|
989
|
-
- report_generated # Report generated
|
|
990
|
-
|
|
991
|
-
cycle_events:
|
|
992
|
-
- cycle_request # User requests AI cycle
|
|
993
|
-
- cycle_completed # Cycle result delivered
|
|
994
|
-
- cycle_failed # Cycle failed
|
|
995
|
-
- cycle_quota_exceeded # Monthly limit hit
|
|
996
|
-
- cycle_revenue_collected # Daily revenue sweep
|
|
997
|
-
- org_revenue_generated # Group generates platform revenue
|
|
998
|
-
- revenue_share_distributed # Revenue share paid out
|
|
999
|
-
|
|
1000
|
-
blockchain_events:
|
|
1001
|
-
- nft_minted # NFT created on-chain
|
|
1002
|
-
- nft_transferred # NFT ownership changed
|
|
1003
|
-
- tokens_bridged # Cross-chain bridge
|
|
1004
|
-
- contract_deployed # Smart contract deployed
|
|
1005
|
-
- treasury_withdrawal # Platform owner withdraws revenue
|
|
1006
|
-
|
|
1007
|
-
consolidated_events:
|
|
1008
|
-
content_event: # metadata.action: created|updated|deleted|viewed|shared|liked
|
|
1009
|
-
description: "Content action. Use metadata.action to specify which."
|
|
1010
|
-
# E-commerce: guide_viewed, product_viewed, review_posted
|
|
1011
|
-
# Education: lesson_viewed, assignment_submitted, comment_posted
|
|
1012
|
-
# Creator: video_uploaded, post_published, comment_received
|
|
1013
|
-
payment_event: # metadata.status: requested|verified|processed + protocol
|
|
1014
|
-
description: "Payment action. Use metadata.status + metadata.protocol."
|
|
1015
|
-
# E-commerce: order payment processed, cart payment failed
|
|
1016
|
-
# Education: tuition payment submitted, refund processed
|
|
1017
|
-
# Creator: sponsorship payment received, payout transferred
|
|
1018
|
-
# Crypto: swap executed, stake transaction confirmed
|
|
1019
|
-
subscription_event: # metadata.action: started|renewed|cancelled
|
|
1020
|
-
description: "Subscription action. Use metadata.action to specify which."
|
|
1021
|
-
# E-commerce: subscription started, auto-renewal activated, subscription cancelled
|
|
1022
|
-
# Education: semester enrollment started, course subscription renewed
|
|
1023
|
-
# Creator: membership tier activated, monthly payment charged
|
|
1024
|
-
commerce_event: # metadata.eventType + protocol (ACP, AP2)
|
|
1025
|
-
description: "Commerce action. Use metadata.eventType + metadata.protocol."
|
|
1026
|
-
# E-commerce: checkout_started, checkout_completed, order_confirmed
|
|
1027
|
-
# Creator: sale_completed, product_purchased
|
|
1028
|
-
livestream_event: # metadata.status: started|ended + metadata.action: joined|left|chat|donation
|
|
1029
|
-
description: "Livestream action. Use metadata.status or metadata.action."
|
|
1030
|
-
# Creator: stream_started, viewer_joined, donation_received, stream_ended
|
|
1031
|
-
# Education: class_session_started, student_joined, question_asked
|
|
1032
|
-
notification_event: # metadata.channel: email|sms|push|in_app + deliveryStatus
|
|
1033
|
-
description: "Notification sent. Use metadata.channel + metadata.deliveryStatus."
|
|
1034
|
-
# E-commerce: order_status_email_sent, restock_alert_delivered
|
|
1035
|
-
# Education: assignment_due_notification, grade_posted_alert
|
|
1036
|
-
# Creator: new_subscriber_notification, mention_alert
|
|
1037
|
-
referral_event: # metadata.action: created|completed|rewarded
|
|
1038
|
-
description: "Referral action. Use metadata.action to specify which."
|
|
1039
|
-
# E-commerce: referral_link_created, referred_customer_signup, referral_reward_issued
|
|
1040
|
-
# Creator: affiliate_link_clicked, commission_earned
|
|
1041
|
-
communication_event: # metadata.protocol (A2A, ACP, AG-UI) + messageType
|
|
1042
|
-
description: "Agent communication. Use metadata.protocol + metadata.messageType."
|
|
1043
|
-
# Agent coordination via A2A, ACP, or AG-UI protocols
|
|
1044
|
-
task_event: # metadata.action: delegated|completed|failed + protocol
|
|
1045
|
-
description: "Task action. Use metadata.action + metadata.protocol."
|
|
1046
|
-
# Agent coordination: task_assigned, task_completed, task_failed
|
|
1047
|
-
# E-commerce: fulfillment_task_assigned, shipping_task_completed
|
|
1048
|
-
mandate_event: # metadata.mandateType: intent|cart + protocol (AP2)
|
|
1049
|
-
description: "Mandate action. Use metadata.mandateType + metadata.protocol."
|
|
1050
|
-
# E-commerce: cart_mandate_created, intent_to_purchase_approved
|
|
1051
|
-
price_event: # metadata.action: checked|changed
|
|
1052
|
-
description: "Price action. Use metadata.action to specify which."
|
|
1053
|
-
# E-commerce: product_price_changed, dynamic_pricing_applied
|
|
1054
|
-
# Crypto: token_price_updated, market_price_feed_received
|
|
1055
|
-
|
|
1056
|
-
retention_archival:
|
|
1057
|
-
purpose: Keep queries fast and costs predictable at scale
|
|
1058
|
-
windows:
|
|
1059
|
-
hot: Last 30-90 days in primary events table, fully indexed
|
|
1060
|
-
warm: 90-365 days; restrict heavy scans
|
|
1061
|
-
cold: +365 days exported to warehouse/storage
|
|
1062
|
-
patterns:
|
|
1063
|
-
- Use type_time and actor_time for filters
|
|
1064
|
-
- Precompute aggregates into metric entities
|
|
1065
|
-
- Scheduled rollups to move old events to archive
|
|
1066
|
-
|
|
1067
|
-
ai_pattern:
|
|
1068
|
-
always_log_events: "provider.events.log({ type, actorId, targetId, metadata, timestamp })"
|
|
1069
|
-
use_consolidated_types: "Use consolidated types with metadata.action for variants"
|
|
1070
|
-
example: |
|
|
1071
|
-
// Log content created event (consolidated)
|
|
1072
|
-
await provider.events.log({
|
|
1073
|
-
type: 'content_event',
|
|
1074
|
-
actorId: creatorId,
|
|
1075
|
-
targetId: contentId,
|
|
1076
|
-
metadata: { action: 'created', contentType: 'blog_post' },
|
|
1077
|
-
timestamp: Date.now()
|
|
1078
|
-
});
|
|
1079
|
-
|
|
1080
|
-
# ======================================================================
|
|
1081
|
-
# PROTOCOL INTEGRATION
|
|
1082
|
-
# ======================================================================
|
|
1083
|
-
|
|
1084
|
-
protocols:
|
|
1085
|
-
principle: Ontology is protocol-agnostic. Protocols identify themselves via metadata.protocol
|
|
1086
|
-
|
|
1087
|
-
a2a_agent_to_agent:
|
|
1088
|
-
description: Agent-to-Agent communication
|
|
1089
|
-
event_example:
|
|
1090
|
-
type: task_delegated
|
|
1091
|
-
actorId: oneAgentId
|
|
1092
|
-
targetId: externalAgentId
|
|
1093
|
-
metadata:
|
|
1094
|
-
protocol: a2a
|
|
1095
|
-
task: research_market_trends
|
|
1096
|
-
parameters:
|
|
1097
|
-
industry: fitness
|
|
1098
|
-
|
|
1099
|
-
acp_agentic_commerce:
|
|
1100
|
-
description: Agentic Commerce Protocol
|
|
1101
|
-
event_example:
|
|
1102
|
-
type: commerce_event
|
|
1103
|
-
actorId: agentId
|
|
1104
|
-
targetId: transactionId
|
|
1105
|
-
metadata:
|
|
1106
|
-
protocol: acp
|
|
1107
|
-
eventType: purchase_initiated
|
|
1108
|
-
agentPlatform: chatgpt
|
|
1109
|
-
productId: productId
|
|
1110
|
-
amount: 99.00
|
|
1111
|
-
|
|
1112
|
-
ap2_agent_payments:
|
|
1113
|
-
description: Agent Payments Protocol
|
|
1114
|
-
event_example:
|
|
1115
|
-
type: mandate_created
|
|
1116
|
-
actorId: userId
|
|
1117
|
-
targetId: mandateId
|
|
1118
|
-
metadata:
|
|
1119
|
-
protocol: ap2
|
|
1120
|
-
mandateType: intent
|
|
1121
|
-
autoExecute: true
|
|
1122
|
-
maxBudget: 1500
|
|
1123
|
-
|
|
1124
|
-
x402_http_micropayments:
|
|
1125
|
-
description: HTTP Micropayments Protocol
|
|
1126
|
-
event_example:
|
|
1127
|
-
type: payment_requested
|
|
1128
|
-
actorId: apiServiceId
|
|
1129
|
-
targetId: resourceId
|
|
1130
|
-
metadata:
|
|
1131
|
-
protocol: x402
|
|
1132
|
-
scheme: permit
|
|
1133
|
-
network: base
|
|
1134
|
-
amount: "0.01"
|
|
1135
|
-
resource: /api/agent/analyze
|
|
1136
|
-
|
|
1137
|
-
ag_ui_generative_ui:
|
|
1138
|
-
description: CopilotKit Generative UI
|
|
1139
|
-
event_example:
|
|
1140
|
-
type: message_sent
|
|
1141
|
-
actorId: agentId
|
|
1142
|
-
targetId: conversationId
|
|
1143
|
-
metadata:
|
|
1144
|
-
protocol: ag-ui
|
|
1145
|
-
messageType: ui
|
|
1146
|
-
component: chart
|
|
1147
|
-
data:
|
|
1148
|
-
chartType: line
|
|
1149
|
-
|
|
1150
|
-
# ======================================================================
|
|
1151
|
-
# DOMAIN-SPECIFIC METADATA PATTERNS
|
|
1152
|
-
# ======================================================================
|
|
1153
|
-
|
|
1154
|
-
domain_metadata_patterns:
|
|
1155
|
-
ecommerce:
|
|
1156
|
-
payment_metadata:
|
|
1157
|
-
protocol: "stripe|paypal|crypto|x402"
|
|
1158
|
-
transactionType: "payment|subscription|refund"
|
|
1159
|
-
amount: number
|
|
1160
|
-
currency: "USD|EUR|GBP"
|
|
1161
|
-
status: "pending|processed|failed|refunded"
|
|
1162
|
-
|
|
1163
|
-
product_metadata:
|
|
1164
|
-
sku: string
|
|
1165
|
-
category: string
|
|
1166
|
-
supplier: string
|
|
1167
|
-
cost: number
|
|
1168
|
-
margin: number
|
|
1169
|
-
inventory: number
|
|
1170
|
-
|
|
1171
|
-
order_metadata:
|
|
1172
|
-
orderId: string
|
|
1173
|
-
items: array
|
|
1174
|
-
shippingAddress: object
|
|
1175
|
-
trackingNumber?: string
|
|
1176
|
-
estimatedDelivery?: number
|
|
1177
|
-
|
|
1178
|
-
education:
|
|
1179
|
-
course_metadata:
|
|
1180
|
-
code: string # "CS 101"
|
|
1181
|
-
credits: number
|
|
1182
|
-
level: "k12|undergraduate|graduate"
|
|
1183
|
-
capacity: number
|
|
1184
|
-
enrolled: number
|
|
1185
|
-
gradeDistribution: object
|
|
1186
|
-
|
|
1187
|
-
assignment_metadata:
|
|
1188
|
-
dueDate: number
|
|
1189
|
-
points: number
|
|
1190
|
-
rubric: object
|
|
1191
|
-
submissionType: "text|file|url|quiz|code"
|
|
1192
|
-
autoGrade: boolean
|
|
1193
|
-
|
|
1194
|
-
grade_metadata:
|
|
1195
|
-
letterGrade: string
|
|
1196
|
-
pointsEarned: number
|
|
1197
|
-
pointsPossible: number
|
|
1198
|
-
percentage: number
|
|
1199
|
-
feedback: string
|
|
1200
|
-
submittedAt: number
|
|
1201
|
-
gradedAt: number
|
|
1202
|
-
|
|
1203
|
-
creator:
|
|
1204
|
-
content_metadata:
|
|
1205
|
-
platform: "youtube|tiktok|instagram|twitter|substack"
|
|
1206
|
-
platformId: string
|
|
1207
|
-
views: number
|
|
1208
|
-
engagement: number
|
|
1209
|
-
engagementRate: number
|
|
1210
|
-
revenue: number
|
|
1211
|
-
monetized: boolean
|
|
1212
|
-
|
|
1213
|
-
membership_metadata:
|
|
1214
|
-
tier: string
|
|
1215
|
-
price: number
|
|
1216
|
-
billingCycle: "monthly|yearly"
|
|
1217
|
-
benefits: array
|
|
1218
|
-
memberCount: number
|
|
1219
|
-
churnRate: number
|
|
1220
|
-
|
|
1221
|
-
analytics_metadata:
|
|
1222
|
-
period: "daily|weekly|monthly"
|
|
1223
|
-
metric: string
|
|
1224
|
-
value: number
|
|
1225
|
-
trend: "up|down|flat"
|
|
1226
|
-
comparison: object
|
|
1227
|
-
|
|
1228
|
-
crypto:
|
|
1229
|
-
token_metadata:
|
|
1230
|
-
contractAddress: string
|
|
1231
|
-
blockchain: "ethereum|base|polygon|solana"
|
|
1232
|
-
standard: "ERC20|ERC721|ERC1155"
|
|
1233
|
-
totalSupply: string
|
|
1234
|
-
marketCap: number
|
|
1235
|
-
price: number
|
|
1236
|
-
volume24h: number
|
|
1237
|
-
holders: number
|
|
1238
|
-
|
|
1239
|
-
defi_metadata:
|
|
1240
|
-
protocol: string
|
|
1241
|
-
tvl: string
|
|
1242
|
-
apy: number
|
|
1243
|
-
risk: "low|medium|high"
|
|
1244
|
-
audited: boolean
|
|
1245
|
-
tvlChange24h: number
|
|
1246
|
-
|
|
1247
|
-
transaction_metadata:
|
|
1248
|
-
txHash: string
|
|
1249
|
-
blockNumber: number
|
|
1250
|
-
timestamp: number
|
|
1251
|
-
gasUsed: string
|
|
1252
|
-
gasPrice: number
|
|
1253
|
-
status: "pending|confirmed|failed"
|
|
1254
|
-
|
|
1255
|
-
# ======================================================================
|
|
1256
|
-
# QUERIES & INDEXES
|
|
1257
|
-
# ======================================================================
|
|
1258
|
-
|
|
1259
|
-
queries:
|
|
1260
|
-
get_thing_by_id:
|
|
1261
|
-
description: Get thing by ID
|
|
1262
|
-
example: db.get(thingId)
|
|
1263
|
-
|
|
1264
|
-
get_things_by_type:
|
|
1265
|
-
description: Get all things of type
|
|
1266
|
-
index: by_type
|
|
1267
|
-
example: |
|
|
1268
|
-
db.query('things')
|
|
1269
|
-
.withIndex('by_type', (q) => q.eq('type', 'creator'))
|
|
1270
|
-
.collect()
|
|
1271
|
-
|
|
1272
|
-
get_thing_relationships:
|
|
1273
|
-
description: Get all entities this entity owns
|
|
1274
|
-
index: from_type
|
|
1275
|
-
example: |
|
|
1276
|
-
db.query('connections')
|
|
1277
|
-
.withIndex('from_type', (q) =>
|
|
1278
|
-
q.eq('fromThingId', thingId).eq('relationshipType', 'owns'))
|
|
1279
|
-
.collect()
|
|
1280
|
-
|
|
1281
|
-
get_thing_history:
|
|
1282
|
-
description: Get all events for this entity
|
|
1283
|
-
index: thing_type_time
|
|
1284
|
-
example: |
|
|
1285
|
-
db.query('events')
|
|
1286
|
-
.withIndex('thing_type_time', (q) => q.eq('thingId', thingId))
|
|
1287
|
-
.order('desc')
|
|
1288
|
-
.collect()
|
|
1289
|
-
|
|
1290
|
-
get_thing_knowledge:
|
|
1291
|
-
description: Get knowledge items linked to thing
|
|
1292
|
-
example: |
|
|
1293
|
-
db.query('thingKnowledge')
|
|
1294
|
-
.withIndex('by_thing', (q) => q.eq('thingId', thingId))
|
|
1295
|
-
.collect()
|
|
1296
|
-
|
|
1297
|
-
indexes:
|
|
1298
|
-
things:
|
|
1299
|
-
- by_type(type)
|
|
1300
|
-
- by_status(status)
|
|
1301
|
-
- by_created(createdAt)
|
|
1302
|
-
- search_things(name, type, status)
|
|
1303
|
-
|
|
1304
|
-
connections:
|
|
1305
|
-
- from_type(fromThingId, relationshipType)
|
|
1306
|
-
- to_type(toThingId, relationshipType)
|
|
1307
|
-
- bidirectional(fromThingId, toThingId)
|
|
1308
|
-
|
|
1309
|
-
events:
|
|
1310
|
-
- thing_type_time(thingId, eventType, timestamp)
|
|
1311
|
-
- type_time(eventType, timestamp)
|
|
1312
|
-
- session(sessionId, timestamp)
|
|
1313
|
-
- actor_time(actorId, timestamp)
|
|
1314
|
-
|
|
1315
|
-
knowledge:
|
|
1316
|
-
- by_type(knowledgeType)
|
|
1317
|
-
- by_source(sourceThingId)
|
|
1318
|
-
- by_created(createdAt)
|
|
1319
|
-
- by_embedding(embedding vector)
|
|
1320
|
-
|
|
1321
|
-
# ======================================================================
|
|
1322
|
-
# VALIDATION RULES
|
|
1323
|
-
# ======================================================================
|
|
1324
|
-
|
|
1325
|
-
validation:
|
|
1326
|
-
thing:
|
|
1327
|
-
- type must be valid ThingType
|
|
1328
|
-
- name cannot be empty
|
|
1329
|
-
- properties structure must match type
|
|
1330
|
-
- status must be valid
|
|
1331
|
-
- createdAt and updatedAt required
|
|
1332
|
-
|
|
1333
|
-
connection:
|
|
1334
|
-
- fromThingId must exist
|
|
1335
|
-
- toThingId must exist
|
|
1336
|
-
- relationshipType must be valid
|
|
1337
|
-
- Cannot connect a thing to itself (usually)
|
|
1338
|
-
- Relationship must make semantic sense
|
|
1339
|
-
|
|
1340
|
-
event:
|
|
1341
|
-
- thingId must exist
|
|
1342
|
-
- eventType must be valid
|
|
1343
|
-
- timestamp required
|
|
1344
|
-
- actorId must exist if provided
|
|
1345
|
-
- metadata structure must match event type
|
|
1346
|
-
|
|
1347
|
-
# ======================================================================
|
|
1348
|
-
# SUMMARY STATISTICS
|
|
1349
|
-
# ======================================================================
|
|
1350
|
-
|
|
1351
|
-
statistics:
|
|
1352
|
-
dimensions: 6
|
|
1353
|
-
thing_types: 66
|
|
1354
|
-
connection_types: 25
|
|
1355
|
-
event_types: 67
|
|
1356
|
-
|
|
1357
|
-
thing_breakdown:
|
|
1358
|
-
core: 4
|
|
1359
|
-
business_agents: 10
|
|
1360
|
-
content: 7
|
|
1361
|
-
products: 4
|
|
1362
|
-
community: 3
|
|
1363
|
-
token: 2
|
|
1364
|
-
knowledge: 2
|
|
1365
|
-
platform: 6
|
|
1366
|
-
business: 7
|
|
1367
|
-
auth_session: 5
|
|
1368
|
-
marketing: 6
|
|
1369
|
-
external: 3
|
|
1370
|
-
protocol: 2
|
|
1371
|
-
|
|
1372
|
-
connection_breakdown:
|
|
1373
|
-
specific_semantic: 18
|
|
1374
|
-
consolidated_with_metadata: 7
|
|
1375
|
-
|
|
1376
|
-
event_breakdown:
|
|
1377
|
-
entity_lifecycle: 4
|
|
1378
|
-
user: 5
|
|
1379
|
-
authentication: 6
|
|
1380
|
-
group: 5
|
|
1381
|
-
dashboard_ui: 4
|
|
1382
|
-
ai_clone: 4
|
|
1383
|
-
agent: 4
|
|
1384
|
-
token: 7
|
|
1385
|
-
course: 5
|
|
1386
|
-
analytics: 5
|
|
1387
|
-
cycle: 7
|
|
1388
|
-
blockchain: 5
|
|
1389
|
-
consolidated: 11
|
|
1390
|
-
|
|
1391
|
-
# ======================================================================
|
|
1392
|
-
# DESIGN BENEFITS
|
|
1393
|
-
# ======================================================================
|
|
1394
|
-
|
|
1395
|
-
benefits:
|
|
1396
|
-
- Six-dimension reality model
|
|
1397
|
-
- Multi-tenant by design
|
|
1398
|
-
- Clear ownership & governance
|
|
1399
|
-
- Protocol-agnostic core
|
|
1400
|
-
- Infinite protocol extensibility
|
|
1401
|
-
- Cross-protocol analytics
|
|
1402
|
-
- Type-safe
|
|
1403
|
-
- Future-proof
|
|
1404
|
-
- Scales from children to enterprise
|
|
1405
|
-
- 98% AI code generation accuracy
|
|
1406
|
-
|
|
1407
|
-
# ======================================================================
|
|
1408
|
-
# PHILOSOPHY
|
|
1409
|
-
# ======================================================================
|
|
1410
|
-
|
|
1411
|
-
philosophy:
|
|
1412
|
-
quote: "Simplicity is the ultimate sophistication."
|
|
1413
|
-
|
|
1414
|
-
proof: |
|
|
1415
|
-
This ontology proves that you don't need hundreds of tables or complex schemas
|
|
1416
|
-
to build a complete AI-native platform.
|
|
1417
|
-
|
|
1418
|
-
why_this_works:
|
|
1419
|
-
other_systems:
|
|
1420
|
-
- Create new tables for every feature
|
|
1421
|
-
- Add protocol-specific columns
|
|
1422
|
-
- Pollute schema with temporary concepts
|
|
1423
|
-
- End up with 50+ tables, 200+ columns
|
|
1424
|
-
- Become unmaintainable nightmares
|
|
1425
|
-
|
|
1426
|
-
one_approach:
|
|
1427
|
-
- Map every feature to 6 dimensions
|
|
1428
|
-
- Groups partition the space
|
|
1429
|
-
- People authorize and govern
|
|
1430
|
-
- Things, connections, events flow from there
|
|
1431
|
-
- Knowledge understands it all
|
|
1432
|
-
- Scale infinitely without schema changes
|
|
1433
|
-
- Stay simple, clean, beautiful
|
|
1434
|
-
|
|
1435
|
-
result:
|
|
1436
|
-
- Scales from lemonade stands to global enterprises
|
|
1437
|
-
- Children can understand it
|
|
1438
|
-
- Enterprises can rely on it
|
|
1439
|
-
- AI agents can reason about it
|
|
1440
|
-
- Never needs breaking changes
|
|
1441
|
-
- Grows more powerful as it grows larger
|
|
1442
|
-
|
|
1443
|
-
# ======================================================================
|
|
1444
|
-
# EXTENSIBILITY
|
|
1445
|
-
# ======================================================================
|
|
1446
|
-
|
|
1447
|
-
extensibility:
|
|
1448
|
-
principle: Users can add to any type without breaking the ontology
|
|
1449
|
-
|
|
1450
|
-
guidelines:
|
|
1451
|
-
- Use properties for schema-free details
|
|
1452
|
-
- Use knowledge labels to categorize, filter, and group
|
|
1453
|
-
- Use metadata on connections and events for protocol/workflow-specific context
|
|
1454
|
-
- Keep type stable, add properties.kind and labels for subtypes
|
|
1455
|
-
- Custom automations integrate via external_agent, external_workflow, external_connection
|
|
1456
|
-
|
|
1457
|
-
# ======================================================================
|
|
1458
|
-
# UNIVERSAL FIELDS (Auth + Web Generation)
|
|
1459
|
-
# ======================================================================
|
|
1460
|
-
|
|
1461
|
-
universal_fields:
|
|
1462
|
-
description: "Fields that EVERY person/group has for auth and web generation"
|
|
1463
|
-
|
|
1464
|
-
groups_require:
|
|
1465
|
-
identity: [slug, name] # Who they are + URL
|
|
1466
|
-
web: [slug, name, description?]
|
|
1467
|
-
operations: [status, type, settings, parentGroupId?]
|
|
1468
|
-
|
|
1469
|
-
people_require:
|
|
1470
|
-
identity: [email, username, displayName] # Who they are + URL
|
|
1471
|
-
auth: [email, username, role] # Authentication
|
|
1472
|
-
web: [username, displayName, avatar?, bio?]
|
|
1473
|
-
governance: [role, groupId?, groups]
|
|
1474
|
-
|
|
1475
|
-
things_require:
|
|
1476
|
-
identity: [type, name] # What it is
|
|
1477
|
-
properties: {} # Type-specific data (username, slug, image, etc.)
|
|
1478
|
-
status: enum # Visibility/state
|
|
1479
|
-
|
|
1480
|
-
web_generation_pattern: |
|
|
1481
|
-
Every person/group can be a website:
|
|
1482
|
-
- Groups: /group/{slug} → generated from group data
|
|
1483
|
-
- People: /{username} → generated from person data
|
|
1484
|
-
- Things: Rendered in context of their owner (group or person)
|
|
1485
|
-
|
|
1486
|
-
Required for ANY web page:
|
|
1487
|
-
1. URL identifier (slug/username in properties)
|
|
1488
|
-
2. Display name (name field)
|
|
1489
|
-
3. Visual identity (description in properties)
|
|
1490
|
-
4. Description (bio/description in properties)
|
|
1491
|
-
5. Visibility (status field)
|
|
1492
|
-
|
|
1493
|
-
auth_pattern: |
|
|
1494
|
-
Better Auth integration:
|
|
1495
|
-
- People table has email (links to auth.users)
|
|
1496
|
-
- Auth sessions → session thing (type: session)
|
|
1497
|
-
- OAuth accounts → oauth_account thing
|
|
1498
|
-
- Email verification → verification_token thing
|
|
1499
|
-
|
|
1500
|
-
Minimal auth fields in people:
|
|
1501
|
-
- email (REQUIRED for linking to auth.users)
|
|
1502
|
-
- username (OPTIONAL for username-based login)
|
|
1503
|
-
- role (REQUIRED for authorization)
|
|
1504
|
-
|
|
1505
|
-
# ======================================================================
|
|
1506
|
-
# WORKFLOW (Agent-Based Development)
|
|
1507
|
-
# ======================================================================
|
|
1508
|
-
|
|
1509
|
-
workflow:
|
|
1510
|
-
description: "Agent-orchestrated development using ontology as source of truth"
|
|
1511
|
-
philosophy: "The ontology IS the workflow. Agents collaborate. Everything else is noise."
|
|
1512
|
-
|
|
1513
|
-
stages:
|
|
1514
|
-
1_ideas: # Director validates against ontology
|
|
1515
|
-
2_plans: # Director creates feature collections
|
|
1516
|
-
3_features: # Specialists write specifications
|
|
1517
|
-
4_tests: # Quality defines user flows & acceptance criteria
|
|
1518
|
-
5_design: # Design creates UI that enables tests to pass
|
|
1519
|
-
6_implementation: # Specialists code → Quality validates → Complete
|
|
1520
|
-
|
|
1521
|
-
agents:
|
|
1522
|
-
director: # Validates ideas, creates plans, assigns work
|
|
1523
|
-
role: engineering_agent
|
|
1524
|
-
responsibilities:
|
|
1525
|
-
[validate_ideas, create_plans, assign_specialists, mark_complete]
|
|
1526
|
-
context_tokens: 200 # Just ontology type names
|
|
1527
|
-
|
|
1528
|
-
specialists: # Write features, execute tasks, fix problems
|
|
1529
|
-
roles: [engineering_agent, design_agent, marketing_agent]
|
|
1530
|
-
types: [backend, frontend, integration]
|
|
1531
|
-
context_tokens: 1500 # Ontology types + patterns
|
|
1532
|
-
|
|
1533
|
-
quality: # Defines tests, validates results
|
|
1534
|
-
role: intelligence_agent
|
|
1535
|
-
responsibilities:
|
|
1536
|
-
[check_ontology, create_user_flows, define_tests, validate]
|
|
1537
|
-
context_tokens: 2000 # Ontology + feature + UX patterns
|
|
1538
|
-
|
|
1539
|
-
design: # Creates wireframes & components
|
|
1540
|
-
role: design_agent
|
|
1541
|
-
responsibilities: [create_wireframes, define_components, set_tokens]
|
|
1542
|
-
context_tokens: 2000 # Feature + tests + design patterns
|
|
1543
|
-
|
|
1544
|
-
problem_solver: # Analyzes failures (ultrathink mode)
|
|
1545
|
-
role: intelligence_agent
|
|
1546
|
-
responsibilities: [analyze_failures, propose_solutions, delegate_fixes]
|
|
1547
|
-
context_tokens: 2500 # Failed tests + implementation + ontology
|
|
1548
|
-
|
|
1549
|
-
documenter: # Writes docs after completion
|
|
1550
|
-
role: intelligence_agent
|
|
1551
|
-
responsibilities: [write_docs, update_knowledge]
|
|
1552
|
-
context_tokens: 1000 # Feature + tests
|
|
1553
|
-
|
|
1554
|
-
workflow_things:
|
|
1555
|
-
idea: "User's initial concept → validated by director"
|
|
1556
|
-
plan: "Collection of features → orchestrated by director (e.g., 2-course-platform)"
|
|
1557
|
-
feature: "Specification of what to build → written by specialists (e.g., 2-1-course-crud)"
|
|
1558
|
-
test: "User flows + acceptance criteria → defined by quality agent"
|
|
1559
|
-
design: "Wireframes + components → created by design agent"
|
|
1560
|
-
task: "Individual work item → executed by specialists (e.g., 2-1-task-1)"
|
|
1561
|
-
lesson: "Lessons learned → captured in knowledge after fixes"
|
|
1562
|
-
|
|
1563
|
-
workflow_connections:
|
|
1564
|
-
part_of: "feature → plan, task → feature"
|
|
1565
|
-
assigned_to: "feature → agent, task → agent"
|
|
1566
|
-
depends_on: "task → task (optional ordering)"
|
|
1567
|
-
tested_by: "feature → test"
|
|
1568
|
-
designed_by: "feature → design"
|
|
1569
|
-
implements: "task → design"
|
|
1570
|
-
|
|
1571
|
-
numbering:
|
|
1572
|
-
plan: "2-plan-name" # e.g., 2-course-platform
|
|
1573
|
-
feature: "2-1-feature-name" # e.g., 2-1-course-crud
|
|
1574
|
-
tasks: "2-1-feature-name-tasks" # e.g., 2-1-course-crud-tasks
|
|
1575
|
-
task: "2-1-task-1" # e.g., 2-1-task-1
|
|
1576
|
-
|
|
1577
|
-
workflow_events:
|
|
1578
|
-
planning: [plan_started, feature_assigned, tasks_created]
|
|
1579
|
-
execution:
|
|
1580
|
-
[feature_started, implementation_complete, task_started, task_completed]
|
|
1581
|
-
quality:
|
|
1582
|
-
[
|
|
1583
|
-
quality_check_started,
|
|
1584
|
-
quality_check_complete,
|
|
1585
|
-
test_started,
|
|
1586
|
-
test_passed,
|
|
1587
|
-
test_failed,
|
|
1588
|
-
]
|
|
1589
|
-
problem_solving:
|
|
1590
|
-
[problem_analysis_started, solution_proposed, fix_started, fix_complete]
|
|
1591
|
-
documentation:
|
|
1592
|
-
[documentation_started, documentation_complete, lesson_learned_added]
|
|
1593
|
-
completion: [feature_complete, plan_complete]
|
|
1594
|
-
|
|
1595
|
-
quality_loop: |
|
|
1596
|
-
Specialist writes → Quality validates → Tests run
|
|
1597
|
-
→ PASS: Documenter writes docs
|
|
1598
|
-
→ FAIL: Problem Solver analyzes → Proposes solution → Specialist fixes → Add to lessons learned → Re-test
|
|
1599
|
-
|
|
1600
|
-
coordination:
|
|
1601
|
-
pattern: "Event-driven via events table"
|
|
1602
|
-
no_handoffs: "Agents watch events, act autonomously"
|
|
1603
|
-
parallel: "Tasks execute concurrently"
|
|
1604
|
-
audit_trail: "Complete history in events table"
|
|
1605
|
-
|
|
1606
|
-
benefits:
|
|
1607
|
-
- 300 lines of orchestration vs 15,000+ lines of YAML
|
|
1608
|
-
- 98% context reduction (200-2,500 tokens vs 50k-150k)
|
|
1609
|
-
- 5x faster execution (20s vs 115s per feature)
|
|
1610
|
-
- Event-driven coordination (no handoff protocols)
|
|
1611
|
-
- Quality loops with continuous learning
|
|
1612
|
-
- Parallel execution by default
|
|
1613
|
-
|
|
1614
|
-
# ======================================================================
|
|
1615
|
-
# FOR IMPLEMENTERS
|
|
1616
|
-
# ======================================================================
|
|
1617
|
-
|
|
1618
|
-
implementer_checklist:
|
|
1619
|
-
when_implementing_feature:
|
|
1620
|
-
1: What entities are involved?
|
|
1621
|
-
2: What connections link them?
|
|
1622
|
-
3: What events need to be logged?
|
|
1623
|
-
4: What knowledge labels categorize them?
|
|
1624
|
-
5: What protocol is this for? (add to metadata)
|
|
1625
|
-
6: What knowledge (labels + chunks) should be linked?
|
|
1626
|
-
7: What workflow stage? (idea/plan/feature/test/design/implementation)
|
|
1627
|
-
|
|
1628
|
-
for_ai_agents: |
|
|
1629
|
-
You now have a complete, unambiguous data model. Generate consistent
|
|
1630
|
-
database operations because you understand the underlying structure.
|
|
1631
|
-
|
|
1632
|
-
Use the workflow agents to orchestrate development:
|
|
1633
|
-
- Director validates ideas and creates plans
|
|
1634
|
-
- Specialists write features and execute tasks
|
|
1635
|
-
- Quality defines tests and validates results
|
|
1636
|
-
- Design creates UI that enables tests to pass
|
|
1637
|
-
- Problem Solver analyzes failures and proposes solutions
|
|
1638
|
-
- Documenter captures knowledge after completion
|
|
1639
|
-
|
|
1640
|
-
for_developers: |
|
|
1641
|
-
You have a schema that will never need major refactoring. Just add new
|
|
1642
|
-
thing types as needed, use existing event types with metadata, and enjoy
|
|
1643
|
-
the simplicity.
|
|
1644
|
-
|
|
1645
|
-
The workflow system uses the same 6-dimension ontology:
|
|
1646
|
-
- Ideas, plans, features, tests, designs, tasks are all "things"
|
|
1647
|
-
- Agent assignments are "connections"
|
|
1648
|
-
- All progress tracked via "events"
|
|
1649
|
-
- Lessons learned stored in "knowledge"
|
|
1650
|
-
|
|
1651
|
-
# ======================================================================
|
|
1652
|
-
# END OF ONTOLOGY SPECIFICATION
|
|
1653
|
-
# ======================================================================
|