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
package/one/events/TEST-PLAN.md
DELETED
|
@@ -1,1435 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Test Plan
|
|
3
|
-
dimension: events
|
|
4
|
-
category: TEST-PLAN.md
|
|
5
|
-
tags: backend, connections, events, frontend, groups, knowledge, ontology, people, testing, things
|
|
6
|
-
related_dimensions: connections, groups, knowledge, people, things
|
|
7
|
-
scope: global
|
|
8
|
-
created: 2025-11-03
|
|
9
|
-
updated: 2025-11-03
|
|
10
|
-
version: 1.0.0
|
|
11
|
-
ai_context: |
|
|
12
|
-
This document is part of the events dimension in the TEST-PLAN.md category.
|
|
13
|
-
Location: one/events/TEST-PLAN.md
|
|
14
|
-
Purpose: Documents demo testing plan - infer 15-20
|
|
15
|
-
Related dimensions: connections, groups, knowledge, people, things
|
|
16
|
-
For AI agents: Read this to understand TEST PLAN.
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
# Demo Testing Plan - Cycle 15-20
|
|
20
|
-
|
|
21
|
-
**Status:** Test Definition Phase
|
|
22
|
-
**Target:** Beautiful, Interactive 6-Dimension Demos
|
|
23
|
-
**Quality Gate:** 80%+ Coverage, All Acceptance Criteria Met
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## 1. Test Overview
|
|
28
|
-
|
|
29
|
-
### Purpose
|
|
30
|
-
Comprehensive testing strategy for 6-dimension ontology demo pages, ensuring complete backend-agnostic integration with real Convex API or mock providers.
|
|
31
|
-
|
|
32
|
-
### Scope
|
|
33
|
-
- **Frontend Pages:** `/demo/index`, `/demo/groups`, `/demo/people`, `/demo/things`, `/demo/connections`, `/demo/events`, `/demo/search`
|
|
34
|
-
- **React Components:** `HooksDemo`, `SearchDemo`, `PeopleDemo` + all dimension-specific demos
|
|
35
|
-
- **Backend Connection:** Convex API at `https://shocking-falcon-870.convex.cloud`
|
|
36
|
-
- **Data Model:** 6-Dimension Ontology (groups, people, things, connections, events, knowledge)
|
|
37
|
-
|
|
38
|
-
### Success Criteria
|
|
39
|
-
- All demo pages load with correct data
|
|
40
|
-
- Interactive CRUD operations work end-to-end
|
|
41
|
-
- Backend connection status properly displayed
|
|
42
|
-
- Error states handled gracefully
|
|
43
|
-
- Loading states visible during async operations
|
|
44
|
-
- All hooks execute without errors
|
|
45
|
-
- Performance targets met (< 1s page load, < 200ms API calls)
|
|
46
|
-
- Accessibility standards met (WCAG 2.1 AA)
|
|
47
|
-
- Cross-browser compatibility verified
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
## 2. Test Architecture
|
|
52
|
-
|
|
53
|
-
### Test Framework Stack
|
|
54
|
-
```
|
|
55
|
-
Vitest → Unit & Integration tests (already configured)
|
|
56
|
-
Playwright → E2E tests (install as dev dependency)
|
|
57
|
-
Testing Library → Component testing utilities
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
### Installation
|
|
61
|
-
```bash
|
|
62
|
-
# Already installed
|
|
63
|
-
bun add -d vitest @vitest/ui @testing-library/react @testing-library/dom
|
|
64
|
-
|
|
65
|
-
# Add for E2E tests
|
|
66
|
-
bun add -d @playwright/test
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Test Structure
|
|
70
|
-
```
|
|
71
|
-
tests/
|
|
72
|
-
├── demo/
|
|
73
|
-
│ ├── e2e/ # End-to-end tests
|
|
74
|
-
│ │ ├── demo.spec.ts
|
|
75
|
-
│ │ ├── dimensions/
|
|
76
|
-
│ │ │ ├── groups.spec.ts
|
|
77
|
-
│ │ │ ├── people.spec.ts
|
|
78
|
-
│ │ │ ├── things.spec.ts
|
|
79
|
-
│ │ │ ├── connections.spec.ts
|
|
80
|
-
│ │ │ ├── events.spec.ts
|
|
81
|
-
│ │ │ └── search.spec.ts
|
|
82
|
-
│ │ └── features/
|
|
83
|
-
│ │ ├── backend-connection.spec.ts
|
|
84
|
-
│ │ ├── crud-operations.spec.ts
|
|
85
|
-
│ │ ├── error-handling.spec.ts
|
|
86
|
-
│ │ └── loading-states.spec.ts
|
|
87
|
-
│ ├── unit/ # Component & hook tests
|
|
88
|
-
│ │ ├── components/
|
|
89
|
-
│ │ │ ├── HooksDemo.test.tsx
|
|
90
|
-
│ │ │ ├── SearchDemo.test.tsx
|
|
91
|
-
│ │ │ ├── PeopleDemo.test.tsx
|
|
92
|
-
│ │ │ └── DemoContainer.test.tsx
|
|
93
|
-
│ │ └── hooks/
|
|
94
|
-
│ │ ├── useProvider.test.ts
|
|
95
|
-
│ │ ├── useGroups.test.ts
|
|
96
|
-
│ │ ├── useThings.test.ts
|
|
97
|
-
│ │ ├── useConnections.test.ts
|
|
98
|
-
│ │ ├── useEvents.test.ts
|
|
99
|
-
│ │ ├── useSearch.test.ts
|
|
100
|
-
│ │ └── useLabels.test.ts
|
|
101
|
-
│ ├── integration/ # Component integration tests
|
|
102
|
-
│ │ ├── demo-data-flow.test.ts
|
|
103
|
-
│ │ ├── provider-switching.test.ts
|
|
104
|
-
│ │ └── ontology-operations.test.ts
|
|
105
|
-
│ └── visual/ # Visual regression tests
|
|
106
|
-
│ ├── demo-layouts.test.ts
|
|
107
|
-
│ ├── dark-mode.test.ts
|
|
108
|
-
│ └── responsive.test.ts
|
|
109
|
-
└── fixtures/
|
|
110
|
-
├── demo-data.ts # Test data setup
|
|
111
|
-
├── mock-providers.ts # Mock provider implementations
|
|
112
|
-
└── seed-database.ts # Database seeding for integration tests
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## 3. Test Specifications (Gherkin Format)
|
|
118
|
-
|
|
119
|
-
### 3.1 E2E Tests: Demo Index Page
|
|
120
|
-
|
|
121
|
-
**File:** `tests/demo/e2e/demo.spec.ts`
|
|
122
|
-
|
|
123
|
-
```gherkin
|
|
124
|
-
Feature: Demo Index Page
|
|
125
|
-
As a user
|
|
126
|
-
I want to see the demo hub
|
|
127
|
-
So that I can navigate to dimension-specific demos
|
|
128
|
-
|
|
129
|
-
Background:
|
|
130
|
-
Given the demo index page is navigable at "/demo"
|
|
131
|
-
And the page title is "Demo - Frontend-Backend Integration"
|
|
132
|
-
|
|
133
|
-
Scenario: Page loads successfully
|
|
134
|
-
When I visit "/demo"
|
|
135
|
-
Then the page should load in less than 1 second
|
|
136
|
-
And I should see the hero section with title "Demo: Frontend-Backend Integration"
|
|
137
|
-
And I should see 4 status badges: "Production Ready", "Full Type Safe", "Backend Agnostic"
|
|
138
|
-
|
|
139
|
-
Scenario: Navigation cards are visible
|
|
140
|
-
When I visit "/demo"
|
|
141
|
-
Then I should see navigation cards for all 6 dimensions:
|
|
142
|
-
| Dimension | Icon | Description |
|
|
143
|
-
| Groups | 👥 | Multi-tenant isolation |
|
|
144
|
-
| People | 👤 | Authorization & roles |
|
|
145
|
-
| Things | 📦 | Entities & objects |
|
|
146
|
-
| Connections | 🔗 | Relationships |
|
|
147
|
-
| Events | 📊 | Audit trail |
|
|
148
|
-
| Search | 🔍 | Semantic search |
|
|
149
|
-
And each card should link to correct route
|
|
150
|
-
And cards should have hover effects
|
|
151
|
-
|
|
152
|
-
Scenario: Statistics panel displays correctly
|
|
153
|
-
Given backend connection is available
|
|
154
|
-
When I visit "/demo"
|
|
155
|
-
Then I should see statistics showing:
|
|
156
|
-
| Statistic | Data Point |
|
|
157
|
-
| Total Groups | Count of groups |
|
|
158
|
-
| Total Things | Count of things |
|
|
159
|
-
| Active Events | Count of events |
|
|
160
|
-
|
|
161
|
-
Scenario: Backend connection status displayed
|
|
162
|
-
When I visit "/demo"
|
|
163
|
-
And I wait for provider check (< 200ms)
|
|
164
|
-
Then I should see connection status indicator:
|
|
165
|
-
| Backend Status | Indicator Color | Message |
|
|
166
|
-
| Connected | Green | "Backend Ready" |
|
|
167
|
-
| Disconnected | Red | "Mock Data Mode"|
|
|
168
|
-
|
|
169
|
-
Scenario: Error handling on failed load
|
|
170
|
-
Given backend API returns error
|
|
171
|
-
When I visit "/demo"
|
|
172
|
-
Then I should see error alert with message
|
|
173
|
-
And I should see graceful fallback to mock data
|
|
174
|
-
And navigation cards should still be accessible
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### 3.2 E2E Tests: Dimension Pages (Groups, People, Things, etc.)
|
|
178
|
-
|
|
179
|
-
**File:** `tests/demo/e2e/dimensions/groups.spec.ts` (pattern for all dimensions)
|
|
180
|
-
|
|
181
|
-
```gherkin
|
|
182
|
-
Feature: Groups Dimension Demo
|
|
183
|
-
As a developer
|
|
184
|
-
I want to interact with groups data
|
|
185
|
-
So that I can understand the multi-tenant model
|
|
186
|
-
|
|
187
|
-
Background:
|
|
188
|
-
Given I am on "/demo/groups"
|
|
189
|
-
And backend provider is initialized
|
|
190
|
-
|
|
191
|
-
Scenario: Groups page loads with data
|
|
192
|
-
When I visit "/demo/groups"
|
|
193
|
-
Then page should load in less than 1 second
|
|
194
|
-
And I should see heading "Groups: Multi-Tenant Isolation"
|
|
195
|
-
And I should see list of groups from backend
|
|
196
|
-
|
|
197
|
-
Scenario: Create new group (CRUD: Create)
|
|
198
|
-
When I visit "/demo/groups"
|
|
199
|
-
And I fill in the create group form:
|
|
200
|
-
| Field | Value |
|
|
201
|
-
| Name | "Test Group" |
|
|
202
|
-
| Type | "organization" |
|
|
203
|
-
| Description | "Demo group" |
|
|
204
|
-
And I click "Create Group"
|
|
205
|
-
Then I should see success message
|
|
206
|
-
And new group should appear in list within 500ms
|
|
207
|
-
And new group connection event should be logged
|
|
208
|
-
|
|
209
|
-
Scenario: Read group details
|
|
210
|
-
Given groups exist in database
|
|
211
|
-
When I visit "/demo/groups"
|
|
212
|
-
And I click on a group in the list
|
|
213
|
-
Then I should see group details panel:
|
|
214
|
-
- Group name
|
|
215
|
-
- Group type (organization, business, community, etc.)
|
|
216
|
-
- Parent group (if applicable)
|
|
217
|
-
- Member count
|
|
218
|
-
- Created date
|
|
219
|
-
And the panel should load within 300ms
|
|
220
|
-
|
|
221
|
-
Scenario: Update group properties
|
|
222
|
-
Given a group is selected
|
|
223
|
-
When I click "Edit" button
|
|
224
|
-
And I update group name from "Old Name" to "New Name"
|
|
225
|
-
And I click "Save"
|
|
226
|
-
Then I should see success notification
|
|
227
|
-
And group name should update in list within 500ms
|
|
228
|
-
And event_updated event should be logged
|
|
229
|
-
|
|
230
|
-
Scenario: Delete/Archive group
|
|
231
|
-
Given a test group exists
|
|
232
|
-
When I click "Delete" on the group
|
|
233
|
-
And I confirm the deletion
|
|
234
|
-
Then group should be archived (not deleted)
|
|
235
|
-
And group should disappear from active list
|
|
236
|
-
And deletion event should be logged
|
|
237
|
-
|
|
238
|
-
Scenario: Error handling for invalid operations
|
|
239
|
-
When I try to create group without name
|
|
240
|
-
Then I should see validation error: "Name is required"
|
|
241
|
-
And form should not submit
|
|
242
|
-
And no event should be logged
|
|
243
|
-
|
|
244
|
-
Scenario: Hierarchical groups display
|
|
245
|
-
Given parent and child groups exist
|
|
246
|
-
When I visit "/demo/groups"
|
|
247
|
-
Then I should see hierarchical structure:
|
|
248
|
-
- Parent group expanded
|
|
249
|
-
- Child groups indented under parent
|
|
250
|
-
- Can collapse/expand parent
|
|
251
|
-
|
|
252
|
-
Scenario: Performance: List 100 groups efficiently
|
|
253
|
-
Given database has 100+ groups
|
|
254
|
-
When I visit "/demo/groups"
|
|
255
|
-
Then page should load within 1 second
|
|
256
|
-
And pagination should show 10 groups per page
|
|
257
|
-
And page transitions should complete within 300ms
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
### 3.3 E2E Tests: Things Dimension
|
|
261
|
-
|
|
262
|
-
**File:** `tests/demo/e2e/dimensions/things.spec.ts`
|
|
263
|
-
|
|
264
|
-
```gherkin
|
|
265
|
-
Feature: Things Dimension Demo
|
|
266
|
-
As a developer
|
|
267
|
-
I want to interact with things (entities)
|
|
268
|
-
So that I can understand the entity model
|
|
269
|
-
|
|
270
|
-
Scenario: Things page loads with filters
|
|
271
|
-
When I visit "/demo/things"
|
|
272
|
-
Then I should see filter options:
|
|
273
|
-
| Filter Type | Options |
|
|
274
|
-
| Type | course, blog_post... |
|
|
275
|
-
| Status | draft, active, etc |
|
|
276
|
-
| Created | last week, etc |
|
|
277
|
-
|
|
278
|
-
Scenario: Filter things by type
|
|
279
|
-
When I visit "/demo/things"
|
|
280
|
-
And I select filter "type: course"
|
|
281
|
-
Then list should update within 300ms
|
|
282
|
-
And all visible things should have type "course"
|
|
283
|
-
|
|
284
|
-
Scenario: Search things by name
|
|
285
|
-
When I visit "/demo/things"
|
|
286
|
-
And I type "React" in search box
|
|
287
|
-
And I wait 300ms for debounce
|
|
288
|
-
Then results should show things matching "React"
|
|
289
|
-
And search should complete within 500ms
|
|
290
|
-
|
|
291
|
-
Scenario: Create thing with properties
|
|
292
|
-
When I click "Create Thing" button
|
|
293
|
-
And I fill in the form:
|
|
294
|
-
| Field | Value |
|
|
295
|
-
| Type | "course" |
|
|
296
|
-
| Name | "React Fundamentals" |
|
|
297
|
-
| Properties | {description, price} |
|
|
298
|
-
And I click "Create"
|
|
299
|
-
Then thing should appear in list
|
|
300
|
-
And thing_created event should be logged
|
|
301
|
-
And connection to creator should be created
|
|
302
|
-
|
|
303
|
-
Scenario: View thing details
|
|
304
|
-
Given things exist in list
|
|
305
|
-
When I click on a thing
|
|
306
|
-
Then I should see detail panel with:
|
|
307
|
-
- Thing name and type
|
|
308
|
-
- Full properties object
|
|
309
|
-
- All connections (incoming and outgoing)
|
|
310
|
-
- Activity timeline (events)
|
|
311
|
-
|
|
312
|
-
Scenario: Update thing properties
|
|
313
|
-
Given a thing detail panel is open
|
|
314
|
-
When I click "Edit"
|
|
315
|
-
And I update property "price" from "99" to "149"
|
|
316
|
-
And I click "Save"
|
|
317
|
-
Then thing should update in list
|
|
318
|
-
And thing_updated event should be logged
|
|
319
|
-
|
|
320
|
-
Scenario: Performance: Search 500 things
|
|
321
|
-
Given database has 500+ things
|
|
322
|
-
When I type search query
|
|
323
|
-
Then search should complete within 500ms
|
|
324
|
-
And results should be paginated
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
### 3.4 E2E Tests: Connections Dimension
|
|
328
|
-
|
|
329
|
-
**File:** `tests/demo/e2e/dimensions/connections.spec.ts`
|
|
330
|
-
|
|
331
|
-
```gherkin
|
|
332
|
-
Feature: Connections Dimension Demo
|
|
333
|
-
As a developer
|
|
334
|
-
I want to see relationships between entities
|
|
335
|
-
So that I can understand the connection model
|
|
336
|
-
|
|
337
|
-
Scenario: Connections graph displays
|
|
338
|
-
When I visit "/demo/connections"
|
|
339
|
-
Then I should see force-directed graph showing:
|
|
340
|
-
- Nodes for each thing
|
|
341
|
-
- Edges showing connections
|
|
342
|
-
- Labels for connection types (authored, owns, etc.)
|
|
343
|
-
|
|
344
|
-
Scenario: Create connection between things
|
|
345
|
-
When I visit "/demo/connections"
|
|
346
|
-
And I select source thing "Alice"
|
|
347
|
-
And I select target thing "React Course"
|
|
348
|
-
And I choose relationship type "authored"
|
|
349
|
-
And I click "Create Connection"
|
|
350
|
-
Then connection should appear on graph
|
|
351
|
-
And connection_created event should be logged
|
|
352
|
-
|
|
353
|
-
Scenario: Filter connections by type
|
|
354
|
-
When I visit "/demo/connections"
|
|
355
|
-
And I select relationship type filter "owns"
|
|
356
|
-
Then graph should show only "owns" connections
|
|
357
|
-
And count should update to show filtered total
|
|
358
|
-
|
|
359
|
-
Scenario: Connection metadata display
|
|
360
|
-
When I click on a connection edge
|
|
361
|
-
Then I should see metadata panel:
|
|
362
|
-
- From entity: [name, type]
|
|
363
|
-
- To entity: [name, type]
|
|
364
|
-
- Relationship type
|
|
365
|
-
- Created date
|
|
366
|
-
- Custom metadata (if any)
|
|
367
|
-
|
|
368
|
-
Scenario: Delete connection
|
|
369
|
-
Given a connection is selected
|
|
370
|
-
When I click "Delete" button
|
|
371
|
-
And I confirm
|
|
372
|
-
Then connection should be removed from graph
|
|
373
|
-
And connection_deleted event should be logged
|
|
374
|
-
```
|
|
375
|
-
|
|
376
|
-
### 3.5 E2E Tests: Events Dimension
|
|
377
|
-
|
|
378
|
-
**File:** `tests/demo/e2e/dimensions/events.spec.ts`
|
|
379
|
-
|
|
380
|
-
```gherkin
|
|
381
|
-
Feature: Events Dimension Demo (Audit Trail)
|
|
382
|
-
As a developer
|
|
383
|
-
I want to see activity timeline
|
|
384
|
-
So that I can understand event logging
|
|
385
|
-
|
|
386
|
-
Scenario: Events timeline displays correctly
|
|
387
|
-
When I visit "/demo/events"
|
|
388
|
-
Then I should see timeline with events sorted by:
|
|
389
|
-
- Most recent first
|
|
390
|
-
- Event type badge (color-coded)
|
|
391
|
-
- Timestamp
|
|
392
|
-
- Actor information
|
|
393
|
-
- Event details
|
|
394
|
-
|
|
395
|
-
Scenario: Filter events by type
|
|
396
|
-
When I visit "/demo/events"
|
|
397
|
-
And I select event type filter "thing_created"
|
|
398
|
-
Then timeline should show only creation events
|
|
399
|
-
And count should update
|
|
400
|
-
|
|
401
|
-
Scenario: Filter events by date range
|
|
402
|
-
When I visit "/demo/events"
|
|
403
|
-
And I select date range "Last 7 days"
|
|
404
|
-
Then timeline should show only events from that period
|
|
405
|
-
And count should update within 300ms
|
|
406
|
-
|
|
407
|
-
Scenario: Event detail view
|
|
408
|
-
When I click on an event in timeline
|
|
409
|
-
Then I should see detail panel:
|
|
410
|
-
- Full event data (JSON)
|
|
411
|
-
- Event type
|
|
412
|
-
- Actor (who triggered event)
|
|
413
|
-
- Target (what was affected)
|
|
414
|
-
- Timestamp (with timezone)
|
|
415
|
-
- Metadata
|
|
416
|
-
|
|
417
|
-
Scenario: Performance: Load 1000 events
|
|
418
|
-
Given database has 1000+ events
|
|
419
|
-
When I visit "/demo/events"
|
|
420
|
-
Then page should load within 1 second
|
|
421
|
-
And timeline should use virtualization (show < 50 DOM nodes)
|
|
422
|
-
And scrolling should be smooth (60 FPS)
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
### 3.6 E2E Tests: Search Dimension
|
|
426
|
-
|
|
427
|
-
**File:** `tests/demo/e2e/dimensions/search.spec.ts`
|
|
428
|
-
|
|
429
|
-
```gherkin
|
|
430
|
-
Feature: Search Dimension Demo (Semantic Search)
|
|
431
|
-
As a developer
|
|
432
|
-
I want to search across all entities
|
|
433
|
-
So that I can understand semantic search
|
|
434
|
-
|
|
435
|
-
Scenario: Search returns results
|
|
436
|
-
When I visit "/demo/search"
|
|
437
|
-
And I type "React hooks" in search box
|
|
438
|
-
And I wait for results (< 500ms)
|
|
439
|
-
Then I should see results grouped by type:
|
|
440
|
-
| Type | Count |
|
|
441
|
-
| things | N |
|
|
442
|
-
| events | N |
|
|
443
|
-
| knowledge | N |
|
|
444
|
-
And results should be ranked by relevance
|
|
445
|
-
|
|
446
|
-
Scenario: Search filters by dimension
|
|
447
|
-
When I search for "React"
|
|
448
|
-
And I select filter "Things only"
|
|
449
|
-
Then results should show only things
|
|
450
|
-
And no events or knowledge should appear
|
|
451
|
-
|
|
452
|
-
Scenario: Search performance
|
|
453
|
-
When I type multi-word query
|
|
454
|
-
Then results should appear within 500ms
|
|
455
|
-
And search should handle 10,000+ entities
|
|
456
|
-
|
|
457
|
-
Scenario: Search with no results
|
|
458
|
-
When I search for "zxcvbnmasdfghjkl" (nonsense)
|
|
459
|
-
Then I should see message: "No results found"
|
|
460
|
-
And I should see suggestions: "Try different keywords"
|
|
461
|
-
```
|
|
462
|
-
|
|
463
|
-
### 3.7 E2E Tests: Backend Connection & Error Handling
|
|
464
|
-
|
|
465
|
-
**File:** `tests/demo/e2e/features/backend-connection.spec.ts`
|
|
466
|
-
|
|
467
|
-
```gherkin
|
|
468
|
-
Feature: Backend Connection Status
|
|
469
|
-
As a user
|
|
470
|
-
I want to know if backend is connected
|
|
471
|
-
So that I understand whether I'm using real or mock data
|
|
472
|
-
|
|
473
|
-
Scenario: Connected to backend
|
|
474
|
-
Given Convex API is available
|
|
475
|
-
When I load any demo page
|
|
476
|
-
Then I should see connection indicator "green" near title
|
|
477
|
-
And indicator should show "Connected to Convex"
|
|
478
|
-
And data should come from real backend
|
|
479
|
-
|
|
480
|
-
Scenario: Backend disconnected - graceful fallback
|
|
481
|
-
Given Convex API is not available
|
|
482
|
-
When I load any demo page
|
|
483
|
-
Then I should see connection indicator "red"
|
|
484
|
-
And I should see message: "Using mock data"
|
|
485
|
-
And page should still be fully functional
|
|
486
|
-
And operations should use in-memory mock provider
|
|
487
|
-
|
|
488
|
-
Scenario: Connection check performance
|
|
489
|
-
When I load any demo page
|
|
490
|
-
Then provider check should complete in < 200ms
|
|
491
|
-
And page should show loading skeleton during check
|
|
492
|
-
And no blocking waits for backend
|
|
493
|
-
|
|
494
|
-
Scenario: Error handling - Failed mutation
|
|
495
|
-
Given I am creating a thing
|
|
496
|
-
And backend returns HTTP 500 error
|
|
497
|
-
When I click "Create"
|
|
498
|
-
Then I should see error toast: "Failed to create thing"
|
|
499
|
-
And form should remain populated
|
|
500
|
-
And I should be able to retry
|
|
501
|
-
|
|
502
|
-
Scenario: Error handling - Network timeout
|
|
503
|
-
Given backend takes > 10 seconds to respond
|
|
504
|
-
When I make a request
|
|
505
|
-
Then request should timeout after 5 seconds
|
|
506
|
-
And I should see error message: "Request timeout"
|
|
507
|
-
And page should remain usable
|
|
508
|
-
```
|
|
509
|
-
|
|
510
|
-
### 3.8 E2E Tests: Performance Benchmarks
|
|
511
|
-
|
|
512
|
-
**File:** `tests/demo/e2e/features/performance.spec.ts`
|
|
513
|
-
|
|
514
|
-
```gherkin
|
|
515
|
-
Feature: Performance Targets
|
|
516
|
-
As a platform architect
|
|
517
|
-
I want performance to meet standards
|
|
518
|
-
So that users have fast experience
|
|
519
|
-
|
|
520
|
-
Scenario: Demo index page loads < 1 second
|
|
521
|
-
When I navigate to "/demo"
|
|
522
|
-
Then page should be interactive within 1000ms
|
|
523
|
-
And First Contentful Paint (FCP) < 800ms
|
|
524
|
-
And Largest Contentful Paint (LCP) < 1200ms
|
|
525
|
-
|
|
526
|
-
Scenario: API calls complete < 200ms
|
|
527
|
-
When I perform any CRUD operation
|
|
528
|
-
Then API response time should be < 200ms
|
|
529
|
-
And UI should update immediately after response
|
|
530
|
-
|
|
531
|
-
Scenario: Pagination loads quickly
|
|
532
|
-
Given list has 1000+ items
|
|
533
|
-
When I navigate to page 2
|
|
534
|
-
Then page should load within 300ms
|
|
535
|
-
And no jank or visual stuttering
|
|
536
|
-
|
|
537
|
-
Scenario: Large list rendering efficient
|
|
538
|
-
Given I have 500 items in list
|
|
539
|
-
When I scroll through list
|
|
540
|
-
Then frame rate should be 60+ FPS
|
|
541
|
-
And memory usage should not increase > 50MB
|
|
542
|
-
And DOM should have < 100 visible nodes (virtualized)
|
|
543
|
-
|
|
544
|
-
Scenario: Search debounce working
|
|
545
|
-
When I type "React hooks" character by character
|
|
546
|
-
Then only final search should execute
|
|
547
|
-
And search should NOT execute on every keystroke
|
|
548
|
-
And search should complete within 500ms
|
|
549
|
-
|
|
550
|
-
Scenario: Lighthouse scores
|
|
551
|
-
When I audit any demo page with Lighthouse
|
|
552
|
-
Then scores should be >= 95 in all categories:
|
|
553
|
-
| Category | Target |
|
|
554
|
-
| Performance| 95+ |
|
|
555
|
-
| Accessibility| 95+ |
|
|
556
|
-
| Best Practices| 95+|
|
|
557
|
-
| SEO | 95+ |
|
|
558
|
-
```
|
|
559
|
-
|
|
560
|
-
### 3.9 E2E Tests: Accessibility
|
|
561
|
-
|
|
562
|
-
**File:** `tests/demo/e2e/features/accessibility.spec.ts`
|
|
563
|
-
|
|
564
|
-
```gherkin
|
|
565
|
-
Feature: Accessibility Compliance (WCAG 2.1 AA)
|
|
566
|
-
As a user with accessibility needs
|
|
567
|
-
I want all demo pages to be accessible
|
|
568
|
-
So that everyone can use the platform
|
|
569
|
-
|
|
570
|
-
Scenario: Keyboard navigation works
|
|
571
|
-
When I navigate demo pages using only Tab and Enter keys
|
|
572
|
-
Then I should be able to:
|
|
573
|
-
- Tab through all interactive elements
|
|
574
|
-
- Activate buttons with Enter
|
|
575
|
-
- Navigate lists with arrow keys
|
|
576
|
-
- Close modals with Escape
|
|
577
|
-
And focus should be visible (high contrast outline)
|
|
578
|
-
|
|
579
|
-
Scenario: Screen reader compatibility
|
|
580
|
-
When I use screen reader to navigate
|
|
581
|
-
Then I should hear:
|
|
582
|
-
- Page title
|
|
583
|
-
- Navigation landmarks (nav, main, etc.)
|
|
584
|
-
- Button names and states
|
|
585
|
-
- Form labels
|
|
586
|
-
- Table headers and cell relationships
|
|
587
|
-
|
|
588
|
-
Scenario: Color contrast meets AA standard
|
|
589
|
-
When I check all text elements
|
|
590
|
-
Then contrast ratio should be >= 4.5:1 for normal text
|
|
591
|
-
And >= 3:1 for large text (18px+ or 14px+ bold)
|
|
592
|
-
|
|
593
|
-
Scenario: Images have alt text
|
|
594
|
-
When I inspect all images
|
|
595
|
-
Then each image should have:
|
|
596
|
-
- Meaningful alt text (not "image" or "photo")
|
|
597
|
-
- OR be marked as decorative with alt=""
|
|
598
|
-
|
|
599
|
-
Scenario: Form error messages accessible
|
|
600
|
-
When I submit invalid form
|
|
601
|
-
Then error messages should:
|
|
602
|
-
- Be clearly visible
|
|
603
|
-
- Associate with form field
|
|
604
|
-
- Be announced by screen reader
|
|
605
|
-
- Suggest how to fix
|
|
606
|
-
|
|
607
|
-
Scenario: Loading states announced
|
|
608
|
-
When I trigger async operation
|
|
609
|
-
Then aria-busy should be set to true
|
|
610
|
-
And aria-label should announce "Loading..."
|
|
611
|
-
And screen reader should announce completion when done
|
|
612
|
-
```
|
|
613
|
-
|
|
614
|
-
---
|
|
615
|
-
|
|
616
|
-
## 4. Unit & Component Tests
|
|
617
|
-
|
|
618
|
-
### 4.1 Hook Tests
|
|
619
|
-
|
|
620
|
-
**File:** `tests/demo/unit/hooks/useProvider.test.ts`
|
|
621
|
-
|
|
622
|
-
```typescript
|
|
623
|
-
import { describe, it, expect, beforeEach, vi } from 'vitest';
|
|
624
|
-
import { renderHook, waitFor } from '@testing-library/react';
|
|
625
|
-
import { useProvider, useIsProviderAvailable } from '@/hooks/ontology';
|
|
626
|
-
|
|
627
|
-
describe('useProvider Hook', () => {
|
|
628
|
-
beforeEach(() => {
|
|
629
|
-
// Clear any mocks
|
|
630
|
-
vi.clearAllMocks();
|
|
631
|
-
});
|
|
632
|
-
|
|
633
|
-
it('should return provider when available', async () => {
|
|
634
|
-
const { result } = renderHook(() => useProvider());
|
|
635
|
-
|
|
636
|
-
expect(result.current).toBeDefined();
|
|
637
|
-
expect(result.current).toHaveProperty('groups');
|
|
638
|
-
expect(result.current).toHaveProperty('things');
|
|
639
|
-
expect(result.current).toHaveProperty('connections');
|
|
640
|
-
});
|
|
641
|
-
|
|
642
|
-
it('should check provider availability', async () => {
|
|
643
|
-
const { result } = renderHook(() => useIsProviderAvailable());
|
|
644
|
-
|
|
645
|
-
await waitFor(() => {
|
|
646
|
-
expect(typeof result.current).toBe('boolean');
|
|
647
|
-
});
|
|
648
|
-
});
|
|
649
|
-
|
|
650
|
-
it('should handle provider errors gracefully', async () => {
|
|
651
|
-
const { result } = renderHook(() => useProvider());
|
|
652
|
-
|
|
653
|
-
// Provider should still be available even if backend fails
|
|
654
|
-
expect(result.current).toBeDefined();
|
|
655
|
-
});
|
|
656
|
-
|
|
657
|
-
it('should use same provider instance', () => {
|
|
658
|
-
const { result: result1 } = renderHook(() => useProvider());
|
|
659
|
-
const { result: result2 } = renderHook(() => useProvider());
|
|
660
|
-
|
|
661
|
-
expect(result1.current).toBe(result2.current);
|
|
662
|
-
});
|
|
663
|
-
});
|
|
664
|
-
```
|
|
665
|
-
|
|
666
|
-
**File:** `tests/demo/unit/hooks/useGroups.test.ts`
|
|
667
|
-
|
|
668
|
-
```typescript
|
|
669
|
-
describe('useGroups Hook', () => {
|
|
670
|
-
it('should list groups successfully', async () => {
|
|
671
|
-
const { result } = renderHook(() => useGroups());
|
|
672
|
-
|
|
673
|
-
await waitFor(() => {
|
|
674
|
-
expect(result.current.groups).toBeDefined();
|
|
675
|
-
expect(Array.isArray(result.current.groups)).toBe(true);
|
|
676
|
-
});
|
|
677
|
-
});
|
|
678
|
-
|
|
679
|
-
it('should handle loading state', () => {
|
|
680
|
-
const { result } = renderHook(() => useGroups());
|
|
681
|
-
|
|
682
|
-
// Should start with loading: false (assuming cache)
|
|
683
|
-
expect(result.current.loading).toBeFalse();
|
|
684
|
-
});
|
|
685
|
-
|
|
686
|
-
it('should handle error state', async () => {
|
|
687
|
-
// Mock provider to fail
|
|
688
|
-
vi.mock('@/lib/ontology/factory', () => ({
|
|
689
|
-
getProvider: () => ({
|
|
690
|
-
groups: { list: () => Promise.reject(new Error('Failed')) }
|
|
691
|
-
})
|
|
692
|
-
}));
|
|
693
|
-
|
|
694
|
-
const { result } = renderHook(() => useGroups());
|
|
695
|
-
|
|
696
|
-
await waitFor(() => {
|
|
697
|
-
expect(result.current.error).toBeDefined();
|
|
698
|
-
});
|
|
699
|
-
});
|
|
700
|
-
|
|
701
|
-
it('should cache results', async () => {
|
|
702
|
-
const { result: result1 } = renderHook(() => useGroups());
|
|
703
|
-
const { result: result2 } = renderHook(() => useGroups());
|
|
704
|
-
|
|
705
|
-
await waitFor(() => {
|
|
706
|
-
expect(result1.current.groups).toEqual(result2.current.groups);
|
|
707
|
-
});
|
|
708
|
-
});
|
|
709
|
-
});
|
|
710
|
-
```
|
|
711
|
-
|
|
712
|
-
Similar tests for:
|
|
713
|
-
- `useThings()` - Thing CRUD operations
|
|
714
|
-
- `useConnections()` - Connection queries
|
|
715
|
-
- `useEvents()` - Event timeline
|
|
716
|
-
- `useSearch()` - Semantic search
|
|
717
|
-
- `useLabels()` - Knowledge labels
|
|
718
|
-
|
|
719
|
-
### 4.2 Component Tests
|
|
720
|
-
|
|
721
|
-
**File:** `tests/demo/unit/components/HooksDemo.test.tsx`
|
|
722
|
-
|
|
723
|
-
```typescript
|
|
724
|
-
import { describe, it, expect, beforeEach, vi } from 'vitest';
|
|
725
|
-
import { render, screen, fireEvent, waitFor } from '@testing-library/react';
|
|
726
|
-
import userEvent from '@testing-library/user-event';
|
|
727
|
-
import { HooksDemo } from '@/components/demo/HooksDemo';
|
|
728
|
-
import { MockProvider } from '@/__mocks__/providers';
|
|
729
|
-
|
|
730
|
-
describe('HooksDemo Component', () => {
|
|
731
|
-
beforeEach(() => {
|
|
732
|
-
// Mock provider
|
|
733
|
-
vi.mock('@/hooks/ontology', () => ({
|
|
734
|
-
useProvider: () => new MockProvider(),
|
|
735
|
-
useIsProviderAvailable: () => true,
|
|
736
|
-
}));
|
|
737
|
-
});
|
|
738
|
-
|
|
739
|
-
it('should render demo buttons for each hook', () => {
|
|
740
|
-
render(<HooksDemo />);
|
|
741
|
-
|
|
742
|
-
expect(screen.getByText('useProvider')).toBeInTheDocument();
|
|
743
|
-
expect(screen.getByText('useGroups')).toBeInTheDocument();
|
|
744
|
-
expect(screen.getByText('useThings')).toBeInTheDocument();
|
|
745
|
-
expect(screen.getByText('useConnections')).toBeInTheDocument();
|
|
746
|
-
expect(screen.getByText('useEvents')).toBeInTheDocument();
|
|
747
|
-
expect(screen.getByText('useSearch')).toBeInTheDocument();
|
|
748
|
-
});
|
|
749
|
-
|
|
750
|
-
it('should execute hook when button clicked', async () => {
|
|
751
|
-
const user = userEvent.setup();
|
|
752
|
-
render(<HooksDemo />);
|
|
753
|
-
|
|
754
|
-
const button = screen.getByText(/useProvider/i).closest('button');
|
|
755
|
-
await user.click(button!);
|
|
756
|
-
|
|
757
|
-
await waitFor(() => {
|
|
758
|
-
expect(screen.getByText(/Provider Status/i)).toBeInTheDocument();
|
|
759
|
-
});
|
|
760
|
-
});
|
|
761
|
-
|
|
762
|
-
it('should display loading state during execution', async () => {
|
|
763
|
-
const user = userEvent.setup();
|
|
764
|
-
render(<HooksDemo />);
|
|
765
|
-
|
|
766
|
-
const button = screen.getByText(/useGroups/i).closest('button');
|
|
767
|
-
await user.click(button!);
|
|
768
|
-
|
|
769
|
-
// Button should show loading state
|
|
770
|
-
expect(button).toHaveAttribute('disabled');
|
|
771
|
-
expect(button).toHaveTextContent('Loading...');
|
|
772
|
-
});
|
|
773
|
-
|
|
774
|
-
it('should show results in JSON format', async () => {
|
|
775
|
-
const user = userEvent.setup();
|
|
776
|
-
render(<HooksDemo />);
|
|
777
|
-
|
|
778
|
-
const button = screen.getByText(/useGroups/i).closest('button');
|
|
779
|
-
await user.click(button!);
|
|
780
|
-
|
|
781
|
-
await waitFor(() => {
|
|
782
|
-
const jsonDisplay = screen.getByRole('code');
|
|
783
|
-
expect(jsonDisplay).toBeInTheDocument();
|
|
784
|
-
expect(jsonDisplay.textContent).toContain('groups');
|
|
785
|
-
});
|
|
786
|
-
});
|
|
787
|
-
|
|
788
|
-
it('should handle provider unavailable gracefully', () => {
|
|
789
|
-
vi.mock('@/hooks/ontology', () => ({
|
|
790
|
-
useIsProviderAvailable: () => false,
|
|
791
|
-
}));
|
|
792
|
-
|
|
793
|
-
render(<HooksDemo />);
|
|
794
|
-
|
|
795
|
-
expect(screen.getByText(/Using mock data/i)).toBeInTheDocument();
|
|
796
|
-
});
|
|
797
|
-
|
|
798
|
-
it('should be accessible', () => {
|
|
799
|
-
render(<HooksDemo />);
|
|
800
|
-
|
|
801
|
-
// All buttons should be keyboard accessible
|
|
802
|
-
const buttons = screen.getAllByRole('button');
|
|
803
|
-
buttons.forEach(button => {
|
|
804
|
-
expect(button).toHaveProperty('disabled', false);
|
|
805
|
-
});
|
|
806
|
-
});
|
|
807
|
-
});
|
|
808
|
-
```
|
|
809
|
-
|
|
810
|
-
**File:** `tests/demo/unit/components/SearchDemo.test.tsx`
|
|
811
|
-
|
|
812
|
-
```typescript
|
|
813
|
-
describe('SearchDemo Component', () => {
|
|
814
|
-
it('should render search input', () => {
|
|
815
|
-
render(<SearchDemo />);
|
|
816
|
-
expect(screen.getByPlaceholderText(/search/i)).toBeInTheDocument();
|
|
817
|
-
});
|
|
818
|
-
|
|
819
|
-
it('should debounce search input', async () => {
|
|
820
|
-
const user = userEvent.setup();
|
|
821
|
-
render(<SearchDemo />);
|
|
822
|
-
|
|
823
|
-
const input = screen.getByPlaceholderText(/search/i);
|
|
824
|
-
|
|
825
|
-
// Type quickly
|
|
826
|
-
await user.type(input, 'React');
|
|
827
|
-
|
|
828
|
-
// Should NOT call search until debounce expires
|
|
829
|
-
expect(screen.queryByText(/searching/i)).not.toBeInTheDocument();
|
|
830
|
-
|
|
831
|
-
// Wait for debounce
|
|
832
|
-
await waitFor(() => {
|
|
833
|
-
expect(screen.getByText(/results for/i)).toBeInTheDocument();
|
|
834
|
-
}, { timeout: 1000 });
|
|
835
|
-
});
|
|
836
|
-
|
|
837
|
-
it('should display search results', async () => {
|
|
838
|
-
const user = userEvent.setup();
|
|
839
|
-
render(<SearchDemo />);
|
|
840
|
-
|
|
841
|
-
const input = screen.getByPlaceholderText(/search/i);
|
|
842
|
-
await user.type(input, 'React');
|
|
843
|
-
|
|
844
|
-
await waitFor(() => {
|
|
845
|
-
expect(screen.getByText(/React Hooks Masterclass/i)).toBeInTheDocument();
|
|
846
|
-
});
|
|
847
|
-
});
|
|
848
|
-
|
|
849
|
-
it('should show no results message', async () => {
|
|
850
|
-
const user = userEvent.setup();
|
|
851
|
-
render(<SearchDemo />);
|
|
852
|
-
|
|
853
|
-
const input = screen.getByPlaceholderText(/search/i);
|
|
854
|
-
await user.type(input, 'zxcvbnm');
|
|
855
|
-
|
|
856
|
-
await waitFor(() => {
|
|
857
|
-
expect(screen.getByText(/no results found/i)).toBeInTheDocument();
|
|
858
|
-
});
|
|
859
|
-
});
|
|
860
|
-
});
|
|
861
|
-
```
|
|
862
|
-
|
|
863
|
-
---
|
|
864
|
-
|
|
865
|
-
## 5. Integration Tests
|
|
866
|
-
|
|
867
|
-
**File:** `tests/demo/integration/demo-data-flow.test.ts`
|
|
868
|
-
|
|
869
|
-
```typescript
|
|
870
|
-
import { describe, it, expect, beforeAll, afterAll } from 'vitest';
|
|
871
|
-
import { ConvexHttpClient } from 'convex/browser';
|
|
872
|
-
import { getProvider } from '@/lib/ontology/factory';
|
|
873
|
-
|
|
874
|
-
describe('Demo Data Flow Integration', () => {
|
|
875
|
-
let provider: any;
|
|
876
|
-
let testGroupId: string;
|
|
877
|
-
|
|
878
|
-
beforeAll(async () => {
|
|
879
|
-
provider = await getProvider();
|
|
880
|
-
// Create test group
|
|
881
|
-
testGroupId = await provider.groups.create({
|
|
882
|
-
name: 'Demo Integration Test',
|
|
883
|
-
type: 'organization',
|
|
884
|
-
});
|
|
885
|
-
});
|
|
886
|
-
|
|
887
|
-
afterAll(async () => {
|
|
888
|
-
// Cleanup
|
|
889
|
-
if (testGroupId) {
|
|
890
|
-
await provider.groups.delete(testGroupId);
|
|
891
|
-
}
|
|
892
|
-
});
|
|
893
|
-
|
|
894
|
-
it('should create and retrieve group', async () => {
|
|
895
|
-
const group = await provider.groups.getById(testGroupId);
|
|
896
|
-
expect(group).toBeDefined();
|
|
897
|
-
expect(group.name).toBe('Demo Integration Test');
|
|
898
|
-
});
|
|
899
|
-
|
|
900
|
-
it('should create thing in group', async () => {
|
|
901
|
-
const thing = await provider.things.create({
|
|
902
|
-
groupId: testGroupId,
|
|
903
|
-
type: 'course',
|
|
904
|
-
name: 'Integration Test Course',
|
|
905
|
-
});
|
|
906
|
-
|
|
907
|
-
expect(thing).toBeDefined();
|
|
908
|
-
expect(thing._id).toBeDefined();
|
|
909
|
-
});
|
|
910
|
-
|
|
911
|
-
it('should create connection between entities', async () => {
|
|
912
|
-
const creator = await provider.things.create({
|
|
913
|
-
groupId: testGroupId,
|
|
914
|
-
type: 'creator',
|
|
915
|
-
name: 'Test Creator',
|
|
916
|
-
});
|
|
917
|
-
|
|
918
|
-
const course = await provider.things.create({
|
|
919
|
-
groupId: testGroupId,
|
|
920
|
-
type: 'course',
|
|
921
|
-
name: 'Test Course',
|
|
922
|
-
});
|
|
923
|
-
|
|
924
|
-
const connection = await provider.connections.create({
|
|
925
|
-
groupId: testGroupId,
|
|
926
|
-
fromThingId: creator._id,
|
|
927
|
-
toThingId: course._id,
|
|
928
|
-
relationshipType: 'authored',
|
|
929
|
-
});
|
|
930
|
-
|
|
931
|
-
expect(connection).toBeDefined();
|
|
932
|
-
expect(connection.fromThingId).toBe(creator._id);
|
|
933
|
-
expect(connection.toThingId).toBe(course._id);
|
|
934
|
-
});
|
|
935
|
-
|
|
936
|
-
it('should log events for all operations', async () => {
|
|
937
|
-
const events = await provider.events.list({
|
|
938
|
-
groupId: testGroupId,
|
|
939
|
-
});
|
|
940
|
-
|
|
941
|
-
expect(Array.isArray(events)).toBe(true);
|
|
942
|
-
expect(events.length).toBeGreaterThan(0);
|
|
943
|
-
});
|
|
944
|
-
|
|
945
|
-
it('should search things across all groups', async () => {
|
|
946
|
-
const results = await provider.search('Test', {
|
|
947
|
-
types: ['course', 'creator'],
|
|
948
|
-
limit: 10,
|
|
949
|
-
});
|
|
950
|
-
|
|
951
|
-
expect(Array.isArray(results)).toBe(true);
|
|
952
|
-
});
|
|
953
|
-
});
|
|
954
|
-
```
|
|
955
|
-
|
|
956
|
-
---
|
|
957
|
-
|
|
958
|
-
## 6. Test Data & Fixtures
|
|
959
|
-
|
|
960
|
-
**File:** `tests/fixtures/demo-data.ts`
|
|
961
|
-
|
|
962
|
-
```typescript
|
|
963
|
-
export const DEMO_GROUPS = [
|
|
964
|
-
{
|
|
965
|
-
_id: 'group_1',
|
|
966
|
-
name: 'Acme Corporation',
|
|
967
|
-
type: 'organization',
|
|
968
|
-
description: 'Demo organization',
|
|
969
|
-
properties: { plan: 'enterprise' },
|
|
970
|
-
status: 'active',
|
|
971
|
-
createdAt: Date.now(),
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
_id: 'group_2',
|
|
975
|
-
name: 'Engineering Team',
|
|
976
|
-
type: 'business',
|
|
977
|
-
description: 'Product engineering team',
|
|
978
|
-
parentGroupId: 'group_1',
|
|
979
|
-
status: 'active',
|
|
980
|
-
createdAt: Date.now(),
|
|
981
|
-
},
|
|
982
|
-
];
|
|
983
|
-
|
|
984
|
-
export const DEMO_THINGS = [
|
|
985
|
-
{
|
|
986
|
-
_id: 'thing_1',
|
|
987
|
-
groupId: 'group_1',
|
|
988
|
-
type: 'creator',
|
|
989
|
-
name: 'Alice Johnson',
|
|
990
|
-
properties: { role: 'org_owner', email: 'alice@acme.com' },
|
|
991
|
-
status: 'active',
|
|
992
|
-
createdAt: Date.now(),
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
_id: 'thing_2',
|
|
996
|
-
groupId: 'group_1',
|
|
997
|
-
type: 'course',
|
|
998
|
-
name: 'React Fundamentals',
|
|
999
|
-
properties: { description: 'Learn React basics', price: 99, duration: 4 },
|
|
1000
|
-
status: 'active',
|
|
1001
|
-
createdAt: Date.now(),
|
|
1002
|
-
},
|
|
1003
|
-
];
|
|
1004
|
-
|
|
1005
|
-
export const DEMO_CONNECTIONS = [
|
|
1006
|
-
{
|
|
1007
|
-
_id: 'connection_1',
|
|
1008
|
-
groupId: 'group_1',
|
|
1009
|
-
fromThingId: 'thing_1',
|
|
1010
|
-
toThingId: 'thing_2',
|
|
1011
|
-
relationshipType: 'authored',
|
|
1012
|
-
metadata: { role: 'primary_author' },
|
|
1013
|
-
createdAt: Date.now(),
|
|
1014
|
-
},
|
|
1015
|
-
];
|
|
1016
|
-
|
|
1017
|
-
export const DEMO_EVENTS = [
|
|
1018
|
-
{
|
|
1019
|
-
_id: 'event_1',
|
|
1020
|
-
groupId: 'group_1',
|
|
1021
|
-
type: 'thing_created',
|
|
1022
|
-
actorId: 'thing_1',
|
|
1023
|
-
targetId: 'thing_2',
|
|
1024
|
-
timestamp: Date.now() - 3600000,
|
|
1025
|
-
metadata: { entityType: 'course' },
|
|
1026
|
-
},
|
|
1027
|
-
];
|
|
1028
|
-
|
|
1029
|
-
export async function seedDemoDatabase(provider: any, groupId: string) {
|
|
1030
|
-
// Create things
|
|
1031
|
-
const things = await Promise.all(
|
|
1032
|
-
DEMO_THINGS.map(thing =>
|
|
1033
|
-
provider.things.create({ ...thing, groupId })
|
|
1034
|
-
)
|
|
1035
|
-
);
|
|
1036
|
-
|
|
1037
|
-
// Create connections
|
|
1038
|
-
await Promise.all(
|
|
1039
|
-
DEMO_CONNECTIONS.map(conn =>
|
|
1040
|
-
provider.connections.create({
|
|
1041
|
-
...conn,
|
|
1042
|
-
groupId,
|
|
1043
|
-
fromThingId: things[0]._id,
|
|
1044
|
-
toThingId: things[1]._id,
|
|
1045
|
-
})
|
|
1046
|
-
)
|
|
1047
|
-
);
|
|
1048
|
-
|
|
1049
|
-
return things;
|
|
1050
|
-
}
|
|
1051
|
-
```
|
|
1052
|
-
|
|
1053
|
-
**File:** `tests/fixtures/mock-providers.ts`
|
|
1054
|
-
|
|
1055
|
-
```typescript
|
|
1056
|
-
export class MockProvider implements Provider {
|
|
1057
|
-
private groups: Map<string, Group> = new Map();
|
|
1058
|
-
private things: Map<string, Thing> = new Map();
|
|
1059
|
-
private connections: Map<string, Connection> = new Map();
|
|
1060
|
-
private events: Map<string, Event> = new Map();
|
|
1061
|
-
|
|
1062
|
-
groups = {
|
|
1063
|
-
list: async () => Array.from(this.groups.values()),
|
|
1064
|
-
getById: async (id: string) => this.groups.get(id),
|
|
1065
|
-
create: async (data: any) => {
|
|
1066
|
-
const id = 'mock_' + Math.random().toString(36);
|
|
1067
|
-
const group = { _id: id, ...data, createdAt: Date.now() };
|
|
1068
|
-
this.groups.set(id, group);
|
|
1069
|
-
return id;
|
|
1070
|
-
},
|
|
1071
|
-
};
|
|
1072
|
-
|
|
1073
|
-
things = {
|
|
1074
|
-
list: async (options?: any) => Array.from(this.things.values()).slice(0, options?.limit || 100),
|
|
1075
|
-
create: async (data: any) => {
|
|
1076
|
-
const id = 'mock_' + Math.random().toString(36);
|
|
1077
|
-
const thing = { _id: id, ...data, createdAt: Date.now() };
|
|
1078
|
-
this.things.set(id, thing);
|
|
1079
|
-
return thing;
|
|
1080
|
-
},
|
|
1081
|
-
};
|
|
1082
|
-
|
|
1083
|
-
// ... implement all methods
|
|
1084
|
-
}
|
|
1085
|
-
```
|
|
1086
|
-
|
|
1087
|
-
---
|
|
1088
|
-
|
|
1089
|
-
## 7. Performance Testing
|
|
1090
|
-
|
|
1091
|
-
**File:** `tests/demo/e2e/performance.spec.ts` (with Playwright)
|
|
1092
|
-
|
|
1093
|
-
```typescript
|
|
1094
|
-
import { test, expect } from '@playwright/test';
|
|
1095
|
-
|
|
1096
|
-
test.describe('Demo Performance', () => {
|
|
1097
|
-
test('demo index loads in < 1 second', async ({ page }) => {
|
|
1098
|
-
const startTime = Date.now();
|
|
1099
|
-
|
|
1100
|
-
await page.goto('http://localhost:4321/demo');
|
|
1101
|
-
await page.waitForLoadState('networkidle');
|
|
1102
|
-
|
|
1103
|
-
const duration = Date.now() - startTime;
|
|
1104
|
-
expect(duration).toBeLessThan(1000);
|
|
1105
|
-
});
|
|
1106
|
-
|
|
1107
|
-
test('API calls complete < 200ms', async ({ page }) => {
|
|
1108
|
-
await page.goto('http://localhost:4321/demo/groups');
|
|
1109
|
-
|
|
1110
|
-
// Intercept network requests
|
|
1111
|
-
const times: number[] = [];
|
|
1112
|
-
|
|
1113
|
-
page.on('response', response => {
|
|
1114
|
-
if (response.url().includes('/api/')) {
|
|
1115
|
-
times.push(response.timing()!.responseEnd);
|
|
1116
|
-
}
|
|
1117
|
-
});
|
|
1118
|
-
|
|
1119
|
-
// Trigger operation
|
|
1120
|
-
await page.click('button:has-text("Create Group")');
|
|
1121
|
-
|
|
1122
|
-
await page.waitForTimeout(500);
|
|
1123
|
-
|
|
1124
|
-
times.forEach(time => {
|
|
1125
|
-
expect(time).toBeLessThan(200);
|
|
1126
|
-
});
|
|
1127
|
-
});
|
|
1128
|
-
|
|
1129
|
-
test('Lighthouse scores > 95', async ({ page }) => {
|
|
1130
|
-
await page.goto('http://localhost:4321/demo');
|
|
1131
|
-
|
|
1132
|
-
// Would need lighthouse integration
|
|
1133
|
-
// This is a placeholder
|
|
1134
|
-
expect(true).toBe(true);
|
|
1135
|
-
});
|
|
1136
|
-
});
|
|
1137
|
-
```
|
|
1138
|
-
|
|
1139
|
-
---
|
|
1140
|
-
|
|
1141
|
-
## 8. Visual Regression Tests
|
|
1142
|
-
|
|
1143
|
-
**File:** `tests/demo/visual/demo-layouts.test.ts`
|
|
1144
|
-
|
|
1145
|
-
```typescript
|
|
1146
|
-
import { test, expect } from '@playwright/test';
|
|
1147
|
-
|
|
1148
|
-
test.describe('Visual Regression', () => {
|
|
1149
|
-
test('demo index matches desktop snapshot', async ({ page }) => {
|
|
1150
|
-
await page.goto('http://localhost:4321/demo');
|
|
1151
|
-
await page.waitForLoadState('networkidle');
|
|
1152
|
-
|
|
1153
|
-
expect(await page.screenshot()).toMatchSnapshot('demo-index-desktop.png');
|
|
1154
|
-
});
|
|
1155
|
-
|
|
1156
|
-
test('demo groups mobile layout matches snapshot', async ({ page }) => {
|
|
1157
|
-
await page.setViewportSize({ width: 375, height: 667 });
|
|
1158
|
-
await page.goto('http://localhost:4321/demo/groups');
|
|
1159
|
-
|
|
1160
|
-
expect(await page.screenshot()).toMatchSnapshot('demo-groups-mobile.png');
|
|
1161
|
-
});
|
|
1162
|
-
|
|
1163
|
-
test('dark mode rendering matches snapshot', async ({ page }) => {
|
|
1164
|
-
// Enable dark mode
|
|
1165
|
-
await page.evaluate(() => {
|
|
1166
|
-
document.documentElement.classList.add('dark');
|
|
1167
|
-
localStorage.setItem('theme', 'dark');
|
|
1168
|
-
});
|
|
1169
|
-
|
|
1170
|
-
await page.goto('http://localhost:4321/demo');
|
|
1171
|
-
expect(await page.screenshot()).toMatchSnapshot('demo-dark-mode.png');
|
|
1172
|
-
});
|
|
1173
|
-
});
|
|
1174
|
-
```
|
|
1175
|
-
|
|
1176
|
-
---
|
|
1177
|
-
|
|
1178
|
-
## 9. Test Configuration
|
|
1179
|
-
|
|
1180
|
-
**File:** `vitest.config.ts`
|
|
1181
|
-
|
|
1182
|
-
```typescript
|
|
1183
|
-
import { defineConfig } from 'vitest/config';
|
|
1184
|
-
import react from '@vitejs/plugin-react';
|
|
1185
|
-
import path from 'path';
|
|
1186
|
-
|
|
1187
|
-
export default defineConfig({
|
|
1188
|
-
plugins: [react()],
|
|
1189
|
-
test: {
|
|
1190
|
-
globals: true,
|
|
1191
|
-
environment: 'jsdom',
|
|
1192
|
-
setupFiles: ['./tests/setup.ts'],
|
|
1193
|
-
coverage: {
|
|
1194
|
-
provider: 'v8',
|
|
1195
|
-
reporter: ['text', 'json', 'html'],
|
|
1196
|
-
exclude: [
|
|
1197
|
-
'node_modules/',
|
|
1198
|
-
'tests/',
|
|
1199
|
-
'**/*.test.ts',
|
|
1200
|
-
'**/*.spec.ts',
|
|
1201
|
-
],
|
|
1202
|
-
lines: 80,
|
|
1203
|
-
functions: 80,
|
|
1204
|
-
branches: 80,
|
|
1205
|
-
statements: 80,
|
|
1206
|
-
},
|
|
1207
|
-
testTimeout: 10000,
|
|
1208
|
-
},
|
|
1209
|
-
resolve: {
|
|
1210
|
-
alias: {
|
|
1211
|
-
'@': path.resolve(__dirname, './src'),
|
|
1212
|
-
'@components': path.resolve(__dirname, './src/components'),
|
|
1213
|
-
'@hooks': path.resolve(__dirname, './src/hooks'),
|
|
1214
|
-
'@/__mocks__': path.resolve(__dirname, './tests/__mocks__'),
|
|
1215
|
-
},
|
|
1216
|
-
},
|
|
1217
|
-
});
|
|
1218
|
-
```
|
|
1219
|
-
|
|
1220
|
-
**File:** `playwright.config.ts`
|
|
1221
|
-
|
|
1222
|
-
```typescript
|
|
1223
|
-
import { defineConfig, devices } from '@playwright/test';
|
|
1224
|
-
|
|
1225
|
-
export default defineConfig({
|
|
1226
|
-
testDir: './tests/demo/e2e',
|
|
1227
|
-
fullyParallel: true,
|
|
1228
|
-
forbidOnly: !!process.env.CI,
|
|
1229
|
-
retries: process.env.CI ? 2 : 0,
|
|
1230
|
-
workers: process.env.CI ? 1 : undefined,
|
|
1231
|
-
reporter: 'html',
|
|
1232
|
-
use: {
|
|
1233
|
-
baseURL: 'http://localhost:4321',
|
|
1234
|
-
trace: 'on-first-retry',
|
|
1235
|
-
},
|
|
1236
|
-
|
|
1237
|
-
projects: [
|
|
1238
|
-
{
|
|
1239
|
-
name: 'chromium',
|
|
1240
|
-
use: { ...devices['Desktop Chrome'] },
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
name: 'firefox',
|
|
1244
|
-
use: { ...devices['Desktop Firefox'] },
|
|
1245
|
-
},
|
|
1246
|
-
{
|
|
1247
|
-
name: 'webkit',
|
|
1248
|
-
use: { ...devices['Desktop Safari'] },
|
|
1249
|
-
},
|
|
1250
|
-
{
|
|
1251
|
-
name: 'Mobile Chrome',
|
|
1252
|
-
use: { ...devices['Pixel 5'] },
|
|
1253
|
-
},
|
|
1254
|
-
],
|
|
1255
|
-
|
|
1256
|
-
webServer: {
|
|
1257
|
-
command: 'bun run dev',
|
|
1258
|
-
url: 'http://localhost:4321',
|
|
1259
|
-
reuseExistingServer: !process.env.CI,
|
|
1260
|
-
},
|
|
1261
|
-
});
|
|
1262
|
-
```
|
|
1263
|
-
|
|
1264
|
-
---
|
|
1265
|
-
|
|
1266
|
-
## 10. Test Execution Strategy
|
|
1267
|
-
|
|
1268
|
-
### Sequential Testing Flow
|
|
1269
|
-
|
|
1270
|
-
```bash
|
|
1271
|
-
# 1. Unit tests (fast, no backend needed)
|
|
1272
|
-
bun test tests/demo/unit
|
|
1273
|
-
|
|
1274
|
-
# 2. Integration tests (needs backend or mocks)
|
|
1275
|
-
bun test tests/demo/integration
|
|
1276
|
-
|
|
1277
|
-
# 3. E2E tests (full system, with Playwright)
|
|
1278
|
-
bun run test:e2e
|
|
1279
|
-
|
|
1280
|
-
# 4. Visual regression tests
|
|
1281
|
-
bun run test:visual
|
|
1282
|
-
|
|
1283
|
-
# 5. Performance tests
|
|
1284
|
-
bun run test:performance
|
|
1285
|
-
|
|
1286
|
-
# 6. Full test suite with coverage
|
|
1287
|
-
bun test -- --coverage
|
|
1288
|
-
|
|
1289
|
-
# 7. Watch mode for development
|
|
1290
|
-
bun test:watch tests/demo
|
|
1291
|
-
```
|
|
1292
|
-
|
|
1293
|
-
### CI/CD Pipeline
|
|
1294
|
-
|
|
1295
|
-
```yaml
|
|
1296
|
-
# .github/workflows/demo-tests.yml
|
|
1297
|
-
name: Demo Tests
|
|
1298
|
-
|
|
1299
|
-
on: [push, pull_request]
|
|
1300
|
-
|
|
1301
|
-
jobs:
|
|
1302
|
-
test:
|
|
1303
|
-
runs-on: ubuntu-latest
|
|
1304
|
-
|
|
1305
|
-
steps:
|
|
1306
|
-
- uses: actions/checkout@v3
|
|
1307
|
-
- uses: oven-sh/setup-bun@v1
|
|
1308
|
-
|
|
1309
|
-
- name: Install dependencies
|
|
1310
|
-
run: bun install
|
|
1311
|
-
|
|
1312
|
-
- name: Run unit tests
|
|
1313
|
-
run: bun test tests/demo/unit
|
|
1314
|
-
|
|
1315
|
-
- name: Run integration tests
|
|
1316
|
-
run: bun test tests/demo/integration
|
|
1317
|
-
|
|
1318
|
-
- name: Run E2E tests
|
|
1319
|
-
run: bun run test:e2e
|
|
1320
|
-
|
|
1321
|
-
- name: Upload coverage
|
|
1322
|
-
uses: codecov/codecov-action@v3
|
|
1323
|
-
```
|
|
1324
|
-
|
|
1325
|
-
---
|
|
1326
|
-
|
|
1327
|
-
## 11. Quality Metrics & Gates
|
|
1328
|
-
|
|
1329
|
-
### Coverage Targets
|
|
1330
|
-
|
|
1331
|
-
| Category | Target | Current |
|
|
1332
|
-
|----------|--------|---------|
|
|
1333
|
-
| Statements | 80% | - |
|
|
1334
|
-
| Branches | 80% | - |
|
|
1335
|
-
| Functions | 80% | - |
|
|
1336
|
-
| Lines | 80% | - |
|
|
1337
|
-
|
|
1338
|
-
### Pass Rate Targets
|
|
1339
|
-
|
|
1340
|
-
| Test Suite | Target | Status |
|
|
1341
|
-
|-----------|--------|--------|
|
|
1342
|
-
| Unit Tests | 100% | |
|
|
1343
|
-
| Integration Tests | 100% | |
|
|
1344
|
-
| E2E Tests | 100% | |
|
|
1345
|
-
| Visual Regression | 100% | |
|
|
1346
|
-
| Accessibility | 100% | |
|
|
1347
|
-
| Performance | 100% | |
|
|
1348
|
-
|
|
1349
|
-
### Performance Targets
|
|
1350
|
-
|
|
1351
|
-
| Metric | Target | Status |
|
|
1352
|
-
|--------|--------|--------|
|
|
1353
|
-
| Page Load (FCP) | < 800ms | |
|
|
1354
|
-
| Page Load (LCP) | < 1200ms | |
|
|
1355
|
-
| API Response Time | < 200ms | |
|
|
1356
|
-
| Time to Interactive | < 1s | |
|
|
1357
|
-
| Lighthouse Score | >= 95 | |
|
|
1358
|
-
|
|
1359
|
-
---
|
|
1360
|
-
|
|
1361
|
-
## 12. Test Execution Checklist (Pre-Production)
|
|
1362
|
-
|
|
1363
|
-
- [ ] All unit tests pass (100%)
|
|
1364
|
-
- [ ] All integration tests pass (100%)
|
|
1365
|
-
- [ ] All E2E tests pass (100%)
|
|
1366
|
-
- [ ] Coverage meets 80% threshold across all dimensions
|
|
1367
|
-
- [ ] No flaky tests (all tests pass consistently)
|
|
1368
|
-
- [ ] Performance benchmarks met (page load < 1s, API < 200ms)
|
|
1369
|
-
- [ ] Accessibility audit passes (WCAG 2.1 AA)
|
|
1370
|
-
- [ ] Cross-browser testing passes (Chrome, Firefox, Safari, Edge)
|
|
1371
|
-
- [ ] Mobile testing passes (iOS Safari, Chrome Mobile)
|
|
1372
|
-
- [ ] Visual regression tests pass (no unexpected changes)
|
|
1373
|
-
- [ ] Error scenarios tested (backend down, network timeout, invalid data)
|
|
1374
|
-
- [ ] Load testing done (1000+ concurrent users)
|
|
1375
|
-
- [ ] Security testing done (XSS, CSRF, injection)
|
|
1376
|
-
- [ ] Documentation updated with test coverage
|
|
1377
|
-
- [ ] QA sign-off obtained
|
|
1378
|
-
|
|
1379
|
-
---
|
|
1380
|
-
|
|
1381
|
-
## 13. Test Maintenance
|
|
1382
|
-
|
|
1383
|
-
### Regular Updates
|
|
1384
|
-
- Weekly: Add new test cases for new features
|
|
1385
|
-
- Monthly: Update snapshots and baselines
|
|
1386
|
-
- Quarterly: Review and refactor test suite
|
|
1387
|
-
- Quarterly: Update test dependencies
|
|
1388
|
-
|
|
1389
|
-
### Failure Response
|
|
1390
|
-
- **Flaky test**: Investigate and stabilize within 24 hours
|
|
1391
|
-
- **Regression**: Bisect to find breaking commit, fix immediately
|
|
1392
|
-
- **Performance regression**: Profile and optimize
|
|
1393
|
-
- **Accessibility regression**: Fix and document fix
|
|
1394
|
-
|
|
1395
|
-
### Test Reporting
|
|
1396
|
-
- Run coverage reports in CI/CD
|
|
1397
|
-
- Generate HTML coverage reports
|
|
1398
|
-
- Track metrics over time (spreadsheet/dashboard)
|
|
1399
|
-
- Alert on regression (coverage drops > 5%)
|
|
1400
|
-
|
|
1401
|
-
---
|
|
1402
|
-
|
|
1403
|
-
## 14. Deliverables Checklist
|
|
1404
|
-
|
|
1405
|
-
- [x] E2E test specifications (Gherkin format)
|
|
1406
|
-
- [x] Component test specifications (Jest/Vitest)
|
|
1407
|
-
- [x] Integration test specifications
|
|
1408
|
-
- [x] Performance test specifications
|
|
1409
|
-
- [x] Accessibility test specifications
|
|
1410
|
-
- [x] Visual regression test approach
|
|
1411
|
-
- [x] Test data & fixtures
|
|
1412
|
-
- [x] Mock provider implementations
|
|
1413
|
-
- [x] Test configuration files
|
|
1414
|
-
- [x] CI/CD pipeline setup
|
|
1415
|
-
- [x] Test execution checklist
|
|
1416
|
-
- [x] Coverage targets & metrics
|
|
1417
|
-
- [x] Maintenance plan
|
|
1418
|
-
|
|
1419
|
-
---
|
|
1420
|
-
|
|
1421
|
-
## Summary
|
|
1422
|
-
|
|
1423
|
-
This comprehensive test plan provides:
|
|
1424
|
-
|
|
1425
|
-
1. **Coverage**: All 6 dimensions (groups, people, things, connections, events, knowledge) + search
|
|
1426
|
-
2. **Test Types**: E2E, integration, unit, component, visual, performance, accessibility
|
|
1427
|
-
3. **Quality Gates**: 80% code coverage, 100% test pass rate, performance targets, accessibility compliance
|
|
1428
|
-
4. **Ontology Alignment**: Tests validate 6-dimension ontology operations (create, read, update, delete, connections, events)
|
|
1429
|
-
5. **Specifications**: Gherkin-format user flows for non-technical stakeholders
|
|
1430
|
-
6. **Automation**: Full CI/CD pipeline for continuous testing
|
|
1431
|
-
7. **Maintenance**: Processes for keeping tests current and reliable
|
|
1432
|
-
8. **Reporting**: Metrics and dashboards for quality tracking
|
|
1433
|
-
|
|
1434
|
-
**Ready to hand to QA team for implementation.**
|
|
1435
|
-
|