oneie 3.6.14 → 3.6.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/agent-director.md +6 -6
- package/.claude/agents/agent-onboard.md +8 -8
- package/.claude/commands/cascade.md +49 -20
- package/.claude/commands/create.md +397 -0
- package/.claude/commands/npx.md +64 -113
- package/.claude/commands/one.md +10 -28
- package/.claude/commands/plan.md +65 -65
- package/.claude/commands/push.md +63 -452
- package/.claude/commands/release.md +26 -395
- package/.claude/hooks/README-knowledge-hooks.md +4 -4
- package/.claude/hooks/README.md +13 -13
- package/.claude/hooks/clean-root-markdown.sh +73 -0
- package/.claude/hooks/track-changes.sh +101 -0
- package/.claude/skills/ontology/README.md +1 -1
- package/CLAUDE.md +38 -25
- package/one/README.md +3 -3
- package/one/connections/documentation.md +1 -1
- package/one/connections/inference.md +9 -9
- package/one/connections/workflow-copy.md +1 -1
- package/one/connections/workflow-onboarding.md +85 -85
- package/one/connections/workflow.md +1 -1
- package/one/groups/groups.md +31 -31
- package/one/groups/one.md +26 -26
- package/one/knowledge/100-inference-quick-reference.md +38 -38
- package/one/knowledge/ai-token-crypto-analysis-framework.md +15 -15
- package/one/knowledge/archived/ontology.old.md +11 -11
- package/one/knowledge/audit-agent-onboard-alignment.md +1 -1
- package/one/knowledge/cli-claude-handoff.md +36 -36
- package/one/knowledge/crypto-analysis-strategy.md +8 -8
- package/one/knowledge/event-driven-documentation.md +270 -0
- package/one/knowledge/knowledge.md +28 -28
- package/one/knowledge/lessons-website-building-focus.md +1 -1
- package/one/knowledge/metadata-system.md +11 -11
- package/one/knowledge/ontology-crypto.md +19 -19
- package/one/knowledge/ontology-documentation.md +7 -7
- package/one/knowledge/ontology-engineering.md +3 -3
- package/one/knowledge/ontology-files.yaml +3 -3
- package/one/knowledge/ontology-release.md +3 -3
- package/one/knowledge/ontology.md +10 -10
- package/one/knowledge/ontology.yaml +7 -7
- package/one/knowledge/score.md +4 -4
- package/one/knowledge/todo-template.md +55 -55
- package/one/knowledge/todo.md +55 -55
- package/one/knowledge/typescript-patterns.md +1 -1
- package/one/knowledge/x402-research.md +1 -1
- package/one/people/anthony-o-connell.md +19 -19
- package/one/people/people.md +1 -1
- package/one/things/IMPLEMENTATION_STATUS.md +12 -12
- package/one/things/agents/agent-backend.md +4 -4
- package/one/things/agents/agent-clean.md +16 -16
- package/one/things/agents/agent-deploy.md +6 -6
- package/one/things/agents/agent-sales.md +6 -6
- package/one/things/claude/agents/nextjs-15-specialist.md +1 -1
- package/one/things/demo-design-summary.md +6 -6
- package/one/things/examples/enterprise/crm-saas.md +24 -24
- package/one/things/features/2-1-dataprovider-interface.md +6 -6
- package/one/things/features/2-3-effectts-services.md +7 -7
- package/one/things/features/2-4-react-hooks.md +4 -4
- package/one/things/features/2-cli.md +3 -3
- package/one/things/features/2-design.md +2 -2
- package/one/things/features/use-one-backend.md +2 -2
- package/one/things/files.yaml +3 -3
- package/one/things/implementation/backend-guide.md +1 -1
- package/one/things/interface.md +8 -8
- package/one/things/landing-page-implementation.md +10 -10
- package/one/things/legal/privacy-policy.md +2 -2
- package/one/things/legal/terms-of-service.md +6 -6
- package/one/things/master-workflow-plan.md +16 -16
- package/one/things/plans/0-in-sync.md +136 -0
- package/one/things/plans/SIMPLIFICATION-SUMMARY.md +4 -4
- package/one/things/plans/ai-elements.md +7 -7
- package/one/things/plans/ai-integration.md +3 -3
- package/one/things/plans/ai-sdk.md +8 -8
- package/one/things/plans/backend-cleanup-quickstart.md +3 -3
- package/one/things/plans/backend-ontology-conformance.md +40 -40
- package/one/things/plans/backend-status.md +6 -6
- package/one/things/plans/backend-target-structure.md +2 -2
- package/one/things/plans/backend.md +1 -1
- package/one/things/plans/better-auth-any-backend.md +1 -1
- package/one/things/plans/components.md +32 -32
- package/one/things/plans/convex-agents.md +8 -8
- package/one/things/plans/deep-researcher-agent.md +1 -1
- package/one/things/plans/development-plan.md +49 -49
- package/one/things/plans/development-workflow.md +1 -1
- package/one/things/plans/effect.md +6 -6
- package/one/things/plans/execution-strategy.md +61 -61
- package/one/things/plans/existing-infrastructure.md +1 -1
- package/one/things/plans/frontend-effects.md +10 -10
- package/one/things/plans/group-folder-multi-tenancy.md +95 -95
- package/one/things/plans/integrate-frontend-and-backend.md +9 -9
- package/one/things/plans/onboarding.md +2 -2
- package/one/things/plans/ontology-6-dimensions.md +7 -7
- package/one/things/plans/ontology-compliance-audit.md +1 -1
- package/one/things/plans/phase-1-foundation.md +12 -12
- package/one/things/plans/readme-backend-cleanup.md +3 -3
- package/one/things/plans/sequence.md +129 -129
- package/one/things/plans/skills.md +30 -30
- package/one/things/plans/start-new.md +5 -5
- package/one/things/plans/sync-checklist.md +4 -4
- package/one/things/plans/unified-implementation-plan.md +1 -1
- package/one/things/plans/update-demos.md +53 -53
- package/one/things/plans/use-our-backend.md +30 -30
- package/one/things/plans/wave1-onboarding-100-inferences.md +152 -152
- package/one/things/plans/wave1-onboarding-vision.md +7 -7
- package/one/things/plans/wave1-orchestration-summary.md +67 -67
- package/one/things/plans/wave1-specialist-assignments.md +121 -121
- package/one/things/products/ontology.md +2 -2
- package/one/things/repos/all-repos.md +0 -0
- package/one/things/structure.md +2 -2
- package/one/things/tests/2-1-dataprovider-interface.md +2 -2
- package/one/things/tests/2-1-test-analysis.md +1 -1
- package/one/things/things.md +3 -3
- package/one/things/todo-acp-integration.md +33 -33
- package/one/things/todo-ai.md +37 -37
- package/one/things/todo-api.md +114 -114
- package/one/things/todo-assignment.md +39 -39
- package/one/things/todo-buy-chatgpt.md +113 -113
- package/one/things/todo-components.md +211 -211
- package/one/things/todo-ecommerce-frontend.md +82 -82
- package/one/things/todo-ecommerce.md +36 -36
- package/one/things/todo-effects.md +36 -36
- package/one/things/todo-frontend-effects.md +25 -25
- package/one/things/todo-landing-page.md +63 -63
- package/one/things/todo-mail.md +73 -73
- package/one/things/todo-master-plan.md +32 -32
- package/one/things/todo-onboard.md +48 -48
- package/one/things/todo-one-ie.md +48 -48
- package/one/things/todo-page.md +42 -42
- package/one/things/todo-plans.md +48 -48
- package/one/things/todo-refactoring-plan.md +5 -5
- package/one/things/todo-sequence.md +98 -98
- package/one/things/todo-use-our-backend.md +219 -219
- package/one/things/todo-x402.md +116 -116
- package/one/things/video-script-ontology.md +20 -20
- package/package.json +7 -2
- package/.claude/commands/build.md +0 -293
- package/one/.claude/settings.local.json +0 -11
- package/one/.obsidian/app.json +0 -8
- package/one/.obsidian/appearance.json +0 -1
- package/one/.obsidian/community-plugins.json +0 -5
- package/one/.obsidian/core-plugins.json +0 -33
- package/one/.obsidian/plugins/easy-bake/main.js +0 -361
- package/one/.obsidian/plugins/easy-bake/manifest.json +0 -11
- package/one/.obsidian/plugins/easy-bake/styles.css +0 -10
- package/one/.obsidian/plugins/editing-toolbar/data.json +0 -328
- package/one/.obsidian/plugins/editing-toolbar/main.js +0 -12
- package/one/.obsidian/plugins/editing-toolbar/manifest.json +0 -10
- package/one/.obsidian/plugins/editing-toolbar/styles.css +0 -1338
- package/one/.obsidian/plugins/terminal/data.json +0 -154
- package/one/.obsidian/plugins/terminal/main.js +0 -197
- package/one/.obsidian/plugins/terminal/manifest.json +0 -14
- package/one/.obsidian/plugins/terminal/styles.css +0 -32
- package/one/.obsidian/workspace.json +0 -266
- 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/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/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/CLAUDE copy.md +0 -897
- package/one/events/CLEANUP-RELEASE-V2.0.8.md +0 -308
- package/one/events/CONNECTIONS_DEMO.md +0 -519
- package/one/events/CREATE-WEBSITE.md +0 -460
- package/one/events/CRITICAL-FIXES-COMPLETE.md +0 -522
- package/one/events/CUSTOM-DOMAIN.md +0 -375
- package/one/events/DELIVERABLES.md +0 -450
- 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/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-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/FEATURE-2-4-COMPLETE.md +0 -320
- package/one/events/FEATURE_2_3_COMPLETE.md +0 -593
- 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-SUMMARY-FINAL.md +0 -521
- package/one/events/IMPLEMENTATION_SUMMARY.md +0 -547
- 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/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 -1645
- package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +0 -591
- 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 -543
- package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +0 -473
- 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/PLAYBOOK-SETUP-SUMMARY.md +0 -349
- package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +0 -585
- package/one/events/QA-CHECKLIST.md +0 -692
- package/one/events/QUICK-START-ONTOLOGY.md +0 -426
- package/one/events/README-archived.md +0 -537
- 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/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/VIEW-TRANSITIONS.md +0 -446
- package/one/events/agent-director-enhancement-summary.md +0 -404
- package/one/events/agent-onboard-implementation-summary.md +0 -475
- package/one/events/agent-ontology-alignment-completion.md +0 -263
- 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/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/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/events.md +0 -563
- 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/onboarding-implementation-complete.md +0 -523
- package/one/events/ontology-test-examples.md +0 -580
- package/one/events/phase1-backend-implementation-complete.md +0 -536
- package/one/events/release.md +0 -272
- package/one/events/root-cleanup-alignment-report.md +0 -265
- package/one/events/separate-implementation-status.md +0 -555
- 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/structural-analysis-architecture-vs-plans.md +0 -559
- package/one/events/test-dashboard.md +0 -363
- package/one/events/test-index.md +0 -379
- package/one/events/test-report-ontology.md +0 -600
- package/one/events/testing-summary.md +0 -362
- package/one/events/todo-refactoring-complete.md +0 -408
- package/one/events/wave1-backend-implementation-complete.md +0 -698
|
@@ -3,7 +3,7 @@ title: Todo Use Our Backend
|
|
|
3
3
|
dimension: things
|
|
4
4
|
primary_dimension: things
|
|
5
5
|
category: todo-use-our-backend.md
|
|
6
|
-
tags: agent, ai, backend, connections, convex, events, groups,
|
|
6
|
+
tags: agent, ai, backend, connections, convex, events, groups, cycle, knowledge, ontology
|
|
7
7
|
related_dimensions: connections, events, groups, knowledge, people
|
|
8
8
|
scope: global
|
|
9
9
|
created: 2025-11-03
|
|
@@ -12,12 +12,12 @@ version: 1.0.0
|
|
|
12
12
|
ai_context: |
|
|
13
13
|
This document is part of the things dimension in the todo-use-our-backend.md category.
|
|
14
14
|
Location: one/things/todo-use-our-backend.md
|
|
15
|
-
Purpose: Documents backend api service - 100
|
|
15
|
+
Purpose: Documents backend api service - 100 cycle todo list
|
|
16
16
|
Related dimensions: connections, events, groups, knowledge, people
|
|
17
17
|
For AI agents: Read this to understand todo use our backend.
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
-
# Backend API Service - 100
|
|
20
|
+
# Backend API Service - 100 Cycle Todo List
|
|
21
21
|
|
|
22
22
|
**Feature:** External API Access to ONE Platform Backend
|
|
23
23
|
**Status:** Planning Complete → Ready for Execution
|
|
@@ -25,16 +25,16 @@ ai_context: |
|
|
|
25
25
|
|
|
26
26
|
## Overview
|
|
27
27
|
|
|
28
|
-
This document tracks all 100
|
|
28
|
+
This document tracks all 100 cycles for implementing the Backend-as-a-Service feature, allowing external developers to consume the ONE Platform backend via API keys with full 6-dimension ontology access and multi-tenant group isolation.
|
|
29
29
|
|
|
30
30
|
---
|
|
31
31
|
|
|
32
|
-
## Foundation Phase (
|
|
32
|
+
## Foundation Phase (Cycle 1-10)
|
|
33
33
|
|
|
34
34
|
**Agent:** agent-director
|
|
35
35
|
**Goal:** Validate idea, map to ontology, create execution plan
|
|
36
36
|
|
|
37
|
-
### ✅
|
|
37
|
+
### ✅ Cycle 1: Validate Idea Against 6-Dimension Ontology
|
|
38
38
|
|
|
39
39
|
**Status:** ✅ Complete
|
|
40
40
|
**Task:** Ensure API service maps cleanly to Groups, People, Things, Connections, Events, Knowledge
|
|
@@ -47,7 +47,7 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
47
47
|
- Events: api_request_made, api_key_generated, quota_exceeded ✅
|
|
48
48
|
- Knowledge: API docs via RAG, error message search ✅
|
|
49
49
|
|
|
50
|
-
### ✅
|
|
50
|
+
### ✅ Cycle 2: Map Entity Types
|
|
51
51
|
|
|
52
52
|
**Status:** ✅ Complete
|
|
53
53
|
**New Entity Types:**
|
|
@@ -61,7 +61,7 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
61
61
|
|
|
62
62
|
- All 66+ entity types available through authenticated endpoints
|
|
63
63
|
|
|
64
|
-
### ✅
|
|
64
|
+
### ✅ Cycle 3: Identify Connection Types
|
|
65
65
|
|
|
66
66
|
**Status:** ✅ Complete
|
|
67
67
|
**New Connection Types:**
|
|
@@ -71,7 +71,7 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
71
71
|
- `belongs_to_org` - api_application → group
|
|
72
72
|
- `has_quota` - api_application → api_quota
|
|
73
73
|
|
|
74
|
-
### ✅
|
|
74
|
+
### ✅ Cycle 4: List Event Types
|
|
75
75
|
|
|
76
76
|
**Status:** ✅ Complete
|
|
77
77
|
**New Event Types:**
|
|
@@ -83,7 +83,7 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
83
83
|
- `api_auth_failed` - Invalid key used
|
|
84
84
|
- `api_application_registered` - New app registered
|
|
85
85
|
|
|
86
|
-
### ✅
|
|
86
|
+
### ✅ Cycle 5: Determine Knowledge Requirements
|
|
87
87
|
|
|
88
88
|
**Status:** ✅ Complete
|
|
89
89
|
**Knowledge Dimension Usage:**
|
|
@@ -93,7 +93,7 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
93
93
|
- Usage pattern learning for UX improvements
|
|
94
94
|
- Auto-completion suggestions based on context
|
|
95
95
|
|
|
96
|
-
### ✅
|
|
96
|
+
### ✅ Cycle 6: Identify Organization Scope
|
|
97
97
|
|
|
98
98
|
**Status:** ✅ Complete
|
|
99
99
|
**Multi-Tenant Strategy:**
|
|
@@ -103,7 +103,7 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
103
103
|
- All API requests automatically scoped to authenticated org's groupId
|
|
104
104
|
- Complete data isolation enforced by schema
|
|
105
105
|
|
|
106
|
-
### ✅
|
|
106
|
+
### ✅ Cycle 7: Define People Roles
|
|
107
107
|
|
|
108
108
|
**Status:** ✅ Complete
|
|
109
109
|
**Roles:**
|
|
@@ -112,13 +112,13 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
112
112
|
- `service_account` - Non-human actor representing API application
|
|
113
113
|
- Permissions: read-only, read-write, admin (via API key scopes)
|
|
114
114
|
|
|
115
|
-
### ✅
|
|
115
|
+
### ✅ Cycle 8: Create Vision Document
|
|
116
116
|
|
|
117
117
|
**Status:** ✅ Complete
|
|
118
118
|
**Deliverable:** `/one/things/plans/use-our-backend.md`
|
|
119
119
|
**Content:** Executive summary, architecture, implementation phases, success metrics
|
|
120
120
|
|
|
121
|
-
### ✅
|
|
121
|
+
### ✅ Cycle 9: Break Down Features
|
|
122
122
|
|
|
123
123
|
**Status:** ✅ Complete
|
|
124
124
|
**10 Major Components:**
|
|
@@ -134,22 +134,22 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
134
134
|
9. SDKs (JS, Python, Go, Ruby)
|
|
135
135
|
10. Monitoring & Operations
|
|
136
136
|
|
|
137
|
-
### ✅
|
|
137
|
+
### ✅ Cycle 10: Create 100-Cycle Plan
|
|
138
138
|
|
|
139
139
|
**Status:** ✅ Complete
|
|
140
140
|
**Deliverable:** This file (`/one/things/todo-use-our-backend.md`)
|
|
141
141
|
|
|
142
142
|
---
|
|
143
143
|
|
|
144
|
-
## Backend Phase: Schema Design (
|
|
144
|
+
## Backend Phase: Schema Design (Cycle 11-15)
|
|
145
145
|
|
|
146
146
|
**Agent:** agent-backend
|
|
147
147
|
**Goal:** Design database schema for API entities
|
|
148
148
|
|
|
149
|
-
### ⏳
|
|
149
|
+
### ⏳ Cycle 11: Extend Things Schema with API Entity Types
|
|
150
150
|
|
|
151
151
|
**Status:** Pending
|
|
152
|
-
**Dependencies:**
|
|
152
|
+
**Dependencies:** Cycle 1-10 (Foundation complete)
|
|
153
153
|
**Task:** Add entity type definitions for api_key, api_application, service_account, api_quota
|
|
154
154
|
**File:** `backend/convex/schema.ts`
|
|
155
155
|
**Acceptance Criteria:**
|
|
@@ -160,10 +160,10 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
160
160
|
- [ ] `api_quota` type with properties: tier (starter/pro/enterprise), limits, usage stats
|
|
161
161
|
- [ ] All types inherit base fields: \_id, type, name, properties, status, groupId, createdAt, updatedAt
|
|
162
162
|
|
|
163
|
-
### ⏳
|
|
163
|
+
### ⏳ Cycle 12: Add Database Indexes for API Key Lookup
|
|
164
164
|
|
|
165
165
|
**Status:** Pending
|
|
166
|
-
**Dependencies:**
|
|
166
|
+
**Dependencies:** Cycle 11
|
|
167
167
|
**Task:** Create indexes for fast API key validation and lookup
|
|
168
168
|
**File:** `backend/convex/schema.ts`
|
|
169
169
|
**Acceptance Criteria:**
|
|
@@ -173,10 +173,10 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
173
173
|
- [ ] Index on `things.type` + `things.status` for active key filtering
|
|
174
174
|
- [ ] Index on `things.properties.expiresAt` for expired key cleanup
|
|
175
175
|
|
|
176
|
-
### ⏳
|
|
176
|
+
### ⏳ Cycle 13: Design Connection Types for API Relationships
|
|
177
177
|
|
|
178
178
|
**Status:** Pending
|
|
179
|
-
**Dependencies:**
|
|
179
|
+
**Dependencies:** Cycle 11
|
|
180
180
|
**Task:** Add connection type definitions for API entity relationships
|
|
181
181
|
**File:** `backend/convex/schema.ts`
|
|
182
182
|
**Acceptance Criteria:**
|
|
@@ -187,10 +187,10 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
187
187
|
- [ ] `has_quota` connection (api_application → api_quota)
|
|
188
188
|
- [ ] All connections include bidirectional fields, validFrom/validTo, groupId
|
|
189
189
|
|
|
190
|
-
### ⏳
|
|
190
|
+
### ⏳ Cycle 14: Plan Event Types for API Audit Trail
|
|
191
191
|
|
|
192
192
|
**Status:** Pending
|
|
193
|
-
**Dependencies:**
|
|
193
|
+
**Dependencies:** Cycle 11
|
|
194
194
|
**Task:** Define event schemas for API operations
|
|
195
195
|
**File:** `backend/convex/schema.ts`
|
|
196
196
|
**Acceptance Criteria:**
|
|
@@ -202,10 +202,10 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
202
202
|
- [ ] `api_auth_failed` event with metadata: keyPrefix, reason, ipAddress
|
|
203
203
|
- [ ] `api_application_registered` event with metadata: applicationId, initialScopes
|
|
204
204
|
|
|
205
|
-
### ⏳
|
|
205
|
+
### ⏳ Cycle 15: Create Schema Migration Strategy
|
|
206
206
|
|
|
207
207
|
**Status:** Pending
|
|
208
|
-
**Dependencies:**
|
|
208
|
+
**Dependencies:** Cycle 11-14
|
|
209
209
|
**Task:** Plan backward-compatible schema changes
|
|
210
210
|
**File:** `backend/convex/migrations/add-api-entities.ts`
|
|
211
211
|
**Acceptance Criteria:**
|
|
@@ -217,15 +217,15 @@ This document tracks all 100 inferences for implementing the Backend-as-a-Servic
|
|
|
217
217
|
|
|
218
218
|
---
|
|
219
219
|
|
|
220
|
-
## Backend Phase: Authentication Service (
|
|
220
|
+
## Backend Phase: Authentication Service (Cycle 16-20)
|
|
221
221
|
|
|
222
222
|
**Agent:** agent-backend
|
|
223
223
|
**Goal:** Implement API key generation, validation, and scoping
|
|
224
224
|
|
|
225
|
-
### ⏳
|
|
225
|
+
### ⏳ Cycle 16: Implement API Key Generation
|
|
226
226
|
|
|
227
227
|
**Status:** Pending
|
|
228
|
-
**Dependencies:**
|
|
228
|
+
**Dependencies:** Cycle 15 (Schema ready)
|
|
229
229
|
**Task:** Create secure API key generation service
|
|
230
230
|
**File:** `backend/convex/mutations/api-keys.ts`
|
|
231
231
|
**Acceptance Criteria:**
|
|
@@ -252,10 +252,10 @@ export const generateApiKey = mutation({
|
|
|
252
252
|
});
|
|
253
253
|
```
|
|
254
254
|
|
|
255
|
-
### ⏳
|
|
255
|
+
### ⏳ Cycle 17: Create API Key Validation Middleware
|
|
256
256
|
|
|
257
257
|
**Status:** Pending
|
|
258
|
-
**Dependencies:**
|
|
258
|
+
**Dependencies:** Cycle 16
|
|
259
259
|
**Task:** Build middleware to validate API keys on every request
|
|
260
260
|
**File:** `backend/convex/lib/api-auth.ts`
|
|
261
261
|
**Acceptance Criteria:**
|
|
@@ -279,10 +279,10 @@ export async function validateApiKey(
|
|
|
279
279
|
}
|
|
280
280
|
```
|
|
281
281
|
|
|
282
|
-
### ⏳
|
|
282
|
+
### ⏳ Cycle 18: Build Scope Verification System
|
|
283
283
|
|
|
284
284
|
**Status:** Pending
|
|
285
|
-
**Dependencies:**
|
|
285
|
+
**Dependencies:** Cycle 17
|
|
286
286
|
**Task:** Implement fine-grained permission checking based on API key scopes
|
|
287
287
|
**File:** `backend/convex/lib/api-auth.ts`
|
|
288
288
|
**Acceptance Criteria:**
|
|
@@ -302,10 +302,10 @@ export async function validateApiKey(
|
|
|
302
302
|
- `groups:read`, `groups:write`
|
|
303
303
|
- `api_keys:manage`, `quota:view`
|
|
304
304
|
|
|
305
|
-
### ⏳
|
|
305
|
+
### ⏳ Cycle 19: Add Rate Limiting
|
|
306
306
|
|
|
307
307
|
**Status:** Pending
|
|
308
|
-
**Dependencies:**
|
|
308
|
+
**Dependencies:** Cycle 17
|
|
309
309
|
**Task:** Implement rate limiting per API key using @convex-dev/rate-limiter
|
|
310
310
|
**File:** `backend/convex/lib/rate-limit.ts`
|
|
311
311
|
**Acceptance Criteria:**
|
|
@@ -329,10 +329,10 @@ const rateLimiter = new RateLimiter(ctx.db, {
|
|
|
329
329
|
await rateLimiter.limit(ctx, `api_key:${keyId}`);
|
|
330
330
|
```
|
|
331
331
|
|
|
332
|
-
### ⏳
|
|
332
|
+
### ⏳ Cycle 20: Implement Key Rotation Mechanism
|
|
333
333
|
|
|
334
334
|
**Status:** Pending
|
|
335
|
-
**Dependencies:**
|
|
335
|
+
**Dependencies:** Cycle 16-19
|
|
336
336
|
**Task:** Allow users to rotate API keys without downtime
|
|
337
337
|
**File:** `backend/convex/mutations/api-keys.ts`
|
|
338
338
|
**Acceptance Criteria:**
|
|
@@ -345,15 +345,15 @@ await rateLimiter.limit(ctx, `api_key:${keyId}`);
|
|
|
345
345
|
|
|
346
346
|
---
|
|
347
347
|
|
|
348
|
-
## Backend Phase: Group Scoping Service (
|
|
348
|
+
## Backend Phase: Group Scoping Service (Cycle 21-25)
|
|
349
349
|
|
|
350
350
|
**Agent:** agent-backend
|
|
351
351
|
**Goal:** Ensure complete multi-tenant data isolation
|
|
352
352
|
|
|
353
|
-
### ⏳
|
|
353
|
+
### ⏳ Cycle 21: Create Automatic GroupId Injection Middleware
|
|
354
354
|
|
|
355
355
|
**Status:** Pending
|
|
356
|
-
**Dependencies:**
|
|
356
|
+
**Dependencies:** Cycle 17 (API key validation complete)
|
|
357
357
|
**Task:** Automatically scope all API requests to authenticated organization's groupId
|
|
358
358
|
**File:** `backend/convex/lib/group-scoping.ts`
|
|
359
359
|
**Acceptance Criteria:**
|
|
@@ -380,10 +380,10 @@ export function withGroupScoping<T>(
|
|
|
380
380
|
}
|
|
381
381
|
```
|
|
382
382
|
|
|
383
|
-
### ⏳
|
|
383
|
+
### ⏳ Cycle 22: Implement Organization Isolation Checks
|
|
384
384
|
|
|
385
385
|
**Status:** Pending
|
|
386
|
-
**Dependencies:**
|
|
386
|
+
**Dependencies:** Cycle 21
|
|
387
387
|
**Task:** Verify queries/mutations only access data within authenticated organization
|
|
388
388
|
**File:** `backend/convex/lib/group-scoping.ts`
|
|
389
389
|
**Acceptance Criteria:**
|
|
@@ -394,10 +394,10 @@ export function withGroupScoping<T>(
|
|
|
394
394
|
- [ ] Write operations enforce groupId constraint
|
|
395
395
|
- [ ] Delete operations verify ownership before deletion
|
|
396
396
|
|
|
397
|
-
### ⏳
|
|
397
|
+
### ⏳ Cycle 23: Build Hierarchical Group Access Rules
|
|
398
398
|
|
|
399
399
|
**Status:** Pending
|
|
400
|
-
**Dependencies:**
|
|
400
|
+
**Dependencies:** Cycle 22
|
|
401
401
|
**Task:** Allow parent groups to access child group data (configurable)
|
|
402
402
|
**File:** `backend/convex/lib/group-scoping.ts`
|
|
403
403
|
**Acceptance Criteria:**
|
|
@@ -408,10 +408,10 @@ export function withGroupScoping<T>(
|
|
|
408
408
|
- [ ] Respect group settings (`allowParentAccess` boolean)
|
|
409
409
|
- [ ] Log hierarchical access attempts
|
|
410
410
|
|
|
411
|
-
### ⏳
|
|
411
|
+
### ⏳ Cycle 24: Add Cross-Group Query Prevention
|
|
412
412
|
|
|
413
413
|
**Status:** Pending
|
|
414
|
-
**Dependencies:**
|
|
414
|
+
**Dependencies:** Cycle 23
|
|
415
415
|
**Task:** Prevent accidental data leakage via joins/relationships
|
|
416
416
|
**File:** `backend/convex/lib/group-scoping.ts`
|
|
417
417
|
**Acceptance Criteria:**
|
|
@@ -422,10 +422,10 @@ export function withGroupScoping<T>(
|
|
|
422
422
|
- [ ] Validate webhook payloads don't leak cross-group data
|
|
423
423
|
- [ ] Add integration tests for isolation
|
|
424
424
|
|
|
425
|
-
### ⏳
|
|
425
|
+
### ⏳ Cycle 25: Implement Audit Logging for API Requests
|
|
426
426
|
|
|
427
427
|
**Status:** Pending
|
|
428
|
-
**Dependencies:**
|
|
428
|
+
**Dependencies:** Cycle 21-24
|
|
429
429
|
**Task:** Log every API request as an event for security and analytics
|
|
430
430
|
**File:** `backend/convex/lib/api-audit.ts`
|
|
431
431
|
**Acceptance Criteria:**
|
|
@@ -438,15 +438,15 @@ export function withGroupScoping<T>(
|
|
|
438
438
|
|
|
439
439
|
---
|
|
440
440
|
|
|
441
|
-
## Backend Phase: API Gateway Layer (
|
|
441
|
+
## Backend Phase: API Gateway Layer (Cycle 26-30)
|
|
442
442
|
|
|
443
443
|
**Agent:** agent-backend
|
|
444
444
|
**Goal:** Create public REST-style endpoints over Convex HTTP
|
|
445
445
|
|
|
446
|
-
### ⏳
|
|
446
|
+
### ⏳ Cycle 26: Create Public API Endpoints
|
|
447
447
|
|
|
448
448
|
**Status:** Pending
|
|
449
|
-
**Dependencies:**
|
|
449
|
+
**Dependencies:** Cycle 25 (Auth & scoping complete)
|
|
450
450
|
**Task:** Implement RESTful HTTP endpoints for all operations
|
|
451
451
|
**File:** `backend/convex/http.ts`
|
|
452
452
|
**Acceptance Criteria:**
|
|
@@ -486,10 +486,10 @@ http.route({
|
|
|
486
486
|
});
|
|
487
487
|
```
|
|
488
488
|
|
|
489
|
-
### ⏳
|
|
489
|
+
### ⏳ Cycle 27: Implement Request/Response Transformers
|
|
490
490
|
|
|
491
491
|
**Status:** Pending
|
|
492
|
-
**Dependencies:**
|
|
492
|
+
**Dependencies:** Cycle 26
|
|
493
493
|
**Task:** Transform Convex native types to/from JSON for HTTP
|
|
494
494
|
**File:** `backend/convex/lib/transformers.ts`
|
|
495
495
|
**Acceptance Criteria:**
|
|
@@ -500,10 +500,10 @@ http.route({
|
|
|
500
500
|
- [ ] Transform `properties` field (preserve arbitrary JSON)
|
|
501
501
|
- [ ] Validate request schemas (return 400 Bad Request for invalid)
|
|
502
502
|
|
|
503
|
-
### ⏳
|
|
503
|
+
### ⏳ Cycle 28: Add Error Handling with HTTP Status Codes
|
|
504
504
|
|
|
505
505
|
**Status:** Pending
|
|
506
|
-
**Dependencies:**
|
|
506
|
+
**Dependencies:** Cycle 26
|
|
507
507
|
**Task:** Map errors to appropriate HTTP status codes with helpful messages
|
|
508
508
|
**File:** `backend/convex/lib/error-handler.ts`
|
|
509
509
|
**Acceptance Criteria:**
|
|
@@ -529,10 +529,10 @@ http.route({
|
|
|
529
529
|
}
|
|
530
530
|
```
|
|
531
531
|
|
|
532
|
-
### ⏳
|
|
532
|
+
### ⏳ Cycle 29: Build Response Pagination System
|
|
533
533
|
|
|
534
534
|
**Status:** Pending
|
|
535
|
-
**Dependencies:**
|
|
535
|
+
**Dependencies:** Cycle 26
|
|
536
536
|
**Task:** Add cursor-based pagination for list endpoints
|
|
537
537
|
**File:** `backend/convex/lib/pagination.ts`
|
|
538
538
|
**Acceptance Criteria:**
|
|
@@ -556,10 +556,10 @@ http.route({
|
|
|
556
556
|
}
|
|
557
557
|
```
|
|
558
558
|
|
|
559
|
-
### ⏳
|
|
559
|
+
### ⏳ Cycle 30: Create Webhook Delivery System
|
|
560
560
|
|
|
561
561
|
**Status:** Pending
|
|
562
|
-
**Dependencies:**
|
|
562
|
+
**Dependencies:** Cycle 26-29
|
|
563
563
|
**Task:** Deliver events to customer webhooks in real-time
|
|
564
564
|
**File:** `backend/convex/lib/webhooks.ts`
|
|
565
565
|
**Acceptance Criteria:**
|
|
@@ -574,15 +574,15 @@ http.route({
|
|
|
574
574
|
|
|
575
575
|
---
|
|
576
576
|
|
|
577
|
-
## Frontend Phase: API Keys Management Page (
|
|
577
|
+
## Frontend Phase: API Keys Management Page (Cycle 31-35)
|
|
578
578
|
|
|
579
579
|
**Agent:** agent-frontend
|
|
580
580
|
**Goal:** UI for developers to manage API keys
|
|
581
581
|
|
|
582
|
-
### ⏳
|
|
582
|
+
### ⏳ Cycle 31: Design API Keys Management Page Wireframe
|
|
583
583
|
|
|
584
584
|
**Status:** Pending
|
|
585
|
-
**Dependencies:**
|
|
585
|
+
**Dependencies:** Cycle 30 (Backend API complete)
|
|
586
586
|
**Task:** Create wireframe satisfying user stories
|
|
587
587
|
**File:** `one/things/wireframes/api-keys-page.md`
|
|
588
588
|
**Acceptance Criteria:**
|
|
@@ -593,10 +593,10 @@ http.route({
|
|
|
593
593
|
- [ ] Actions: Copy key (if just created), Revoke, Edit scopes
|
|
594
594
|
- [ ] Responsive design (mobile + desktop)
|
|
595
595
|
|
|
596
|
-
### ⏳
|
|
596
|
+
### ⏳ Cycle 32: Implement Key Generation UI
|
|
597
597
|
|
|
598
598
|
**Status:** Pending
|
|
599
|
-
**Dependencies:**
|
|
599
|
+
**Dependencies:** Cycle 31
|
|
600
600
|
**Task:** Build modal/form for creating new API keys
|
|
601
601
|
**File:** `web/src/components/features/api-keys/GenerateKeyModal.tsx`
|
|
602
602
|
**Acceptance Criteria:**
|
|
@@ -609,10 +609,10 @@ http.route({
|
|
|
609
609
|
- [ ] Automatically copy to clipboard
|
|
610
610
|
- [ ] Close modal after key saved/copied
|
|
611
611
|
|
|
612
|
-
### ⏳
|
|
612
|
+
### ⏳ Cycle 33: Create Key Listing with Usage Stats
|
|
613
613
|
|
|
614
614
|
**Status:** Pending
|
|
615
|
-
**Dependencies:**
|
|
615
|
+
**Dependencies:** Cycle 32
|
|
616
616
|
**Task:** Display all API keys with usage information
|
|
617
617
|
**File:** `web/src/components/features/api-keys/ApiKeyList.tsx`
|
|
618
618
|
**Acceptance Criteria:**
|
|
@@ -625,10 +625,10 @@ http.route({
|
|
|
625
625
|
- [ ] Color-code status: green (active), red (revoked), yellow (expiring soon)
|
|
626
626
|
- [ ] Loading skeleton while fetching
|
|
627
627
|
|
|
628
|
-
### ⏳
|
|
628
|
+
### ⏳ Cycle 34: Add Key Revocation Interface
|
|
629
629
|
|
|
630
630
|
**Status:** Pending
|
|
631
|
-
**Dependencies:**
|
|
631
|
+
**Dependencies:** Cycle 33
|
|
632
632
|
**Task:** Allow users to revoke API keys with confirmation
|
|
633
633
|
**File:** `web/src/components/features/api-keys/RevokeKeyDialog.tsx`
|
|
634
634
|
**Acceptance Criteria:**
|
|
@@ -640,10 +640,10 @@ http.route({
|
|
|
640
640
|
- [ ] Show success toast: "API key revoked"
|
|
641
641
|
- [ ] Update key list (mark as revoked, gray out)
|
|
642
642
|
|
|
643
|
-
### ⏳
|
|
643
|
+
### ⏳ Cycle 35: Show Last Used Timestamp and IP
|
|
644
644
|
|
|
645
645
|
**Status:** Pending
|
|
646
|
-
**Dependencies:**
|
|
646
|
+
**Dependencies:** Cycle 33
|
|
647
647
|
**Task:** Display detailed usage info for security monitoring
|
|
648
648
|
**File:** `web/src/components/features/api-keys/ApiKeyDetails.tsx`
|
|
649
649
|
**Acceptance Criteria:**
|
|
@@ -656,15 +656,15 @@ http.route({
|
|
|
656
656
|
|
|
657
657
|
---
|
|
658
658
|
|
|
659
|
-
## Frontend Phase: API Documentation Portal (
|
|
659
|
+
## Frontend Phase: API Documentation Portal (Cycle 36-40)
|
|
660
660
|
|
|
661
661
|
**Agent:** agent-frontend
|
|
662
662
|
**Goal:** Interactive docs for developers
|
|
663
663
|
|
|
664
|
-
### ⏳
|
|
664
|
+
### ⏳ Cycle 36: Design Documentation Portal Wireframe
|
|
665
665
|
|
|
666
666
|
**Status:** Pending
|
|
667
|
-
**Dependencies:**
|
|
667
|
+
**Dependencies:** Cycle 30 (Backend API complete)
|
|
668
668
|
**Task:** Create wireframe for API docs site
|
|
669
669
|
**File:** `one/things/wireframes/api-docs-portal.md`
|
|
670
670
|
**Acceptance Criteria:**
|
|
@@ -675,10 +675,10 @@ http.route({
|
|
|
675
675
|
- [ ] Code examples in multiple languages (tabs for JS/Python/Go/Ruby)
|
|
676
676
|
- [ ] Responsive (collapsible sidebar on mobile)
|
|
677
677
|
|
|
678
|
-
### ⏳
|
|
678
|
+
### ⏳ Cycle 37: Implement Interactive API Explorer
|
|
679
679
|
|
|
680
680
|
**Status:** Pending
|
|
681
|
-
**Dependencies:**
|
|
681
|
+
**Dependencies:** Cycle 36
|
|
682
682
|
**Task:** Build "Try It" console for testing endpoints
|
|
683
683
|
**File:** `web/src/components/features/docs/ApiExplorer.tsx`
|
|
684
684
|
**Acceptance Criteria:**
|
|
@@ -691,10 +691,10 @@ http.route({
|
|
|
691
691
|
- [ ] Save request as cURL command
|
|
692
692
|
- [ ] Generate code snippet in selected language
|
|
693
693
|
|
|
694
|
-
### ⏳
|
|
694
|
+
### ⏳ Cycle 38: Add Code Examples in 5+ Languages
|
|
695
695
|
|
|
696
696
|
**Status:** Pending
|
|
697
|
-
**Dependencies:**
|
|
697
|
+
**Dependencies:** Cycle 36
|
|
698
698
|
**Task:** Provide copy-pasteable examples for common operations
|
|
699
699
|
**File:** `web/src/content/docs/code-examples/`
|
|
700
700
|
**Acceptance Criteria:**
|
|
@@ -725,10 +725,10 @@ const course = await client.entities.create({
|
|
|
725
725
|
});
|
|
726
726
|
```
|
|
727
727
|
|
|
728
|
-
### ⏳
|
|
728
|
+
### ⏳ Cycle 39: Show Real-Time Usage Stats in Docs
|
|
729
729
|
|
|
730
730
|
**Status:** Pending
|
|
731
|
-
**Dependencies:**
|
|
731
|
+
**Dependencies:** Cycle 37
|
|
732
732
|
**Task:** Display live API status and usage metrics
|
|
733
733
|
**File:** `web/src/components/features/docs/ApiStatus.tsx`
|
|
734
734
|
**Acceptance Criteria:**
|
|
@@ -740,10 +740,10 @@ const course = await client.entities.create({
|
|
|
740
740
|
- [ ] Link to full analytics dashboard
|
|
741
741
|
- [ ] Auto-refresh every 30 seconds
|
|
742
742
|
|
|
743
|
-
### ⏳
|
|
743
|
+
### ⏳ Cycle 40: Add Error Code Reference
|
|
744
744
|
|
|
745
745
|
**Status:** Pending
|
|
746
|
-
**Dependencies:**
|
|
746
|
+
**Dependencies:** Cycle 36
|
|
747
747
|
**Task:** Comprehensive error documentation with solutions
|
|
748
748
|
**File:** `web/src/content/docs/error-codes.md`
|
|
749
749
|
**Acceptance Criteria:**
|
|
@@ -774,15 +774,15 @@ const course = await client.entities.create({
|
|
|
774
774
|
|
|
775
775
|
---
|
|
776
776
|
|
|
777
|
-
## Frontend Phase: Usage Dashboard (
|
|
777
|
+
## Frontend Phase: Usage Dashboard (Cycle 41-45)
|
|
778
778
|
|
|
779
779
|
**Agent:** agent-frontend
|
|
780
780
|
**Goal:** Analytics and monitoring for API consumers
|
|
781
781
|
|
|
782
|
-
### ⏳
|
|
782
|
+
### ⏳ Cycle 41: Design Usage Dashboard Wireframe
|
|
783
783
|
|
|
784
784
|
**Status:** Pending
|
|
785
|
-
**Dependencies:**
|
|
785
|
+
**Dependencies:** Cycle 30 (Backend API complete)
|
|
786
786
|
**Task:** Create wireframe for analytics page
|
|
787
787
|
**File:** `one/things/wireframes/usage-dashboard.md`
|
|
788
788
|
**Acceptance Criteria:**
|
|
@@ -793,10 +793,10 @@ const course = await client.entities.create({
|
|
|
793
793
|
- [ ] Date range selector (Last 24h, 7 days, 30 days, Custom)
|
|
794
794
|
- [ ] Responsive design
|
|
795
795
|
|
|
796
|
-
### ⏳
|
|
796
|
+
### ⏳ Cycle 42: Show Quota Consumption with Progress Bars
|
|
797
797
|
|
|
798
798
|
**Status:** Pending
|
|
799
|
-
**Dependencies:**
|
|
799
|
+
**Dependencies:** Cycle 41
|
|
800
800
|
**Task:** Visual representation of usage limits
|
|
801
801
|
**File:** `web/src/components/features/analytics/QuotaUsage.tsx`
|
|
802
802
|
**Acceptance Criteria:**
|
|
@@ -807,10 +807,10 @@ const course = await client.entities.create({
|
|
|
807
807
|
- [ ] Show time until reset ("Resets in 15 minutes")
|
|
808
808
|
- [ ] Warning if nearing limit: "You've used 90% of your daily quota"
|
|
809
809
|
|
|
810
|
-
### ⏳
|
|
810
|
+
### ⏳ Cycle 43: Add Billing Projection
|
|
811
811
|
|
|
812
812
|
**Status:** Pending
|
|
813
|
-
**Dependencies:**
|
|
813
|
+
**Dependencies:** Cycle 42
|
|
814
814
|
**Task:** Estimate costs based on current usage trends
|
|
815
815
|
**File:** `web/src/components/features/analytics/BillingProjection.tsx`
|
|
816
816
|
**Acceptance Criteria:**
|
|
@@ -821,10 +821,10 @@ const course = await client.entities.create({
|
|
|
821
821
|
- [ ] Chart: Usage trend (last 30 days) + forecast (next 30 days)
|
|
822
822
|
- [ ] Link to billing/upgrade page
|
|
823
823
|
|
|
824
|
-
### ⏳
|
|
824
|
+
### ⏳ Cycle 44: Create Alert Configuration UI
|
|
825
825
|
|
|
826
826
|
**Status:** Pending
|
|
827
|
-
**Dependencies:**
|
|
827
|
+
**Dependencies:** Cycle 42
|
|
828
828
|
**Task:** Let users set up usage alerts
|
|
829
829
|
**File:** `web/src/components/features/analytics/AlertConfig.tsx`
|
|
830
830
|
**Acceptance Criteria:**
|
|
@@ -835,10 +835,10 @@ const course = await client.entities.create({
|
|
|
835
835
|
- [ ] Test alert button (send sample notification)
|
|
836
836
|
- [ ] Save alerts to database (new entity type: `api_alert`)
|
|
837
837
|
|
|
838
|
-
### ⏳
|
|
838
|
+
### ⏳ Cycle 45: Display Top Endpoints by Usage
|
|
839
839
|
|
|
840
840
|
**Status:** Pending
|
|
841
|
-
**Dependencies:**
|
|
841
|
+
**Dependencies:** Cycle 41
|
|
842
842
|
**Task:** Show which endpoints are most frequently called
|
|
843
843
|
**File:** `web/src/components/features/analytics/TopEndpoints.tsx`
|
|
844
844
|
**Acceptance Criteria:**
|
|
@@ -851,15 +851,15 @@ const course = await client.entities.create({
|
|
|
851
851
|
|
|
852
852
|
---
|
|
853
853
|
|
|
854
|
-
## Frontend Phase: Developer Onboarding Flow (
|
|
854
|
+
## Frontend Phase: Developer Onboarding Flow (Cycle 46-50)
|
|
855
855
|
|
|
856
856
|
**Agent:** agent-frontend
|
|
857
857
|
**Goal:** Seamless first-time experience
|
|
858
858
|
|
|
859
|
-
### ⏳
|
|
859
|
+
### ⏳ Cycle 46: Create "Get Started" Wizard
|
|
860
860
|
|
|
861
861
|
**Status:** Pending
|
|
862
|
-
**Dependencies:**
|
|
862
|
+
**Dependencies:** Cycle 35 (API key management complete)
|
|
863
863
|
**Task:** Multi-step onboarding for new developers
|
|
864
864
|
**File:** `web/src/components/features/onboarding/OnboardingWizard.tsx`
|
|
865
865
|
**Acceptance Criteria:**
|
|
@@ -872,10 +872,10 @@ const course = await client.entities.create({
|
|
|
872
872
|
- [ ] Skip option (save progress, resume later)
|
|
873
873
|
- [ ] Confetti animation on completion 🎉
|
|
874
874
|
|
|
875
|
-
### ⏳
|
|
875
|
+
### ⏳ Cycle 47: Add SDK Download Options
|
|
876
876
|
|
|
877
877
|
**Status:** Pending
|
|
878
|
-
**Dependencies:**
|
|
878
|
+
**Dependencies:** Cycle 46
|
|
879
879
|
**Task:** Provide easy access to official SDKs
|
|
880
880
|
**File:** `web/src/components/features/onboarding/SdkDownload.tsx`
|
|
881
881
|
**Acceptance Criteria:**
|
|
@@ -886,10 +886,10 @@ const course = await client.entities.create({
|
|
|
886
886
|
- [ ] Copy button for install commands
|
|
887
887
|
- [ ] Link to GitHub repositories
|
|
888
888
|
|
|
889
|
-
### ⏳
|
|
889
|
+
### ⏳ Cycle 48: Implement Quick Start Templates
|
|
890
890
|
|
|
891
891
|
**Status:** Pending
|
|
892
|
-
**Dependencies:**
|
|
892
|
+
**Dependencies:** Cycle 47
|
|
893
893
|
**Task:** Provide boilerplate projects for common use cases
|
|
894
894
|
**File:** `web/src/content/templates/`
|
|
895
895
|
**Acceptance Criteria:**
|
|
@@ -900,10 +900,10 @@ const course = await client.entities.create({
|
|
|
900
900
|
- [ ] Pre-configured API client with placeholder credentials
|
|
901
901
|
- [ ] Example: List entities, Create entity, Update entity
|
|
902
902
|
|
|
903
|
-
### ⏳
|
|
903
|
+
### ⏳ Cycle 49: Show Example Applications
|
|
904
904
|
|
|
905
905
|
**Status:** Pending
|
|
906
|
-
**Dependencies:**
|
|
906
|
+
**Dependencies:** Cycle 48
|
|
907
907
|
**Task:** Showcase real-world apps built on ONE Platform
|
|
908
908
|
**File:** `web/src/components/features/onboarding/ExampleApps.tsx`
|
|
909
909
|
**Acceptance Criteria:**
|
|
@@ -913,10 +913,10 @@ const course = await client.entities.create({
|
|
|
913
913
|
- [ ] Filter by category: Education, Commerce, Productivity, Social
|
|
914
914
|
- [ ] "Submit your app" form (user-generated examples)
|
|
915
915
|
|
|
916
|
-
### ⏳
|
|
916
|
+
### ⏳ Cycle 50: Add Video Tutorials
|
|
917
917
|
|
|
918
918
|
**Status:** Pending
|
|
919
|
-
**Dependencies:**
|
|
919
|
+
**Dependencies:** Cycle 46-49
|
|
920
920
|
**Task:** Embed walkthrough videos for visual learners
|
|
921
921
|
**File:** `web/src/components/features/onboarding/VideoTutorials.tsx`
|
|
922
922
|
**Acceptance Criteria:**
|
|
@@ -929,15 +929,15 @@ const course = await client.entities.create({
|
|
|
929
929
|
|
|
930
930
|
---
|
|
931
931
|
|
|
932
|
-
## Quality Phase: Unit Tests (
|
|
932
|
+
## Quality Phase: Unit Tests (Cycle 51-55)
|
|
933
933
|
|
|
934
934
|
**Agent:** agent-quality
|
|
935
935
|
**Goal:** Test individual components
|
|
936
936
|
|
|
937
|
-
### ⏳
|
|
937
|
+
### ⏳ Cycle 51: Test API Key Generation
|
|
938
938
|
|
|
939
939
|
**Status:** Pending
|
|
940
|
-
**Dependencies:**
|
|
940
|
+
**Dependencies:** Cycle 16-20 (Auth service complete)
|
|
941
941
|
**Task:** Validate key generation logic
|
|
942
942
|
**File:** `backend/convex/mutations/api-keys.test.ts`
|
|
943
943
|
**Acceptance Criteria:**
|
|
@@ -950,10 +950,10 @@ const course = await client.entities.create({
|
|
|
950
950
|
- [ ] Test: Prefix stored in plaintext for display
|
|
951
951
|
- [ ] All tests pass (100%)
|
|
952
952
|
|
|
953
|
-
### ⏳
|
|
953
|
+
### ⏳ Cycle 52: Test Scope Validation
|
|
954
954
|
|
|
955
955
|
**Status:** Pending
|
|
956
|
-
**Dependencies:**
|
|
956
|
+
**Dependencies:** Cycle 18 (Scope system complete)
|
|
957
957
|
**Task:** Verify permission checks work correctly
|
|
958
958
|
**File:** `backend/convex/lib/api-auth.test.ts`
|
|
959
959
|
**Acceptance Criteria:**
|
|
@@ -965,10 +965,10 @@ const course = await client.entities.create({
|
|
|
965
965
|
- [ ] Test: Invalid scope format rejected
|
|
966
966
|
- [ ] All tests pass (100%)
|
|
967
967
|
|
|
968
|
-
### ⏳
|
|
968
|
+
### ⏳ Cycle 53: Test Rate Limiting
|
|
969
969
|
|
|
970
970
|
**Status:** Pending
|
|
971
|
-
**Dependencies:**
|
|
971
|
+
**Dependencies:** Cycle 19 (Rate limiter complete)
|
|
972
972
|
**Task:** Ensure quotas enforced correctly
|
|
973
973
|
**File:** `backend/convex/lib/rate-limit.test.ts`
|
|
974
974
|
**Acceptance Criteria:**
|
|
@@ -981,10 +981,10 @@ const course = await client.entities.create({
|
|
|
981
981
|
- [ ] Test: `Retry-After` header present in 429 response
|
|
982
982
|
- [ ] All tests pass (100%)
|
|
983
983
|
|
|
984
|
-
### ⏳
|
|
984
|
+
### ⏳ Cycle 54: Test Group Isolation
|
|
985
985
|
|
|
986
986
|
**Status:** Pending
|
|
987
|
-
**Dependencies:**
|
|
987
|
+
**Dependencies:** Cycle 21-24 (Group scoping complete)
|
|
988
988
|
**Task:** Validate no data leakage between organizations
|
|
989
989
|
**File:** `backend/convex/lib/group-scoping.test.ts`
|
|
990
990
|
**Acceptance Criteria:**
|
|
@@ -997,10 +997,10 @@ const course = await client.entities.create({
|
|
|
997
997
|
- [ ] Test: Knowledge search scoped to org
|
|
998
998
|
- [ ] All tests pass (100%) - CRITICAL for security
|
|
999
999
|
|
|
1000
|
-
### ⏳
|
|
1000
|
+
### ⏳ Cycle 55: Test Key Rotation
|
|
1001
1001
|
|
|
1002
1002
|
**Status:** Pending
|
|
1003
|
-
**Dependencies:**
|
|
1003
|
+
**Dependencies:** Cycle 20 (Key rotation complete)
|
|
1004
1004
|
**Task:** Verify seamless key rotation
|
|
1005
1005
|
**File:** `backend/convex/mutations/api-keys.test.ts`
|
|
1006
1006
|
**Acceptance Criteria:**
|
|
@@ -1014,15 +1014,15 @@ const course = await client.entities.create({
|
|
|
1014
1014
|
|
|
1015
1015
|
---
|
|
1016
1016
|
|
|
1017
|
-
## Quality Phase: Integration Tests (
|
|
1017
|
+
## Quality Phase: Integration Tests (Cycle 56-60)
|
|
1018
1018
|
|
|
1019
1019
|
**Agent:** agent-quality
|
|
1020
1020
|
**Goal:** Test end-to-end flows
|
|
1021
1021
|
|
|
1022
|
-
### ⏳
|
|
1022
|
+
### ⏳ Cycle 56: Test Full Authentication Flow
|
|
1023
1023
|
|
|
1024
1024
|
**Status:** Pending
|
|
1025
|
-
**Dependencies:**
|
|
1025
|
+
**Dependencies:** Cycle 51-55 (Unit tests complete)
|
|
1026
1026
|
**Task:** Validate complete auth flow from key to scoped request
|
|
1027
1027
|
**File:** `backend/convex/integration/auth-flow.test.ts`
|
|
1028
1028
|
**Acceptance Criteria:**
|
|
@@ -1035,10 +1035,10 @@ const course = await client.entities.create({
|
|
|
1035
1035
|
- [ ] Test: Valid request logs event
|
|
1036
1036
|
- [ ] All tests pass (100%)
|
|
1037
1037
|
|
|
1038
|
-
### ⏳
|
|
1038
|
+
### ⏳ Cycle 57: Test Multi-Tenant Isolation
|
|
1039
1039
|
|
|
1040
1040
|
**Status:** Pending
|
|
1041
|
-
**Dependencies:**
|
|
1041
|
+
**Dependencies:** Cycle 56
|
|
1042
1042
|
**Task:** Comprehensive cross-org security tests
|
|
1043
1043
|
**File:** `backend/convex/integration/multi-tenant.test.ts`
|
|
1044
1044
|
**Acceptance Criteria:**
|
|
@@ -1051,10 +1051,10 @@ const course = await client.entities.create({
|
|
|
1051
1051
|
- [ ] Test: Event queries don't leak cross-org data
|
|
1052
1052
|
- [ ] All tests pass (100%) - CRITICAL for security
|
|
1053
1053
|
|
|
1054
|
-
### ⏳
|
|
1054
|
+
### ⏳ Cycle 58: Test Rate Limit Enforcement
|
|
1055
1055
|
|
|
1056
1056
|
**Status:** Pending
|
|
1057
|
-
**Dependencies:**
|
|
1057
|
+
**Dependencies:** Cycle 56
|
|
1058
1058
|
**Task:** Validate rate limiting under real load
|
|
1059
1059
|
**File:** `backend/convex/integration/rate-limits.test.ts`
|
|
1060
1060
|
**Acceptance Criteria:**
|
|
@@ -1067,10 +1067,10 @@ const course = await client.entities.create({
|
|
|
1067
1067
|
- [ ] Test: `quota_exceeded` event logged
|
|
1068
1068
|
- [ ] All tests pass (100%)
|
|
1069
1069
|
|
|
1070
|
-
### ⏳
|
|
1070
|
+
### ⏳ Cycle 59: Test Webhook Delivery
|
|
1071
1071
|
|
|
1072
1072
|
**Status:** Pending
|
|
1073
|
-
**Dependencies:**
|
|
1073
|
+
**Dependencies:** Cycle 30 (Webhook system complete)
|
|
1074
1074
|
**Task:** Validate event delivery to customer endpoints
|
|
1075
1075
|
**File:** `backend/convex/integration/webhooks.test.ts`
|
|
1076
1076
|
**Acceptance Criteria:**
|
|
@@ -1082,10 +1082,10 @@ const course = await client.entities.create({
|
|
|
1082
1082
|
- [ ] Test: Webhook logs show delivery attempts
|
|
1083
1083
|
- [ ] All tests pass (100%)
|
|
1084
1084
|
|
|
1085
|
-
### ⏳
|
|
1085
|
+
### ⏳ Cycle 60: Test Concurrent Requests
|
|
1086
1086
|
|
|
1087
1087
|
**Status:** Pending
|
|
1088
|
-
**Dependencies:**
|
|
1088
|
+
**Dependencies:** Cycle 56-59
|
|
1089
1089
|
**Task:** Ensure no race conditions or deadlocks
|
|
1090
1090
|
**File:** `backend/convex/integration/concurrency.test.ts`
|
|
1091
1091
|
**Acceptance Criteria:**
|
|
@@ -1099,15 +1099,15 @@ const course = await client.entities.create({
|
|
|
1099
1099
|
|
|
1100
1100
|
---
|
|
1101
1101
|
|
|
1102
|
-
## Quality Phase: Security Tests (
|
|
1102
|
+
## Quality Phase: Security Tests (Cycle 61-65)
|
|
1103
1103
|
|
|
1104
1104
|
**Agent:** agent-quality
|
|
1105
1105
|
**Goal:** Penetration testing and vulnerability scanning
|
|
1106
1106
|
|
|
1107
|
-
### ⏳
|
|
1107
|
+
### ⏳ Cycle 61: Test Key Brute Force Protection
|
|
1108
1108
|
|
|
1109
1109
|
**Status:** Pending
|
|
1110
|
-
**Dependencies:**
|
|
1110
|
+
**Dependencies:** Cycle 56-60 (Integration tests complete)
|
|
1111
1111
|
**Task:** Validate resistance to key guessing attacks
|
|
1112
1112
|
**File:** `backend/convex/security/brute-force.test.ts`
|
|
1113
1113
|
**Acceptance Criteria:**
|
|
@@ -1119,10 +1119,10 @@ const course = await client.entities.create({
|
|
|
1119
1119
|
- [ ] Test: Admin notification if >100 failed attempts from single IP
|
|
1120
1120
|
- [ ] All tests pass (100%)
|
|
1121
1121
|
|
|
1122
|
-
### ⏳
|
|
1122
|
+
### ⏳ Cycle 62: Test SQL Injection Attempts
|
|
1123
1123
|
|
|
1124
1124
|
**Status:** Pending
|
|
1125
|
-
**Dependencies:**
|
|
1125
|
+
**Dependencies:** Cycle 61
|
|
1126
1126
|
**Task:** Verify Convex's built-in protection (should be safe by design)
|
|
1127
1127
|
**File:** `backend/convex/security/injection.test.ts`
|
|
1128
1128
|
**Acceptance Criteria:**
|
|
@@ -1134,10 +1134,10 @@ const course = await client.entities.create({
|
|
|
1134
1134
|
- [ ] Test: Inputs sanitized/escaped in responses
|
|
1135
1135
|
- [ ] All tests pass (100%)
|
|
1136
1136
|
|
|
1137
|
-
### ⏳
|
|
1137
|
+
### ⏳ Cycle 63: Test Unauthorized Scope Escalation
|
|
1138
1138
|
|
|
1139
1139
|
**Status:** Pending
|
|
1140
|
-
**Dependencies:**
|
|
1140
|
+
**Dependencies:** Cycle 61-62
|
|
1141
1141
|
**Task:** Ensure users can't grant themselves additional scopes
|
|
1142
1142
|
**File:** `backend/convex/security/scope-escalation.test.ts`
|
|
1143
1143
|
**Acceptance Criteria:**
|
|
@@ -1149,10 +1149,10 @@ const course = await client.entities.create({
|
|
|
1149
1149
|
- [ ] Test: Scope tampering in request headers ignored
|
|
1150
1150
|
- [ ] All tests pass (100%)
|
|
1151
1151
|
|
|
1152
|
-
### ⏳
|
|
1152
|
+
### ⏳ Cycle 64: Test Expired Key Handling
|
|
1153
1153
|
|
|
1154
1154
|
**Status:** Pending
|
|
1155
|
-
**Dependencies:**
|
|
1155
|
+
**Dependencies:** Cycle 61-63
|
|
1156
1156
|
**Task:** Validate expired keys immediately rejected
|
|
1157
1157
|
**File:** `backend/convex/security/expiration.test.ts`
|
|
1158
1158
|
**Acceptance Criteria:**
|
|
@@ -1164,10 +1164,10 @@ const course = await client.entities.create({
|
|
|
1164
1164
|
- [ ] Test: Renewal flow works (extend expiration)
|
|
1165
1165
|
- [ ] All tests pass (100%)
|
|
1166
1166
|
|
|
1167
|
-
### ⏳
|
|
1167
|
+
### ⏳ Cycle 65: Penetration Testing (OWASP Top 10)
|
|
1168
1168
|
|
|
1169
1169
|
**Status:** Pending
|
|
1170
|
-
**Dependencies:**
|
|
1170
|
+
**Dependencies:** Cycle 61-64
|
|
1171
1171
|
**Task:** External security audit against OWASP Top 10
|
|
1172
1172
|
**File:** `one/events/security-audit-report.md`
|
|
1173
1173
|
**Acceptance Criteria:**
|
|
@@ -1182,15 +1182,15 @@ const course = await client.entities.create({
|
|
|
1182
1182
|
|
|
1183
1183
|
---
|
|
1184
1184
|
|
|
1185
|
-
## Quality Phase: Performance Tests (
|
|
1185
|
+
## Quality Phase: Performance Tests (Cycle 66-70)
|
|
1186
1186
|
|
|
1187
1187
|
**Agent:** agent-quality
|
|
1188
1188
|
**Goal:** Validate performance under load
|
|
1189
1189
|
|
|
1190
|
-
### ⏳
|
|
1190
|
+
### ⏳ Cycle 66: Load Test (10K Requests/Minute)
|
|
1191
1191
|
|
|
1192
1192
|
**Status:** Pending
|
|
1193
|
-
**Dependencies:**
|
|
1193
|
+
**Dependencies:** Cycle 61-65 (Security tests complete)
|
|
1194
1194
|
**Task:** Simulate high traffic and measure performance
|
|
1195
1195
|
**File:** `backend/convex/performance/load-test.ts`
|
|
1196
1196
|
**Acceptance Criteria:**
|
|
@@ -1203,10 +1203,10 @@ const course = await client.entities.create({
|
|
|
1203
1203
|
- [ ] Test: Convex functions scale automatically
|
|
1204
1204
|
- [ ] Pass: 99.9% success rate
|
|
1205
1205
|
|
|
1206
|
-
### ⏳
|
|
1206
|
+
### ⏳ Cycle 67: Latency Testing (p50, p95, p99)
|
|
1207
1207
|
|
|
1208
1208
|
**Status:** Pending
|
|
1209
|
-
**Dependencies:**
|
|
1209
|
+
**Dependencies:** Cycle 66
|
|
1210
1210
|
**Task:** Measure response times at different percentiles
|
|
1211
1211
|
**File:** `backend/convex/performance/latency-test.ts`
|
|
1212
1212
|
**Acceptance Criteria:**
|
|
@@ -1218,10 +1218,10 @@ const course = await client.entities.create({
|
|
|
1218
1218
|
- [ ] Compare: Cold start vs warm cache performance
|
|
1219
1219
|
- [ ] Pass: All targets met
|
|
1220
1220
|
|
|
1221
|
-
### ⏳
|
|
1221
|
+
### ⏳ Cycle 68: Database Query Optimization
|
|
1222
1222
|
|
|
1223
1223
|
**Status:** Pending
|
|
1224
|
-
**Dependencies:**
|
|
1224
|
+
**Dependencies:** Cycle 67
|
|
1225
1225
|
**Task:** Optimize slow queries identified in latency tests
|
|
1226
1226
|
**File:** `backend/convex/queries/` (various files)
|
|
1227
1227
|
**Acceptance Criteria:**
|
|
@@ -1233,10 +1233,10 @@ const course = await client.entities.create({
|
|
|
1233
1233
|
- [ ] Use Convex's `withIndex()` for fast lookups
|
|
1234
1234
|
- [ ] Re-run latency tests → 20% improvement
|
|
1235
1235
|
|
|
1236
|
-
### ⏳
|
|
1236
|
+
### ⏳ Cycle 69: CDN Caching Strategy
|
|
1237
1237
|
|
|
1238
1238
|
**Status:** Pending
|
|
1239
|
-
**Dependencies:**
|
|
1239
|
+
**Dependencies:** Cycle 68
|
|
1240
1240
|
**Task:** Implement edge caching for static/semi-static data
|
|
1241
1241
|
**File:** `backend/convex/http.ts` (add cache headers)
|
|
1242
1242
|
**Acceptance Criteria:**
|
|
@@ -1248,10 +1248,10 @@ const course = await client.entities.create({
|
|
|
1248
1248
|
- [ ] Test: Cached requests return instantly (<10ms)
|
|
1249
1249
|
- [ ] Pass: 50% cache hit rate for eligible requests
|
|
1250
1250
|
|
|
1251
|
-
### ⏳
|
|
1251
|
+
### ⏳ Cycle 70: Connection Pooling Validation
|
|
1252
1252
|
|
|
1253
1253
|
**Status:** Pending
|
|
1254
|
-
**Dependencies:**
|
|
1254
|
+
**Dependencies:** Cycle 66-69
|
|
1255
1255
|
**Task:** Ensure efficient connection reuse
|
|
1256
1256
|
**File:** `backend/convex/lib/connection-pool.ts`
|
|
1257
1257
|
**Acceptance Criteria:**
|
|
@@ -1265,15 +1265,15 @@ const course = await client.entities.create({
|
|
|
1265
1265
|
|
|
1266
1266
|
---
|
|
1267
1267
|
|
|
1268
|
-
## SDK Phase: Official SDKs (
|
|
1268
|
+
## SDK Phase: Official SDKs (Cycle 71-75)
|
|
1269
1269
|
|
|
1270
1270
|
**Agent:** agent-builder
|
|
1271
1271
|
**Goal:** Create client libraries for popular languages
|
|
1272
1272
|
|
|
1273
|
-
### ⏳
|
|
1273
|
+
### ⏳ Cycle 71: JavaScript/TypeScript SDK
|
|
1274
1274
|
|
|
1275
1275
|
**Status:** Pending
|
|
1276
|
-
**Dependencies:**
|
|
1276
|
+
**Dependencies:** Cycle 30 (API Gateway complete)
|
|
1277
1277
|
**Task:** Build npm package for Node.js and browsers
|
|
1278
1278
|
**File:** `sdk/javascript/`
|
|
1279
1279
|
**Acceptance Criteria:**
|
|
@@ -1305,10 +1305,10 @@ const course = await client.entities.create({
|
|
|
1305
1305
|
});
|
|
1306
1306
|
```
|
|
1307
1307
|
|
|
1308
|
-
### ⏳
|
|
1308
|
+
### ⏳ Cycle 72: Python SDK
|
|
1309
1309
|
|
|
1310
1310
|
**Status:** Pending
|
|
1311
|
-
**Dependencies:**
|
|
1311
|
+
**Dependencies:** Cycle 71
|
|
1312
1312
|
**Task:** Build PyPI package for Python developers
|
|
1313
1313
|
**File:** `sdk/python/`
|
|
1314
1314
|
**Acceptance Criteria:**
|
|
@@ -1339,10 +1339,10 @@ course = client.entities.create(
|
|
|
1339
1339
|
)
|
|
1340
1340
|
```
|
|
1341
1341
|
|
|
1342
|
-
### ⏳
|
|
1342
|
+
### ⏳ Cycle 73: Go SDK
|
|
1343
1343
|
|
|
1344
1344
|
**Status:** Pending
|
|
1345
|
-
**Dependencies:**
|
|
1345
|
+
**Dependencies:** Cycle 72
|
|
1346
1346
|
**Task:** Build Go module for Go developers
|
|
1347
1347
|
**File:** `sdk/go/`
|
|
1348
1348
|
**Acceptance Criteria:**
|
|
@@ -1373,10 +1373,10 @@ course, err := client.Entities.Create(ctx, &onesdk.Entity{
|
|
|
1373
1373
|
})
|
|
1374
1374
|
```
|
|
1375
1375
|
|
|
1376
|
-
### ⏳
|
|
1376
|
+
### ⏳ Cycle 74: Ruby SDK
|
|
1377
1377
|
|
|
1378
1378
|
**Status:** Pending
|
|
1379
|
-
**Dependencies:**
|
|
1379
|
+
**Dependencies:** Cycle 73
|
|
1380
1380
|
**Task:** Build gem for Ruby developers
|
|
1381
1381
|
**File:** `sdk/ruby/`
|
|
1382
1382
|
**Acceptance Criteria:**
|
|
@@ -1407,10 +1407,10 @@ course = client.entities.create(
|
|
|
1407
1407
|
)
|
|
1408
1408
|
```
|
|
1409
1409
|
|
|
1410
|
-
### ⏳
|
|
1410
|
+
### ⏳ Cycle 75: Add Type Definitions (Full TypeScript Support)
|
|
1411
1411
|
|
|
1412
1412
|
**Status:** Pending
|
|
1413
|
-
**Dependencies:**
|
|
1413
|
+
**Dependencies:** Cycle 71-74
|
|
1414
1414
|
**Task:** Generate TypeScript definitions for all SDKs
|
|
1415
1415
|
**File:** `sdk/types/` (shared type definitions)
|
|
1416
1416
|
**Acceptance Criteria:**
|
|
@@ -1425,15 +1425,15 @@ course = client.entities.create(
|
|
|
1425
1425
|
|
|
1426
1426
|
---
|
|
1427
1427
|
|
|
1428
|
-
## SDK Phase: CLI Tool (
|
|
1428
|
+
## SDK Phase: CLI Tool (Cycle 76-80)
|
|
1429
1429
|
|
|
1430
1430
|
**Agent:** agent-builder
|
|
1431
1431
|
**Goal:** Command-line tool for API management
|
|
1432
1432
|
|
|
1433
|
-
### ⏳
|
|
1433
|
+
### ⏳ Cycle 76: Create `oneie` CLI for API Management
|
|
1434
1434
|
|
|
1435
1435
|
**Status:** Pending
|
|
1436
|
-
**Dependencies:**
|
|
1436
|
+
**Dependencies:** Cycle 71 (JS SDK complete)
|
|
1437
1437
|
**Task:** Build command-line tool using Node.js
|
|
1438
1438
|
**File:** `cli/`
|
|
1439
1439
|
**Acceptance Criteria:**
|
|
@@ -1446,10 +1446,10 @@ course = client.entities.create(
|
|
|
1446
1446
|
- [ ] Tests: CLI integration tests
|
|
1447
1447
|
- [ ] Docs: `oneie help api`
|
|
1448
1448
|
|
|
1449
|
-
### ⏳
|
|
1449
|
+
### ⏳ Cycle 77: Add Commands (keys:create, keys:list, keys:revoke)
|
|
1450
1450
|
|
|
1451
1451
|
**Status:** Pending
|
|
1452
|
-
**Dependencies:**
|
|
1452
|
+
**Dependencies:** Cycle 76
|
|
1453
1453
|
**Task:** Implement API key management commands
|
|
1454
1454
|
**File:** `cli/commands/api/keys.ts`
|
|
1455
1455
|
**Acceptance Criteria:**
|
|
@@ -1472,10 +1472,10 @@ $ oneie api:keys:create
|
|
|
1472
1472
|
⚠️ Save this key now. You won't see it again.
|
|
1473
1473
|
```
|
|
1474
1474
|
|
|
1475
|
-
### ⏳
|
|
1475
|
+
### ⏳ Cycle 78: Implement `oneie test` for Endpoint Testing
|
|
1476
1476
|
|
|
1477
1477
|
**Status:** Pending
|
|
1478
|
-
**Dependencies:**
|
|
1478
|
+
**Dependencies:** Cycle 77
|
|
1479
1479
|
**Task:** Interactive endpoint tester in CLI
|
|
1480
1480
|
**File:** `cli/commands/api/test.ts`
|
|
1481
1481
|
**Acceptance Criteria:**
|
|
@@ -1499,10 +1499,10 @@ $ oneie api:test
|
|
|
1499
1499
|
}
|
|
1500
1500
|
```
|
|
1501
1501
|
|
|
1502
|
-
### ⏳
|
|
1502
|
+
### ⏳ Cycle 79: Add `oneie logs` for Request History
|
|
1503
1503
|
|
|
1504
1504
|
**Status:** Pending
|
|
1505
|
-
**Dependencies:**
|
|
1505
|
+
**Dependencies:** Cycle 78
|
|
1506
1506
|
**Task:** View API request logs from CLI
|
|
1507
1507
|
**File:** `cli/commands/api/logs.ts`
|
|
1508
1508
|
**Acceptance Criteria:**
|
|
@@ -1523,10 +1523,10 @@ $ oneie api:logs --tail
|
|
|
1523
1523
|
[12:34:58] POST /api/v1/connections 403 (30ms) ❌
|
|
1524
1524
|
```
|
|
1525
1525
|
|
|
1526
|
-
### ⏳
|
|
1526
|
+
### ⏳ Cycle 80: Create `oneie deploy` for Webhook Configuration
|
|
1527
1527
|
|
|
1528
1528
|
**Status:** Pending
|
|
1529
|
-
**Dependencies:**
|
|
1529
|
+
**Dependencies:** Cycle 79
|
|
1530
1530
|
**Task:** Manage webhook subscriptions from CLI
|
|
1531
1531
|
**File:** `cli/commands/api/webhooks.ts`
|
|
1532
1532
|
**Acceptance Criteria:**
|
|
@@ -1551,15 +1551,15 @@ $ oneie api:webhooks:add
|
|
|
1551
1551
|
|
|
1552
1552
|
---
|
|
1553
1553
|
|
|
1554
|
-
## Operations Phase: Monitoring & Observability (
|
|
1554
|
+
## Operations Phase: Monitoring & Observability (Cycle 81-85)
|
|
1555
1555
|
|
|
1556
1556
|
**Agent:** agent-ops
|
|
1557
1557
|
**Goal:** Production monitoring setup
|
|
1558
1558
|
|
|
1559
|
-
### ⏳
|
|
1559
|
+
### ⏳ Cycle 81: Set Up API Metrics Dashboard
|
|
1560
1560
|
|
|
1561
1561
|
**Status:** Pending
|
|
1562
|
-
**Dependencies:**
|
|
1562
|
+
**Dependencies:** Cycle 70 (Performance tests complete)
|
|
1563
1563
|
**Task:** Create real-time monitoring dashboard
|
|
1564
1564
|
**Tool:** Grafana or Datadog
|
|
1565
1565
|
**Acceptance Criteria:**
|
|
@@ -1570,10 +1570,10 @@ $ oneie api:webhooks:add
|
|
|
1570
1570
|
- [ ] Alerts: High error rate (>5%), high latency (p95 >500ms), downtime
|
|
1571
1571
|
- [ ] Dashboard accessible to internal team + customers (separate views)
|
|
1572
1572
|
|
|
1573
|
-
### ⏳
|
|
1573
|
+
### ⏳ Cycle 82: Add Error Tracking (Sentry Integration)
|
|
1574
1574
|
|
|
1575
1575
|
**Status:** Pending
|
|
1576
|
-
**Dependencies:**
|
|
1576
|
+
**Dependencies:** Cycle 81
|
|
1577
1577
|
**Task:** Track and triage backend errors
|
|
1578
1578
|
**Tool:** Sentry
|
|
1579
1579
|
**Acceptance Criteria:**
|
|
@@ -1586,10 +1586,10 @@ $ oneie api:webhooks:add
|
|
|
1586
1586
|
- [ ] Alert: Slack notification for critical errors
|
|
1587
1587
|
- [ ] Integration: Link Sentry issues to GitHub issues
|
|
1588
1588
|
|
|
1589
|
-
### ⏳
|
|
1589
|
+
### ⏳ Cycle 83: Configure Uptime Monitoring (Status Page)
|
|
1590
1590
|
|
|
1591
1591
|
**Status:** Pending
|
|
1592
|
-
**Dependencies:**
|
|
1592
|
+
**Dependencies:** Cycle 81-82
|
|
1593
1593
|
**Task:** Public status page for API health
|
|
1594
1594
|
**Tool:** Statuspage.io or custom
|
|
1595
1595
|
**Acceptance Criteria:**
|
|
@@ -1601,10 +1601,10 @@ $ oneie api:webhooks:add
|
|
|
1601
1601
|
- [ ] Subscribe: Email/SMS/Slack notifications
|
|
1602
1602
|
- [ ] History: Past incidents with postmortems
|
|
1603
1603
|
|
|
1604
|
-
### ⏳
|
|
1604
|
+
### ⏳ Cycle 84: Create Alerting Rules
|
|
1605
1605
|
|
|
1606
1606
|
**Status:** Pending
|
|
1607
|
-
**Dependencies:**
|
|
1607
|
+
**Dependencies:** Cycle 81-83
|
|
1608
1608
|
**Task:** Define when to notify team of issues
|
|
1609
1609
|
**File:** `infrastructure/alerts.yml`
|
|
1610
1610
|
**Acceptance Criteria:**
|
|
@@ -1616,10 +1616,10 @@ $ oneie api:webhooks:add
|
|
|
1616
1616
|
- [ ] Alert: Quota exceeded by enterprise customer → Notify sales team
|
|
1617
1617
|
- [ ] Escalation: If not acknowledged in 15 minutes, escalate to manager
|
|
1618
1618
|
|
|
1619
|
-
### ⏳
|
|
1619
|
+
### ⏳ Cycle 85: Implement Distributed Tracing
|
|
1620
1620
|
|
|
1621
1621
|
**Status:** Pending
|
|
1622
|
-
**Dependencies:**
|
|
1622
|
+
**Dependencies:** Cycle 81-84
|
|
1623
1623
|
**Task:** Trace requests across services for debugging
|
|
1624
1624
|
**Tool:** OpenTelemetry + Jaeger/Zipkin
|
|
1625
1625
|
**Acceptance Criteria:**
|
|
@@ -1633,15 +1633,15 @@ $ oneie api:webhooks:add
|
|
|
1633
1633
|
|
|
1634
1634
|
---
|
|
1635
1635
|
|
|
1636
|
-
## Operations Phase: Documentation & Knowledge Base (
|
|
1636
|
+
## Operations Phase: Documentation & Knowledge Base (Cycle 86-90)
|
|
1637
1637
|
|
|
1638
1638
|
**Agent:** agent-documenter
|
|
1639
1639
|
**Goal:** Comprehensive documentation for developers
|
|
1640
1640
|
|
|
1641
|
-
### ⏳
|
|
1641
|
+
### ⏳ Cycle 86: Write Comprehensive API Reference
|
|
1642
1642
|
|
|
1643
1643
|
**Status:** Pending
|
|
1644
|
-
**Dependencies:**
|
|
1644
|
+
**Dependencies:** Cycle 30 (API Gateway complete)
|
|
1645
1645
|
**Task:** Generate OpenAPI/Swagger spec from code
|
|
1646
1646
|
**File:** `backend/convex/openapi.yaml`
|
|
1647
1647
|
**Acceptance Criteria:**
|
|
@@ -1654,10 +1654,10 @@ $ oneie api:webhooks:add
|
|
|
1654
1654
|
- [ ] Generate from code comments (annotations)
|
|
1655
1655
|
- [ ] Validate: No broken links, all examples valid
|
|
1656
1656
|
|
|
1657
|
-
### ⏳
|
|
1657
|
+
### ⏳ Cycle 87: Create Developer Guides
|
|
1658
1658
|
|
|
1659
1659
|
**Status:** Pending
|
|
1660
|
-
**Dependencies:**
|
|
1660
|
+
**Dependencies:** Cycle 86
|
|
1661
1661
|
**Task:** Write prose guides for common workflows
|
|
1662
1662
|
**File:** `web/src/content/docs/guides/`
|
|
1663
1663
|
**Acceptance Criteria:**
|
|
@@ -1669,10 +1669,10 @@ $ oneie api:webhooks:add
|
|
|
1669
1669
|
- [ ] Guide: "Rate Limiting & Quotas" (understanding limits, upgrading tiers)
|
|
1670
1670
|
- [ ] All guides: Step-by-step, code examples, troubleshooting section
|
|
1671
1671
|
|
|
1672
|
-
### ⏳
|
|
1672
|
+
### ⏳ Cycle 88: Add Troubleshooting Runbook
|
|
1673
1673
|
|
|
1674
1674
|
**Status:** Pending
|
|
1675
|
-
**Dependencies:**
|
|
1675
|
+
**Dependencies:** Cycle 87
|
|
1676
1676
|
**Task:** Solutions for common issues
|
|
1677
1677
|
**File:** `web/src/content/docs/troubleshooting.md`
|
|
1678
1678
|
**Acceptance Criteria:**
|
|
@@ -1684,10 +1684,10 @@ $ oneie api:webhooks:add
|
|
|
1684
1684
|
- [ ] Issue: "Webhook not receiving events" → Verify URL, check logs, test endpoint
|
|
1685
1685
|
- [ ] Each issue: Symptoms, causes, step-by-step solution
|
|
1686
1686
|
|
|
1687
|
-
### ⏳
|
|
1687
|
+
### ⏳ Cycle 89: Generate SDK Documentation
|
|
1688
1688
|
|
|
1689
1689
|
**Status:** Pending
|
|
1690
|
-
**Dependencies:**
|
|
1690
|
+
**Dependencies:** Cycle 71-75 (SDKs complete)
|
|
1691
1691
|
**Task:** Auto-generate docs from code comments
|
|
1692
1692
|
**File:** `sdk/docs/`
|
|
1693
1693
|
**Acceptance Criteria:**
|
|
@@ -1699,10 +1699,10 @@ $ oneie api:webhooks:add
|
|
|
1699
1699
|
- [ ] Hosted: `docs.one.ie/sdk/javascript`, `/python`, `/go`, `/ruby`
|
|
1700
1700
|
- [ ] Searchable: Full-text search across all SDK docs
|
|
1701
1701
|
|
|
1702
|
-
### ⏳
|
|
1702
|
+
### ⏳ Cycle 90: Create Migration Guides (v1 → v2)
|
|
1703
1703
|
|
|
1704
1704
|
**Status:** Pending
|
|
1705
|
-
**Dependencies:**
|
|
1705
|
+
**Dependencies:** Cycle 86-89
|
|
1706
1706
|
**Task:** Future-proofing for API versioning
|
|
1707
1707
|
**File:** `web/src/content/docs/migrations/`
|
|
1708
1708
|
**Acceptance Criteria:**
|
|
@@ -1716,15 +1716,15 @@ $ oneie api:webhooks:add
|
|
|
1716
1716
|
|
|
1717
1717
|
---
|
|
1718
1718
|
|
|
1719
|
-
## Operations Phase: Deployment & CI/CD (
|
|
1719
|
+
## Operations Phase: Deployment & CI/CD (Cycle 91-95)
|
|
1720
1720
|
|
|
1721
1721
|
**Agent:** agent-ops
|
|
1722
1722
|
**Goal:** Automated deployment pipeline
|
|
1723
1723
|
|
|
1724
|
-
### ⏳
|
|
1724
|
+
### ⏳ Cycle 91: Configure Cloudflare Workers for API Gateway
|
|
1725
1725
|
|
|
1726
1726
|
**Status:** Pending
|
|
1727
|
-
**Dependencies:**
|
|
1727
|
+
**Dependencies:** Cycle 85 (Monitoring setup complete)
|
|
1728
1728
|
**Task:** Deploy API Gateway to Cloudflare's edge network
|
|
1729
1729
|
**File:** `backend/wrangler.toml`
|
|
1730
1730
|
**Acceptance Criteria:**
|
|
@@ -1736,10 +1736,10 @@ $ oneie api:webhooks:add
|
|
|
1736
1736
|
- [ ] SSL/TLS: HTTPS enforced, TLS 1.3
|
|
1737
1737
|
- [ ] Deploy: `wrangler deploy` from CI/CD
|
|
1738
1738
|
|
|
1739
|
-
### ⏳
|
|
1739
|
+
### ⏳ Cycle 92: Set Up Convex HTTP Endpoints
|
|
1740
1740
|
|
|
1741
1741
|
**Status:** Pending
|
|
1742
|
-
**Dependencies:**
|
|
1742
|
+
**Dependencies:** Cycle 91
|
|
1743
1743
|
**Task:** Configure Convex to handle HTTP traffic
|
|
1744
1744
|
**File:** `backend/convex/http.ts`
|
|
1745
1745
|
**Acceptance Criteria:**
|
|
@@ -1751,10 +1751,10 @@ $ oneie api:webhooks:add
|
|
|
1751
1751
|
- [ ] Error handling: Proper HTTP status codes
|
|
1752
1752
|
- [ ] Deploy: `npx convex deploy` from CI/CD
|
|
1753
1753
|
|
|
1754
|
-
### ⏳
|
|
1754
|
+
### ⏳ Cycle 93: Implement Blue-Green Deployment
|
|
1755
1755
|
|
|
1756
1756
|
**Status:** Pending
|
|
1757
|
-
**Dependencies:**
|
|
1757
|
+
**Dependencies:** Cycle 92
|
|
1758
1758
|
**Task:** Zero-downtime deployment strategy
|
|
1759
1759
|
**File:** `.github/workflows/deploy-api.yml`
|
|
1760
1760
|
**Acceptance Criteria:**
|
|
@@ -1766,10 +1766,10 @@ $ oneie api:webhooks:add
|
|
|
1766
1766
|
- [ ] Monitor: If error rate spikes, rollback to Blue
|
|
1767
1767
|
- [ ] Rollback: Automated, <1 minute to revert
|
|
1768
1768
|
|
|
1769
|
-
### ⏳
|
|
1769
|
+
### ⏳ Cycle 94: Add Automated Testing in CI
|
|
1770
1770
|
|
|
1771
1771
|
**Status:** Pending
|
|
1772
|
-
**Dependencies:**
|
|
1772
|
+
**Dependencies:** Cycle 93
|
|
1773
1773
|
**Task:** Run all tests on every commit
|
|
1774
1774
|
**File:** `.github/workflows/test-api.yml`
|
|
1775
1775
|
**Acceptance Criteria:**
|
|
@@ -1781,10 +1781,10 @@ $ oneie api:webhooks:add
|
|
|
1781
1781
|
- [ ] Build: Ensure `npx convex deploy --dry-run` succeeds
|
|
1782
1782
|
- [ ] Notify: Slack notification if tests fail
|
|
1783
1783
|
|
|
1784
|
-
### ⏳
|
|
1784
|
+
### ⏳ Cycle 95: Create Rollback Procedures
|
|
1785
1785
|
|
|
1786
1786
|
**Status:** Pending
|
|
1787
|
-
**Dependencies:**
|
|
1787
|
+
**Dependencies:** Cycle 93-94
|
|
1788
1788
|
**Task:** Define process for reverting bad deployments
|
|
1789
1789
|
**File:** `one/knowledge/rollback-procedures.md`
|
|
1790
1790
|
**Acceptance Criteria:**
|
|
@@ -1798,15 +1798,15 @@ $ oneie api:webhooks:add
|
|
|
1798
1798
|
|
|
1799
1799
|
---
|
|
1800
1800
|
|
|
1801
|
-
## Launch Phase: Final Steps (
|
|
1801
|
+
## Launch Phase: Final Steps (Cycle 96-100)
|
|
1802
1802
|
|
|
1803
1803
|
**Agent:** agent-director
|
|
1804
1804
|
**Goal:** Security audit, load testing, launch
|
|
1805
1805
|
|
|
1806
|
-
### ⏳
|
|
1806
|
+
### ⏳ Cycle 96: Conduct Security Audit (External Firm)
|
|
1807
1807
|
|
|
1808
1808
|
**Status:** Pending
|
|
1809
|
-
**Dependencies:**
|
|
1809
|
+
**Dependencies:** Cycle 61-65 (Security tests complete)
|
|
1810
1810
|
**Task:** Hire external security firm for audit
|
|
1811
1811
|
**File:** `one/events/security-audit-final-report.md`
|
|
1812
1812
|
**Acceptance Criteria:**
|
|
@@ -1818,10 +1818,10 @@ $ oneie api:webhooks:add
|
|
|
1818
1818
|
- [ ] Re-test: Verify fixes with auditors
|
|
1819
1819
|
- [ ] Certificate: Security audit badge for marketing
|
|
1820
1820
|
|
|
1821
|
-
### ⏳
|
|
1821
|
+
### ⏳ Cycle 97: Perform Load Testing at Scale
|
|
1822
1822
|
|
|
1823
1823
|
**Status:** Pending
|
|
1824
|
-
**Dependencies:**
|
|
1824
|
+
**Dependencies:** Cycle 66-70 (Performance tests complete)
|
|
1825
1825
|
**Task:** Validate production capacity with realistic traffic
|
|
1826
1826
|
**File:** `one/events/load-test-production-report.md`
|
|
1827
1827
|
**Acceptance Criteria:**
|
|
@@ -1833,10 +1833,10 @@ $ oneie api:webhooks:add
|
|
|
1833
1833
|
- [ ] Capacity planning: Document max capacity and scaling thresholds
|
|
1834
1834
|
- [ ] Auto-scaling: Convex scales automatically (verify)
|
|
1835
1835
|
|
|
1836
|
-
### ⏳
|
|
1836
|
+
### ⏳ Cycle 98: Create Onboarding Materials for First 10 Customers
|
|
1837
1837
|
|
|
1838
1838
|
**Status:** Pending
|
|
1839
|
-
**Dependencies:**
|
|
1839
|
+
**Dependencies:** Cycle 46-50 (Onboarding flow complete)
|
|
1840
1840
|
**Task:** Personalized onboarding for early adopters
|
|
1841
1841
|
**File:** `one/events/early-customer-onboarding.md`
|
|
1842
1842
|
**Acceptance Criteria:**
|
|
@@ -1848,10 +1848,10 @@ $ oneie api:webhooks:add
|
|
|
1848
1848
|
- [ ] Success metrics: All 10 customers make >100 API calls within 1 week
|
|
1849
1849
|
- [ ] Case studies: Write 2-3 case studies from early customers
|
|
1850
1850
|
|
|
1851
|
-
### ⏳
|
|
1851
|
+
### ⏳ Cycle 99: Write Launch Announcement
|
|
1852
1852
|
|
|
1853
1853
|
**Status:** Pending
|
|
1854
|
-
**Dependencies:**
|
|
1854
|
+
**Dependencies:** Cycle 96-98 (All pre-launch tasks complete)
|
|
1855
1855
|
**Task:** Create launch announcement and marketing materials
|
|
1856
1856
|
**File:** `one/events/api-launch-announcement.md`
|
|
1857
1857
|
**Acceptance Criteria:**
|
|
@@ -1863,15 +1863,15 @@ $ oneie api:webhooks:add
|
|
|
1863
1863
|
- [ ] Press release: Send to tech publications (TechCrunch, The Verge, etc.)
|
|
1864
1864
|
- [ ] Launch date: Announce date and countdown
|
|
1865
1865
|
|
|
1866
|
-
### ⏳
|
|
1866
|
+
### ⏳ Cycle 100: Mark Feature Complete and Notify Stakeholders
|
|
1867
1867
|
|
|
1868
1868
|
**Status:** Pending
|
|
1869
|
-
**Dependencies:**
|
|
1869
|
+
**Dependencies:** Cycle 99 (Launch announcement complete)
|
|
1870
1870
|
**Task:** Final sign-off and handoff
|
|
1871
1871
|
**File:** `one/events/api-feature-complete.md`
|
|
1872
1872
|
**Acceptance Criteria:**
|
|
1873
1873
|
|
|
1874
|
-
- [ ] All 100
|
|
1874
|
+
- [ ] All 100 cycles complete ✅
|
|
1875
1875
|
- [ ] All tests passing (unit, integration, security, performance) ✅
|
|
1876
1876
|
- [ ] Documentation complete (API reference, guides, SDKs) ✅
|
|
1877
1877
|
- [ ] Monitoring setup (dashboards, alerts, status page) ✅
|
|
@@ -1885,7 +1885,7 @@ $ oneie api:webhooks:add
|
|
|
1885
1885
|
|
|
1886
1886
|
## Summary Statistics
|
|
1887
1887
|
|
|
1888
|
-
**Total
|
|
1888
|
+
**Total Cycles:** 100
|
|
1889
1889
|
**Estimated Duration:** 60-90 days (with parallelization)
|
|
1890
1890
|
**Agents Involved:** 7 (director, backend, frontend, designer, quality, builder, ops, documenter, problem-solver)
|
|
1891
1891
|
**New Entity Types:** 4 (api_key, api_application, service_account, api_quota)
|
|
@@ -1899,10 +1899,10 @@ $ oneie api:webhooks:add
|
|
|
1899
1899
|
|
|
1900
1900
|
## Next Steps
|
|
1901
1901
|
|
|
1902
|
-
1. **Start Execution:** Run `/next` to begin
|
|
1902
|
+
1. **Start Execution:** Run `/next` to begin Cycle 1
|
|
1903
1903
|
2. **Review Plan:** Use `/plan` to see full breakdown
|
|
1904
|
-
3. **Assign Agents:** Agents will be automatically assigned based on
|
|
1905
|
-
4. **Track Progress:** Use `/now` to see current
|
|
1904
|
+
3. **Assign Agents:** Agents will be automatically assigned based on cycle type
|
|
1905
|
+
4. **Track Progress:** Use `/now` to see current cycle, `/done` to mark complete
|
|
1906
1906
|
5. **Monitor Quality:** agent-quality will continuously validate ontology alignment
|
|
1907
1907
|
|
|
1908
|
-
**Ready to begin? Type `/next` to start
|
|
1908
|
+
**Ready to begin? Type `/next` to start Cycle 1!**
|