oneie 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/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/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/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 +69 -42
- package/dist/commands/init.js.map +1 -1
- 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/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/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 +61 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/args.d.ts +1 -0
- package/dist/lib/args.d.ts.map +1 -1
- package/dist/lib/args.js +3 -0
- package/dist/lib/args.js.map +1 -1
- package/dist/lib/output.d.ts +5 -0
- package/dist/lib/output.d.ts.map +1 -0
- package/dist/lib/output.js +32 -0
- package/dist/lib/output.js.map +1 -0
- package/dist/lib/sdk.d.ts +10 -0
- package/dist/lib/sdk.d.ts.map +1 -0
- package/dist/lib/sdk.js +22 -0
- package/dist/lib/sdk.js.map +1 -0
- package/dist/utils/installation-setup.d.ts +15 -0
- package/dist/utils/installation-setup.d.ts.map +1 -1
- package/dist/utils/installation-setup.js +63 -0
- package/dist/utils/installation-setup.js.map +1 -1
- package/package.json +3 -18
- package/.claude/agents/TROUBLESHOOTING.md +0 -530
- package/.claude/agents/agent-backend.md +0 -574
- package/.claude/agents/agent-builder.md +0 -911
- package/.claude/agents/agent-claude.md +0 -645
- package/.claude/agents/agent-clean.md +0 -477
- package/.claude/agents/agent-clone.md +0 -554
- package/.claude/agents/agent-designer.md +0 -1080
- package/.claude/agents/agent-director.md +0 -2254
- package/.claude/agents/agent-documenter.md +0 -688
- package/.claude/agents/agent-frontend.md +0 -1199
- package/.claude/agents/agent-integrator.md +0 -670
- package/.claude/agents/agent-lawyer.md +0 -1320
- package/.claude/agents/agent-news.md +0 -363
- package/.claude/agents/agent-onboard.md +0 -613
- package/.claude/agents/agent-ontology.md +0 -585
- package/.claude/agents/agent-ops.md +0 -1275
- package/.claude/agents/agent-problem-solver.md +0 -669
- package/.claude/agents/agent-quality.md +0 -1042
- package/.claude/agents/agent-sales.md +0 -507
- package/.claude/agents/agent-writer.md +0 -1068
- package/.claude/commands/cascade.md +0 -742
- package/.claude/commands/chat.md +0 -728
- package/.claude/commands/commit.md +0 -95
- package/.claude/commands/create.md +0 -544
- package/.claude/commands/deploy.md +0 -309
- package/.claude/commands/fast.md +0 -636
- package/.claude/commands/mcp-on.md +0 -191
- package/.claude/commands/media-upload.md +0 -186
- package/.claude/commands/news.md +0 -274
- package/.claude/commands/onboard.md +0 -440
- package/.claude/commands/one.md +0 -398
- package/.claude/commands/optimize.md +0 -74
- package/.claude/commands/plan.md +0 -719
- package/.claude/commands/push.md +0 -214
- package/.claude/commands/release.md +0 -105
- package/.claude/commands/review.md +0 -99
- package/.claude/commands/server.md +0 -487
- package/.claude/commands/start.md +0 -227
- package/.claude/commands/test.md +0 -197
- package/.claude/commands/validate.md +0 -140
- package/.claude/hooks/.last-news-context +0 -1
- package/.claude/hooks/PULL-BEFORE-PUSH-GUIDE.md +0 -473
- package/.claude/hooks/README-knowledge-hooks.md +0 -451
- package/.claude/hooks/README-news-generation.md +0 -364
- package/.claude/hooks/README-root-cleanup.md +0 -200
- package/.claude/hooks/README.md +0 -284
- package/.claude/hooks/__pycache__/todo.cpython-312.pyc +0 -0
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/auto-format.sh +0 -106
- package/.claude/hooks/check-filenames.py +0 -177
- package/.claude/hooks/clean-post.py +0 -468
- package/.claude/hooks/clean-pre.py +0 -393
- package/.claude/hooks/clean-root-markdown.sh +0 -73
- package/.claude/hooks/commit-push.sh +0 -95
- package/.claude/hooks/done.py +0 -236
- package/.claude/hooks/format-hook.sh +0 -163
- package/.claude/hooks/formatting.py +0 -187
- package/.claude/hooks/hook-logger.sh +0 -173
- package/.claude/hooks/knowledge-post.py +0 -355
- package/.claude/hooks/knowledge-pre.py +0 -245
- package/.claude/hooks/mcp-on.sh +0 -134
- package/.claude/hooks/notification-hook.sh +0 -279
- package/.claude/hooks/ontology-validation.py +0 -255
- package/.claude/hooks/push.sh +0 -153
- package/.claude/hooks/release-cli.sh +0 -205
- package/.claude/hooks/root-cleanup.py +0 -217
- package/.claude/hooks/security-hook.sh +0 -397
- package/.claude/hooks/tag-all-docs.py +0 -464
- package/.claude/hooks/test-validate-ontology.sh +0 -170
- package/.claude/hooks/todo.py +0 -368
- package/.claude/hooks/track-changes.sh +0 -101
- package/.claude/hooks/validate-imports.py +0 -182
- package/.claude/hooks/validate-ontology-structure-summary.md +0 -243
- package/.claude/hooks/validate-ontology-structure.py +0 -558
- package/.claude/hooks/validate-ontology-structure.py.backup +0 -518
- package/.claude/hooks/validate-ontology.py +0 -140
- package/.claude/hooks/write-news.sh +0 -194
- package/.claude/skills/INDEX.md +0 -523
- package/.claude/skills/REGISTRY.md +0 -529
- package/.claude/skills/agent-backend-create-mutation.md +0 -319
- package/.claude/skills/agent-designer-create-wireframe.md +0 -341
- package/.claude/skills/agent-frontend-create-page.md +0 -413
- package/.claude/skills/agents/README.md +0 -238
- package/.claude/skills/astro/add-content-collection.md +0 -30
- package/.claude/skills/astro/check-build.md +0 -29
- package/.claude/skills/astro/create-component.md +0 -29
- package/.claude/skills/astro/create-page.md +0 -30
- package/.claude/skills/astro/optimize-performance.md +0 -21
- package/.claude/skills/convex/check-deployment.md +0 -46
- package/.claude/skills/convex/create-mutation.md +0 -405
- package/.claude/skills/convex/create-query.md +0 -52
- package/.claude/skills/convex/read-schema.md +0 -373
- package/.claude/skills/convex/test-function.md +0 -50
- package/.claude/skills/deployment/check-deployment-health.md +0 -20
- package/.claude/skills/deployment/create-release.md +0 -21
- package/.claude/skills/deployment/deploy-cloudflare.md +0 -31
- package/.claude/skills/deployment/deploy-convex.md +0 -30
- package/.claude/skills/deployment/sync-repositories.md +0 -19
- package/.claude/skills/design/check-accessibility.md +0 -21
- package/.claude/skills/design/create-component-spec.md +0 -27
- package/.claude/skills/design/generate-design-tokens.md +0 -24
- package/.claude/skills/design/generate-wireframe.md +0 -30
- package/.claude/skills/documentation/create-migration-guide.md +0 -20
- package/.claude/skills/documentation/generate-api-docs.md +0 -27
- package/.claude/skills/documentation/generate-readme.md +0 -22
- package/.claude/skills/documentation/update-knowledge.md +0 -20
- package/.claude/skills/integration/connect-external-system.md +0 -21
- package/.claude/skills/integration/implement-a2a.md +0 -20
- package/.claude/skills/integration/implement-acp.md +0 -20
- package/.claude/skills/integration/verify-integration.md +0 -20
- package/.claude/skills/ontology/README.md +0 -255
- package/.claude/skills/ontology/check-dimension.md +0 -307
- package/.claude/skills/ontology/generate-entity-type.md +0 -339
- package/.claude/skills/ontology/validate-schema.md +0 -229
- package/.claude/skills/ontology/verify-relationships.md +0 -310
- package/.claude/skills/problem-solving/analyze-test-failure.md +0 -21
- package/.claude/skills/problem-solving/identify-root-cause.md +0 -20
- package/.claude/skills/problem-solving/propose-solution.md +0 -29
- package/.claude/skills/problem-solving/verify-fix.md +0 -21
- package/.claude/skills/sales/generate-demo-script.md +0 -21
- package/.claude/skills/sales/qualify-lead.md +0 -30
- package/.claude/skills/sales/track-trial.md +0 -20
- package/.claude/skills/sales/verify-kyc.md +0 -20
- package/.claude/skills/testing/analyze-coverage.md +0 -24
- package/.claude/skills/testing/generate-tests.md +0 -24
- package/.claude/skills/testing/run-tests.md +0 -27
- package/.claude/skills/testing/validate-e2e.md +0 -25
- package/AGENTS.md +0 -60
- package/CLAUDE.md +0 -130
- package/CREATE-WEBSITE.md +0 -458
- package/SECURITY.md +0 -31
- package/folders.yaml +0 -92
- package/one/README.md +0 -760
- package/one/actors/anthony-o-connell.md +0 -469
- package/one/actors/people.md +0 -590
- package/one/events/0-changes.md +0 -2764
- package/one/events/1-PROJECTS-START-HERE.md +0 -384
- package/one/events/1-projects-developer-quickstart.md +0 -620
- package/one/events/1-projects-feature.md +0 -2047
- package/one/events/1-projects-team-briefing.md +0 -583
- package/one/events/2024-10-14-deployment-plan.md +0 -330
- package/one/events/2024-10-14-deployment-success.md +0 -447
- package/one/events/2024-10-14-final-sync-complete.md +0 -250
- package/one/events/2024-10-14-release-v2.0.6.md +0 -414
- package/one/events/2024-10-15-agent-clean-v2-summary.md +0 -495
- package/one/events/2024-10-15-handoff-to-clean.md +0 -347
- package/one/events/2024-10-15-package-manager-tests.md +0 -442
- package/one/events/2024-10-15-release-command-complete.md +0 -416
- package/one/events/2025-10-15-private-files-secured.md +0 -359
- package/one/events/2025-10-15-unignore-public-group-docs.md +0 -298
- package/one/events/2025-11-08-backend-claude-refactor.md +0 -242
- package/one/events/2025-11-08-parallel-agent-implementation.md +0 -620
- package/one/events/2025-11-10-ai-integration-status-report.md +0 -241
- package/one/events/ACCESSIBILITY_CHECKLIST.md +0 -275
- package/one/events/ACCESSIBILITY_FIXES_SUMMARY.md +0 -293
- package/one/events/ALIGNMENT_REPORT_PROBLEM_SOLVER.md +0 -335
- package/one/events/ALIGNMENT_SUMMARY.md +0 -280
- package/one/events/API_ROUTES_FIXES_SUMMARY.md +0 -280
- package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +0 -654
- package/one/events/AUDIT-ONTOLOGY-ALIGNMENT.md +0 -598
- package/one/events/AUDIT_PLAN_COMPLETION-20251108-125555.md +0 -262
- package/one/events/BEFORE_AFTER_COMPARISON.md +0 -978
- package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +0 -372
- package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +0 -430
- package/one/events/CHARTS-READY-TO-USE-20251106-080939.md +0 -184
- package/one/events/CHARTS-SUMMARY-20251106-080938.md +0 -196
- package/one/events/CLAUDE copy.md +0 -897
- package/one/events/CLEANUP-RELEASE-V2.0.8.md +0 -308
- package/one/events/CLOUDFLARE-FS-FIX-20251106-100516.md +0 -75
- package/one/events/COMPONENT_SHOWCASE-20251106-080938.md +0 -629
- package/one/events/CONNECTIONS_DEMO.md +0 -519
- package/one/events/CREATE-WEBSITE.md +0 -460
- package/one/events/CRITICAL-FIXES-COMPLETE.md +0 -571
- package/one/events/CUSTOM-DOMAIN.md +0 -375
- package/one/events/DELIVERABLES.md +0 -450
- package/one/events/DELIVERABLES.txt +0 -273
- package/one/events/DEMO-GROUPS-PAGE.md +0 -410
- package/one/events/DEMO-TESTING-SUMMARY.md +0 -536
- package/one/events/DEMO_COMPONENTS.md +0 -505
- package/one/events/DEMO_HOOKS_INDEX.md +0 -352
- package/one/events/DEMO_INFRASTRUCTURE.md +0 -923
- package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +0 -588
- package/one/events/DEMO_INTEGRATION_CHECKLIST.md +0 -449
- package/one/events/DEMO_QUICK_REFERENCE.md +0 -459
- package/one/events/DEMO_SETUP.md +0 -494
- package/one/events/DEPLOYMENT copy.md +0 -444
- package/one/events/DEPLOYMENT.md +0 -196
- package/one/events/DESIGN-DELIVERABLES-20251106-080938.md +0 -557
- package/one/events/DESIGN-EXECUTIVE-SUMMARY-20251106-080938.md +0 -484
- package/one/events/DOCS-SYSTEM-GUIDE-20251105-142103.md +0 -458
- package/one/events/DOCUMENTER-DELIVERY-SUMMARY.md +0 -481
- package/one/events/DOCUMENTER-EXECUTION-GUIDE.md +0 -394
- package/one/events/DOCUMENTER-TASK-BREAKDOWN.md +0 -783
- package/one/events/ECOMMERCE-BEFORE-AFTER.md +0 -267
- package/one/events/ECOMMERCE-DEMO-PLAN.md +0 -243
- package/one/events/ECOMMERCE-ENHANCEMENTS.md +0 -594
- package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +0 -439
- package/one/events/ECOMMERCE-LIVE-DEMO.md +0 -381
- package/one/events/ECOMMERCE-QUICKSTART.md +0 -376
- package/one/events/ECOMMERCE-README.md +0 -354
- package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +0 -214
- package/one/events/ECOMMERCE-SETUP-SUMMARY.md +0 -414
- package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +0 -753
- package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +0 -941
- package/one/events/EFFECT_TS_API_PATTERN.md +0 -496
- package/one/events/EXECUTION-READY.md +0 -359
- package/one/events/EXECUTION-SUMMARY.md +0 -478
- package/one/events/FEATURE-2-4-COMPLETE.md +0 -320
- package/one/events/FEATURE_2_3_COMPLETE.md +0 -593
- package/one/events/FILE-REFERENCE-20251105-142103.md +0 -325
- package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +0 -241
- package/one/events/GROUPS-MIGRATION.md +0 -643
- package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +0 -432
- package/one/events/HANDOFF.md +0 -331
- package/one/events/HOOKS-DEMO.md +0 -459
- package/one/events/IMPLEMENTATION-CHECKLIST-20251105-142103.md +0 -274
- package/one/events/IMPLEMENTATION-REPORT-DOCS-20251105-142102.md +0 -394
- package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +0 -568
- package/one/events/IMPLEMENTATION_SUMMARY-20251106-080938.md +0 -571
- package/one/events/IMPLEMENTATION_SUMMARY.md +0 -547
- package/one/events/INDEX-ALL-AGENTS.md +0 -190
- package/one/events/INDEX-FRONTEND-TESTING.md +0 -524
- package/one/events/INDEX-PROBLEM-SOLVER.md +0 -488
- package/one/events/INDEX-QUALITY-AGENT-INFER65.md +0 -455
- package/one/events/INDEX.md +0 -295
- package/one/events/INDEX_QUICK_START_REDESIGN-20251106-080939.md +0 -342
- package/one/events/INSTALL-TESTS.md +0 -311
- package/one/events/INSTALLATION_FOLDERS.md +0 -534
- package/one/events/INSTALLATION_FOLDERS_FILES.md +0 -223
- package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +0 -437
- package/one/events/INTEGRATION-ARCHITECTURE.md +0 -579
- package/one/events/INTEGRATION-CHECKLIST.md +0 -1252
- package/one/events/INTEGRATION-ORCHESTRATION.md +0 -2641
- package/one/events/INTEGRATION-SUMMARY.md +0 -671
- package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +0 -684
- package/one/events/LANDING-PAGE-IMPLEMENTATION.md +0 -660
- package/one/events/LANDING-PAGE-QUICKSTART.md +0 -425
- package/one/events/LICENSE.md +0 -107
- package/one/events/MASTER-COORDINATION-PLAN.md +0 -613
- package/one/events/MASTER-ORCHESTRATION-INFER65.md +0 -441
- package/one/events/MASTER-PLAN-SUMMARY.md +0 -309
- package/one/events/MCP-CONFIGURATION.md +0 -354
- package/one/events/MCP-SETUP-COMPLETE.md +0 -223
- package/one/events/MIGRATION-REPORT.md +0 -453
- package/one/events/MIGRATION.md +0 -87
- package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +0 -1663
- package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +0 -643
- package/one/events/NEWS-COMMANDS.md +0 -506
- package/one/events/NEWS-SYSTEM-SUMMARY.md +0 -480
- package/one/events/NODE-UPGRADE.md +0 -129
- package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +0 -416
- package/one/events/ONTOLOGY-HOOKS-README.md +0 -718
- package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +0 -383
- package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +0 -569
- package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +0 -491
- package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +0 -504
- package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +0 -221
- package/one/events/PACKAGE-STRUCTURE.md +0 -328
- package/one/events/PLAN-COMPLETE.md +0 -429
- package/one/events/PLAYBOOK-SETUP-SUMMARY.md +0 -349
- package/one/events/PROBLEM-SOLVER-EXECUTIVE-SUMMARY.md +0 -484
- package/one/events/PROBLEM-SOLVER-QUICKSTART.md +0 -420
- package/one/events/PROJECTS-PLAN-SUMMARY.md +0 -480
- package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +0 -585
- package/one/events/QA-CHECKLIST.md +0 -692
- package/one/events/QUALITY-AGENT-SUMMARY.md +0 -334
- package/one/events/QUALITY-EXECUTION-CHECKLIST.md +0 -593
- package/one/events/QUICK-REFERENCE-FRONTEND-TESTING.md +0 -475
- package/one/events/QUICK-START-ONTOLOGY.md +0 -426
- package/one/events/QUICK_START_REDESIGN-20251106-080938.md +0 -400
- package/one/events/README-PROBLEM-SOLVER.md +0 -394
- package/one/events/README-archived.md +0 -537
- package/one/events/README_QUICK_START_REDESIGN-20251106-080938.md +0 -484
- package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +0 -657
- package/one/events/SEARCH_DEMO_DELIVERY.md +0 -433
- package/one/events/SEARCH_DEMO_SUMMARY.md +0 -321
- package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +0 -399
- package/one/events/SECURITY-AUDIT-FIXES.md +0 -394
- package/one/events/SECURITY-SCAN-COMPLETE.md +0 -299
- package/one/events/SHOP-BUILD-STATUS.md +0 -132
- package/one/events/SHOP-PREMIUM-UPDATE.md +0 -165
- package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +0 -280
- package/one/events/SITE-WIDE-GRADIENT-FIX.md +0 -317
- package/one/events/SPECIALIST-QUICK-REFERENCE.md +0 -678
- package/one/events/STORE-PRODUCTION-READY-STATUS.md +0 -377
- package/one/events/STRIPE-INTEGRATION.md +0 -432
- package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +0 -447
- package/one/events/STRIPE-SETUP-GUIDE.md +0 -480
- package/one/events/TEST-PLAN-INDEX.md +0 -364
- package/one/events/TEST-PLAN.md +0 -1435
- package/one/events/TEST-SUMMARY.md +0 -411
- package/one/events/TESTING-DELIVERY.txt +0 -372
- package/one/events/TESTS-QUICK-REF.md +0 -280
- package/one/events/TRANSITIONS-QUICK-START.md +0 -159
- package/one/events/TRANSPARENCY-FIXES.md +0 -293
- package/one/events/TYPESCRIPT_FIXES.md +0 -170
- package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +0 -412
- package/one/events/TYPESCRIPT_FIXES_INDEX.md +0 -359
- package/one/events/VERIFICATION_CHECKLIST-20251106-080938.md +0 -326
- package/one/events/VIEW-TRANSITIONS.md +0 -446
- package/one/events/agent-command-implementation.md +0 -305
- package/one/events/agent-director-enhancement-summary.md +0 -404
- package/one/events/agent-director-routing-update.md +0 -214
- package/one/events/agent-onboard-implementation-summary.md +0 -475
- package/one/events/agent-ontology-alignment-completion.md +0 -263
- package/one/events/ai-integration-complete.md +0 -294
- package/one/events/ai-integration-lessons-learned.md +0 -511
- package/one/events/backend-integration-tests.md +0 -624
- package/one/events/backend-structure-diagram.txt +0 -393
- package/one/events/backend-structure-summary.txt +0 -269
- package/one/events/bullfm-video-podcast-analysis.md +0 -319
- package/one/events/clean-agent-ontology-cleanup-report.md +0 -371
- package/one/events/clean-agent-todo-analysis-summary.md +0 -336
- package/one/events/cloudflare-automation-complete.md +0 -350
- package/one/events/cloudflare-pages-infrastructure-setup.md +0 -282
- package/one/events/contact-page-complete.md +0 -316
- package/one/events/convex-analysis-index.md +0 -322
- package/one/events/convex-structure-analysis.md +0 -718
- package/one/events/creation-instructions-9-todos.md +0 -906
- package/one/events/cycle-3-video-player-port-20251108.md +0 -368
- package/one/events/cycle-3-video-player-port-complete-20251108.md +0 -334
- package/one/events/deployment-installation-folders.md +0 -178
- package/one/events/deployment-ops-summary.md +0 -386
- package/one/events/deployment-verification.md +0 -366
- package/one/events/design-spec-complete.md +0 -226
- package/one/events/documentation-audit-index.md +0 -473
- package/one/events/documentation-audit-summary.md +0 -417
- package/one/events/documentation-improvement-roadmap.md +0 -906
- package/one/events/documentation-standards-compliance-report.md +0 -538
- package/one/events/documentation-updates.md +0 -370
- package/one/events/events.md +0 -563
- package/one/events/fix-product-hydration-20251106.md +0 -211
- package/one/events/frontend-effects-complete.md +0 -584
- package/one/events/frontend-effects-orchestration.md +0 -1356
- package/one/events/frontend-effects-risk-register.md +0 -1055
- package/one/events/frontend-effects-week1-assignments.md +0 -1594
- package/one/events/hook-ontology-alignment-summary.md +0 -528
- package/one/events/installation-folders-workflow-integration.md +0 -458
- package/one/events/landing-page-generator.md +0 -476
- package/one/events/legal-assessment-2025-10-16.md +0 -1917
- package/one/events/master-coordination-plan.json +0 -1078
- package/one/events/master-plan-9-todos.md +0 -900
- package/one/events/mobile-performance-optimization.md +0 -179
- package/one/events/onboarding-implementation-complete.md +0 -523
- package/one/events/ontology-audit-agent-clone.md +0 -323
- package/one/events/ontology-test-examples.md +0 -580
- package/one/events/phase1-backend-implementation-complete.md +0 -536
- package/one/events/plan-completion-audit.md +0 -707
- package/one/events/plan-files-updated.md +0 -273
- package/one/events/production-readiness-plan.md +0 -389
- package/one/events/readme.md +0 -100
- package/one/events/release.md +0 -272
- package/one/events/root-cleanup-alignment-report.md +0 -265
- package/one/events/security-fixes-2025-01-15.md +0 -226
- package/one/events/separate-implementation-status.md +0 -555
- package/one/events/server-command-optimization-20251108.md +0 -150
- package/one/events/session-summary-2025-10-18.md +0 -366
- package/one/events/skills-complete.md +0 -351
- package/one/events/skills-infer-6-10-summary.md +0 -70
- package/one/events/skills-phase1-complete.md +0 -281
- package/one/events/specialist-assignments.md +0 -766
- package/one/events/structural-analysis-architecture-vs-plans.md +0 -600
- package/one/events/test-dashboard.md +0 -363
- package/one/events/test-index.md +0 -421
- package/one/events/test-report-ontology.md +0 -611
- package/one/events/testing-summary.md +0 -388
- package/one/events/todo-agent-builder.md +0 -1180
- package/one/events/todo-agent-director.md +0 -164
- package/one/events/todo-agent-documenter.md +0 -1815
- package/one/events/todo-agent-frontend.md +0 -1542
- package/one/events/todo-agent-problem-solver.md +0 -1682
- package/one/events/todo-agent-quality.md +0 -1647
- package/one/events/todo-refactoring-complete.md +0 -408
- package/one/events/wave1-backend-implementation-complete.md +0 -698
- package/one/events/web-AI_INTEGRATION_PHASE2_SUMMARY-20251111-152540.md +0 -529
- package/one/events/web-BUY-IN-CHATGPT-README-20251116-235241.md +0 -491
- package/one/events/web-CHARTS-IMPLEMENTATION-20251106-080939.md +0 -576
- package/one/events/web-CHARTS-QUICKSTART-20251106-080939.md +0 -416
- package/one/events/web-CODE-HIGHLIGHTING-SUMMARY-20251111-152540.md +0 -442
- package/one/events/web-DEPLOYMENT_SUMMARY-20251116-005428.md +0 -290
- package/one/events/web-DESIGN-SUMMARY-20251106-080939.md +0 -514
- package/one/events/web-README-AI-INTEGRATION-20251111-152540.md +0 -196
- package/one/events/web-RECHARTS-INTEGRATION-20251111-152540.md +0 -265
- package/one/events/web-RELEASE_OPTIMIZATION_PLAN-20251116-005428.md +0 -447
- package/one/events/web-TEST-CLEANUP-20251105-143205.md +0 -3
- package/one/events/web-USING-ANY-COMPONENT-IN-CHAT-20251111-152540.md +0 -561
- package/one/events/web-test-code-highlighting-20251111-152540.md +0 -231
- package/one/groups/features.md +0 -2904
- package/one/groups/groups.md +0 -587
- package/one/groups/one.md +0 -619
- package/one/groups/strategy-copy.md +0 -887
- package/one/learning/.obsidian/app.json +0 -1
- package/one/learning/.obsidian/appearance.json +0 -1
- package/one/learning/.obsidian/core-plugins.json +0 -33
- package/one/learning/.obsidian/ecommerce-ontology.md +0 -210
- package/one/learning/.obsidian/workspace.json +0 -211
- package/one/learning/100-inference-quick-reference.md +0 -449
- package/one/learning/ag-ui-protocol.md +0 -613
- package/one/learning/agent-onboard-usage.md +0 -630
- package/one/learning/agentic-commerce.md +0 -146
- package/one/learning/ai-agents-vs-memecoins-thesis.md +0 -683
- package/one/learning/ai-api-reference.md +0 -715
- package/one/learning/ai-platform.md +0 -323
- package/one/learning/ai-quickstart.md +0 -355
- package/one/learning/ai-sdk-implementation.md +0 -436
- package/one/learning/ai-token-crypto-analysis-framework.md +0 -1191
- package/one/learning/ai-token-paradigm-shift-2025.md +0 -732
- package/one/learning/altcoin-cycle-prediction-ontology.md +0 -884
- package/one/learning/altcoin-cycle-trading-strategy.md +0 -642
- package/one/learning/architecture-any-backend.md +0 -1589
- package/one/learning/architecture-diagram.md +0 -404
- package/one/learning/architecture-frontend.md +0 -1014
- package/one/learning/architecture.md +0 -1742
- package/one/learning/archived/ontology.old.md +0 -2840
- package/one/learning/astro-effect-complete-vision.md +0 -2148
- package/one/learning/astro-effect-simple-architecture.md +0 -750
- package/one/learning/audit-agent-onboard-alignment.md +0 -481
- package/one/learning/audit-agent-sales-alignment.md +0 -444
- package/one/learning/backend-api-reference.md +0 -728
- package/one/learning/cascading-context-specification.md +0 -1617
- package/one/learning/claude-code-integration.md +0 -1293
- package/one/learning/cli-claude-handoff.md +0 -736
- package/one/learning/context-engineering.md +0 -610
- package/one/learning/crypto-analysis-strategy.md +0 -1276
- package/one/learning/crypto-cycle-2024-2025-analysis.md +0 -44
- package/one/learning/crypto.md +0 -978
- package/one/learning/develop/design.md +0 -364
- package/one/learning/develop/index.md +0 -145
- package/one/learning/development-commands.md +0 -251
- package/one/learning/docs.md +0 -627
- package/one/learning/dsl.md +0 -1678
- package/one/learning/event-driven-documentation.md +0 -270
- package/one/learning/files.md +0 -2489
- package/one/learning/frontend.md +0 -1056
- package/one/learning/games-english.md +0 -691
- package/one/learning/games.md +0 -1082
- package/one/learning/generative-ui-patterns.md +0 -559
- package/one/learning/guidelines.md +0 -314
- package/one/learning/hono.md +0 -2127
- package/one/learning/implementation-examples.md +0 -2554
- package/one/learning/installation-folders.md +0 -366
- package/one/learning/institutional-cycle-paradigm-2025.md +0 -555
- package/one/learning/knowledge.md +0 -660
- package/one/learning/language.md +0 -998
- package/one/learning/lessons-learned.md +0 -378
- package/one/learning/lessons-website-building-focus.md +0 -382
- package/one/learning/merge-report.md +0 -254
- package/one/learning/metadata-system.md +0 -504
- package/one/learning/nine-padel-playbook.md +0 -229
- package/one/learning/one-protocol-ai-agents.md +0 -892
- package/one/learning/one-protocol-executive-report.md +0 -617
- package/one/learning/one-protocol-standard.md +0 -869
- package/one/learning/one-protocol-whitepaper.md +0 -756
- package/one/learning/ontology-blog.yaml +0 -47
- package/one/learning/ontology-cheatsheet.md +0 -617
- package/one/learning/ontology-community.yaml +0 -65
- package/one/learning/ontology-core-universal.md +0 -740
- package/one/learning/ontology-core.yaml +0 -63
- package/one/learning/ontology-courses.yaml +0 -76
- package/one/learning/ontology-creator.md +0 -402
- package/one/learning/ontology-crypto.md +0 -1603
- package/one/learning/ontology-developer-guide.md +0 -814
- package/one/learning/ontology-documentation.md +0 -377
- package/one/learning/ontology-ecommerce.md +0 -269
- package/one/learning/ontology-education-game.md +0 -1654
- package/one/learning/ontology-education.md +0 -938
- package/one/learning/ontology-engineering-specification.md +0 -1310
- package/one/learning/ontology-engineering.md +0 -1676
- package/one/learning/ontology-files.yaml +0 -525
- package/one/learning/ontology-frontend-master.md +0 -2898
- package/one/learning/ontology-frontend-specifications.md +0 -2196
- package/one/learning/ontology-frontend.md +0 -2475
- package/one/learning/ontology-index.md +0 -397
- package/one/learning/ontology-minimal.yaml +0 -301
- package/one/learning/ontology-portfolio.yaml +0 -45
- package/one/learning/ontology-quickstart.md +0 -602
- package/one/learning/ontology-release.md +0 -317
- package/one/learning/ontology-shop.yaml +0 -148
- package/one/learning/ontology-tokens.yaml +0 -51
- package/one/learning/ontology-tutorial.md +0 -455
- package/one/learning/ontology-v2.md +0 -4449
- package/one/learning/ontology-video-script.md +0 -939
- package/one/learning/ontology-visual-guide.md +0 -378
- package/one/learning/ontology.md +0 -3847
- package/one/learning/ontology.yaml +0 -1653
- package/one/learning/parallel-agents.md +0 -932
- package/one/learning/patterns/backend/convex-mutation-pattern.md +0 -130
- package/one/learning/patterns/backend/convex-query-pattern.md +0 -143
- package/one/learning/patterns/backend/mutation-template.md +0 -249
- package/one/learning/patterns/backend/query-template.md +0 -286
- package/one/learning/patterns/backend/service-template.md +0 -258
- package/one/learning/patterns/design/component-architecture.md +0 -435
- package/one/learning/patterns/design/index.md +0 -160
- package/one/learning/patterns/design/test-driven-design-pattern.md +0 -196
- package/one/learning/patterns/design/wireframe-template.md +0 -250
- package/one/learning/patterns/frontend/component-template.md +0 -246
- package/one/learning/patterns/frontend/form-template.md +0 -348
- package/one/learning/patterns/frontend/page-template.md +0 -209
- package/one/learning/patterns/frontend/react-component-pattern.md +0 -188
- package/one/learning/patterns/test/acceptance-criteria-template.md +0 -396
- package/one/learning/patterns/test/technical-test-template.md +0 -566
- package/one/learning/patterns/test/test-driven-pattern.md +0 -160
- package/one/learning/patterns/test/user-flow-template.md +0 -272
- package/one/learning/performance.md +0 -459
- package/one/learning/provider-agnostic-content.md +0 -995
- package/one/learning/provider-creation-guide.md +0 -1082
- package/one/learning/quality-loop.md +0 -419
- package/one/learning/quick-start-ontology-mapping.md +0 -773
- package/one/learning/readme-architecture.md +0 -158
- package/one/learning/readme.md +0 -149
- package/one/learning/rules.md +0 -644
- package/one/learning/score.md +0 -85
- package/one/learning/specifications.md +0 -873
- package/one/learning/tags.md +0 -148
- package/one/learning/todo-template.md +0 -269
- package/one/learning/todo.md +0 -269
- package/one/learning/troubleshooting.md +0 -434
- package/one/learning/typescript-patterns.md +0 -321
- package/one/learning/universal-generation-language.md +0 -827
- package/one/learning/x402-research.md +0 -104
- package/one/license.md +0 -107
- package/one/paths/a2a.md +0 -600
- package/one/paths/acp.md +0 -808
- package/one/paths/acps.md +0 -749
- package/one/paths/agentkit.md +0 -367
- package/one/paths/agui.md +0 -785
- package/one/paths/any-backend.md +0 -1720
- package/one/paths/ap2.md +0 -1072
- package/one/paths/api/queries-reference.md +0 -860
- package/one/paths/api-docs.md +0 -1909
- package/one/paths/api-reference.md +0 -1029
- package/one/paths/api.md +0 -2208
- package/one/paths/architecture-diagram.md +0 -112
- package/one/paths/communications.md +0 -467
- package/one/paths/connections.md +0 -357
- package/one/paths/copilotkit.md +0 -1577
- package/one/paths/cryptonetworks.md +0 -799
- package/one/paths/documentation.md +0 -1138
- package/one/paths/effect.md +0 -297
- package/one/paths/elizaos.md +0 -1308
- package/one/paths/groups.md +0 -814
- package/one/paths/inference.md +0 -76
- package/one/paths/integration-examples.md +0 -893
- package/one/paths/integration-guide.md +0 -887
- package/one/paths/integration-phase2.md +0 -754
- package/one/paths/kyc.md +0 -650
- package/one/paths/mcp.md +0 -860
- package/one/paths/membership.md +0 -1170
- package/one/paths/middleware.md +0 -1085
- package/one/paths/multitenant.md +0 -1359
- package/one/paths/n8n.md +0 -1033
- package/one/paths/patterns.md +0 -107
- package/one/paths/protocols.md +0 -297
- package/one/paths/relationships.md +0 -125
- package/one/paths/schema.md +0 -605
- package/one/paths/service-layer.md +0 -568
- package/one/paths/vectors.md +0 -225
- package/one/paths/wordpress.md +0 -1320
- package/one/paths/workflow-copy.md +0 -923
- package/one/paths/workflow-examples.md +0 -759
- package/one/paths/workflow-onboarding.md +0 -701
- package/one/paths/workflow.md +0 -923
- package/one/paths/workflows/delegation.md +0 -903
- package/one/paths/workflows/frontend.md +0 -1055
- package/one/paths/workflows/strategy.md +0 -921
- package/one/paths/workflows/tasks.md +0 -716
- package/one/paths/x402-baazar.md +0 -131
- package/one/paths/x402.md +0 -1353
- package/one/things/ALIGNMENT_AUDIT_QUALITY_AGENT.md +0 -401
- package/one/things/AUDIT_AGENT_INTEGRATOR_ALIGNMENT.md +0 -588
- package/one/things/AUDIT_REPORT_AGENT_CLEAN.md +0 -461
- package/one/things/CHECKLIST.md +0 -407
- package/one/things/IMPLEMENTATION_STATUS.md +0 -379
- package/one/things/ONE.md +0 -529
- package/one/things/agents/agent-backend.md +0 -1501
- package/one/things/agents/agent-builder.md +0 -1064
- package/one/things/agents/agent-clean.md +0 -1112
- package/one/things/agents/agent-clone.md +0 -1324
- package/one/things/agents/agent-deploy.md +0 -986
- package/one/things/agents/agent-designer.md +0 -2305
- package/one/things/agents/agent-director.md +0 -1526
- package/one/things/agents/agent-documenter.md +0 -1129
- package/one/things/agents/agent-frontend.md +0 -1201
- package/one/things/agents/agent-integrator.md +0 -1269
- package/one/things/agents/agent-lawyer.md +0 -1371
- package/one/things/agents/agent-problem-solver.md +0 -1457
- package/one/things/agents/agent-quality.md +0 -1483
- package/one/things/agents/agent-sales.md +0 -1074
- package/one/things/cascade/cascade.yaml +0 -481
- package/one/things/cascade/docs/examples/1-1-agent-prompts/design.md +0 -523
- package/one/things/cascade/docs/examples/1-1-agent-prompts/tests.md +0 -314
- package/one/things/cascade/docs/examples/1-1-agent-prompts.md +0 -562
- package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/design.md +0 -543
- package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/tests.md +0 -272
- package/one/things/cascade/docs/examples/1-2-yaml-orchestrator.md +0 -548
- package/one/things/cascade/docs/examples/1-3-event-coordination/design.md +0 -586
- package/one/things/cascade/docs/examples/1-3-event-coordination/tests.md +0 -267
- package/one/things/cascade/docs/examples/1-3-event-coordination.md +0 -547
- package/one/things/cascade/docs/examples/1-4-knowledge-management/design.md +0 -665
- package/one/things/cascade/docs/examples/1-4-knowledge-management/tests.md +0 -236
- package/one/things/cascade/docs/examples/1-4-knowledge-management.md +0 -652
- package/one/things/cascade/docs/examples/1-5-quality-loops/design.md +0 -860
- package/one/things/cascade/docs/examples/1-5-quality-loops/tests.md +0 -255
- package/one/things/cascade/docs/examples/1-5-quality-loops.md +0 -725
- package/one/things/cascade/docs/examples/1-6-numbering-structure/design.md +0 -659
- package/one/things/cascade/docs/examples/1-6-numbering-structure/tests.md +0 -256
- package/one/things/cascade/docs/examples/1-6-numbering-structure.md +0 -639
- package/one/things/cascade/docs/examples/readme.md +0 -259
- package/one/things/cascade/docs/getting-started.md +0 -533
- package/one/things/cascade/docs/workflow.md +0 -1378
- package/one/things/cascade/readme.md +0 -379
- package/one/things/cascade/templates/feature-template.md +0 -289
- package/one/things/claude/agents/advocacy-activation-manager.md +0 -710
- package/one/things/claude/agents/advocacy-campaign-designer.md +0 -688
- package/one/things/claude/agents/analyst.md +0 -508
- package/one/things/claude/agents/architect.md +0 -505
- package/one/things/claude/agents/brand-identity-specialist.md +0 -538
- package/one/things/claude/agents/bstp-token-strategist.md +0 -690
- package/one/things/claude/agents/builder-repo.md +0 -532
- package/one/things/claude/agents/bullstamp-community-builder.md +0 -597
- package/one/things/claude/agents/bullstamp-marketing-orchestrator.md +0 -529
- package/one/things/claude/agents/bulltilt-platform-growth.md +0 -590
- package/one/things/claude/agents/company-bullstamp-character.md +0 -602
- package/one/things/claude/agents/company-bullstamp-community.md +0 -307
- package/one/things/claude/agents/company-bullstamp-marketing.md +0 -307
- package/one/things/claude/agents/company-bullstamp-token.md +0 -307
- package/one/things/claude/agents/company-bulltilt-growth.md +0 -307
- package/one/things/claude/agents/content-bibliography-formatter.md +0 -404
- package/one/things/claude/agents/content-calendar-planner.md +0 -473
- package/one/things/claude/agents/content-chapter-formatter.md +0 -513
- package/one/things/claude/agents/content-formatter.md +0 -571
- package/one/things/claude/agents/content-hook-specialist.md +0 -485
- package/one/things/claude/agents/content-image-formatter.md +0 -560
- package/one/things/claude/agents/content-introduction-formatter.md +0 -510
- package/one/things/claude/agents/content-multiplication-engine.md +0 -579
- package/one/things/claude/agents/content-playbook-writer.md +0 -473
- package/one/things/claude/agents/content-team-manager.md +0 -647
- package/one/things/claude/agents/content-toc-formatter.md +0 -547
- package/one/things/claude/agents/convex-backend-specialist.md +0 -2725
- package/one/things/claude/agents/core-manager.md +0 -607
- package/one/things/claude/agents/core-master.md +0 -426
- package/one/things/claude/agents/cross-functional-manager.md +0 -476
- package/one/things/claude/agents/crypto-airdrop-strategist.md +0 -622
- package/one/things/claude/agents/crypto-analytics-educator.md +0 -596
- package/one/things/claude/agents/crypto-architecture-specialist.md +0 -497
- package/one/things/claude/agents/crypto-community-analyst.md +0 -314
- package/one/things/claude/agents/crypto-community-psychologist.md +0 -546
- package/one/things/claude/agents/crypto-dex-optimization-expert.md +0 -579
- package/one/things/claude/agents/crypto-dex-optimizer.md +0 -307
- package/one/things/claude/agents/crypto-diamond-formation-specialist.md +0 -552
- package/one/things/claude/agents/crypto-diamond-hands.md +0 -307
- package/one/things/claude/agents/crypto-ecosystem-expansion-manager.md +0 -597
- package/one/things/claude/agents/crypto-engagement-specialist.md +0 -581
- package/one/things/claude/agents/crypto-market-researcher.md +0 -307
- package/one/things/claude/agents/crypto-marketing-orchestrator.md +0 -563
- package/one/things/claude/agents/crypto-network-effect-amplifier.md +0 -614
- package/one/things/claude/agents/crypto-optimization-analyst.md +0 -597
- package/one/things/claude/agents/crypto-strategic-synthesizer.md +0 -556
- package/one/things/claude/agents/crypto-team-manager.md +0 -392
- package/one/things/claude/agents/crypto-token-analyst.md +0 -319
- package/one/things/claude/agents/crypto-viral-content-creator.md +0 -549
- package/one/things/claude/agents/crypto-wallet-identification-expert.md +0 -527
- package/one/things/claude/agents/crypto-wallet-identifier.md +0 -307
- package/one/things/claude/agents/customer-journey-designer.md +0 -474
- package/one/things/claude/agents/customer-success-manager.md +0 -574
- package/one/things/claude/agents/dev.md +0 -406
- package/one/things/claude/agents/documenter.md +0 -548
- package/one/things/claude/agents/elevate-marketing-orchestrator.md +0 -403
- package/one/things/claude/agents/engagement-specialist.md +0 -502
- package/one/things/claude/agents/engineering-architect.md +0 -387
- package/one/things/claude/agents/engineering-business-analyst.md +0 -527
- package/one/things/claude/agents/engineering-developer.md +0 -386
- package/one/things/claude/agents/engineering-director.md +0 -322
- package/one/things/claude/agents/engineering-ingestor.md +0 -659
- package/one/things/claude/agents/engineering-product-manager.md +0 -525
- package/one/things/claude/agents/engineering-product-owner.md +0 -527
- package/one/things/claude/agents/engineering-project-coordinator.md +0 -525
- package/one/things/claude/agents/engineering-quality-assurance.md +0 -392
- package/one/things/claude/agents/engineering-team-manager.md +0 -515
- package/one/things/claude/agents/engineering-user-experience.md +0 -386
- package/one/things/claude/agents/framework-elevate-manager.md +0 -309
- package/one/things/claude/agents/improver.md +0 -805
- package/one/things/claude/agents/intelligence-team-manager.md +0 -390
- package/one/things/claude/agents/lead-capture-expert.md +0 -459
- package/one/things/claude/agents/lead-magnet-creator.md +0 -446
- package/one/things/claude/agents/market-research-analyst.md +0 -435
- package/one/things/claude/agents/marketing-brand-identity.md +0 -344
- package/one/things/claude/agents/marketing-content-hooks.md +0 -455
- package/one/things/claude/agents/marketing-content-multiplier.md +0 -331
- package/one/things/claude/agents/marketing-content-poster.md +0 -372
- package/one/things/claude/agents/marketing-customer-journey.md +0 -331
- package/one/things/claude/agents/marketing-director.md +0 -402
- package/one/things/claude/agents/marketing-engagement.md +0 -331
- package/one/things/claude/agents/marketing-lead-capture.md +0 -331
- package/one/things/claude/agents/marketing-lead-magnet.md +0 -331
- package/one/things/claude/agents/marketing-network-effects.md +0 -331
- package/one/things/claude/agents/marketing-nurture-campaigns.md +0 -331
- package/one/things/claude/agents/marketing-share-optimizer.md +0 -331
- package/one/things/claude/agents/marketing-team-manager.md +0 -451
- package/one/things/claude/agents/marketing-viral-growth.md +0 -232
- package/one/things/claude/agents/mission-commander.md +0 -378
- package/one/things/claude/agents/network-effect-analyst.md +0 -604
- package/one/things/claude/agents/nextjs-15-specialist.md +0 -1634
- package/one/things/claude/agents/npx.md +0 -946
- package/one/things/claude/agents/nurture-campaign-manager.md +0 -554
- package/one/things/claude/agents/one-master.md +0 -378
- package/one/things/claude/agents/one-orchestrator.md +0 -345
- package/one/things/claude/agents/one.md +0 -658
- package/one/things/claude/agents/playbook-generator.md +0 -526
- package/one/things/claude/agents/pm.md +0 -349
- package/one/things/claude/agents/po.md +0 -370
- package/one/things/claude/agents/qa.md +0 -361
- package/one/things/claude/agents/research-foundation-analyst.md +0 -324
- package/one/things/claude/agents/research-intelligence-gatherer.md +0 -435
- package/one/things/claude/agents/research-market-analyst.md +0 -324
- package/one/things/claude/agents/research-team-manager.md +0 -489
- package/one/things/claude/agents/sales-environment-optimizer.md +0 -519
- package/one/things/claude/agents/sales-team-manager.md +0 -407
- package/one/things/claude/agents/sales-upsell-strategist.md +0 -324
- package/one/things/claude/agents/service-advocacy-campaigns.md +0 -324
- package/one/things/claude/agents/service-advocacy-manager.md +0 -324
- package/one/things/claude/agents/service-success-manager.md +0 -324
- package/one/things/claude/agents/service-team-manager.md +0 -405
- package/one/things/claude/agents/shadcn-ui-design-system-specialist.md +0 -2357
- package/one/things/claude/agents/share-optimization-specialist.md +0 -576
- package/one/things/claude/agents/sm.md +0 -352
- package/one/things/claude/agents/story-teller.md +0 -498
- package/one/things/claude/agents/task-master.md +0 -621
- package/one/things/claude/agents/tauri-cross-platform-specialist.md +0 -1912
- package/one/things/claude/agents/tester.md +0 -595
- package/one/things/claude/agents/the-bull-character-manager.md +0 -603
- package/one/things/claude/agents/tools-playbook-generator.md +0 -492
- package/one/things/claude/agents/turbo-repo-builder.md +0 -346
- package/one/things/claude/agents/upsell-strategist.md +0 -503
- package/one/things/claude/agents/ux-expert.md +0 -360
- package/one/things/claude/agents/viral-growth-orchestrator.md +0 -520
- package/one/things/claude/claude-code-hooks-development.json +0 -21
- package/one/things/claude/claude-code-hooks-production.json +0 -21
- package/one/things/claude/claude-code-hooks.json +0 -25
- package/one/things/claude/commands/agent.md +0 -124
- package/one/things/claude/commands/cascade-status.md +0 -153
- package/one/things/claude/commands/ingest.md +0 -343
- package/one/things/claude/commands/ingestor.md +0 -158
- package/one/things/claude/commands/mission.md +0 -103
- package/one/things/claude/commands/npx.md +0 -156
- package/one/things/claude/commands/one.md +0 -486
- package/one/things/claude/commands/quality-check.md +0 -252
- package/one/things/claude/commands/smart-route.md +0 -261
- package/one/things/claude/commands/start.md +0 -139
- package/one/things/claude/commands/story.md +0 -103
- package/one/things/claude/commands/task.md +0 -193
- package/one/things/claude/hook-bypass.json +0 -32
- package/one/things/claude/hooks/agent-hook-config.json +0 -427
- package/one/things/claude/hooks/build-hook.sh +0 -156
- package/one/things/claude/hooks/cleanup-hook.sh +0 -201
- package/one/things/claude/hooks/file-organization-hook.sh +0 -80
- package/one/things/claude/hooks/format-hook.sh +0 -43
- package/one/things/claude/hooks/hook-bypass.sh +0 -293
- package/one/things/claude/hooks/hook-debouncer.sh +0 -62
- package/one/things/claude/hooks/hook-logger.sh +0 -89
- package/one/things/claude/hooks/lint-hook.sh +0 -140
- package/one/things/claude/hooks/notification-hook.sh +0 -204
- package/one/things/claude/hooks/ontology-validation-hook.sh +0 -86
- package/one/things/claude/hooks/performance-metrics.json +0 -25
- package/one/things/claude/hooks/security-hook.sh +0 -256
- package/one/things/claude/hooks/story-validation-hook-enhanced.sh +0 -210
- package/one/things/claude/hooks/story-validation-hook.sh +0 -145
- package/one/things/claude/hooks/test-hook.sh +0 -145
- package/one/things/claude/hooks/test-story-validation.sh +0 -170
- package/one/things/claude/settings-local.json +0 -86
- package/one/things/cli/cli-code.md +0 -677
- package/one/things/cli/cli-compiler-code.md +0 -677
- package/one/things/cli/cli.md +0 -871
- package/one/things/components/card-shadcn.md +0 -953
- package/one/things/components/card.md +0 -1041
- package/one/things/components.md +0 -1743
- package/one/things/componets.md +0 -19
- package/one/things/contracts/Move.toml +0 -12
- package/one/things/contracts/README.md +0 -288
- package/one/things/contracts/one.move +0 -762
- package/one/things/contracts/sdk.ts +0 -579
- package/one/things/creator-diagram.md +0 -184
- package/one/things/crypto/FEATURES.md +0 -78
- package/one/things/crypto/ONECORE.md +0 -62
- package/one/things/crypto/ONECOREFAQ.md +0 -22
- package/one/things/crypto/ONECOREHOW.md +0 -46
- package/one/things/crypto/ONEENTERPRISE.md +0 -64
- package/one/things/crypto/ONEENTERPRISEFAQ.md +0 -64
- package/one/things/crypto/ONEENTERPRISEHOW.md +0 -53
- package/one/things/crypto/ONEPRO.md +0 -60
- package/one/things/crypto/ONEPROFAQ.md +0 -22
- package/one/things/crypto/ONEPROHOW.md +0 -53
- package/one/things/crypto/READMEAGENCY.md +0 -64
- package/one/things/crypto/VSL.md +0 -45
- package/one/things/crypto/WebsiteCopy.md +0 -176
- package/one/things/demo-accessibility-animations.md +0 -1025
- package/one/things/demo-components.md +0 -1310
- package/one/things/demo-design-summary.md +0 -692
- package/one/things/demo-design-system.md +0 -973
- package/one/things/demo-page-layouts.md +0 -1016
- package/one/things/design-system.md +0 -832
- package/one/things/designs/accessibility-audit.md +0 -877
- package/one/things/designs/component-specifications.md +0 -855
- package/one/things/designs/design-overview.md +0 -377
- package/one/things/designs/design-tokens.md +0 -448
- package/one/things/designs/wireframes-dashboard.md +0 -710
- package/one/things/docs/api-requests.md +0 -987
- package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +0 -485
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +0 -465
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +0 -425
- package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +0 -451
- package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +0 -536
- package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +0 -650
- package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +0 -473
- package/one/things/docs/ecommerce/QUICK-START.md +0 -405
- package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +0 -567
- package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +0 -271
- package/one/things/docs/ecommerce/USAGE-EXAMPLE.astro +0 -171
- package/one/things/docs/ecommerce/demo.astro +0 -309
- package/one/things/examples/children/lemonade-stand.md +0 -404
- package/one/things/examples/enterprise/crm-saas.md +0 -1444
- package/one/things/features/1-1-agent-prompts.md +0 -562
- package/one/things/features/1-2-yaml-orchestrator.md +0 -548
- package/one/things/features/1-3-event-coordination.md +0 -547
- package/one/things/features/1-4-knowledge-management.md +0 -652
- package/one/things/features/1-5-quality-loops.md +0 -725
- package/one/things/features/1-6-numbering-structure.md +0 -639
- package/one/things/features/2-1-dataprovider-interface.md +0 -2583
- package/one/things/features/2-2-config-system.md +0 -3242
- package/one/things/features/2-3-effectts-services.md +0 -1645
- package/one/things/features/2-4-react-hooks.md +0 -2136
- package/one/things/features/2-5-auth-migration.md +0 -2144
- package/one/things/features/2-6-dashboard-migration.md +0 -2084
- package/one/things/features/2-7-alternative-providers.md +0 -2578
- package/one/things/features/2-7-implementation-report.md +0 -724
- package/one/things/features/2-cli.md +0 -1720
- package/one/things/features/2-design.md +0 -1770
- package/one/things/features/2-tests.md +0 -576
- package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +0 -576
- package/one/things/features/DECOUPLING.md +0 -290
- package/one/things/features/DEPLOYMENT.md +0 -470
- package/one/things/features/IMPLEMENTATION_SUMMARY.md +0 -362
- package/one/things/features/improve.md +0 -861
- package/one/things/features/remove-convex-deps.md +0 -63
- package/one/things/features/top-features.md +0 -87
- package/one/things/features/use-one-backend.md +0 -1217
- package/one/things/features-in-english.md +0 -200
- package/one/things/files.yaml +0 -721
- package/one/things/ideas/1-create-workflow.md +0 -207
- package/one/things/ideas/2-backend-agnostic-frontend.md +0 -439
- package/one/things/implementation/backend-guide.md +0 -457
- package/one/things/interface.md +0 -257
- package/one/things/landing-page-implementation.md +0 -455
- package/one/things/legal/README.md +0 -234
- package/one/things/legal/privacy-policy.md +0 -1227
- package/one/things/legal/terms-of-service.md +0 -1432
- package/one/things/master-workflow-plan.md +0 -806
- package/one/things/pay.one.ie.md +0 -53
- package/one/things/plans/0-in-sync.md +0 -136
- package/one/things/plans/0-timeline.md +0 -36
- package/one/things/plans/1-create-workflow.md +0 -732
- package/one/things/plans/QUICK-START-SIMPLIFICATION.md +0 -333
- package/one/things/plans/README-SIMPLIFICATION.md +0 -349
- package/one/things/plans/SIMPLIFICATION-EXAMPLES.md +0 -16
- package/one/things/plans/SIMPLIFICATION-SUMMARY.md +0 -455
- package/one/things/plans/ai-elements-integration.md +0 -483
- package/one/things/plans/ai-elements.md +0 -1278
- package/one/things/plans/ai-integration-plan.md +0 -263
- package/one/things/plans/ai-integration.md +0 -996
- package/one/things/plans/ai-sdk.md +0 -798
- package/one/things/plans/ai-tools.md +0 -621
- package/one/things/plans/app.md +0 -832
- package/one/things/plans/architecture-summary.md +0 -312
- package/one/things/plans/async-ai-agents.md +0 -233
- package/one/things/plans/backend-agnostic-frontend.md +0 -390
- package/one/things/plans/backend-cleanup-quickstart.md +0 -380
- package/one/things/plans/backend-ontology-conformance.md +0 -475
- package/one/things/plans/backend-status.md +0 -599
- package/one/things/plans/backend-structure.md +0 -847
- package/one/things/plans/backend-target-structure.md +0 -482
- package/one/things/plans/backend.md +0 -1175
- package/one/things/plans/better-auth-any-backend-revised.md +0 -1103
- package/one/things/plans/better-auth-any-backend.md +0 -1896
- package/one/things/plans/better-auth-available-features.md +0 -273
- package/one/things/plans/big-plan.md +0 -52
- package/one/things/plans/cli-updates-required.md +0 -320
- package/one/things/plans/complete-step-by-step.md +0 -1409
- package/one/things/plans/components.md +0 -709
- package/one/things/plans/convex-agents.md +0 -1034
- package/one/things/plans/convex-better-auth.md +0 -1141
- package/one/things/plans/convex-on-off.md +0 -407
- package/one/things/plans/crypto-token-researcher.md +0 -629
- package/one/things/plans/data-quality-metrics.md +0 -745
- package/one/things/plans/deep-researcher-agent.md +0 -466
- package/one/things/plans/deploy-to-cloudflare.md +0 -623
- package/one/things/plans/deployment-architecture.md +0 -469
- package/one/things/plans/desktop.md +0 -1139
- package/one/things/plans/development-plan.md +0 -1283
- package/one/things/plans/development-workflow-tldr.md +0 -207
- package/one/things/plans/development-workflow.md +0 -959
- package/one/things/plans/dsl-claude-code.md +0 -1011
- package/one/things/plans/effect-components.md +0 -1743
- package/one/things/plans/effect-patterns-reference.md +0 -2235
- package/one/things/plans/effect.md +0 -1806
- package/one/things/plans/email.md +0 -966
- package/one/things/plans/enhance-auth.md +0 -1692
- package/one/things/plans/execution-strategy.md +0 -1291
- package/one/things/plans/existing-infrastructure.md +0 -712
- package/one/things/plans/feature-based-sites.md +0 -894
- package/one/things/plans/frontend-effects.md +0 -1276
- package/one/things/plans/group-folder-multi-tenancy.md +0 -893
- package/one/things/plans/improve-codebase.md +0 -1811
- package/one/things/plans/install-components.md +0 -215
- package/one/things/plans/integrate-frontend-and-backend.md +0 -603
- package/one/things/plans/landing.md +0 -820
- package/one/things/plans/layout.md +0 -249
- package/one/things/plans/mail-backend.md +0 -1361
- package/one/things/plans/mail.md +0 -2677
- package/one/things/plans/mcp-clear-context-prompt.md +0 -81
- package/one/things/plans/mcp-simple.md +0 -248
- package/one/things/plans/multi-ontology-architecture.md +0 -885
- package/one/things/plans/next-features.md +0 -114
- package/one/things/plans/npx-agent-safety.md +0 -785
- package/one/things/plans/npx-agent.md +0 -1089
- package/one/things/plans/onboarding.md +0 -51
- package/one/things/plans/one-protocol-and-payone-usage.md +0 -82
- package/one/things/plans/one.md +0 -677
- package/one/things/plans/ontology-6-dimensions.md +0 -2201
- package/one/things/plans/ontology-compliance-audit.md +0 -342
- package/one/things/plans/ontology-driven-strategy.md +0 -882
- package/one/things/plans/ontology-refine.md +0 -586
- package/one/things/plans/ontology-ui-approach.md +0 -375
- package/one/things/plans/open-agent.md +0 -840
- package/one/things/plans/performace.md +0 -122
- package/one/things/plans/phase-1-foundation.md +0 -620
- package/one/things/plans/phase-3-implementation.md +0 -1037
- package/one/things/plans/plan-connect-to-api.md +0 -146
- package/one/things/plans/quick-wins.md +0 -1428
- package/one/things/plans/r2.md +0 -777
- package/one/things/plans/readme-backend-cleanup.md +0 -402
- package/one/things/plans/release.md +0 -507
- package/one/things/plans/remove-backend-development-from-agents.md +0 -1331
- package/one/things/plans/repos.md +0 -98
- package/one/things/plans/separate-copy-2.md +0 -1349
- package/one/things/plans/separate-copy-3.md +0 -2479
- package/one/things/plans/separate-copy.md +0 -1349
- package/one/things/plans/separate-demo.md +0 -864
- package/one/things/plans/separate.md +0 -1999
- package/one/things/plans/sequence.md +0 -2040
- package/one/things/plans/shadcn-integration-summary.md +0 -510
- package/one/things/plans/sidebar.md +0 -206
- package/one/things/plans/skills.md +0 -709
- package/one/things/plans/small-fixes.md +0 -23
- package/one/things/plans/start-new.md +0 -764
- package/one/things/plans/switch-off-auth.md +0 -42
- package/one/things/plans/sync-checklist.md +0 -351
- package/one/things/plans/test-backend-connection.md +0 -514
- package/one/things/plans/unified-implementation-plan.md +0 -934
- package/one/things/plans/update-demos.md +0 -581
- package/one/things/plans/use-our-backend.md +0 -572
- package/one/things/plans/video-backend.md +0 -638
- package/one/things/plans/video-frontend.md +0 -490
- package/one/things/plans/video-old-archived.md +0 -656
- package/one/things/plans/wave1-onboarding-100-inferences.md +0 -1686
- package/one/things/plans/wave1-onboarding-vision.md +0 -744
- package/one/things/plans/wave1-orchestration-summary.md +0 -604
- package/one/things/plans/wave1-specialist-assignments.md +0 -1413
- package/one/things/plans/workflow-files.md +0 -1210
- package/one/things/plans/workflow.md +0 -1378
- package/one/things/plans-u.md +0 -905
- package/one/things/products/Blockchain Products.md +0 -6278
- package/one/things/products/cascade-landing-page.md +0 -841
- package/one/things/products/cascade.md +0 -1568
- package/one/things/products/context-engineering.md +0 -1488
- package/one/things/products/onthology.md +0 -15
- package/one/things/products/ontology-ui-shadcn.md +0 -1302
- package/one/things/products/ontology-ui.md +0 -1429
- package/one/things/products/ontology.md +0 -789
- package/one/things/products/sdk.md +0 -573
- package/one/things/promptkit.md +0 -930
- package/one/things/repos/all-repos.md +0 -0
- package/one/things/scripts-clean-mac.sh +0 -409
- package/one/things/service-providers-new.md +0 -1052
- package/one/things/service-providers.md +0 -1121
- package/one/things/structure.md +0 -532
- package/one/things/system.md +0 -618
- package/one/things/templates.md +0 -294
- package/one/things/tests/2-1-dataprovider-interface.md +0 -1216
- package/one/things/tests/2-1-test-analysis.md +0 -544
- package/one/things/things.md +0 -384
- package/one/things/todo-acp-integration.md +0 -744
- package/one/things/todo-ai.md +0 -933
- package/one/things/todo-api.md +0 -1078
- package/one/things/todo-assignment.md +0 -580
- package/one/things/todo-buy-chatgpt.md +0 -1450
- package/one/things/todo-components.md +0 -1683
- package/one/things/todo-connections.md +0 -278
- package/one/things/todo-ecommerce-frontend.md +0 -1313
- package/one/things/todo-ecommerce.md +0 -569
- package/one/things/todo-effects.md +0 -1075
- package/one/things/todo-frontend-effects.md +0 -977
- package/one/things/todo-landing-page.md +0 -1091
- package/one/things/todo-mail.md +0 -1160
- package/one/things/todo-master-plan.md +0 -490
- package/one/things/todo-onboard.md +0 -666
- package/one/things/todo-one-ie.md +0 -538
- package/one/things/todo-page.md +0 -606
- package/one/things/todo-plans.md +0 -282
- package/one/things/todo-projects.md +0 -241
- package/one/things/todo-refactoring-plan.md +0 -366
- package/one/things/todo-release.md +0 -654
- package/one/things/todo-sequence.md +0 -1621
- package/one/things/todo-use-our-backend.md +0 -1908
- package/one/things/todo-workflow.md +0 -626
- package/one/things/todo-x402.md +0 -2047
- package/one/things/todo.md +0 -21
- package/one/things/video/scripts-crypto.md +0 -835
- package/one/things/video-script-backup.md +0 -318
- package/one/things/video-script-demo.md +0 -382
- package/one/things/video-script-ontology.md +0 -333
- package/one/things/video-script.md +0 -361
|
@@ -1,1682 +0,0 @@
|
|
|
1
|
-
# Agent Problem Solver TODO List - Test Failure Analysis (Cycle 65-70)
|
|
2
|
-
|
|
3
|
-
**Version:** 2.0.0 (Ontology-Aligned)
|
|
4
|
-
**Agent Type:** Problem-Solving Specialist
|
|
5
|
-
**Context Budget:** 2,500 tokens (Ultrathink Mode)
|
|
6
|
-
**Workflow Stage:** Stage 6 (Quality Loop)
|
|
7
|
-
**Cycles Covered:** 65-70 (E2E Testing & Failure Analysis)
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## Mission Statement
|
|
12
|
-
|
|
13
|
-
As the Problem Solver Agent, your mission is to **detect test failures in real-time**, perform **deep root cause analysis using ultrathink mode**, propose **specific, actionable fixes**, and ensure every failure becomes a **validated lesson learned** in the knowledge base.
|
|
14
|
-
|
|
15
|
-
Your success metric: **70% faster failure recovery** (10 minutes to solution vs 24+ hours) through parallel monitoring, rapid analysis, and pattern detection.
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Architecture Overview
|
|
20
|
-
|
|
21
|
-
### Continuous Failure Monitoring (Parallel)
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
Quality Agent (writes tests)
|
|
25
|
-
↓
|
|
26
|
-
[Tests Run]
|
|
27
|
-
↓
|
|
28
|
-
[FAIL] ← Problem Solver monitors for test_failed events
|
|
29
|
-
↓
|
|
30
|
-
Ultrathink Analysis (10-minute SLA)
|
|
31
|
-
↓
|
|
32
|
-
Solution Proposed → Specialist fixes
|
|
33
|
-
↓
|
|
34
|
-
Lesson Captured (knowledge base)
|
|
35
|
-
↓
|
|
36
|
-
Quality Re-validates
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
**Key Insight:** You monitor ALL agents simultaneously. When any agent emits a `test_failed` event, you immediately begin analysis. Your goal is proposing a solution within 10 minutes—while the team is still in context.
|
|
40
|
-
|
|
41
|
-
### Root Cause Analysis Framework (6-Dimension Ontology)
|
|
42
|
-
|
|
43
|
-
Every failure maps to one of these dimensions:
|
|
44
|
-
|
|
45
|
-
1. **Groups Dimension** - Data isolation, multi-tenancy, scoping issues
|
|
46
|
-
2. **People Dimension** - Authorization failures, role mismatches, access control
|
|
47
|
-
3. **Things Dimension** - Entity creation, schema violations, property validation
|
|
48
|
-
4. **Connections Dimension** - Relationship integrity, bidirectional consistency
|
|
49
|
-
5. **Events Dimension** - Audit trail gaps, event logging failures, ordering issues
|
|
50
|
-
6. **Knowledge Dimension** - Embedding failures, search mismatches, semantic issues
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## Phase 1: Failure Detection & Collection (Tasks 1.1-1.5)
|
|
55
|
-
|
|
56
|
-
### Task 1.1: Initialize Failure Monitoring System
|
|
57
|
-
|
|
58
|
-
**Objective:** Set up real-time monitoring for test failure events
|
|
59
|
-
|
|
60
|
-
- [ ] Create failure monitoring entrypoint: `/backend/convex/services/failure-monitor.ts`
|
|
61
|
-
- [ ] Implement event listener for `test_failed` events from quality agent
|
|
62
|
-
- [ ] Setup event listener for `test_failed` events from frontend agent
|
|
63
|
-
- [ ] Setup event listener for `test_failed` events from backend agent
|
|
64
|
-
- [ ] Create failure collection table in memory (max 100 failures)
|
|
65
|
-
- [ ] Implement auto-cleanup of resolved failures (keep 30-day history)
|
|
66
|
-
- [ ] Add severity classification (critical, high, medium, low)
|
|
67
|
-
- [ ] Add component categorization (frontend, backend, integration, auth, ontology)
|
|
68
|
-
- [ ] Log monitoring startup in `problem_monitoring_started` event
|
|
69
|
-
- [ ] Create failure tracking dashboard schema
|
|
70
|
-
|
|
71
|
-
**Acceptance Criteria:**
|
|
72
|
-
- All test failures captured within 1 second of event emission
|
|
73
|
-
- Severity levels assigned automatically based on error patterns
|
|
74
|
-
- Failure collection service running continuously
|
|
75
|
-
|
|
76
|
-
**Files to Create/Modify:**
|
|
77
|
-
- Create `/backend/convex/services/failure-monitor.ts`
|
|
78
|
-
- Create `/backend/convex/mutations/failure-tracking.ts`
|
|
79
|
-
- Create `/backend/convex/queries/failure-queries.ts`
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
### Task 1.2: Create Failure Categorization System
|
|
84
|
-
|
|
85
|
-
**Objective:** Classify failures for targeted analysis
|
|
86
|
-
|
|
87
|
-
- [ ] Create failure type enum with 12+ categories:
|
|
88
|
-
- Schema validation errors
|
|
89
|
-
- Authorization/permission failures
|
|
90
|
-
- Data isolation violations (multi-tenancy)
|
|
91
|
-
- Event logging gaps
|
|
92
|
-
- Race conditions/timing issues
|
|
93
|
-
- Hydration mismatches (frontend)
|
|
94
|
-
- API response format errors
|
|
95
|
-
- Database transaction failures
|
|
96
|
-
- Service initialization failures
|
|
97
|
-
- Configuration/environment errors
|
|
98
|
-
- Performance/timeout failures
|
|
99
|
-
- Flaky/intermittent failures
|
|
100
|
-
|
|
101
|
-
- [ ] Implement pattern matching for auto-categorization
|
|
102
|
-
- [ ] Create confidence scoring (0-100%) for category assignment
|
|
103
|
-
- [ ] Add support for multi-category failures (up to 3)
|
|
104
|
-
- [ ] Build category → resolution template mapping
|
|
105
|
-
- [ ] Create failure template system for known patterns
|
|
106
|
-
- [ ] Implement pattern recognition based on error message regex
|
|
107
|
-
- [ ] Add component mapping (auth, groups, things, connections, events, knowledge)
|
|
108
|
-
- [ ] Create priority scoring based on component + severity
|
|
109
|
-
|
|
110
|
-
**Acceptance Criteria:**
|
|
111
|
-
- 95%+ accuracy in automatic categorization (validate with first 50 failures)
|
|
112
|
-
- Each category has 3-5 resolution templates
|
|
113
|
-
- Priority scoring correlates with actual urgency
|
|
114
|
-
|
|
115
|
-
**Files to Create/Modify:**
|
|
116
|
-
- Create `/backend/convex/services/failure-categorizer.ts`
|
|
117
|
-
- Create `types/failure-types.ts` with enum and interfaces
|
|
118
|
-
|
|
119
|
-
---
|
|
120
|
-
|
|
121
|
-
### Task 1.3: Implement Failure Impact Analysis
|
|
122
|
-
|
|
123
|
-
**Objective:** Understand scope and blast radius of failures
|
|
124
|
-
|
|
125
|
-
- [ ] Analyze affected features (query feature graph)
|
|
126
|
-
- [ ] Identify dependent services (query connections dimension)
|
|
127
|
-
- [ ] Count affected user groups (query groups dimension)
|
|
128
|
-
- [ ] Trace through event history (last 100 events)
|
|
129
|
-
- [ ] Identify test cascade effects (other tests that might fail due to this)
|
|
130
|
-
- [ ] Determine if flaky (analyze same test failure history)
|
|
131
|
-
- [ ] Check for related failures (same component, same time window)
|
|
132
|
-
- [ ] Assess data isolation impact (multi-tenant implications)
|
|
133
|
-
- [ ] Calculate estimated time to customer impact
|
|
134
|
-
- [ ] Determine escalation level (internal, customer-facing, critical)
|
|
135
|
-
|
|
136
|
-
**Acceptance Criteria:**
|
|
137
|
-
- Impact analysis completes in < 2 seconds
|
|
138
|
-
- Blast radius visualization shows all affected entities
|
|
139
|
-
- Escalation level automatically determined
|
|
140
|
-
|
|
141
|
-
**Files to Create/Modify:**
|
|
142
|
-
- Create `/backend/convex/services/failure-impact-analyzer.ts`
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
### Task 1.4: Setup Test Failure Event Pipeline
|
|
147
|
-
|
|
148
|
-
**Objective:** Create event-driven flow for failure detection
|
|
149
|
-
|
|
150
|
-
- [ ] Implement `test_failed` event handler with context preservation
|
|
151
|
-
- [ ] Create event enrichment (add metadata, timestamps, actor info)
|
|
152
|
-
- [ ] Setup parallel event monitoring for all agents:
|
|
153
|
-
- `test_failed` from agent-quality
|
|
154
|
-
- `test_failed` from agent-frontend
|
|
155
|
-
- `test_failed` from agent-backend
|
|
156
|
-
- `implementation_complete` for pre-emptive analysis
|
|
157
|
-
- `quality_check_complete` for validation
|
|
158
|
-
|
|
159
|
-
- [ ] Implement event batching (aggregate 5-10 failures for pattern analysis)
|
|
160
|
-
- [ ] Create event ordering system (handle async failures)
|
|
161
|
-
- [ ] Add event idempotency (prevent duplicate analysis)
|
|
162
|
-
- [ ] Setup event persistence (30-day retention)
|
|
163
|
-
- [ ] Create event querying interface (by component, time, severity, actor)
|
|
164
|
-
- [ ] Implement event replay for testing
|
|
165
|
-
|
|
166
|
-
**Acceptance Criteria:**
|
|
167
|
-
- No lost events (guaranteed delivery to analysis)
|
|
168
|
-
- Batch analysis triggers every 10 seconds or at 10 failures
|
|
169
|
-
- Event timestamps accurate to millisecond
|
|
170
|
-
|
|
171
|
-
**Files to Create/Modify:**
|
|
172
|
-
- Create `/backend/convex/services/failure-event-pipeline.ts`
|
|
173
|
-
- Create `/backend/convex/events/failure-events.ts`
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
### Task 1.5: Create Failure Triage Queue
|
|
178
|
-
|
|
179
|
-
**Objective:** Prioritize failures for analysis
|
|
180
|
-
|
|
181
|
-
- [ ] Implement priority queue (ordered by severity + impact)
|
|
182
|
-
- [ ] Create SLA tracking:
|
|
183
|
-
- Critical: Analyze within 2 minutes
|
|
184
|
-
- High: Analyze within 5 minutes
|
|
185
|
-
- Medium: Analyze within 10 minutes
|
|
186
|
-
- Low: Batch analyze hourly
|
|
187
|
-
|
|
188
|
-
- [ ] Implement failure deduplication:
|
|
189
|
-
- Same error in same component within 30 seconds = same issue
|
|
190
|
-
- Group into "failure clusters"
|
|
191
|
-
- Analyze one, apply to cluster
|
|
192
|
-
|
|
193
|
-
- [ ] Create assignment logic (match to most experienced specialist)
|
|
194
|
-
- [ ] Add context preservation (keep analysis context < 3k tokens)
|
|
195
|
-
- [ ] Implement queue monitoring dashboard
|
|
196
|
-
- [ ] Setup alerts for SLA breaches
|
|
197
|
-
- [ ] Create triage metrics (queue depth, wait time, analysis time)
|
|
198
|
-
- [ ] Implement automatic escalation for SLA overages
|
|
199
|
-
|
|
200
|
-
**Acceptance Criteria:**
|
|
201
|
-
- Triage queue operational and processing failures
|
|
202
|
-
- SLA compliance > 95%
|
|
203
|
-
- Failure clustering reduces analysis load by 60%
|
|
204
|
-
|
|
205
|
-
**Files to Create/Modify:**
|
|
206
|
-
- Create `/backend/convex/services/failure-triage-queue.ts`
|
|
207
|
-
- Create `/backend/convex/queries/triage-status.ts`
|
|
208
|
-
|
|
209
|
-
---
|
|
210
|
-
|
|
211
|
-
## Phase 2: Root Cause Investigation (Tasks 2.1-2.6)
|
|
212
|
-
|
|
213
|
-
### Task 2.1: Deep Ontology-Aligned Root Cause Analysis
|
|
214
|
-
|
|
215
|
-
**Objective:** Identify root cause using 6-dimension framework
|
|
216
|
-
|
|
217
|
-
Analysis workflow for each failure:
|
|
218
|
-
|
|
219
|
-
**Step 1: Map to Ontology (2 minutes)**
|
|
220
|
-
- Which dimension is affected? (groups/people/things/connections/events/knowledge)
|
|
221
|
-
- What entity/relationship is involved?
|
|
222
|
-
- Is it a schema alignment issue?
|
|
223
|
-
- Is it an isolation/scoping issue?
|
|
224
|
-
|
|
225
|
-
**Step 2: Search Knowledge Base (1 minute)**
|
|
226
|
-
```typescript
|
|
227
|
-
// Vector similarity search + label search
|
|
228
|
-
const similarIssues = await searchKnowledge({
|
|
229
|
-
errorEmbedding: generateEmbedding(errorMessage),
|
|
230
|
-
labels: ['topic:' + issueType, 'status:failed'],
|
|
231
|
-
similarityThreshold: 0.8
|
|
232
|
-
})
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
**Step 3: Analyze Failure Context (3 minutes)**
|
|
236
|
-
- What was the test expecting?
|
|
237
|
-
- What actually happened?
|
|
238
|
-
- What's the diff?
|
|
239
|
-
- When did this last pass? (regression analysis)
|
|
240
|
-
|
|
241
|
-
**Step 4: Identify Root Pattern (2 minutes)**
|
|
242
|
-
- Logic error in code?
|
|
243
|
-
- Missing validation?
|
|
244
|
-
- Wrong pattern applied?
|
|
245
|
-
- Configuration issue?
|
|
246
|
-
- Race condition?
|
|
247
|
-
- Data isolation problem?
|
|
248
|
-
|
|
249
|
-
**Step 5: Validate Hypothesis (1 minute)**
|
|
250
|
-
- Check git history for recent changes
|
|
251
|
-
- Query event log for state transitions
|
|
252
|
-
- Trace through code path
|
|
253
|
-
|
|
254
|
-
- [ ] Create ontology-aligned analysis framework
|
|
255
|
-
- [ ] Implement 6-dimension questionnaire for analysis
|
|
256
|
-
- [ ] Create analysis template per failure category
|
|
257
|
-
- [ ] Build code flow visualization tool
|
|
258
|
-
- [ ] Implement hypothesis validation logic
|
|
259
|
-
- [ ] Create root cause taxonomy (30+ patterns)
|
|
260
|
-
- [ ] Setup analysis logging with decision tree
|
|
261
|
-
- [ ] Create analysis summary template
|
|
262
|
-
- [ ] Implement confidence scoring for root causes
|
|
263
|
-
- [ ] Add escalation criteria (unsure hypothesis → manual review)
|
|
264
|
-
|
|
265
|
-
**Acceptance Criteria:**
|
|
266
|
-
- Root cause identified with > 80% confidence for 90%+ of failures
|
|
267
|
-
- Analysis completes within 10-minute SLA
|
|
268
|
-
- All analyses map to 6-dimension ontology
|
|
269
|
-
|
|
270
|
-
**Files to Create/Modify:**
|
|
271
|
-
- Create `/backend/convex/services/root-cause-analyzer.ts`
|
|
272
|
-
- Create `/backend/convex/services/ontology-validator.ts`
|
|
273
|
-
- Create `/backend/convex/services/code-flow-analyzer.ts`
|
|
274
|
-
|
|
275
|
-
---
|
|
276
|
-
|
|
277
|
-
### Task 2.2: Implement Knowledge Base Search (Vector + Label)
|
|
278
|
-
|
|
279
|
-
**Objective:** Leverage lessons learned to avoid duplicate analysis
|
|
280
|
-
|
|
281
|
-
- [ ] Create vector embedding generation for error messages
|
|
282
|
-
- [ ] Implement vector similarity search (cosine distance)
|
|
283
|
-
- [ ] Create label-based search (knowledgeType taxonomy)
|
|
284
|
-
- [ ] Build combined search (vectors + labels + recency)
|
|
285
|
-
- [ ] Implement search result ranking (similarity score + validation date)
|
|
286
|
-
- [ ] Create fallback search (partial matching for new error formats)
|
|
287
|
-
- [ ] Add search caching (1-hour TTL)
|
|
288
|
-
- [ ] Implement search analytics (track misses for knowledge gaps)
|
|
289
|
-
- [ ] Create search UI/querying interface
|
|
290
|
-
- [ ] Setup search quality monitoring
|
|
291
|
-
|
|
292
|
-
**Acceptance Criteria:**
|
|
293
|
-
- 80%+ of failures find similar lesson in knowledge base
|
|
294
|
-
- Search completes in < 500ms
|
|
295
|
-
- Top result is relevant for 85%+ of queries
|
|
296
|
-
|
|
297
|
-
**Files to Create/Modify:**
|
|
298
|
-
- Create `/backend/convex/services/knowledge-search.ts`
|
|
299
|
-
- Create `/backend/convex/queries/search-similar-lessons.ts`
|
|
300
|
-
|
|
301
|
-
---
|
|
302
|
-
|
|
303
|
-
### Task 2.3: Implement Flaky Test Detection
|
|
304
|
-
|
|
305
|
-
**Objective:** Identify intermittent failures (timing issues, race conditions)
|
|
306
|
-
|
|
307
|
-
- [ ] Track failure frequency per test (keep 30-day history)
|
|
308
|
-
- [ ] Define flakiness metrics:
|
|
309
|
-
- Pass rate threshold: < 95% = flaky
|
|
310
|
-
- Failure pattern: non-deterministic = flaky
|
|
311
|
-
- Time sensitivity: fails on slow/fast runs = flaky
|
|
312
|
-
|
|
313
|
-
- [ ] Create flaky test report (show patterns, timing windows)
|
|
314
|
-
- [ ] Implement environment dependency detection
|
|
315
|
-
- Database load variations
|
|
316
|
-
- Network latency
|
|
317
|
-
- Execution order sensitivity
|
|
318
|
-
- Async timing issues
|
|
319
|
-
|
|
320
|
-
- [ ] Build flaky test prioritization (fix before other failures)
|
|
321
|
-
- [ ] Create flaky test isolation (don't run in parallel)
|
|
322
|
-
- [ ] Implement test retry logic (3 retries for flaky)
|
|
323
|
-
- [ ] Create flaky test dashboard
|
|
324
|
-
- [ ] Setup alerts for new flaky tests
|
|
325
|
-
|
|
326
|
-
**Acceptance Criteria:**
|
|
327
|
-
- Flaky tests automatically detected within 3 occurrences
|
|
328
|
-
- 90%+ accuracy in flakiness diagnosis
|
|
329
|
-
- Flaky tests isolated and re-run separately
|
|
330
|
-
|
|
331
|
-
**Files to Create/Modify:**
|
|
332
|
-
- Create `/backend/convex/services/flaky-test-detector.ts`
|
|
333
|
-
- Create `/backend/convex/queries/flaky-test-report.ts`
|
|
334
|
-
|
|
335
|
-
---
|
|
336
|
-
|
|
337
|
-
### Task 2.4: Create Debug Logging & Instrumentation
|
|
338
|
-
|
|
339
|
-
**Objective:** Add diagnostic information for harder-to-debug failures
|
|
340
|
-
|
|
341
|
-
- [ ] Implement structured logging throughout failure path:
|
|
342
|
-
- Entry/exit of test
|
|
343
|
-
- State transitions
|
|
344
|
-
- Database operations
|
|
345
|
-
- Service calls
|
|
346
|
-
- Assertion failures
|
|
347
|
-
|
|
348
|
-
- [ ] Create logging levels:
|
|
349
|
-
- ERROR: Assertion failures, exceptions
|
|
350
|
-
- WARN: Timeouts, retries, fallbacks
|
|
351
|
-
- INFO: Test flow, decisions
|
|
352
|
-
- DEBUG: Detailed state, variables
|
|
353
|
-
|
|
354
|
-
- [ ] Add context preservation in logs:
|
|
355
|
-
- Test name and path
|
|
356
|
-
- Actor/user context
|
|
357
|
-
- Group/organization context
|
|
358
|
-
- Timestamp and duration
|
|
359
|
-
|
|
360
|
-
- [ ] Implement log aggregation (collect all logs for failed test)
|
|
361
|
-
- [ ] Create log visualization (timeline of events)
|
|
362
|
-
- [ ] Setup log search (by component, time, pattern)
|
|
363
|
-
- [ ] Add log retention (30 days for failed tests, 7 days for passed)
|
|
364
|
-
- [ ] Implement log anonymization (remove sensitive data)
|
|
365
|
-
- [ ] Create logging middleware for test execution
|
|
366
|
-
|
|
367
|
-
**Acceptance Criteria:**
|
|
368
|
-
- All failures include complete debug logs
|
|
369
|
-
- Logs collected within 1 second of failure
|
|
370
|
-
- Debug logs reduce analysis time by 50%
|
|
371
|
-
|
|
372
|
-
**Files to Create/Modify:**
|
|
373
|
-
- Create `/backend/convex/services/debug-logger.ts`
|
|
374
|
-
- Create `/web/src/lib/test-logger.ts`
|
|
375
|
-
- Create `/backend/test/utils/test-logging.ts`
|
|
376
|
-
|
|
377
|
-
---
|
|
378
|
-
|
|
379
|
-
### Task 2.5: Implement Concurrency & Race Condition Detection
|
|
380
|
-
|
|
381
|
-
**Objective:** Identify timing-dependent failures
|
|
382
|
-
|
|
383
|
-
- [ ] Trace concurrent operation execution:
|
|
384
|
-
- Database transactions
|
|
385
|
-
- API calls
|
|
386
|
-
- State mutations
|
|
387
|
-
- Event emissions
|
|
388
|
-
|
|
389
|
-
- [ ] Detect race conditions:
|
|
390
|
-
- Operations on same entity in rapid succession
|
|
391
|
-
- Event ordering violations
|
|
392
|
-
- Stale state assumptions
|
|
393
|
-
- Lock contention
|
|
394
|
-
|
|
395
|
-
- [ ] Create execution timeline visualization
|
|
396
|
-
- [ ] Implement happens-before relationship analysis
|
|
397
|
-
- [ ] Build transaction isolation level verification
|
|
398
|
-
- [ ] Create test execution with random delays (detect races)
|
|
399
|
-
- [ ] Implement stress testing (run test 100x to expose races)
|
|
400
|
-
- [ ] Setup race condition report generation
|
|
401
|
-
|
|
402
|
-
**Acceptance Criteria:**
|
|
403
|
-
- 95%+ of concurrency failures identified
|
|
404
|
-
- Race condition test suite automatically created
|
|
405
|
-
- Timeline visualization reveals execution order
|
|
406
|
-
|
|
407
|
-
**Files to Create/Modify:**
|
|
408
|
-
- Create `/backend/convex/services/concurrency-analyzer.ts`
|
|
409
|
-
- Create `/backend/test/utils/stress-test.ts`
|
|
410
|
-
|
|
411
|
-
---
|
|
412
|
-
|
|
413
|
-
### Task 2.6: Build Data Isolation Validator (Multi-Tenancy)
|
|
414
|
-
|
|
415
|
-
**Objective:** Detect groupId scoping and isolation violations
|
|
416
|
-
|
|
417
|
-
Validation checks:
|
|
418
|
-
|
|
419
|
-
- [ ] Verify all database queries include groupId filter
|
|
420
|
-
- [ ] Check connections respect group boundaries
|
|
421
|
-
- [ ] Validate events scoped to correct group
|
|
422
|
-
- [ ] Ensure knowledge scoped to group
|
|
423
|
-
- [ ] Verify no data leakage between groups
|
|
424
|
-
- [ ] Check parent-child group access rules
|
|
425
|
-
- [ ] Validate person permissions in group context
|
|
426
|
-
- [ ] Test cross-group operation rejection
|
|
427
|
-
- [ ] Create isolation violation report
|
|
428
|
-
- [ ] Setup continuous isolation monitoring
|
|
429
|
-
|
|
430
|
-
**Acceptance Criteria:**
|
|
431
|
-
- 100% of queries include groupId scoping
|
|
432
|
-
- No data leakage detected across test runs
|
|
433
|
-
- Isolation violations caught immediately
|
|
434
|
-
|
|
435
|
-
**Files to Create/Modify:**
|
|
436
|
-
- Create `/backend/convex/services/data-isolation-validator.ts`
|
|
437
|
-
- Create `/backend/test/fixtures/multi-tenant-test-data.ts`
|
|
438
|
-
|
|
439
|
-
---
|
|
440
|
-
|
|
441
|
-
## Phase 3: Solution Proposal & Implementation (Tasks 3.1-3.4)
|
|
442
|
-
|
|
443
|
-
### Task 3.1: Create Specific Solution Proposal Generator
|
|
444
|
-
|
|
445
|
-
**Objective:** Generate minimal, targeted fixes with ontology operations
|
|
446
|
-
|
|
447
|
-
Solution proposal includes:
|
|
448
|
-
|
|
449
|
-
```typescript
|
|
450
|
-
interface SolutionProposal {
|
|
451
|
-
failureId: string
|
|
452
|
-
rootCause: string // Why it failed
|
|
453
|
-
ontologyDimension: string // Which dimension affected
|
|
454
|
-
proposedFix: {
|
|
455
|
-
description: string // What to change
|
|
456
|
-
code: string // Exact code change
|
|
457
|
-
filePath: string // Where to change
|
|
458
|
-
lineNumbers: [number, number] // Lines affected
|
|
459
|
-
riskLevel: 'low' | 'medium' | 'high'
|
|
460
|
-
}
|
|
461
|
-
ontologyOperations: {
|
|
462
|
-
things?: string[] // Entity changes
|
|
463
|
-
connections?: string[] // Relationship changes
|
|
464
|
-
events?: string[] // Event logging additions
|
|
465
|
-
knowledge?: string[] // Knowledge base updates
|
|
466
|
-
}
|
|
467
|
-
testToAdd?: string // New test case to prevent regression
|
|
468
|
-
estimatedFixTime: number // Minutes to implement
|
|
469
|
-
confidence: number // 0-100% confidence in solution
|
|
470
|
-
knowledgePath?: string // Reference to similar solution
|
|
471
|
-
}
|
|
472
|
-
```
|
|
473
|
-
|
|
474
|
-
- [ ] Implement solution template matching (match to known patterns)
|
|
475
|
-
- [ ] Create code fix generator (AST-based for precision)
|
|
476
|
-
- [ ] Build ontology operation mapper (what to change in 6 dimensions)
|
|
477
|
-
- [ ] Create test regression preventer (generate test case)
|
|
478
|
-
- [ ] Implement risk assessment (small changes = lower risk)
|
|
479
|
-
- [ ] Build confidence scoring:
|
|
480
|
-
- Found exact match in knowledge: 95%
|
|
481
|
-
- Found similar issue: 80%
|
|
482
|
-
- Inferred from pattern: 60%
|
|
483
|
-
- First occurrence: 40%
|
|
484
|
-
|
|
485
|
-
- [ ] Create solution review checklist
|
|
486
|
-
- [ ] Implement solution validation (check syntax, types)
|
|
487
|
-
- [ ] Build fallback solution generator (when confidence < 50%)
|
|
488
|
-
|
|
489
|
-
**Acceptance Criteria:**
|
|
490
|
-
- All solutions include exact code changes
|
|
491
|
-
- Solutions map to specific ontology operations
|
|
492
|
-
- Confidence scoring accurate (high confidence = 90%+ success rate)
|
|
493
|
-
|
|
494
|
-
**Files to Create/Modify:**
|
|
495
|
-
- Create `/backend/convex/services/solution-proposal-generator.ts`
|
|
496
|
-
- Create `/backend/convex/services/code-fix-generator.ts`
|
|
497
|
-
- Create `types/solution-types.ts`
|
|
498
|
-
|
|
499
|
-
---
|
|
500
|
-
|
|
501
|
-
### Task 3.2: Implement Specialist Assignment & Delegation
|
|
502
|
-
|
|
503
|
-
**Objective:** Route fixes to most qualified specialist
|
|
504
|
-
|
|
505
|
-
Assignment logic:
|
|
506
|
-
|
|
507
|
-
- [ ] Query specialist availability:
|
|
508
|
-
- agent-backend: Backend/service/schema fixes
|
|
509
|
-
- agent-frontend: Component/page/interaction fixes
|
|
510
|
-
- agent-quality: Test/assertion/coverage fixes
|
|
511
|
-
- agent-documenter: Documentation gaps
|
|
512
|
-
|
|
513
|
-
- [ ] Match expertise to problem:
|
|
514
|
-
- Auth failures → Backend specialist (auth expert)
|
|
515
|
-
- UI failures → Frontend specialist (component expert)
|
|
516
|
-
- Performance → Quality specialist (perf expert)
|
|
517
|
-
- Data failures → Backend specialist (schema expert)
|
|
518
|
-
|
|
519
|
-
- [ ] Consider specialist workload (balance load)
|
|
520
|
-
- [ ] Track specialist success rates (assign to best performer)
|
|
521
|
-
- [ ] Create assignment metadata:
|
|
522
|
-
- Priority and SLA
|
|
523
|
-
- Expected fix time
|
|
524
|
-
- Success probability
|
|
525
|
-
- Escalation contact
|
|
526
|
-
|
|
527
|
-
- [ ] Emit `solution_proposed` event with full context
|
|
528
|
-
- [ ] Create assignment tracking dashboard
|
|
529
|
-
- [ ] Implement assignment timeout (auto-escalate if not started)
|
|
530
|
-
- [ ] Setup communication channel (@ mention in chat/issue)
|
|
531
|
-
|
|
532
|
-
**Acceptance Criteria:**
|
|
533
|
-
- Correct specialist assigned 95%+ of time
|
|
534
|
-
- Assignment happens within 1 minute of analysis
|
|
535
|
-
- Specialist receives full context needed for fix
|
|
536
|
-
|
|
537
|
-
**Files to Create/Modify:**
|
|
538
|
-
- Create `/backend/convex/services/specialist-assignment.ts`
|
|
539
|
-
- Create `/backend/convex/mutations/assign-fix.ts`
|
|
540
|
-
|
|
541
|
-
---
|
|
542
|
-
|
|
543
|
-
### Task 3.3: Create Solution Verification & Validation
|
|
544
|
-
|
|
545
|
-
**Objective:** Ensure proposed fixes actually work
|
|
546
|
-
|
|
547
|
-
Verification steps:
|
|
548
|
-
|
|
549
|
-
- [ ] Syntax validation (check code is valid TypeScript/TSX)
|
|
550
|
-
- [ ] Type checking (verify types match schema)
|
|
551
|
-
- [ ] Schema validation (check against 6-dimension ontology)
|
|
552
|
-
- [ ] Dependency validation (ensure imports exist)
|
|
553
|
-
- [ ] Logic validation (check for obvious issues)
|
|
554
|
-
- [ ] Test validation (run proposed fix through test)
|
|
555
|
-
- [ ] Regression validation (ensure fix doesn't break other tests)
|
|
556
|
-
- [ ] Performance validation (check for performance regressions)
|
|
557
|
-
- [ ] Security validation (check for security issues)
|
|
558
|
-
|
|
559
|
-
- [ ] Create validation report (pass/fail with details)
|
|
560
|
-
- [ ] Implement multi-level validation:
|
|
561
|
-
- Level 1 (quick): Syntax, types, schema - 1 second
|
|
562
|
-
- Level 2 (deep): Logic, dependencies, imports - 5 seconds
|
|
563
|
-
- Level 3 (full): Test execution, regression, performance - 30 seconds
|
|
564
|
-
|
|
565
|
-
- [ ] Build confidence adjustment based on validation
|
|
566
|
-
- [ ] Create validation failure handling (demote confidence, flag for review)
|
|
567
|
-
|
|
568
|
-
**Acceptance Criteria:**
|
|
569
|
-
- All proposed fixes pass Level 1 validation
|
|
570
|
-
- 95%+ pass Level 2 validation
|
|
571
|
-
- 90%+ pass Level 3 validation
|
|
572
|
-
|
|
573
|
-
**Files to Create/Modify:**
|
|
574
|
-
- Create `/backend/convex/services/solution-validator.ts`
|
|
575
|
-
|
|
576
|
-
---
|
|
577
|
-
|
|
578
|
-
### Task 3.4: Implement Error Message Improvement
|
|
579
|
-
|
|
580
|
-
**Objective:** Make error messages clearer and more actionable
|
|
581
|
-
|
|
582
|
-
For each error type, create improved message that includes:
|
|
583
|
-
|
|
584
|
-
- [ ] What went wrong (clear problem statement)
|
|
585
|
-
- [ ] Why it went wrong (root cause explanation)
|
|
586
|
-
- [ ] What to do about it (actionable steps)
|
|
587
|
-
- [ ] Where to find help (link to knowledge base)
|
|
588
|
-
- [ ] Code example (show expected vs actual)
|
|
589
|
-
|
|
590
|
-
Example improvement:
|
|
591
|
-
|
|
592
|
-
```
|
|
593
|
-
BEFORE:
|
|
594
|
-
"Assertion error at line 42"
|
|
595
|
-
|
|
596
|
-
AFTER:
|
|
597
|
-
"TEST FAILED: Group isolation violation
|
|
598
|
-
|
|
599
|
-
Expected: User from Group A cannot see data from Group B
|
|
600
|
-
Actual: Query returned data from Group B
|
|
601
|
-
|
|
602
|
-
Root Cause: groupId filter missing from query
|
|
603
|
-
Location: backend/convex/queries/things.ts:15
|
|
604
|
-
|
|
605
|
-
Solution: Add .withIndex('by_groupId', q => q.eq('groupId', args.groupId))
|
|
606
|
-
|
|
607
|
-
Learn more: /knowledge/multi-tenant-patterns#isolation
|
|
608
|
-
Code example: https://knowledge-base/lessons/group-isolation-fix"
|
|
609
|
-
```
|
|
610
|
-
|
|
611
|
-
- [ ] Create error message templates (12+ failure categories)
|
|
612
|
-
- [ ] Implement template variable substitution
|
|
613
|
-
- [ ] Build knowledge link generation
|
|
614
|
-
- [ ] Create code example extraction from solutions
|
|
615
|
-
- [ ] Implement error message localization hooks
|
|
616
|
-
- [ ] Setup error message testing (ensure helpful)
|
|
617
|
-
- [ ] Add error message versioning (improve over time)
|
|
618
|
-
|
|
619
|
-
**Acceptance Criteria:**
|
|
620
|
-
- All errors include problem, root cause, and solution
|
|
621
|
-
- 95%+ of developers find error message helpful
|
|
622
|
-
- Average fix time reduced by 40% with improved messages
|
|
623
|
-
|
|
624
|
-
**Files to Create/Modify:**
|
|
625
|
-
- Create `/backend/convex/services/error-message-improver.ts`
|
|
626
|
-
- Create `types/error-messages.ts`
|
|
627
|
-
|
|
628
|
-
---
|
|
629
|
-
|
|
630
|
-
## Phase 4: Lesson Capture & Prevention (Tasks 4.1-4.4)
|
|
631
|
-
|
|
632
|
-
### Task 4.1: Implement Lesson Learning System
|
|
633
|
-
|
|
634
|
-
**Objective:** Convert every failure → validated lesson
|
|
635
|
-
|
|
636
|
-
Lesson structure:
|
|
637
|
-
|
|
638
|
-
```typescript
|
|
639
|
-
interface Lesson {
|
|
640
|
-
type: 'lesson',
|
|
641
|
-
name: string // e.g., "Group Isolation Pattern"
|
|
642
|
-
category: string // e.g., "multi-tenancy"
|
|
643
|
-
problemType: string // e.g., "data-leakage"
|
|
644
|
-
|
|
645
|
-
problem: {
|
|
646
|
-
description: string
|
|
647
|
-
symptoms: string[]
|
|
648
|
-
rootCauses: string[]
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
solution: {
|
|
652
|
-
explanation: string
|
|
653
|
-
codeExample: string
|
|
654
|
-
filePath: string
|
|
655
|
-
pattern: string // Reference pattern name
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
prevention: {
|
|
659
|
-
checklist: string[] // Pre-commit checks
|
|
660
|
-
tests: string[] // Test cases to add
|
|
661
|
-
patterns: string[] // Patterns to follow
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
metadata: {
|
|
665
|
-
severity: 'critical' | 'high' | 'medium' | 'low'
|
|
666
|
-
occurrences: number // How many times seen
|
|
667
|
-
occurrenceFrequency: string // 'daily' | 'weekly' | 'monthly'
|
|
668
|
-
firstSeen: timestamp
|
|
669
|
-
lastSeen: timestamp
|
|
670
|
-
component: string // frontend | backend | integration
|
|
671
|
-
resolvedBy: string // Specialist name
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
```
|
|
675
|
-
|
|
676
|
-
- [ ] Create lesson capture trigger (when fix_complete event emitted)
|
|
677
|
-
- [ ] Extract lesson from failure + solution
|
|
678
|
-
- [ ] Generate problem description from root cause analysis
|
|
679
|
-
- [ ] Generate solution code examples
|
|
680
|
-
- [ ] Create prevention checklist from lesson
|
|
681
|
-
- [ ] Setup lesson validation (ensure completeness)
|
|
682
|
-
- [ ] Implement lesson versioning (lesson improves over time)
|
|
683
|
-
- [ ] Create lesson linking (connect related lessons)
|
|
684
|
-
- [ ] Setup lesson publishing (make searchable)
|
|
685
|
-
|
|
686
|
-
**Acceptance Criteria:**
|
|
687
|
-
- Lesson captured within 5 minutes of fix completion
|
|
688
|
-
- All lessons have complete problem, solution, prevention
|
|
689
|
-
- Lessons published to knowledge base automatically
|
|
690
|
-
|
|
691
|
-
**Files to Create/Modify:**
|
|
692
|
-
- Create `/backend/convex/services/lesson-learner.ts`
|
|
693
|
-
- Create `/backend/convex/mutations/capture-lesson.ts`
|
|
694
|
-
- Create `types/lesson-types.ts`
|
|
695
|
-
|
|
696
|
-
---
|
|
697
|
-
|
|
698
|
-
### Task 4.2: Create Knowledge Base Integration
|
|
699
|
-
|
|
700
|
-
**Objective:** Store lessons for semantic search + pattern matching
|
|
701
|
-
|
|
702
|
-
Integration with knowledge dimension:
|
|
703
|
-
|
|
704
|
-
- [ ] Generate embeddings for lesson content
|
|
705
|
-
- [ ] Create knowledge chunk per lesson (lesson + code example + prevention)
|
|
706
|
-
- [ ] Store embedding vector (1536-dim for text-embedding-3-large)
|
|
707
|
-
- [ ] Add semantic labels:
|
|
708
|
-
- `skill:testing`, `skill:debugging`, `skill:ontology`
|
|
709
|
-
- `topic:auth`, `topic:performance`, `topic:multi-tenancy`
|
|
710
|
-
- `component:backend`, `component:frontend`, `component:integration`
|
|
711
|
-
- `status:validated`, `status:promoted` (3+ occurrences)
|
|
712
|
-
- `severity:critical`, `severity:high`, etc.
|
|
713
|
-
|
|
714
|
-
- [ ] Link lesson to feature via connections table
|
|
715
|
-
- [ ] Create `learned_from` relationship (feature → lesson)
|
|
716
|
-
- [ ] Setup lesson search (vector + label-based)
|
|
717
|
-
- [ ] Implement lesson recommendation (show similar lessons)
|
|
718
|
-
- [ ] Create lesson analytics (track usage, effectiveness)
|
|
719
|
-
- [ ] Setup lesson feedback loop (improve based on usage)
|
|
720
|
-
|
|
721
|
-
**Acceptance Criteria:**
|
|
722
|
-
- All lessons embedded and searchable
|
|
723
|
-
- Vector similarity search finds relevant lessons 85%+ of time
|
|
724
|
-
- Knowledge base grows by 5-10 lessons per sprint
|
|
725
|
-
|
|
726
|
-
**Files to Create/Modify:**
|
|
727
|
-
- Create `/backend/convex/mutations/add-to-knowledge.ts`
|
|
728
|
-
- Create `/backend/convex/services/embedding-generator.ts`
|
|
729
|
-
|
|
730
|
-
---
|
|
731
|
-
|
|
732
|
-
### Task 4.3: Implement Pattern Promotion System
|
|
733
|
-
|
|
734
|
-
**Objective:** Convert recurring failures → official patterns
|
|
735
|
-
|
|
736
|
-
When a failure type occurs 3+ times:
|
|
737
|
-
|
|
738
|
-
- [ ] Aggregate lessons from all occurrences
|
|
739
|
-
- [ ] Identify common root causes
|
|
740
|
-
- [ ] Extract universal solution pattern
|
|
741
|
-
- [ ] Create pattern documentation
|
|
742
|
-
- [ ] Add pattern to prevention system
|
|
743
|
-
- [ ] Promote to "known pattern" status
|
|
744
|
-
- [ ] Add to pattern library (developers can reference)
|
|
745
|
-
- [ ] Emit `pattern_promoted` event
|
|
746
|
-
- [ ] Update knowledge base with pattern
|
|
747
|
-
- [ ] Log promotion in lessons_learned
|
|
748
|
-
|
|
749
|
-
Example pattern promotion:
|
|
750
|
-
|
|
751
|
-
```
|
|
752
|
-
RECURRING ISSUE: "Group isolation missing in queries"
|
|
753
|
-
OCCURRENCES: 5 times in 2 weeks
|
|
754
|
-
PROMOTED TO PATTERN: "Group-Scoped Query Pattern"
|
|
755
|
-
|
|
756
|
-
Pattern:
|
|
757
|
-
All queries must include: .withIndex('by_groupId', q => q.eq('groupId', args.groupId))
|
|
758
|
-
|
|
759
|
-
Checklist:
|
|
760
|
-
- [ ] Query has groupId filter
|
|
761
|
-
- [ ] Filter uses index for performance
|
|
762
|
-
- [ ] Error handling for missing group
|
|
763
|
-
- [ ] Audit log created for access
|
|
764
|
-
|
|
765
|
-
Prevention:
|
|
766
|
-
- Template for all query creators
|
|
767
|
-
- Pre-commit check to detect missing filters
|
|
768
|
-
- Integration test for isolation
|
|
769
|
-
```
|
|
770
|
-
|
|
771
|
-
- [ ] Create pattern promotion logic (3+ occurrences = promote)
|
|
772
|
-
- [ ] Implement pattern documentation generator
|
|
773
|
-
- [ ] Build pattern library (searchable by component/issue type)
|
|
774
|
-
- [ ] Create pattern usage tracking (which developers use which patterns)
|
|
775
|
-
- [ ] Setup pattern effectiveness monitoring (reduce issues by pattern)
|
|
776
|
-
- [ ] Implement pattern versioning (evolve over time)
|
|
777
|
-
- [ ] Create pattern migration (update old code to use new patterns)
|
|
778
|
-
|
|
779
|
-
**Acceptance Criteria:**
|
|
780
|
-
- Patterns automatically promoted at 3 occurrences
|
|
781
|
-
- Pattern library searchable and accessible to all developers
|
|
782
|
-
- Pattern adoption reduces future similar issues by 80%
|
|
783
|
-
|
|
784
|
-
**Files to Create/Modify:**
|
|
785
|
-
- Create `/backend/convex/services/pattern-promoter.ts`
|
|
786
|
-
- Create `/backend/convex/mutations/promote-pattern.ts`
|
|
787
|
-
|
|
788
|
-
---
|
|
789
|
-
|
|
790
|
-
### Task 4.4: Create Prevention Recommendations Engine
|
|
791
|
-
|
|
792
|
-
**Objective:** Prevent future failures through process improvements
|
|
793
|
-
|
|
794
|
-
For recurring failures, recommend:
|
|
795
|
-
|
|
796
|
-
- [ ] **Code patterns** - "Always use X pattern for Y issue type"
|
|
797
|
-
- [ ] **Testing strategies** - "Add test case for Z scenario"
|
|
798
|
-
- [ ] **Automated checks** - "Add pre-commit hook to detect this"
|
|
799
|
-
- [ ] **Code review focus** - "Review specifically for this issue"
|
|
800
|
-
- [ ] **Training content** - "Create course module on this pattern"
|
|
801
|
-
- [ ] **Lint rules** - "Add eslint rule to prevent this"
|
|
802
|
-
- [ ] **Type improvements** - "Strengthen types to catch this"
|
|
803
|
-
- [ ] **Process changes** - "Change review process for this component"
|
|
804
|
-
|
|
805
|
-
- [ ] Create prevention recommendation scoring (effort vs impact)
|
|
806
|
-
- [ ] Implement recommendation prioritization
|
|
807
|
-
- [ ] Build recommendation tracking (which were implemented)
|
|
808
|
-
- [ ] Setup effectiveness monitoring (did recommendation work?)
|
|
809
|
-
- [ ] Create recommendation feedback loop
|
|
810
|
-
- [ ] Emit `prevention_recommendation` event for team review
|
|
811
|
-
- [ ] Implement automatic prevention (add to pre-commit checks)
|
|
812
|
-
|
|
813
|
-
**Acceptance Criteria:**
|
|
814
|
-
- Prevention recommendations generated for all recurring failures
|
|
815
|
-
- 80%+ of recommendations implemented
|
|
816
|
-
- Implementation reduces future failures of that type by 70%
|
|
817
|
-
|
|
818
|
-
**Files to Create/Modify:**
|
|
819
|
-
- Create `/backend/convex/services/prevention-recommender.ts`
|
|
820
|
-
- Create `/backend/convex/mutations/add-prevention.ts`
|
|
821
|
-
|
|
822
|
-
---
|
|
823
|
-
|
|
824
|
-
## Phase 5: Event Logging & Audit Trail (Tasks 5.1-5.3)
|
|
825
|
-
|
|
826
|
-
### Task 5.1: Create Complete Event Audit Trail
|
|
827
|
-
|
|
828
|
-
**Objective:** Log entire problem-solving workflow
|
|
829
|
-
|
|
830
|
-
Events to log:
|
|
831
|
-
|
|
832
|
-
```
|
|
833
|
-
problem_detection_started
|
|
834
|
-
├─ Component: backend | frontend | integration
|
|
835
|
-
├─ Test name, error message
|
|
836
|
-
└─ Initial analysis context
|
|
837
|
-
|
|
838
|
-
problem_analysis_started
|
|
839
|
-
├─ Root cause analysis initiating
|
|
840
|
-
├─ Knowledge search starting
|
|
841
|
-
└─ Ontology validation beginning
|
|
842
|
-
|
|
843
|
-
knowledge_search_completed
|
|
844
|
-
├─ Similar issues found: N
|
|
845
|
-
├─ Top match confidence: X%
|
|
846
|
-
└─ Search result ranking
|
|
847
|
-
|
|
848
|
-
root_cause_identified
|
|
849
|
-
├─ Root cause: "missing groupId filter"
|
|
850
|
-
├─ Ontology dimension: "things"
|
|
851
|
-
├─ Confidence: 85%
|
|
852
|
-
└─ Related failures: [IDs]
|
|
853
|
-
|
|
854
|
-
solution_proposed
|
|
855
|
-
├─ Proposed fix details
|
|
856
|
-
├─ File to modify
|
|
857
|
-
├─ Estimated fix time
|
|
858
|
-
└─ Assigned specialist
|
|
859
|
-
|
|
860
|
-
fix_started
|
|
861
|
-
├─ Specialist name
|
|
862
|
-
├─ Start time
|
|
863
|
-
└─ Expected completion
|
|
864
|
-
|
|
865
|
-
fix_completed
|
|
866
|
-
├─ Changes made
|
|
867
|
-
├─ Tests re-run
|
|
868
|
-
├─ All passing: yes/no
|
|
869
|
-
└─ Duration
|
|
870
|
-
|
|
871
|
-
lesson_learned_captured
|
|
872
|
-
├─ Lesson ID
|
|
873
|
-
├─ Lesson components (problem, solution, prevention)
|
|
874
|
-
├─ Knowledge embedding created
|
|
875
|
-
└─ Knowledge published
|
|
876
|
-
|
|
877
|
-
pattern_promoted (if 3+ occurrences)
|
|
878
|
-
├─ Pattern name
|
|
879
|
-
├─ Occurrences: N
|
|
880
|
-
├─ Prevention recommendations: M
|
|
881
|
-
└─ Promotion timestamp
|
|
882
|
-
|
|
883
|
-
prevention_implemented
|
|
884
|
-
├─ Prevention type (code pattern | test | lint rule | etc)
|
|
885
|
-
├─ Location/scope
|
|
886
|
-
└─ Implementation status
|
|
887
|
-
```
|
|
888
|
-
|
|
889
|
-
- [ ] Implement event emission for all workflow phases
|
|
890
|
-
- [ ] Add rich metadata to each event (timestamps, actors, context)
|
|
891
|
-
- [ ] Create event ordering guarantees (maintain causality)
|
|
892
|
-
- [ ] Setup event persistence (30-day history)
|
|
893
|
-
- [ ] Implement event querying by type, component, actor, time
|
|
894
|
-
- [ ] Create event visualization (timeline, dependency graph)
|
|
895
|
-
- [ ] Setup event analysis (patterns in problem-solving)
|
|
896
|
-
- [ ] Implement event-driven notifications (team awareness)
|
|
897
|
-
|
|
898
|
-
**Acceptance Criteria:**
|
|
899
|
-
- All workflow phases logged with rich metadata
|
|
900
|
-
- Event queries complete in < 500ms
|
|
901
|
-
- Event timeline accurately reconstructs problem-solving process
|
|
902
|
-
|
|
903
|
-
**Files to Create/Modify:**
|
|
904
|
-
- Create `/backend/convex/events/problem-solver-events.ts`
|
|
905
|
-
- Create `/backend/convex/services/workflow-logger.ts`
|
|
906
|
-
|
|
907
|
-
---
|
|
908
|
-
|
|
909
|
-
### Task 5.2: Implement Workflow Visualization
|
|
910
|
-
|
|
911
|
-
**Objective:** Create clear visibility into problem-solving process
|
|
912
|
-
|
|
913
|
-
Visualizations:
|
|
914
|
-
|
|
915
|
-
- [ ] Timeline view (when did each phase occur?)
|
|
916
|
-
- [ ] Dependency graph (which events caused which?)
|
|
917
|
-
- [ ] Actor view (who was involved in solving?)
|
|
918
|
-
- [ ] Component view (which component had the problem?)
|
|
919
|
-
- [ ] Impact view (how many tests, features, users affected?)
|
|
920
|
-
- [ ] Resolution view (how was the problem solved?)
|
|
921
|
-
- [ ] Lesson view (what was learned?)
|
|
922
|
-
- [ ] Pattern view (what patterns were created?)
|
|
923
|
-
|
|
924
|
-
- [ ] Create web UI for visualization (React component)
|
|
925
|
-
- [ ] Implement drill-down (click to see details)
|
|
926
|
-
- [ ] Setup filter/search (find specific workflows)
|
|
927
|
-
- [ ] Create workflow export (JSON, CSV, PDF)
|
|
928
|
-
- [ ] Implement workflow comparison (compare solving approaches)
|
|
929
|
-
|
|
930
|
-
**Acceptance Criteria:**
|
|
931
|
-
- Visualization loads in < 2 seconds
|
|
932
|
-
- All workflow phases clearly visible
|
|
933
|
-
- Drill-down provides helpful context
|
|
934
|
-
|
|
935
|
-
**Files to Create/Modify:**
|
|
936
|
-
- Create `/web/src/components/ProblemSolving/WorkflowTimeline.tsx`
|
|
937
|
-
- Create `/web/src/components/ProblemSolving/ImpactVisualization.tsx`
|
|
938
|
-
|
|
939
|
-
---
|
|
940
|
-
|
|
941
|
-
### Task 5.3: Create Problem-Solving Metrics & Dashboards
|
|
942
|
-
|
|
943
|
-
**Objective:** Track improvement and success metrics
|
|
944
|
-
|
|
945
|
-
Metrics to track:
|
|
946
|
-
|
|
947
|
-
- [ ] **Detection** - Time from failure to detection (target: < 1 second)
|
|
948
|
-
- [ ] **Analysis** - Time to complete root cause analysis (target: < 10 minutes)
|
|
949
|
-
- [ ] **Solution** - Time to propose solution (target: < 2 minutes after analysis)
|
|
950
|
-
- [ ] **Implementation** - Time specialist takes to implement fix (target: < 30 minutes)
|
|
951
|
-
- [ ] **Verification** - Time to verify fix works (target: < 5 minutes)
|
|
952
|
-
- [ ] **Learning** - Time to capture lesson (target: < 5 minutes)
|
|
953
|
-
- [ ] **Accuracy** - % of proposed solutions that work first time (target: > 95%)
|
|
954
|
-
- [ ] **Pattern coverage** - % of failures explained by known patterns (target: 80% → 95%)
|
|
955
|
-
- [ ] **Prevention** - Reduction in same-failure recurrence (target: 70%+)
|
|
956
|
-
- [ ] **Knowledge growth** - Lessons captured per sprint (target: 5-10)
|
|
957
|
-
|
|
958
|
-
Dashboard views:
|
|
959
|
-
|
|
960
|
-
- [ ] Real-time failure detection (last 24 hours)
|
|
961
|
-
- [ ] Problem-solving funnel (detect → analyze → solve → learn)
|
|
962
|
-
- [ ] Specialist performance (who solves fastest? most accurate?)
|
|
963
|
-
- [ ] Component reliability (which components fail most?)
|
|
964
|
-
- [ ] Time series (failures per day, trends)
|
|
965
|
-
- [ ] Knowledge base health (lessons, patterns, coverage)
|
|
966
|
-
|
|
967
|
-
- [ ] Create metrics collection service
|
|
968
|
-
- [ ] Implement metric aggregation (hourly, daily, weekly, monthly)
|
|
969
|
-
- [ ] Setup threshold alerting (SLA breaches)
|
|
970
|
-
- [ ] Create dashboards (React components)
|
|
971
|
-
- [ ] Implement metric export (for executive reporting)
|
|
972
|
-
- [ ] Setup metric trending (identify improvements/regressions)
|
|
973
|
-
|
|
974
|
-
**Acceptance Criteria:**
|
|
975
|
-
- Metrics collected for 95%+ of failures
|
|
976
|
-
- Dashboards operational and accessible
|
|
977
|
-
- Metrics show 50%+ improvement over baseline after 1 month
|
|
978
|
-
|
|
979
|
-
**Files to Create/Modify:**
|
|
980
|
-
- Create `/backend/convex/services/metrics-collector.ts`
|
|
981
|
-
- Create `/web/src/components/ProblemSolving/MetricsDashboard.tsx`
|
|
982
|
-
- Create `/web/src/pages/problem-solving-dashboard.tsx`
|
|
983
|
-
|
|
984
|
-
---
|
|
985
|
-
|
|
986
|
-
## Phase 6: Critical Path Test Scenarios (Tasks 6.1-6.4)
|
|
987
|
-
|
|
988
|
-
### Task 6.1: Write E2E Tests for Failure Detection
|
|
989
|
-
|
|
990
|
-
**Objective:** Test that failures are detected and analyzed
|
|
991
|
-
|
|
992
|
-
Test scenarios:
|
|
993
|
-
|
|
994
|
-
- [ ] **Test TC1.1:** Schema validation error detected
|
|
995
|
-
- Create invalid entity (missing required field)
|
|
996
|
-
- Verify failure is detected immediately
|
|
997
|
-
- Verify failure categorized as "schema_validation_error"
|
|
998
|
-
- Verify ontology dimension identified (things)
|
|
999
|
-
|
|
1000
|
-
- [ ] **Test TC1.2:** Authorization failure detected
|
|
1001
|
-
- Create user in Group A
|
|
1002
|
-
- Attempt operation on Group B entity
|
|
1003
|
-
- Verify failure detected
|
|
1004
|
-
- Verify failure categorized as "authorization_failure"
|
|
1005
|
-
|
|
1006
|
-
- [ ] **Test TC1.3:** Multi-tenancy violation detected
|
|
1007
|
-
- Create entity in Group A
|
|
1008
|
-
- Query with Group B credentials
|
|
1009
|
-
- Verify failure detected
|
|
1010
|
-
- Verify isolation violation identified
|
|
1011
|
-
|
|
1012
|
-
- [ ] **Test TC1.4:** Event logging gap detected
|
|
1013
|
-
- Execute mutation without event logging
|
|
1014
|
-
- Verify failure detected
|
|
1015
|
-
- Verify ontology dimension: events
|
|
1016
|
-
|
|
1017
|
-
- [ ] **Test TC1.5:** Race condition detected
|
|
1018
|
-
- Run concurrent mutations on same entity
|
|
1019
|
-
- Verify race condition identified
|
|
1020
|
-
- Verify flaky test marked for isolation
|
|
1021
|
-
|
|
1022
|
-
- [ ] **Test TC1.6:** Failure clustering
|
|
1023
|
-
- Emit 5 identical failures
|
|
1024
|
-
- Verify clustered as single issue
|
|
1025
|
-
- Verify analysis count = 1 (not 5)
|
|
1026
|
-
|
|
1027
|
-
- [ ] Implement failure injection framework
|
|
1028
|
-
- [ ] Create test fixtures for each failure type
|
|
1029
|
-
- [ ] Build assertion helpers for failure validation
|
|
1030
|
-
- [ ] Implement test cleanup (clear failures after test)
|
|
1031
|
-
|
|
1032
|
-
**Acceptance Criteria:**
|
|
1033
|
-
- All failure types detected automatically
|
|
1034
|
-
- E2E tests pass with >95% consistency (not flaky)
|
|
1035
|
-
- Coverage: 12+ failure categories
|
|
1036
|
-
|
|
1037
|
-
**Files to Create/Modify:**
|
|
1038
|
-
- Create `/web/src/tests/problem-solving/failure-detection.test.ts`
|
|
1039
|
-
- Create `/backend/test/failure-detection.test.ts`
|
|
1040
|
-
|
|
1041
|
-
---
|
|
1042
|
-
|
|
1043
|
-
### Task 6.2: Write E2E Tests for Root Cause Analysis
|
|
1044
|
-
|
|
1045
|
-
**Objective:** Test that root causes are correctly identified
|
|
1046
|
-
|
|
1047
|
-
Test scenarios:
|
|
1048
|
-
|
|
1049
|
-
- [ ] **Test TC2.1:** Knowledge base search finds similar issue
|
|
1050
|
-
- Create lesson in knowledge base
|
|
1051
|
-
- Emit similar failure
|
|
1052
|
-
- Verify similar lesson found
|
|
1053
|
-
- Verify confidence > 80%
|
|
1054
|
-
|
|
1055
|
-
- [ ] **Test TC2.2:** Ontology-aligned analysis
|
|
1056
|
-
- Emit failure affecting groups dimension
|
|
1057
|
-
- Verify analysis maps to groups
|
|
1058
|
-
- Verify solution proposes group-related fix
|
|
1059
|
-
|
|
1060
|
-
- [ ] **Test TC2.3:** Root cause accuracy validation
|
|
1061
|
-
- For 10 known failures, emit each
|
|
1062
|
-
- Verify identified root cause matches known root
|
|
1063
|
-
- Calculate accuracy %
|
|
1064
|
-
|
|
1065
|
-
- [ ] **Test TC2.4:** Confidence scoring
|
|
1066
|
-
- Emit known pattern failure (confidence should be high)
|
|
1067
|
-
- Emit novel failure (confidence should be lower)
|
|
1068
|
-
- Verify confidence scoring correlates with accuracy
|
|
1069
|
-
|
|
1070
|
-
- [ ] **Test TC2.5:** Flaky test detection
|
|
1071
|
-
- Run test 20 times (18 pass, 2 fail)
|
|
1072
|
-
- Verify marked as flaky
|
|
1073
|
-
- Verify pass rate = 90% (< 95% threshold)
|
|
1074
|
-
|
|
1075
|
-
- [ ] **Test TC2.6:** Concurrency analysis
|
|
1076
|
-
- Run concurrent mutations
|
|
1077
|
-
- Verify race condition identified
|
|
1078
|
-
- Verify timeline shows operation order
|
|
1079
|
-
|
|
1080
|
-
- [ ] **Test TC2.7:** Data isolation validation
|
|
1081
|
-
- Query with groupId scoping violation
|
|
1082
|
-
- Verify isolation checker catches it
|
|
1083
|
-
- Verify fix proposed includes groupId filter
|
|
1084
|
-
|
|
1085
|
-
- [ ] **Test TC2.8:** Code flow analysis
|
|
1086
|
-
- Emit failure with complex code path
|
|
1087
|
-
- Verify analysis traces through code
|
|
1088
|
-
- Verify decision tree logged
|
|
1089
|
-
|
|
1090
|
-
**Acceptance Criteria:**
|
|
1091
|
-
- Root cause accuracy > 85%
|
|
1092
|
-
- Confidence scoring accurate (high confidence = 90%+ success)
|
|
1093
|
-
- All 6 ontology dimensions analyzed correctly
|
|
1094
|
-
|
|
1095
|
-
**Files to Create/Modify:**
|
|
1096
|
-
- Create `/web/src/tests/problem-solving/root-cause-analysis.test.ts`
|
|
1097
|
-
- Create `/backend/test/root-cause-analysis.test.ts`
|
|
1098
|
-
|
|
1099
|
-
---
|
|
1100
|
-
|
|
1101
|
-
### Task 6.3: Write E2E Tests for Solution Proposal & Implementation
|
|
1102
|
-
|
|
1103
|
-
**Objective:** Test that fixes are proposed and work
|
|
1104
|
-
|
|
1105
|
-
Test scenarios:
|
|
1106
|
-
|
|
1107
|
-
- [ ] **Test TC3.1:** Solution proposal generated
|
|
1108
|
-
- Emit failure with known pattern
|
|
1109
|
-
- Verify solution proposed within 2 minutes
|
|
1110
|
-
- Verify solution includes code change
|
|
1111
|
-
|
|
1112
|
-
- [ ] **Test TC3.2:** Solution is specific
|
|
1113
|
-
- Verify proposed fix includes exact file path
|
|
1114
|
-
- Verify line numbers specified
|
|
1115
|
-
- Verify code change is minimal (not over-engineered)
|
|
1116
|
-
|
|
1117
|
-
- [ ] **Test TC3.3:** Ontology operations specified
|
|
1118
|
-
- Verify solution maps to ontology dimensions
|
|
1119
|
-
- Verify operations (things/connections/events/knowledge) specified
|
|
1120
|
-
- Verify operations align with root cause
|
|
1121
|
-
|
|
1122
|
-
- [ ] **Test TC3.4:** Specialist assignment
|
|
1123
|
-
- Verify correct specialist assigned based on component
|
|
1124
|
-
- Verify assignment happens within 1 minute
|
|
1125
|
-
- Verify specialist notification sent
|
|
1126
|
-
|
|
1127
|
-
- [ ] **Test TC3.5:** Solution validation
|
|
1128
|
-
- Validate proposed fix passes syntax checking
|
|
1129
|
-
- Validate types match schema
|
|
1130
|
-
- Validate no breaking changes
|
|
1131
|
-
|
|
1132
|
-
- [ ] **Test TC3.6:** Fix implementation succeeds
|
|
1133
|
-
- Specialist implements proposed fix
|
|
1134
|
-
- Run test again
|
|
1135
|
-
- Verify test now passes
|
|
1136
|
-
|
|
1137
|
-
- [ ] **Test TC3.7:** No regression
|
|
1138
|
-
- Verify all other tests still pass after fix
|
|
1139
|
-
- Verify no new failures introduced
|
|
1140
|
-
|
|
1141
|
-
- [ ] **Test TC3.8:** Fix time accuracy
|
|
1142
|
-
- Verify actual fix time close to estimate
|
|
1143
|
-
- Build accuracy model over time
|
|
1144
|
-
|
|
1145
|
-
**Acceptance Criteria:**
|
|
1146
|
-
- Solutions proposed for all failures
|
|
1147
|
-
- 95%+ of solutions work first time
|
|
1148
|
-
- No regressions from fixes
|
|
1149
|
-
|
|
1150
|
-
**Files to Create/Modify:**
|
|
1151
|
-
- Create `/web/src/tests/problem-solving/solution-proposal.test.ts`
|
|
1152
|
-
- Create `/backend/test/solution-implementation.test.ts`
|
|
1153
|
-
|
|
1154
|
-
---
|
|
1155
|
-
|
|
1156
|
-
### Task 6.4: Write E2E Tests for Lesson Learning & Prevention
|
|
1157
|
-
|
|
1158
|
-
**Objective:** Test that lessons are captured and prevent future failures
|
|
1159
|
-
|
|
1160
|
-
Test scenarios:
|
|
1161
|
-
|
|
1162
|
-
- [ ] **Test TC4.1:** Lesson captured
|
|
1163
|
-
- Fix failure
|
|
1164
|
-
- Verify lesson created in knowledge base
|
|
1165
|
-
- Verify lesson has problem, solution, prevention
|
|
1166
|
-
|
|
1167
|
-
- [ ] **Test TC4.2:** Lesson embeddings
|
|
1168
|
-
- Verify embedding generated
|
|
1169
|
-
- Verify vector similarity search finds lesson
|
|
1170
|
-
- Verify cosine distance < 0.2 (high similarity)
|
|
1171
|
-
|
|
1172
|
-
- [ ] **Test TC4.3:** Lesson linking
|
|
1173
|
-
- Verify lesson linked to feature via connections
|
|
1174
|
-
- Verify bidirectional relationship
|
|
1175
|
-
- Verify learned_from relationship type
|
|
1176
|
-
|
|
1177
|
-
- [ ] **Test TC4.4:** Lesson labels
|
|
1178
|
-
- Verify semantic labels added (skill, topic, component, status)
|
|
1179
|
-
- Verify label search finds lesson
|
|
1180
|
-
- Verify label filtering works
|
|
1181
|
-
|
|
1182
|
-
- [ ] **Test TC4.5:** Pattern promotion
|
|
1183
|
-
- Emit same failure 3 times
|
|
1184
|
-
- Verify pattern promoted
|
|
1185
|
-
- Verify pattern published in knowledge base
|
|
1186
|
-
|
|
1187
|
-
- [ ] **Test TC4.6:** Prevention implementation
|
|
1188
|
-
- Emit failure matching promoted pattern
|
|
1189
|
-
- Verify prevention recommendation emitted
|
|
1190
|
-
- Verify prevention implemented (e.g., pre-commit check)
|
|
1191
|
-
|
|
1192
|
-
- [ ] **Test TC4.7:** Failure prevention
|
|
1193
|
-
- Emit original failure type again
|
|
1194
|
-
- Verify prevented by new pattern/check
|
|
1195
|
-
- Verify test passes without manual fix
|
|
1196
|
-
|
|
1197
|
-
- [ ] **Test TC4.8:** Knowledge growth
|
|
1198
|
-
- Capture 10 lessons
|
|
1199
|
-
- Verify knowledge base has 10 new entries
|
|
1200
|
-
- Verify all searchable
|
|
1201
|
-
|
|
1202
|
-
**Acceptance Criteria:**
|
|
1203
|
-
- All lessons captured with complete metadata
|
|
1204
|
-
- Lessons findable via semantic search (85%+ accuracy)
|
|
1205
|
-
- Prevention prevents future failures (70%+ reduction)
|
|
1206
|
-
- Knowledge base growth: 5-10 lessons per sprint
|
|
1207
|
-
|
|
1208
|
-
**Files to Create/Modify:**
|
|
1209
|
-
- Create `/web/src/tests/problem-solving/lesson-learning.test.ts`
|
|
1210
|
-
- Create `/backend/test/lesson-capture.test.ts`
|
|
1211
|
-
|
|
1212
|
-
---
|
|
1213
|
-
|
|
1214
|
-
## Critical Path Execution Diagram
|
|
1215
|
-
|
|
1216
|
-
```
|
|
1217
|
-
FAILURE DETECTION (T=0)
|
|
1218
|
-
↓
|
|
1219
|
-
Monitor all agents for test_failed events
|
|
1220
|
-
├─ Quality agent emits test_failed
|
|
1221
|
-
├─ Frontend agent emits test_failed
|
|
1222
|
-
└─ Backend agent emits test_failed
|
|
1223
|
-
↓
|
|
1224
|
-
IMMEDIATE TRIAGE (T=0-1min)
|
|
1225
|
-
├─ Categorize failure (12+ categories)
|
|
1226
|
-
├─ Assess impact (blast radius)
|
|
1227
|
-
├─ Cluster with related failures
|
|
1228
|
-
└─ Assign SLA (2-60 min based on severity)
|
|
1229
|
-
↓
|
|
1230
|
-
ROOT CAUSE ANALYSIS (T=1-10min, ultrathink mode)
|
|
1231
|
-
├─ Map to ontology dimension
|
|
1232
|
-
├─ Search knowledge base (vector + labels)
|
|
1233
|
-
├─ Analyze failure context
|
|
1234
|
-
├─ Trace code path
|
|
1235
|
-
├─ Identify root pattern
|
|
1236
|
-
└─ Validate hypothesis
|
|
1237
|
-
↓
|
|
1238
|
-
SOLUTION PROPOSAL (T=10-12min)
|
|
1239
|
-
├─ Match to known pattern or infer
|
|
1240
|
-
├─ Generate specific fix
|
|
1241
|
-
├─ Map ontology operations
|
|
1242
|
-
├─ Validate fix (syntax, types, schema)
|
|
1243
|
-
├─ Assign to specialist
|
|
1244
|
-
└─ Emit solution_proposed event
|
|
1245
|
-
↓
|
|
1246
|
-
FIX IMPLEMENTATION (T=12-40min)
|
|
1247
|
-
├─ Specialist implements fix
|
|
1248
|
-
├─ All tests re-run
|
|
1249
|
-
├─ Verify no regressions
|
|
1250
|
-
└─ Emit fix_completed event
|
|
1251
|
-
↓
|
|
1252
|
-
LESSON CAPTURE (T=40-45min)
|
|
1253
|
-
├─ Extract lesson from failure+solution
|
|
1254
|
-
├─ Generate embeddings
|
|
1255
|
-
├─ Create knowledge chunks
|
|
1256
|
-
├─ Link to feature via connections
|
|
1257
|
-
├─ Add semantic labels
|
|
1258
|
-
└─ Publish to knowledge base
|
|
1259
|
-
↓
|
|
1260
|
-
PATTERN PROMOTION (if 3+ occurrences)
|
|
1261
|
-
├─ Aggregate lessons
|
|
1262
|
-
├─ Extract universal pattern
|
|
1263
|
-
├─ Create pattern documentation
|
|
1264
|
-
├─ Add to pattern library
|
|
1265
|
-
└─ Emit pattern_promoted event
|
|
1266
|
-
↓
|
|
1267
|
-
PREVENTION IMPLEMENTATION
|
|
1268
|
-
├─ Generate prevention recommendations
|
|
1269
|
-
├─ Implement checks (pre-commit hooks, lint rules)
|
|
1270
|
-
├─ Update developer guidelines
|
|
1271
|
-
└─ Track effectiveness
|
|
1272
|
-
↓
|
|
1273
|
-
COMPLETE (T=45-60min for most failures)
|
|
1274
|
-
├─ Emit fix_verified event
|
|
1275
|
-
├─ Close failure tracking entry
|
|
1276
|
-
├─ Log metrics
|
|
1277
|
-
└─ Celebrate learning!
|
|
1278
|
-
```
|
|
1279
|
-
|
|
1280
|
-
---
|
|
1281
|
-
|
|
1282
|
-
## Success Criteria
|
|
1283
|
-
|
|
1284
|
-
### Immediate Metrics (Per Problem)
|
|
1285
|
-
|
|
1286
|
-
- [ ] **Detection:** Failure detected within 1 second (100%)
|
|
1287
|
-
- [ ] **SLA Compliance:** Root cause analysis within SLA (95%+)
|
|
1288
|
-
- [ ] **Solution Quality:** Proposed fixes work first time (95%+)
|
|
1289
|
-
- [ ] **Lesson Capture:** All failures produce lessons (100%)
|
|
1290
|
-
- [ ] **Knowledge Growth:** New patterns/lessons every sprint (5-10/sprint)
|
|
1291
|
-
|
|
1292
|
-
### Near-Term Metrics (Per Sprint)
|
|
1293
|
-
|
|
1294
|
-
- [ ] **Analysis Time:** Average < 10 minutes (SLA achievement)
|
|
1295
|
-
- [ ] **Specialist Efficiency:** Fixes implemented in < 30 minutes (on average)
|
|
1296
|
-
- [ ] **Pattern Coverage:** 80%+ of failures match known patterns (growth trajectory)
|
|
1297
|
-
- [ ] **Prevention Effectiveness:** Same failure recurrence < 20% (was 100%)
|
|
1298
|
-
- [ ] **Team Learning:** Quarterly increase in patterns/lessons (20% growth)
|
|
1299
|
-
|
|
1300
|
-
### Long-Term Metrics (System-wide)
|
|
1301
|
-
|
|
1302
|
-
- [ ] **Autonomous Problem Solving:** 80%+ of failures resolved without human intervention
|
|
1303
|
-
- [ ] **Knowledge Completeness:** Pattern library covers 95%+ of failure types
|
|
1304
|
-
- [ ] **Zero Regressions:** Prevented patterns cause 0 new failures (70% reduction from baseline)
|
|
1305
|
-
- [ ] **Sub-Minute Analysis:** New failures analyzed in < 1 minute (via pattern matching)
|
|
1306
|
-
- [ ] **Self-Healing System:** Unknown failures automatically prevented through learning
|
|
1307
|
-
|
|
1308
|
-
---
|
|
1309
|
-
|
|
1310
|
-
## Escalation Procedures
|
|
1311
|
-
|
|
1312
|
-
### Escalation Triggers
|
|
1313
|
-
|
|
1314
|
-
**Escalate to Manual Review when:**
|
|
1315
|
-
|
|
1316
|
-
1. **Confidence < 40%** - Problem Solver unsure of root cause
|
|
1317
|
-
2. **SLA Breach** - Analysis not completed within SLA window
|
|
1318
|
-
3. **Specialist Unavailable** - No qualified specialist can take fix
|
|
1319
|
-
4. **Multiple Root Causes** - Failure has 3+ possible root causes
|
|
1320
|
-
5. **Conflicting Solutions** - Multiple solutions proposed with equal confidence
|
|
1321
|
-
6. **External Dependency** - Failure depends on external system failure
|
|
1322
|
-
7. **Security Concern** - Potential security issue in failure/solution
|
|
1323
|
-
8. **Data Loss Risk** - Failure might involve data loss
|
|
1324
|
-
9. **Ontology Violation** - Failure doesn't map to 6-dimension ontology
|
|
1325
|
-
10. **Novel Pattern** - First occurrence, no similar issues in knowledge base
|
|
1326
|
-
|
|
1327
|
-
### Escalation Path
|
|
1328
|
-
|
|
1329
|
-
```
|
|
1330
|
-
Problem Solver Analysis
|
|
1331
|
-
↓
|
|
1332
|
-
[Confidence Check]
|
|
1333
|
-
↓
|
|
1334
|
-
Low Confidence (< 40%) OR SLA Breach?
|
|
1335
|
-
├─ YES → Route to Senior Specialist Review
|
|
1336
|
-
│ ├─ Senior specialist analyzes
|
|
1337
|
-
│ └─ Higher confidence required (70%+)
|
|
1338
|
-
│ ├─ Still unsure?
|
|
1339
|
-
│ │ └─ Route to Engineering Lead
|
|
1340
|
-
│ │ ├─ Lead conducts deep investigation
|
|
1341
|
-
│ │ └─ Creates new pattern/lesson
|
|
1342
|
-
│ └─ Confident?
|
|
1343
|
-
│ └─ Implement fix normally
|
|
1344
|
-
└─ NO → Route to Specialist for Implementation
|
|
1345
|
-
├─ Implement fix
|
|
1346
|
-
└─ Capture lesson
|
|
1347
|
-
```
|
|
1348
|
-
|
|
1349
|
-
### Escalation Communication
|
|
1350
|
-
|
|
1351
|
-
When escalating, include:
|
|
1352
|
-
|
|
1353
|
-
- [ ] Full failure details and error logs
|
|
1354
|
-
- [ ] Root cause analysis (even if uncertain)
|
|
1355
|
-
- [ ] All proposed solutions (ranked by confidence)
|
|
1356
|
-
- [ ] Knowledge base search results (similar issues)
|
|
1357
|
-
- [ ] Timeline of analysis (what was tried)
|
|
1358
|
-
- [ ] Escalation reason (why uncertain/SLA breach)
|
|
1359
|
-
- [ ] Suggested next steps (from problem solver perspective)
|
|
1360
|
-
|
|
1361
|
-
---
|
|
1362
|
-
|
|
1363
|
-
## Testing the Problem Solver
|
|
1364
|
-
|
|
1365
|
-
### Test Execution Checklist
|
|
1366
|
-
|
|
1367
|
-
Before marking cycle 65-70 complete:
|
|
1368
|
-
|
|
1369
|
-
- [ ] **Phase 1 Tests** (Failure Detection) - All passing
|
|
1370
|
-
- Failure detection E2E tests
|
|
1371
|
-
- Categorization accuracy tests
|
|
1372
|
-
- Impact analysis tests
|
|
1373
|
-
- Event pipeline tests
|
|
1374
|
-
- Triage queue tests
|
|
1375
|
-
|
|
1376
|
-
- [ ] **Phase 2 Tests** (Root Cause Analysis) - All passing
|
|
1377
|
-
- Root cause accuracy tests
|
|
1378
|
-
- Ontology mapping tests
|
|
1379
|
-
- Knowledge search tests
|
|
1380
|
-
- Flaky detection tests
|
|
1381
|
-
- Debug logging tests
|
|
1382
|
-
- Concurrency analysis tests
|
|
1383
|
-
- Data isolation tests
|
|
1384
|
-
|
|
1385
|
-
- [ ] **Phase 3 Tests** (Solution Proposal) - All passing
|
|
1386
|
-
- Solution generation tests
|
|
1387
|
-
- Specialist assignment tests
|
|
1388
|
-
- Solution validation tests
|
|
1389
|
-
- Error message tests
|
|
1390
|
-
|
|
1391
|
-
- [ ] **Phase 4 Tests** (Lesson Learning) - All passing
|
|
1392
|
-
- Lesson capture tests
|
|
1393
|
-
- Knowledge base integration tests
|
|
1394
|
-
- Pattern promotion tests
|
|
1395
|
-
- Prevention recommendation tests
|
|
1396
|
-
|
|
1397
|
-
- [ ] **Phase 5 Tests** (Event Logging) - All passing
|
|
1398
|
-
- Event audit trail tests
|
|
1399
|
-
- Workflow visualization tests
|
|
1400
|
-
- Metrics collection tests
|
|
1401
|
-
|
|
1402
|
-
- [ ] **Phase 6 Tests** (Critical Paths) - All passing
|
|
1403
|
-
- E2E failure detection
|
|
1404
|
-
- E2E root cause analysis
|
|
1405
|
-
- E2E solution proposal
|
|
1406
|
-
- E2E lesson learning
|
|
1407
|
-
|
|
1408
|
-
### Success Validation
|
|
1409
|
-
|
|
1410
|
-
Before marking complete, verify:
|
|
1411
|
-
|
|
1412
|
-
```typescript
|
|
1413
|
-
// Overall Success Criteria
|
|
1414
|
-
const successCriteria = {
|
|
1415
|
-
testCoverage: '>= 95%', // All code paths tested
|
|
1416
|
-
failureDetection: '100%', // All failures detected
|
|
1417
|
-
analysisAccuracy: '>= 85%', // Root causes correct
|
|
1418
|
-
solutionAccuracy: '>= 95%', // Fixes work first time
|
|
1419
|
-
lessonCapture: '100%', // All failures → lessons
|
|
1420
|
-
knowledgeGrowth: '>= 10 lessons', // New knowledge per sprint
|
|
1421
|
-
|
|
1422
|
-
// Performance SLAs
|
|
1423
|
-
detectionTime: '<= 1 second',
|
|
1424
|
-
analysisTime: '<= 10 minutes',
|
|
1425
|
-
proposalTime: '<= 2 minutes after analysis',
|
|
1426
|
-
implementationTime: '<= 30 minutes',
|
|
1427
|
-
|
|
1428
|
-
// Quality metrics
|
|
1429
|
-
flakiness: '< 5% flaky tests', // Most tests stable
|
|
1430
|
-
regressions: '0 new failures', // Fixes don't break things
|
|
1431
|
-
dataLeaks: '0 multi-tenant violations' // 100% isolation maintained
|
|
1432
|
-
}
|
|
1433
|
-
```
|
|
1434
|
-
|
|
1435
|
-
---
|
|
1436
|
-
|
|
1437
|
-
## File Structure Summary
|
|
1438
|
-
|
|
1439
|
-
### New Services to Create
|
|
1440
|
-
|
|
1441
|
-
```
|
|
1442
|
-
/backend/convex/services/
|
|
1443
|
-
├── failure-monitor.ts # Real-time failure detection
|
|
1444
|
-
├── failure-categorizer.ts # Classify failures (12+ types)
|
|
1445
|
-
├── failure-impact-analyzer.ts # Assess blast radius
|
|
1446
|
-
├── failure-event-pipeline.ts # Event-driven orchestration
|
|
1447
|
-
├── failure-triage-queue.ts # Prioritize failures
|
|
1448
|
-
├── root-cause-analyzer.ts # Deep analysis (ultrathink)
|
|
1449
|
-
├── ontology-validator.ts # 6-dimension validation
|
|
1450
|
-
├── code-flow-analyzer.ts # Trace code paths
|
|
1451
|
-
├── knowledge-search.ts # Vector + label search
|
|
1452
|
-
├── flaky-test-detector.ts # Intermittent failure detection
|
|
1453
|
-
├── debug-logger.ts # Structured logging
|
|
1454
|
-
├── concurrency-analyzer.ts # Race condition detection
|
|
1455
|
-
├── data-isolation-validator.ts # Multi-tenancy verification
|
|
1456
|
-
├── solution-proposal-generator.ts # Generate specific fixes
|
|
1457
|
-
├── code-fix-generator.ts # AST-based code generation
|
|
1458
|
-
├── specialist-assignment.ts # Route to right person
|
|
1459
|
-
├── solution-validator.ts # Validate fixes
|
|
1460
|
-
├── error-message-improver.ts # Clear error messages
|
|
1461
|
-
├── lesson-learner.ts # Convert failure → lesson
|
|
1462
|
-
├── embedding-generator.ts # Vector embeddings
|
|
1463
|
-
├── pattern-promoter.ts # Recurring → pattern
|
|
1464
|
-
├── prevention-recommender.ts # Suggest improvements
|
|
1465
|
-
├── workflow-logger.ts # Audit trail
|
|
1466
|
-
├── metrics-collector.ts # Success metrics
|
|
1467
|
-
└── test-instrumentation.ts # Test helpers
|
|
1468
|
-
```
|
|
1469
|
-
|
|
1470
|
-
### New Queries/Mutations to Create
|
|
1471
|
-
|
|
1472
|
-
```
|
|
1473
|
-
/backend/convex/queries/
|
|
1474
|
-
├── failure-queries.ts # Query failures
|
|
1475
|
-
├── triage-status.ts # Queue status
|
|
1476
|
-
├── flaky-test-report.ts # Flaky patterns
|
|
1477
|
-
├── search-similar-lessons.ts # Knowledge search
|
|
1478
|
-
└── problem-solving-metrics.ts # Dashboard data
|
|
1479
|
-
|
|
1480
|
-
/backend/convex/mutations/
|
|
1481
|
-
├── failure-tracking.ts # Log failures
|
|
1482
|
-
├── assign-fix.ts # Delegate to specialist
|
|
1483
|
-
├── capture-lesson.ts # Save learning
|
|
1484
|
-
├── add-to-knowledge.ts # Publish to knowledge base
|
|
1485
|
-
├── promote-pattern.ts # Pattern promotion
|
|
1486
|
-
└── add-prevention.ts # Save prevention check
|
|
1487
|
-
```
|
|
1488
|
-
|
|
1489
|
-
### New Test Files
|
|
1490
|
-
|
|
1491
|
-
```
|
|
1492
|
-
/web/src/tests/problem-solving/
|
|
1493
|
-
├── failure-detection.test.ts # TC1.1-1.6
|
|
1494
|
-
├── root-cause-analysis.test.ts # TC2.1-2.8
|
|
1495
|
-
├── solution-proposal.test.ts # TC3.1-3.8
|
|
1496
|
-
├── lesson-learning.test.ts # TC4.1-4.8
|
|
1497
|
-
└── end-to-end.test.ts # Full workflow
|
|
1498
|
-
|
|
1499
|
-
/backend/test/
|
|
1500
|
-
├── failure-detection.test.ts # Failure monitoring
|
|
1501
|
-
├── root-cause-analysis.test.ts # Analysis accuracy
|
|
1502
|
-
├── solution-implementation.test.ts # Fix validation
|
|
1503
|
-
├── lesson-capture.test.ts # Knowledge capture
|
|
1504
|
-
└── stress-test.ts # Scale testing
|
|
1505
|
-
```
|
|
1506
|
-
|
|
1507
|
-
### UI Components
|
|
1508
|
-
|
|
1509
|
-
```
|
|
1510
|
-
/web/src/components/ProblemSolving/
|
|
1511
|
-
├── WorkflowTimeline.tsx # Timeline visualization
|
|
1512
|
-
├── ImpactVisualization.tsx # Blast radius diagram
|
|
1513
|
-
├── FailureList.tsx # Failure triage queue
|
|
1514
|
-
├── RootCauseAnalysis.tsx # Analysis details
|
|
1515
|
-
├── SolutionProposal.tsx # Fix details
|
|
1516
|
-
├── LessonView.tsx # Captured lesson
|
|
1517
|
-
├── PatternsLibrary.tsx # Pattern catalog
|
|
1518
|
-
└── MetricsDashboard.tsx # Success metrics
|
|
1519
|
-
|
|
1520
|
-
/web/src/pages/
|
|
1521
|
-
├── problem-solving-dashboard.tsx # Main dashboard
|
|
1522
|
-
├── failure-[id].tsx # Failure details
|
|
1523
|
-
└── lessons-[id].tsx # Lesson details
|
|
1524
|
-
```
|
|
1525
|
-
|
|
1526
|
-
---
|
|
1527
|
-
|
|
1528
|
-
## Next Steps (After Phase 6)
|
|
1529
|
-
|
|
1530
|
-
### Cycle 71-80: Design & Refinement
|
|
1531
|
-
- Refine UI/UX for dashboards
|
|
1532
|
-
- Optimize metric queries
|
|
1533
|
-
- Create coaching AI (suggests best patterns)
|
|
1534
|
-
- Build knowledge search UI
|
|
1535
|
-
|
|
1536
|
-
### Cycle 81-90: Performance Optimization
|
|
1537
|
-
- Optimize vector search (batch index)
|
|
1538
|
-
- Cache frequent queries (1-hour TTL)
|
|
1539
|
-
- Parallel analysis (analyze 10 failures simultaneously)
|
|
1540
|
-
- Reduce analysis time from 10min → 2min
|
|
1541
|
-
|
|
1542
|
-
### Cycle 91-100: Deployment & Documentation
|
|
1543
|
-
- Deploy all services to Convex
|
|
1544
|
-
- Create operator guide
|
|
1545
|
-
- Write runbook for common issues
|
|
1546
|
-
- Train team on system usage
|
|
1547
|
-
- Monitor production metrics
|
|
1548
|
-
|
|
1549
|
-
---
|
|
1550
|
-
|
|
1551
|
-
## Knowledge Base Entry Format
|
|
1552
|
-
|
|
1553
|
-
When capturing lessons, use this structure:
|
|
1554
|
-
|
|
1555
|
-
```markdown
|
|
1556
|
-
# Lesson: [Title]
|
|
1557
|
-
|
|
1558
|
-
**Component:** backend | frontend | integration
|
|
1559
|
-
**Severity:** critical | high | medium | low
|
|
1560
|
-
**Occurrences:** N times
|
|
1561
|
-
**Last Occurrence:** [date]
|
|
1562
|
-
|
|
1563
|
-
## Problem
|
|
1564
|
-
|
|
1565
|
-
What went wrong and why.
|
|
1566
|
-
|
|
1567
|
-
## Root Cause
|
|
1568
|
-
|
|
1569
|
-
Technical explanation of why it happened.
|
|
1570
|
-
|
|
1571
|
-
## Solution
|
|
1572
|
-
|
|
1573
|
-
Code example and explanation.
|
|
1574
|
-
|
|
1575
|
-
\`\`\`typescript
|
|
1576
|
-
// Before (incorrect)
|
|
1577
|
-
const things = await ctx.db.query('things').collect()
|
|
1578
|
-
|
|
1579
|
-
// After (correct)
|
|
1580
|
-
const things = await ctx.db
|
|
1581
|
-
.query('things')
|
|
1582
|
-
.withIndex('by_groupId', q => q.eq('groupId', args.groupId))
|
|
1583
|
-
.collect()
|
|
1584
|
-
\`\`\`
|
|
1585
|
-
|
|
1586
|
-
## Prevention
|
|
1587
|
-
|
|
1588
|
-
Checklist to prevent this:
|
|
1589
|
-
- [ ] Always include groupId filter
|
|
1590
|
-
- [ ] Use index for performance
|
|
1591
|
-
- [ ] Add error for missing group
|
|
1592
|
-
- [ ] Write isolation test
|
|
1593
|
-
|
|
1594
|
-
## Related Patterns
|
|
1595
|
-
|
|
1596
|
-
- [Group-Scoped Query Pattern](/patterns/group-scoped-query)
|
|
1597
|
-
- [Multi-Tenant Isolation](/knowledge/multi-tenancy)
|
|
1598
|
-
|
|
1599
|
-
## References
|
|
1600
|
-
|
|
1601
|
-
- Lesson ID: [ID]
|
|
1602
|
-
- Related Issues: [IDs]
|
|
1603
|
-
- Pattern ID: [ID] (if promoted)
|
|
1604
|
-
```
|
|
1605
|
-
|
|
1606
|
-
---
|
|
1607
|
-
|
|
1608
|
-
## Quick Reference: Failure Categories
|
|
1609
|
-
|
|
1610
|
-
### 1. Schema Validation Errors
|
|
1611
|
-
**Root Cause:** Invalid data doesn't match schema
|
|
1612
|
-
**Solution:** Add schema validation, improve error messages
|
|
1613
|
-
**Prevention:** Type checking, pre-validation
|
|
1614
|
-
|
|
1615
|
-
### 2. Authorization Failures
|
|
1616
|
-
**Root Cause:** Missing role check or permission validation
|
|
1617
|
-
**Solution:** Add authorization guard, verify role
|
|
1618
|
-
**Prevention:** Policy as code, pre-request checks
|
|
1619
|
-
|
|
1620
|
-
### 3. Data Isolation Violations
|
|
1621
|
-
**Root Cause:** Missing groupId filter in query
|
|
1622
|
-
**Solution:** Add groupId scoping to all queries
|
|
1623
|
-
**Prevention:** Index-enforced groupId, automatic filtering
|
|
1624
|
-
|
|
1625
|
-
### 4. Event Logging Gaps
|
|
1626
|
-
**Root Cause:** Mutation doesn't emit event
|
|
1627
|
-
**Solution:** Add event emission to mutation
|
|
1628
|
-
**Prevention:** Template for all mutations, pre-commit check
|
|
1629
|
-
|
|
1630
|
-
### 5. Race Conditions
|
|
1631
|
-
**Root Cause:** Concurrent operations on same entity
|
|
1632
|
-
**Solution:** Add locking, improve transaction isolation
|
|
1633
|
-
**Prevention:** Stress testing, isolation level validation
|
|
1634
|
-
|
|
1635
|
-
### 6. Hydration Mismatches
|
|
1636
|
-
**Root Cause:** Server and client state divergent
|
|
1637
|
-
**Solution:** Ensure data fetched before render
|
|
1638
|
-
**Prevention:** SSR validation, hydration guards
|
|
1639
|
-
|
|
1640
|
-
### 7. API Response Format Errors
|
|
1641
|
-
**Root Cause:** Response doesn't match expected shape
|
|
1642
|
-
**Solution:** Add response validation, fix API
|
|
1643
|
-
**Prevention:** Type generation, contract testing
|
|
1644
|
-
|
|
1645
|
-
### 8. Database Transaction Failures
|
|
1646
|
-
**Root Cause:** Transaction conflict, constraint violation
|
|
1647
|
-
**Solution:** Retry logic, handle constraint errors
|
|
1648
|
-
**Prevention:** Isolation level testing, conflict detection
|
|
1649
|
-
|
|
1650
|
-
### 9. Service Initialization Failures
|
|
1651
|
-
**Root Cause:** Service not ready when called
|
|
1652
|
-
**Solution:** Add health checks, wait for ready
|
|
1653
|
-
**Prevention:** Readiness gates, dependency validation
|
|
1654
|
-
|
|
1655
|
-
### 10. Configuration/Environment Errors
|
|
1656
|
-
**Root Cause:** Missing env var, wrong setting
|
|
1657
|
-
**Solution:** Add env var, fix configuration
|
|
1658
|
-
**Prevention:** Schema validation for config, env templates
|
|
1659
|
-
|
|
1660
|
-
### 11. Performance/Timeout Failures
|
|
1661
|
-
**Root Cause:** Operation too slow, index missing
|
|
1662
|
-
**Solution:** Add index, optimize query, increase timeout
|
|
1663
|
-
**Prevention:** Performance budgets, baseline testing
|
|
1664
|
-
|
|
1665
|
-
### 12. Flaky/Intermittent Failures
|
|
1666
|
-
**Root Cause:** Timing-dependent, environmental
|
|
1667
|
-
**Solution:** Add waits, fix race condition, stabilize
|
|
1668
|
-
**Prevention:** Retry logic, delay injection, isolation
|
|
1669
|
-
|
|
1670
|
-
---
|
|
1671
|
-
|
|
1672
|
-
## Version History
|
|
1673
|
-
|
|
1674
|
-
- **v2.0.0** (Current) - Ontology-aligned, parallel monitoring, 10-minute SLA
|
|
1675
|
-
- **v1.0.0** - Initial problem solver framework (manual analysis)
|
|
1676
|
-
|
|
1677
|
-
---
|
|
1678
|
-
|
|
1679
|
-
**Problem Solver Agent v2.0.0**
|
|
1680
|
-
**Deep analysis. Root causes via 6 dimensions. Specific solutions. Every problem grows the knowledge graph.**
|
|
1681
|
-
|
|
1682
|
-
Created for Cycle 65-70 (E2E Testing & Failure Analysis)
|