@poolzin/pool-bot 2026.3.13 → 2026.3.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.
Files changed (186) hide show
  1. package/CHANGELOG.md +87 -0
  2. package/dist/agents/checkpoint-manager.js +291 -0
  3. package/dist/agents/poolbot-tools.js +5 -0
  4. package/dist/agents/subagent-announce-reliability.js +160 -0
  5. package/dist/agents/tool-result-truncation.js +299 -0
  6. package/dist/agents/tools/nodes-file-tool.js +197 -0
  7. package/dist/build-info.json +3 -3
  8. package/dist/cli/config-cli.js +60 -0
  9. package/dist/cron/cron-improvements.js +195 -0
  10. package/dist/discord/discord-improvements.js +167 -0
  11. package/dist/gateway/auth-rate-limit.js +19 -0
  12. package/dist/gateway/auth.js +41 -0
  13. package/dist/gateway/gateway-improvements.js +294 -0
  14. package/dist/gateway/node-command-policy.js +7 -2
  15. package/dist/infra/net/ssrf.js +15 -2
  16. package/dist/infra/shell-security.js +201 -0
  17. package/dist/memory/memory-improvements.js +239 -0
  18. package/dist/node-host/runner.js +146 -79
  19. package/dist/security/prototype-pollution.js +141 -0
  20. package/dist/security/webhook-security.js +253 -0
  21. package/dist/shared/net/ip.js +52 -1
  22. package/dist/slack/slack-improvements.js +225 -0
  23. package/dist/telegram/telegram-improvements.js +220 -0
  24. package/dist/ui-plugins/ui-plugins-improvements.js +191 -0
  25. package/docs/ANALISE_OPENCLAW_PROFISSIONAL.md +520 -0
  26. package/docs/competitive-analysis.md +421 -0
  27. package/docs/implementation-analysis.md +393 -0
  28. package/docs/plans/2026-03-11-file-operations-security-hardening.md +307 -0
  29. package/docs/plans/2026-03-11-integracao-projetos-poolbot.md +666 -0
  30. package/extensions/agency-agents/README.md +301 -0
  31. package/extensions/agency-agents/agents/CONTRIBUTING.md +353 -0
  32. package/extensions/agency-agents/agents/README.md +602 -0
  33. package/extensions/agency-agents/agents/design/design-brand-guardian.md +320 -0
  34. package/extensions/agency-agents/agents/design/design-image-prompt-engineer.md +234 -0
  35. package/extensions/agency-agents/agents/design/design-ui-designer.md +381 -0
  36. package/extensions/agency-agents/agents/design/design-ux-architect.md +467 -0
  37. package/extensions/agency-agents/agents/design/design-ux-researcher.md +327 -0
  38. package/extensions/agency-agents/agents/design/design-visual-storyteller.md +147 -0
  39. package/extensions/agency-agents/agents/design/design-whimsy-injector.md +436 -0
  40. package/extensions/agency-agents/agents/engineering/engineering-ai-engineer.md +144 -0
  41. package/extensions/agency-agents/agents/engineering/engineering-backend-architect.md +233 -0
  42. package/extensions/agency-agents/agents/engineering/engineering-devops-automator.md +374 -0
  43. package/extensions/agency-agents/agents/engineering/engineering-frontend-developer.md +223 -0
  44. package/extensions/agency-agents/agents/engineering/engineering-mobile-app-builder.md +491 -0
  45. package/extensions/agency-agents/agents/engineering/engineering-rapid-prototyper.md +460 -0
  46. package/extensions/agency-agents/agents/engineering/engineering-security-engineer.md +275 -0
  47. package/extensions/agency-agents/agents/engineering/engineering-senior-developer.md +174 -0
  48. package/extensions/agency-agents/agents/examples/README.md +48 -0
  49. package/extensions/agency-agents/agents/examples/nexus-spatial-discovery.md +852 -0
  50. package/extensions/agency-agents/agents/examples/workflow-landing-page.md +119 -0
  51. package/extensions/agency-agents/agents/examples/workflow-startup-mvp.md +155 -0
  52. package/extensions/agency-agents/agents/integrations/README.md +117 -0
  53. package/extensions/agency-agents/agents/integrations/aider/README.md +38 -0
  54. package/extensions/agency-agents/agents/integrations/antigravity/README.md +49 -0
  55. package/extensions/agency-agents/agents/integrations/claude-code/README.md +31 -0
  56. package/extensions/agency-agents/agents/integrations/cursor/README.md +38 -0
  57. package/extensions/agency-agents/agents/integrations/gemini-cli/README.md +36 -0
  58. package/extensions/agency-agents/agents/integrations/opencode/README.md +58 -0
  59. package/extensions/agency-agents/agents/integrations/windsurf/README.md +26 -0
  60. package/extensions/agency-agents/agents/marketing/marketing-app-store-optimizer.md +319 -0
  61. package/extensions/agency-agents/agents/marketing/marketing-content-creator.md +52 -0
  62. package/extensions/agency-agents/agents/marketing/marketing-growth-hacker.md +52 -0
  63. package/extensions/agency-agents/agents/marketing/marketing-instagram-curator.md +111 -0
  64. package/extensions/agency-agents/agents/marketing/marketing-reddit-community-builder.md +121 -0
  65. package/extensions/agency-agents/agents/marketing/marketing-social-media-strategist.md +123 -0
  66. package/extensions/agency-agents/agents/marketing/marketing-tiktok-strategist.md +123 -0
  67. package/extensions/agency-agents/agents/marketing/marketing-twitter-engager.md +124 -0
  68. package/extensions/agency-agents/agents/marketing/marketing-wechat-official-account.md +143 -0
  69. package/extensions/agency-agents/agents/marketing/marketing-xiaohongshu-specialist.md +136 -0
  70. package/extensions/agency-agents/agents/marketing/marketing-zhihu-strategist.md +160 -0
  71. package/extensions/agency-agents/agents/product/product-feedback-synthesizer.md +117 -0
  72. package/extensions/agency-agents/agents/product/product-sprint-prioritizer.md +152 -0
  73. package/extensions/agency-agents/agents/product/product-trend-researcher.md +157 -0
  74. package/extensions/agency-agents/agents/project-management/project-management-experiment-tracker.md +196 -0
  75. package/extensions/agency-agents/agents/project-management/project-management-project-shepherd.md +192 -0
  76. package/extensions/agency-agents/agents/project-management/project-management-studio-operations.md +198 -0
  77. package/extensions/agency-agents/agents/project-management/project-management-studio-producer.md +201 -0
  78. package/extensions/agency-agents/agents/project-management/project-manager-senior.md +133 -0
  79. package/extensions/agency-agents/agents/scripts/convert.sh +362 -0
  80. package/extensions/agency-agents/agents/scripts/install.sh +465 -0
  81. package/extensions/agency-agents/agents/scripts/lint-agents.sh +115 -0
  82. package/extensions/agency-agents/agents/spatial-computing/macos-spatial-metal-engineer.md +335 -0
  83. package/extensions/agency-agents/agents/spatial-computing/terminal-integration-specialist.md +68 -0
  84. package/extensions/agency-agents/agents/spatial-computing/visionos-spatial-engineer.md +52 -0
  85. package/extensions/agency-agents/agents/spatial-computing/xr-cockpit-interaction-specialist.md +30 -0
  86. package/extensions/agency-agents/agents/spatial-computing/xr-immersive-developer.md +30 -0
  87. package/extensions/agency-agents/agents/spatial-computing/xr-interface-architect.md +30 -0
  88. package/extensions/agency-agents/agents/specialized/agentic-identity-trust.md +367 -0
  89. package/extensions/agency-agents/agents/specialized/agents-orchestrator.md +365 -0
  90. package/extensions/agency-agents/agents/specialized/data-analytics-reporter.md +52 -0
  91. package/extensions/agency-agents/agents/specialized/data-consolidation-agent.md +58 -0
  92. package/extensions/agency-agents/agents/specialized/lsp-index-engineer.md +312 -0
  93. package/extensions/agency-agents/agents/specialized/report-distribution-agent.md +63 -0
  94. package/extensions/agency-agents/agents/specialized/sales-data-extraction-agent.md +65 -0
  95. package/extensions/agency-agents/agents/strategy/EXECUTIVE-BRIEF.md +95 -0
  96. package/extensions/agency-agents/agents/strategy/QUICKSTART.md +194 -0
  97. package/extensions/agency-agents/agents/strategy/coordination/agent-activation-prompts.md +401 -0
  98. package/extensions/agency-agents/agents/strategy/coordination/handoff-templates.md +357 -0
  99. package/extensions/agency-agents/agents/strategy/nexus-strategy.md +1110 -0
  100. package/extensions/agency-agents/agents/strategy/playbooks/phase-0-discovery.md +178 -0
  101. package/extensions/agency-agents/agents/strategy/playbooks/phase-1-strategy.md +238 -0
  102. package/extensions/agency-agents/agents/strategy/playbooks/phase-2-foundation.md +278 -0
  103. package/extensions/agency-agents/agents/strategy/playbooks/phase-3-build.md +286 -0
  104. package/extensions/agency-agents/agents/strategy/playbooks/phase-4-hardening.md +332 -0
  105. package/extensions/agency-agents/agents/strategy/playbooks/phase-5-launch.md +277 -0
  106. package/extensions/agency-agents/agents/strategy/playbooks/phase-6-operate.md +318 -0
  107. package/extensions/agency-agents/agents/strategy/runbooks/scenario-enterprise-feature.md +157 -0
  108. package/extensions/agency-agents/agents/strategy/runbooks/scenario-incident-response.md +217 -0
  109. package/extensions/agency-agents/agents/strategy/runbooks/scenario-marketing-campaign.md +187 -0
  110. package/extensions/agency-agents/agents/strategy/runbooks/scenario-startup-mvp.md +154 -0
  111. package/extensions/agency-agents/agents/support/support-analytics-reporter.md +363 -0
  112. package/extensions/agency-agents/agents/support/support-executive-summary-generator.md +210 -0
  113. package/extensions/agency-agents/agents/support/support-finance-tracker.md +440 -0
  114. package/extensions/agency-agents/agents/support/support-infrastructure-maintainer.md +616 -0
  115. package/extensions/agency-agents/agents/support/support-legal-compliance-checker.md +586 -0
  116. package/extensions/agency-agents/agents/support/support-support-responder.md +583 -0
  117. package/extensions/agency-agents/agents/testing/testing-accessibility-auditor.md +313 -0
  118. package/extensions/agency-agents/agents/testing/testing-api-tester.md +304 -0
  119. package/extensions/agency-agents/agents/testing/testing-evidence-collector.md +208 -0
  120. package/extensions/agency-agents/agents/testing/testing-performance-benchmarker.md +266 -0
  121. package/extensions/agency-agents/agents/testing/testing-reality-checker.md +236 -0
  122. package/extensions/agency-agents/agents/testing/testing-test-results-analyzer.md +303 -0
  123. package/extensions/agency-agents/agents/testing/testing-tool-evaluator.md +392 -0
  124. package/extensions/agency-agents/agents/testing/testing-workflow-optimizer.md +448 -0
  125. package/extensions/agency-agents/index.ts +733 -0
  126. package/extensions/agency-agents/node_modules/.bin/jiti +21 -0
  127. package/extensions/agency-agents/node_modules/.bin/tsc +21 -0
  128. package/extensions/agency-agents/node_modules/.bin/tsserver +21 -0
  129. package/extensions/agency-agents/node_modules/.bin/tsx +21 -0
  130. package/extensions/agency-agents/node_modules/.bin/vite +21 -0
  131. package/extensions/agency-agents/node_modules/.bin/vitest +21 -0
  132. package/extensions/agency-agents/node_modules/.bin/yaml +21 -0
  133. package/extensions/agency-agents/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  134. package/extensions/agency-agents/package.json +25 -0
  135. package/extensions/agency-agents/poolbot.plugin.json +11 -0
  136. package/extensions/agency-agents/src/AgencyAgentsService.test.ts +443 -0
  137. package/extensions/agency-agents/src/AgencyAgentsService.ts +288 -0
  138. package/extensions/agency-agents/src/types.ts +147 -0
  139. package/extensions/agency-agents/vitest.config.ts +8 -0
  140. package/extensions/hexstrike-ai/README.md +98 -0
  141. package/extensions/hexstrike-ai/node_modules/.bin/tsc +21 -0
  142. package/extensions/hexstrike-ai/node_modules/.bin/tsserver +21 -0
  143. package/extensions/hexstrike-ai/package.json +29 -0
  144. package/extensions/hexstrike-ai/poolbot.plugin.json +31 -0
  145. package/extensions/hexstrike-ai/src/client.ts +91 -0
  146. package/extensions/hexstrike-ai/src/index.ts +170 -0
  147. package/extensions/hexstrike-ai/src/server/hexstrike_mcp.py +5470 -0
  148. package/extensions/hexstrike-ai/src/server/hexstrike_server.py +17289 -0
  149. package/extensions/hexstrike-ai/src/server/requirements.txt +84 -0
  150. package/extensions/hexstrike-ai/src/server-manager.ts +83 -0
  151. package/extensions/hexstrike-ai/tsconfig.json +20 -0
  152. package/extensions/page-agent/README.md +159 -0
  153. package/extensions/page-agent/index.ts +595 -0
  154. package/extensions/page-agent/node_modules/.bin/jiti +21 -0
  155. package/extensions/page-agent/node_modules/.bin/playwright +21 -0
  156. package/extensions/page-agent/node_modules/.bin/tsc +21 -0
  157. package/extensions/page-agent/node_modules/.bin/tsserver +21 -0
  158. package/extensions/page-agent/node_modules/.bin/tsx +21 -0
  159. package/extensions/page-agent/node_modules/.bin/vitest +21 -0
  160. package/extensions/page-agent/node_modules/.bin/yaml +21 -0
  161. package/extensions/page-agent/package.json +43 -0
  162. package/extensions/page-agent/poolbot.plugin.json +24 -0
  163. package/extensions/page-agent/src/PageAgentService.test.ts +517 -0
  164. package/extensions/page-agent/src/PageAgentService.ts +636 -0
  165. package/extensions/page-agent/src/PoolBotPageController.test.ts +358 -0
  166. package/extensions/page-agent/src/PoolBotPageController.ts +245 -0
  167. package/extensions/page-agent/src/index.ts +20 -0
  168. package/extensions/page-agent/src/tools.test.ts +231 -0
  169. package/extensions/page-agent/src/tools.ts +167 -0
  170. package/extensions/page-agent/src/types.ts +198 -0
  171. package/extensions/xyops/README.md +227 -0
  172. package/extensions/xyops/index.ts +342 -0
  173. package/extensions/xyops/node_modules/.bin/jiti +21 -0
  174. package/extensions/xyops/node_modules/.bin/tsc +21 -0
  175. package/extensions/xyops/node_modules/.bin/tsserver +21 -0
  176. package/extensions/xyops/node_modules/.bin/tsx +21 -0
  177. package/extensions/xyops/node_modules/.bin/vitest +21 -0
  178. package/extensions/xyops/node_modules/.bin/yaml +21 -0
  179. package/extensions/xyops/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  180. package/extensions/xyops/package.json +39 -0
  181. package/extensions/xyops/poolbot.plugin.json +21 -0
  182. package/extensions/xyops/src/client.test.ts +467 -0
  183. package/extensions/xyops/src/client.ts +157 -0
  184. package/extensions/xyops/src/types.ts +147 -0
  185. package/extensions/xyops/vitest.config.ts +8 -0
  186. package/package.json +1 -1
@@ -0,0 +1,852 @@
1
+ # Nexus Spatial: Full Agency Discovery Exercise
2
+
3
+ > **Exercise type:** Multi-agent product discovery
4
+ > **Date:** March 5, 2026
5
+ > **Agents deployed:** 8 (in parallel)
6
+ > **Duration:** ~10 minutes wall-clock time
7
+ > **Purpose:** Demonstrate full-agency orchestration from opportunity identification through comprehensive planning
8
+
9
+ ---
10
+
11
+ ## Table of Contents
12
+
13
+ 1. [The Opportunity](#1-the-opportunity)
14
+ 2. [Market Validation](#2-market-validation)
15
+ 3. [Technical Architecture](#3-technical-architecture)
16
+ 4. [Brand Strategy](#4-brand-strategy)
17
+ 5. [Go-to-Market & Growth](#5-go-to-market--growth)
18
+ 6. [Customer Support Blueprint](#6-customer-support-blueprint)
19
+ 7. [UX Research & Design Direction](#7-ux-research--design-direction)
20
+ 8. [Project Execution Plan](#8-project-execution-plan)
21
+ 9. [Spatial Interface Architecture](#9-spatial-interface-architecture)
22
+ 10. [Cross-Agent Synthesis](#10-cross-agent-synthesis)
23
+
24
+ ---
25
+
26
+ ## 1. The Opportunity
27
+
28
+ ### How It Was Found
29
+
30
+ Web research across multiple sources identified three converging trends:
31
+
32
+ - **AI infrastructure/orchestration** is the fastest-growing software category (AI orchestration market valued at ~$13.5B in 2026, 22%+ CAGR)
33
+ - **Spatial computing** (Vision Pro, WebXR) is maturing but lacks killer enterprise apps
34
+ - Every existing AI workflow tool (LangSmith, n8n, Flowise, CrewAI) is a **flat 2D dashboard**
35
+
36
+ ### The Concept: Nexus Spatial
37
+
38
+ An AI Agent Command Center in spatial computing -- a VisionOS + WebXR application that provides an immersive 3D command center for orchestrating, monitoring, and interacting with AI agents. Users visualize agent pipelines as 3D node graphs, monitor real-time outputs in spatial panels, build workflows with drag-and-drop in 3D space, and collaborate in shared spatial environments.
39
+
40
+ ### Why This Agency Is Uniquely Positioned
41
+
42
+ The agency has deep spatial computing expertise (XR developers, VisionOS engineers, Metal specialists, interface architects) alongside a full engineering, design, marketing, and operations stack -- a rare combination for a product that demands both spatial computing mastery and enterprise software rigor.
43
+
44
+ ### Sources
45
+
46
+ - [Profitable SaaS Ideas 2026 (273K+ Reviews)](https://bigideasdb.com/profitable-saas-micro-saas-ideas-2026)
47
+ - [2026 SaaS and AI Revolution: 20 Top Trends](https://fungies.io/the-2026-saas-and-ai-revolution-20-top-trends/)
48
+ - [Top 21 Underserved Markets 2026](https://mktclarity.com/blogs/news/list-underserved-niches)
49
+ - [Fastest Growing Products 2026 - G2](https://www.g2.com/best-software-companies/fastest-growing)
50
+ - [PwC 2026 AI Business Predictions](https://www.pwc.com/us/en/tech-effect/ai-analytics/ai-predictions.html)
51
+
52
+ ---
53
+
54
+ ## 2. Market Validation
55
+
56
+ **Agent:** Product Trend Researcher
57
+
58
+ ### Verdict: CONDITIONAL GO -- 2D-First, Spatial-Second
59
+
60
+ ### Market Size
61
+
62
+ | Segment | 2026 Value | Growth |
63
+ |---------|-----------|--------|
64
+ | AI Orchestration Tools | $13.5B | 22.3% CAGR |
65
+ | Autonomous AI Agents | $8.5B | 45.8% CAGR to $50.3B by 2030 |
66
+ | Extended Reality | $10.64B | 40.95% CAGR |
67
+ | Spatial Computing (broad) | $170-220B | Varies by definition |
68
+
69
+ ### Competitive Landscape
70
+
71
+ **AI Agent Orchestration (all 2D):**
72
+
73
+ | Tool | Strength | UX Gap |
74
+ |------|----------|--------|
75
+ | LangChain/LangSmith | Graph-based orchestration, $39/user/mo | Flat dashboard; complex graphs unreadable at scale |
76
+ | CrewAI | 100K+ developers, fast execution | CLI-first, minimal visual tooling |
77
+ | Microsoft Agent Framework | Enterprise integration | Embedded in Azure portal, no standalone UI |
78
+ | n8n | Visual workflow builder, $20-50/mo | 2D canvas struggles with agent relationships |
79
+ | Flowise | Drag-and-drop AI flows | Limited to linear flows, no multi-agent monitoring |
80
+
81
+ **"Mission Control" Products (emerging, all 2D):**
82
+ - cmd-deck: Kanban board for AI coding agents
83
+ - Supervity Agent Command Center: Enterprise observability
84
+ - OpenClaw Command Center: Agent fleet management
85
+ - Mission Control AI: Synthetic workers management
86
+ - Mission Control HQ: Squad-based coordination
87
+
88
+ **The gap:** Products are either spatial-but-not-AI-focused, or AI-focused-but-flat-2D. No product sits at the intersection.
89
+
90
+ ### Vision Pro Reality Check
91
+
92
+ - Installed base: ~1M units globally (sales declined 95% from launch)
93
+ - Apple has shifted focus to lightweight AR glasses
94
+ - Only ~3,000 VisionOS-specific apps exist
95
+ - **Implication:** Do NOT lead with VisionOS. Lead with web, add WebXR, native VisionOS last.
96
+
97
+ ### WebXR as the Distribution Unlock
98
+
99
+ - Safari adopted WebXR Device API in late 2025
100
+ - 40% increase in WebXR adoption in 2026
101
+ - WebGPU delivers near-native rendering in browsers
102
+ - Android XR supports WebXR and OpenXR standards
103
+
104
+ ### Target Personas and Pricing
105
+
106
+ | Tier | Price | Target |
107
+ |------|-------|--------|
108
+ | Explorer | Free | Developers, solo builders (3 agents, WebXR viewer) |
109
+ | Pro | $99/user/month | Small teams (25 agents, collaboration) |
110
+ | Team | $249/user/month | Mid-market AI teams (unlimited agents, analytics) |
111
+ | Enterprise | Custom ($2K-10K/mo) | Large enterprises (SSO, RBAC, on-prem, SLA) |
112
+
113
+ ### Recommended Phased Strategy
114
+
115
+ 1. **Months 1-6:** Build a premium 2D web dashboard with Three.js 2.5D capabilities. Target: 50 paying teams, $60K MRR.
116
+ 2. **Months 6-12:** Add optional WebXR spatial mode (browser-based). Target: 200 teams, $300K MRR.
117
+ 3. **Months 12-18:** Native VisionOS app only if spatial demand is validated. Target: 500 teams, $1M+ MRR.
118
+
119
+ ### Key Risks
120
+
121
+ | Risk | Severity |
122
+ |------|----------|
123
+ | Vision Pro installed base is critically small | HIGH |
124
+ | "Spatial solution in search of a problem" -- is 3D actually 10x better than 2D? | HIGH |
125
+ | Crowded "mission control" positioning (5+ products already) | MODERATE |
126
+ | Enterprise spatial computing adoption still early | MODERATE |
127
+ | Integration complexity across AI frameworks | MODERATE |
128
+
129
+ ### Sources
130
+
131
+ - [MarketsandMarkets - AI Orchestration Market](https://www.marketsandmarkets.com/Market-Reports/ai-orchestration-market-148121911.html)
132
+ - [Deloitte - AI Agent Orchestration Predictions 2026](https://www.deloitte.com/us/en/insights/industry/technology/technology-media-and-telecom-predictions/2026/ai-agent-orchestration.html)
133
+ - [Mordor Intelligence - Extended Reality Market](https://www.mordorintelligence.com/industry-reports/extended-reality-xr-market)
134
+ - [Fintool - Vision Pro Production Halted](https://fintool.com/news/apple-vision-pro-production-halt)
135
+ - [MadXR - WebXR Browser-Based Experiences 2026](https://www.madxr.io/webxr-browser-immersive-experiences-2026.html)
136
+
137
+ ---
138
+
139
+ ## 3. Technical Architecture
140
+
141
+ **Agent:** Backend Architect
142
+
143
+ ### System Overview
144
+
145
+ An 8-service architecture with clear ownership boundaries, designed for horizontal scaling and provider-agnostic AI integration.
146
+
147
+ ```
148
+ +------------------------------------------------------------------+
149
+ | CLIENT TIER |
150
+ | VisionOS Native (Swift/RealityKit) | WebXR (React Three Fiber) |
151
+ +------------------------------------------------------------------+
152
+ |
153
+ +-----------------------------v------------------------------------+
154
+ | API GATEWAY (Kong / AWS API GW) |
155
+ | Rate limiting | JWT validation | WebSocket upgrade | TLS |
156
+ +------------------------------------------------------------------+
157
+ |
158
+ +------------------------------------------------------------------+
159
+ | SERVICE TIER |
160
+ | Auth | Workspace | Workflow | Orchestration (Rust) | |
161
+ | Collaboration (Yjs CRDT) | Streaming (WS) | Plugin | Billing |
162
+ +------------------------------------------------------------------+
163
+ |
164
+ +------------------------------------------------------------------+
165
+ | DATA TIER |
166
+ | PostgreSQL 16 | Redis 7 Cluster | S3 | ClickHouse | NATS |
167
+ +------------------------------------------------------------------+
168
+ |
169
+ +------------------------------------------------------------------+
170
+ | AI PROVIDER TIER |
171
+ | OpenAI | Anthropic | Google | Local Models | Custom Plugins |
172
+ +------------------------------------------------------------------+
173
+ ```
174
+
175
+ ### Tech Stack
176
+
177
+ | Component | Technology | Rationale |
178
+ |-----------|------------|-----------|
179
+ | Orchestration Engine | **Rust** | Sub-ms scheduling, zero GC pauses, memory safety for agent sandboxing |
180
+ | API Services | TypeScript / NestJS | Developer velocity for CRUD-heavy services |
181
+ | VisionOS Client | Swift 6, SwiftUI, RealityKit | First-class spatial computing with Liquid Glass |
182
+ | WebXR Client | TypeScript, React Three Fiber | Production-grade WebXR with React component model |
183
+ | Message Broker | NATS JetStream | Lightweight, exactly-once delivery, simpler than Kafka |
184
+ | Collaboration | Yjs (CRDT) + WebRTC | Conflict-free concurrent 3D graph editing |
185
+ | Primary Database | PostgreSQL 16 | JSONB for flexible configs, Row-Level Security for tenant isolation |
186
+
187
+ ### Core Data Model
188
+
189
+ 14 tables covering:
190
+ - **Identity & Access:** users, workspaces, team_memberships, api_keys
191
+ - **Workflows:** workflows, workflow_versions, nodes, edges
192
+ - **Executions:** executions, execution_steps, step_output_chunks
193
+ - **Collaboration:** collaboration_sessions, session_participants
194
+ - **Credentials:** provider_credentials (AES-256-GCM encrypted)
195
+ - **Billing:** subscriptions, usage_records
196
+ - **Audit:** audit_log (append-only)
197
+
198
+ ### Node Type Registry
199
+
200
+ ```
201
+ Built-in Node Types:
202
+ ai_agent -- Calls an AI provider with a prompt
203
+ prompt_template -- Renders a template with variables
204
+ conditional -- Routes based on expression
205
+ transform -- Sandboxed code snippet (JS/Python)
206
+ input / output -- Workflow entry/exit points
207
+ human_review -- Pauses for human approval
208
+ loop -- Repeats subgraph
209
+ parallel_split -- Fans out to branches
210
+ parallel_join -- Waits for branches
211
+ webhook_trigger -- External HTTP trigger
212
+ delay -- Timed pause
213
+ ```
214
+
215
+ ### WebSocket Channels
216
+
217
+ Real-time streaming via WSS with:
218
+ - Per-channel sequence numbers for ordering
219
+ - Gap detection with replay requests
220
+ - Snapshot recovery when >1000 events behind
221
+ - Client-side throttling for lower-powered devices
222
+
223
+ ### Security Architecture
224
+
225
+ | Layer | Mechanism |
226
+ |-------|-----------|
227
+ | User Auth | OAuth 2.0 (GitHub, Google, Apple) + email/password + optional TOTP MFA |
228
+ | API Keys | SHA-256 hashed, scoped, optional expiry |
229
+ | Service-to-Service | mTLS via service mesh |
230
+ | WebSocket Auth | One-time tickets with 30-second expiry |
231
+ | Credential Storage | Envelope encryption (AES-256-GCM + AWS KMS) |
232
+ | Code Sandboxing | gVisor/Firecracker microVMs (no network, 256MB RAM, 30s CPU) |
233
+ | Tenant Isolation | PostgreSQL Row-Level Security + S3 IAM policies + NATS subject scoping |
234
+
235
+ ### Scaling Targets
236
+
237
+ | Metric | Year 1 | Year 2 |
238
+ |--------|--------|--------|
239
+ | Concurrent agent executions | 5,000 | 50,000 |
240
+ | WebSocket connections | 10,000 | 100,000 |
241
+ | P95 API latency | < 150ms | < 100ms |
242
+ | P95 WS event latency | < 80ms | < 50ms |
243
+
244
+ ### MVP Phases
245
+
246
+ 1. **Weeks 1-6:** 2D web editor, sequential execution, OpenAI + Anthropic adapters
247
+ 2. **Weeks 7-12:** WebXR 3D mode, parallel execution, hand tracking, RBAC
248
+ 3. **Weeks 13-20:** Multi-user collaboration, VisionOS native, billing
249
+ 4. **Weeks 21-30:** Enterprise SSO, plugin SDK, SOC 2, scale hardening
250
+
251
+ ---
252
+
253
+ ## 4. Brand Strategy
254
+
255
+ **Agent:** Brand Guardian
256
+
257
+ ### Positioning
258
+
259
+ **Category creation over category competition.** Nexus Spatial defines a new category -- **Spatial AI Operations (SpatialAIOps)** -- rather than fighting for position in the crowded AI observability dashboard space.
260
+
261
+ **Positioning statement:** For technical teams managing complex AI agent workflows, Nexus Spatial is the immersive 3D command center that provides spatial awareness of agent orchestration, unlike flat 2D dashboards, because spatial computing transforms monitoring from reading dashboards to inhabiting your infrastructure.
262
+
263
+ ### Name Validation
264
+
265
+ "Nexus Spatial" is **validated as strong:**
266
+ - "Nexus" connects to the NEXUS orchestration framework (Network of EXperts, Unified in Strategy)
267
+ - "Nexus" independently means "central connection point" -- perfect for a command center
268
+ - "Spatial" is the industry-standard descriptor Apple and the industry have normalized
269
+ - Phonetically balanced: three syllables, then two
270
+ - **Action needed:** Trademark clearance in Nice Classes 9, 42, and 38
271
+
272
+ ### Brand Personality: The Commander
273
+
274
+ | Trait | Expression | Avoids |
275
+ |-------|------------|--------|
276
+ | **Authoritative** | Clear, direct, technically precise | Hype, superlatives, vague futurism |
277
+ | **Composed** | Clean design, measured pacing, white space | Urgency for urgency's sake, chaos |
278
+ | **Pioneering** | Quiet pride, understated references to the new paradigm | "Revolutionary," "game-changing" |
279
+ | **Precise** | Exact specs, real metrics, honest requirements | Vague claims, marketing buzzwords |
280
+ | **Approachable** | Natural interaction language, spatial metaphors | Condescension, gatekeeping |
281
+
282
+ ### Taglines (Ranked)
283
+
284
+ 1. **"Mission Control for the Agent Era"** -- RECOMMENDED PRIMARY
285
+ 2. "See Your Agents in Space"
286
+ 3. "Orchestrate in Three Dimensions"
287
+ 4. "Where AI Operations Become Spatial"
288
+ 5. "Command Center. Reimagined in Space."
289
+ 6. "The Dimension Your Dashboards Are Missing"
290
+ 7. "AI Agents Deserve More Than Flat Screens"
291
+
292
+ ### Color System
293
+
294
+ | Color | Hex | Usage |
295
+ |-------|-----|-------|
296
+ | Deep Space Indigo | `#1B1F3B` | Foundational dark canvas, backgrounds |
297
+ | Nexus Blue | `#4A7BF7` | Signature brand, primary actions |
298
+ | Signal Cyan | `#00D4FF` | Spatial highlights, data connections |
299
+ | Command Green | `#00E676` | Healthy systems, success |
300
+ | Alert Amber | `#FFB300` | Warnings, attention needed |
301
+ | Critical Red | `#FF3D71` | Errors, failures |
302
+
303
+ Usage ratio: Deep Space Indigo 60%, Nexus Blue 25%, Signal Cyan 10%, Semantic 5%.
304
+
305
+ ### Typography
306
+
307
+ - **Primary:** Inter (UI, body, labels)
308
+ - **Monospace:** JetBrains Mono (code, logs, agent output)
309
+ - **Display:** Space Grotesk (marketing headlines only)
310
+
311
+ ### Logo Concepts
312
+
313
+ Three directions for exploration:
314
+
315
+ 1. **The Spatial Nexus Mark** -- Convergent lines meeting at a glowing central node with subtle perspective depth
316
+ 2. **The Dimensional Window** -- Stylized viewport with perspective lines creating the effect of looking into 3D space
317
+ 3. **The Orbital Array** -- Orbital rings around a central point suggesting coordinated agents in motion
318
+
319
+ ### Brand Values
320
+
321
+ - **Spatial Truthfulness** -- Honest representation of system state, no cosmetic smoothing
322
+ - **Operational Gravity** -- Built for production, not demos
323
+ - **Dimensional Generosity** -- WebXR ensures spatial value is accessible to everyone
324
+ - **Composure Under Complexity** -- The more complex the system, the calmer the interface
325
+
326
+ ### Design Tokens
327
+
328
+ ```css
329
+ :root {
330
+ --nxs-deep-space: #1B1F3B;
331
+ --nxs-blue: #4A7BF7;
332
+ --nxs-cyan: #00D4FF;
333
+ --nxs-green: #00E676;
334
+ --nxs-amber: #FFB300;
335
+ --nxs-red: #FF3D71;
336
+ --nxs-void: #0A0E1A;
337
+ --nxs-slate-900: #141829;
338
+ --nxs-slate-700: #2A2F45;
339
+ --nxs-slate-500: #4A5068;
340
+ --nxs-slate-300: #8B92A8;
341
+ --nxs-slate-100: #C8CCE0;
342
+ --nxs-cloud: #E8EBF5;
343
+ --nxs-white: #F8F9FC;
344
+ --nxs-font-primary: 'Inter', sans-serif;
345
+ --nxs-font-mono: 'JetBrains Mono', monospace;
346
+ --nxs-font-display: 'Space Grotesk', sans-serif;
347
+ }
348
+ ```
349
+
350
+ ---
351
+
352
+ ## 5. Go-to-Market & Growth
353
+
354
+ **Agent:** Growth Hacker
355
+
356
+ ### North Star Metric
357
+
358
+ **Weekly Active Pipelines (WAP)** -- unique agent pipelines with at least one spatial interaction in the past 7 days. Captures both creation and engagement, correlates with value, and isn't gameable.
359
+
360
+ ### Pricing
361
+
362
+ | Tier | Annual | Monthly | Target |
363
+ |------|--------|---------|--------|
364
+ | Explorer | Free | Free | 3 pipelines, WebXR preview, community |
365
+ | Pro | $29/user/mo | $39/user/mo | Unlimited pipelines, VisionOS, 30-day history |
366
+ | Team | $59/user/mo | $79/user/mo | Collaboration, RBAC, SSO, 90-day history |
367
+ | Enterprise | Custom (~$150+) | Custom | Dedicated infra, SLA, on-prem option |
368
+
369
+ Strategy: 14-day reverse trial (Pro features, then downgrade to Free). Target 5-8% free-to-paid conversion.
370
+
371
+ ### 3-Phase GTM
372
+
373
+ **Phase 1: Founder-Led Sales (Months 1-3)**
374
+ - Target: Individual AI engineers at startups who use LangChain/CrewAI and own Vision Pro
375
+ - Tactics: DM 200 high-profile AI engineers, weekly build-in-public posts, 30-second demo clips
376
+ - Channels: X/Twitter, LinkedIn, AI-focused Discord servers, Reddit
377
+
378
+ **Phase 2: Developer Community (Months 4-6)**
379
+ - Product Hunt launch (timed for this phase, not Phase 1)
380
+ - Hacker News Show HN, Dev.to articles, conference talks
381
+ - Integration announcements with popular AI frameworks
382
+
383
+ **Phase 3: Enterprise (Months 7-12)**
384
+ - Apple enterprise referral pipeline, LinkedIn ABM campaigns
385
+ - Enterprise case studies, analyst briefings (Gartner, Forrester)
386
+ - First enterprise AE hire, SOC 2 compliance
387
+
388
+ ### Growth Loops
389
+
390
+ 1. **"Wow Factor" Demo Loop** -- Spatial demos are inherently shareable. One-click "Share Spatial Preview" generates a WebXR link or video. Target K = 0.3-0.5.
391
+ 2. **Template Marketplace** -- Power users publish pipeline templates, discoverable via search, driving new signups.
392
+ 3. **Collaboration Seat Expansion** -- One engineer adopts, shares with teammates, team expands to paid plan (Slack/Figma playbook).
393
+ 4. **Integration-Driven Discovery** -- Listings in LangChain, n8n, OpenAI/Anthropic partner directories.
394
+
395
+ ### Open-Source Strategy
396
+
397
+ **Open-source (Apache 2.0):**
398
+ - `nexus-spatial-sdk` -- TypeScript/Python SDK for connecting agent frameworks
399
+ - `nexus-webxr-components` -- React Three Fiber component library for 3D pipelines
400
+ - `nexus-agent-schemas` -- Standardized schemas for representing agent pipelines in 3D
401
+
402
+ **Keep proprietary:** VisionOS native app, collaboration engine, enterprise features, hosted infrastructure.
403
+
404
+ ### Revenue Targets
405
+
406
+ | Metric | Month 6 | Month 12 |
407
+ |--------|---------|----------|
408
+ | MRR | $8K-15K | $50K-80K |
409
+ | Free accounts | 5,000 | 15,000 |
410
+ | Paid seats | 300 | 1,200 |
411
+ | Discord members | 2,000 | 5,000 |
412
+ | GitHub stars (SDK) | 500 | 2,000 |
413
+
414
+ ### First $50K Budget
415
+
416
+ | Category | Amount | % |
417
+ |----------|--------|---|
418
+ | Content Production | $12,000 | 24% |
419
+ | Developer Relations | $10,000 | 20% |
420
+ | Paid Acquisition Testing | $8,000 | 16% |
421
+ | Community & Tools | $5,000 | 10% |
422
+ | Product Hunt & Launch | $3,000 | 6% |
423
+ | Open Source Maintenance | $3,000 | 6% |
424
+ | PR & Outreach | $4,000 | 8% |
425
+ | Partnerships | $2,000 | 4% |
426
+ | Reserve | $3,000 | 6% |
427
+
428
+ ### Key Partnerships
429
+
430
+ - **Tier 1 (Critical):** Anthropic, OpenAI -- first-class API integrations, partner program listings
431
+ - **Tier 2 (Adoption):** LangChain, CrewAI, n8n -- framework integrations, community cross-pollination
432
+ - **Tier 3 (Platform):** Apple -- Vision Pro developer kit, App Store featuring, WWDC
433
+ - **Tier 4 (Ecosystem):** GitHub, Hugging Face, Docker -- developer platform integrations
434
+
435
+ ### Sources
436
+
437
+ - [AI Orchestration Market Size - MarketsandMarkets](https://www.marketsandmarkets.com/Market-Reports/ai-orchestration-market-148121911.html)
438
+ - [Spatial Computing Market - Precedence Research](https://www.precedenceresearch.com/spatial-computing-market)
439
+ - [How to Price AI Products - Aakash Gupta](https://www.news.aakashg.com/p/how-to-price-ai-products)
440
+ - [Product Hunt Launch Guide 2026](https://calmops.com/indie-hackers/product-hunt-launch-guide/)
441
+
442
+ ---
443
+
444
+ ## 6. Customer Support Blueprint
445
+
446
+ **Agent:** Support Responder
447
+
448
+ ### Support Tier Structure
449
+
450
+ | Attribute | Explorer (Free) | Builder (Pro) | Command (Enterprise) |
451
+ |-----------|-----------------|---------------|---------------------|
452
+ | First Response SLA | Best effort (48h) | 4 hours (business hours) | 30 min (P1), 2h (P2) |
453
+ | Resolution SLA | 5 business days | 24h (P1/P2), 72h (P3) | 4h (P1), 12h (P2) |
454
+ | Channels | Community, KB, AI assistant | + Live chat, email, video (2/mo) | + Dedicated Slack, named CSE, 24/7 |
455
+ | Scope | General questions, docs | Technical troubleshooting, integrations | Full integration, custom design, compliance |
456
+
457
+ ### Priority Definitions
458
+
459
+ - **P1 Critical:** Orchestration down, data loss risk, security breach
460
+ - **P2 High:** Major feature degraded, workaround exists
461
+ - **P3 Medium:** Non-blocking issues, minor glitches
462
+ - **P4 Low:** Feature requests, cosmetic issues
463
+
464
+ ### The Nexus Guide: AI-Powered In-Product Support
465
+
466
+ The standout design decision: the support agent lives as a visible node **inside the user's spatial workspace**. It has full context of the user's layout, active agents, and recent errors.
467
+
468
+ **Capabilities:**
469
+ - Natural language Q&A about features
470
+ - Real-time agent diagnostics ("Why is Agent X slow?")
471
+ - Configuration suggestions ("Your topology would perform better as a mesh")
472
+ - Guided spatial troubleshooting walkthroughs
473
+ - Ticket creation with automatic context attachment
474
+
475
+ **Self-Healing:**
476
+
477
+ | Scenario | Detection | Auto-Resolution |
478
+ |----------|-----------|-----------------|
479
+ | Agent infinite loop | CPU/token spike | Kill and restart with last good config |
480
+ | Rendering frame drop | FPS below threshold | Reduce visual fidelity, suggest closing panels |
481
+ | Credential expiry | API 401 responses | Prompt re-auth, pause agents gracefully |
482
+ | Communication timeout | Latency spike | Reroute messages through alternate path |
483
+
484
+ ### Onboarding Flow
485
+
486
+ Adaptive onboarding based on user profiling:
487
+
488
+ | AI Experience | Spatial Experience | Path |
489
+ |---------------|-------------------|------|
490
+ | Low | Low | Full guided tour (20 min) |
491
+ | High | Low | Spatial-focused (12 min) |
492
+ | Low | High | Agent-focused (12 min) |
493
+ | High | High | Express setup (5 min) |
494
+
495
+ Critical first step: 60-second spatial calibration (hand tracking, gaze, comfort check) before any product interaction.
496
+
497
+ **Activation Milestone** (user is "onboarded" when they have):
498
+ - Created at least one custom agent
499
+ - Connected two or more agents in a topology
500
+ - Anchored at least one monitoring dashboard
501
+ - Returned for a third session
502
+
503
+ ### Team Build
504
+
505
+ | Phase | Headcount | Roles |
506
+ |-------|-----------|-------|
507
+ | Months 0-6 | 4 | Head of CX, 2 Support Engineers, Technical Writer |
508
+ | Months 6-12 | 8 | + 2 Support Engineers, CSE, Community Manager, Ops Analyst |
509
+ | Months 12-24 | 16 | + 4 Engineers (24/7), Spatial Specialist, Integration Specialist, KB Manager, Engineering Manager |
510
+
511
+ ### Community: Discord-First
512
+
513
+ ```
514
+ NEXUS SPATIAL DISCORD
515
+ INFORMATION: #announcements, #changelog, #status
516
+ SUPPORT: #help-getting-started, #help-agents, #help-spatial
517
+ DISCUSSION: #general, #show-your-workspace, #feature-requests
518
+ PLATFORMS: #visionos, #webxr, #api-and-sdk
519
+ EVENTS: office-hours (weekly voice), community-demos (monthly)
520
+ PRO MEMBERS: #pro-lounge, #beta-testing
521
+ ENTERPRISE: per-customer private channels
522
+ ```
523
+
524
+ **Champions Program ("Nexus Navigators"):** 5-10 initial power users with Navigator badge, direct Slack with product team, free Pro tier, early feature access, and annual summit.
525
+
526
+ ---
527
+
528
+ ## 7. UX Research & Design Direction
529
+
530
+ **Agent:** UX Researcher
531
+
532
+ ### User Personas
533
+
534
+ **Maya Chen -- AI Platform Engineer (32, San Francisco)**
535
+ - Manages 15-30 active agent workflows, uses n8n + LangSmith
536
+ - Spends 40% of time debugging agent failures via log inspection
537
+ - Skeptical of spatial computing: "Is this actually faster, or just cooler?"
538
+ - Primary need: Reduce mean-time-to-diagnosis from 45 min to under 10
539
+
540
+ **David Okoro -- Technical Product Manager (38, London)**
541
+ - Reviews and approves agent workflow designs, presents to C-suite
542
+ - Cannot meaningfully contribute to workflow reviews because tools require code-level understanding
543
+ - Primary need: Understand and communicate agent architectures without reading code
544
+
545
+ **Dr. Amara Osei -- Research Scientist (45, Zurich)**
546
+ - Designs multi-agent research workflows with A/B comparisons
547
+ - Has 12 variations of the same pipeline with no good way to compare
548
+ - Primary need: Side-by-side comparison of variant pipelines in 3D space
549
+
550
+ **Jordan Rivera -- Creative Technologist (27, Austin)**
551
+ - Daily Vision Pro user, builds AI-powered art installations
552
+ - Wants tools that feel like instruments, not dashboards
553
+ - Primary need: Build agent workflows quickly with immediate spatial feedback
554
+
555
+ ### Key Finding: Debugging Is the Killer Use Case
556
+
557
+ Spatial overlay of runtime traces on workflow structure solves a real, quantified pain point that no 2D tool handles well. This workflow should receive the most design and engineering investment.
558
+
559
+ ### Critical Design Insight
560
+
561
+ Spatial adds value for **structural** tasks (placing, connecting, rearranging nodes) but creates friction for **parameter** tasks (text entry, configuration). The interface must seamlessly blend spatial and 2D modes -- 2D panels anchored to spatial positions.
562
+
563
+ ### 7 Design Principles
564
+
565
+ 1. **Spatial Earns Its Place** -- If 2D is clearer, use 2D. Every review should ask: "Would this be better flat?"
566
+ 2. **Glanceable Before Inspectable** -- Critical info perceivable in under 2 seconds via color, size, motion, position
567
+ 3. **Hands-Free Is the Baseline** -- Gaze + voice covers all read/navigate operations; hands add precision but aren't required
568
+ 4. **Respect Cognitive Gravity** -- Extend 2D mental models (left-to-right flow), don't replace them; z-axis adds layering
569
+ 5. **Progressive Spatial Complexity** -- New users start nearly-2D; spatial capabilities reveal as confidence grows
570
+ 6. **Physical Metaphors, Digital Capabilities** -- Nodes are "picked up" (physical) but also duplicated and versioned (digital)
571
+ 7. **Silence Is a Feature** -- Healthy systems feel calm; color and motion signal deviation from normal
572
+
573
+ ### Navigation Paradigm: 4-Level Semantic Zoom
574
+
575
+ | Level | What You See |
576
+ |-------|-------------|
577
+ | Fleet View | All workflows as abstract shapes, color-coded by status |
578
+ | Workflow View | Node graph with labels and connections |
579
+ | Node View | Expanded configuration, recent I/O, status metrics |
580
+ | Trace View | Full execution trace with data inspection |
581
+
582
+ ### Competitive UX Summary
583
+
584
+ | Capability | n8n | Flowise | LangSmith | Langflow | Nexus Spatial Target |
585
+ |-----------|-----|---------|-----------|----------|---------------------|
586
+ | Visual workflow building | A | B+ | N/A | A | A+ (spatial) |
587
+ | Debugging/tracing | C+ | C | A | B | A+ (spatial overlay) |
588
+ | Monitoring | B | C | A | B | A (spatial fleet) |
589
+ | Collaboration | D | D | C | D | A (spatial co-presence) |
590
+ | Large workflow scalability | C | C | B | C | A (3D space) |
591
+
592
+ ### Accessibility Requirements
593
+
594
+ - Every interaction achievable through at least two modalities
595
+ - No information conveyed by color alone
596
+ - High-contrast mode, reduced-motion mode, depth-flattening mode
597
+ - Screen reader compatibility with spatial element descriptions
598
+ - Session length warnings every 20-30 minutes
599
+ - All core tasks completable seated, one-handed, within 30-degree movement cone
600
+
601
+ ### Research Plan (16 Weeks)
602
+
603
+ | Phase | Weeks | Studies |
604
+ |-------|-------|---------|
605
+ | Foundational | 1-4 | Mental model interviews (15-20 participants), competitive task analysis |
606
+ | Concept Validation | 5-8 | Wizard-of-Oz spatial prototype testing, 3D card sort for IA |
607
+ | Usability Testing | 9-14 | First-use experience (20 users), 4-week longitudinal diary study, paired collaboration testing |
608
+ | Accessibility Audit | 12-16 | Expert heuristic evaluation, testing with users with disabilities |
609
+
610
+ ---
611
+
612
+ ## 8. Project Execution Plan
613
+
614
+ **Agent:** Project Shepherd
615
+
616
+ ### Timeline: 35 Weeks (March 9 -- November 6, 2026)
617
+
618
+ | Phase | Weeks | Duration | Goal |
619
+ |-------|-------|----------|------|
620
+ | Discovery & Research | W1-3 | 3 weeks | Validate feasibility, define scope |
621
+ | Foundation | W4-9 | 6 weeks | Core infrastructure, both platform shells, design system |
622
+ | MVP Build | W10-19 | 10 weeks | Single-user agent command center with orchestration |
623
+ | Beta | W20-27 | 8 weeks | Collaboration, polish, harden, 50-100 beta users |
624
+ | Launch | W28-31 | 4 weeks | App Store + web launch, marketing push |
625
+ | Scale | W32-35+ | Ongoing | Plugin marketplace, advanced features, growth |
626
+
627
+ ### Critical Milestone: Week 12 (May 29)
628
+
629
+ **First end-to-end workflow execution.** A user creates and runs a 3-node agent workflow in 3D. This is the moment the product proves its core value proposition. If this slips, everything downstream shifts.
630
+
631
+ ### First 6 Sprints (65 Tickets)
632
+
633
+ **Sprint 1 (Mar 9-20):** VisionOS SDK audit, WebXR compatibility matrix, orchestration engine feasibility, stakeholder interviews, throwaway prototypes for both platforms.
634
+
635
+ **Sprint 2 (Mar 23 - Apr 3):** Architecture decision records, MVP scope lock with MoSCoW, PRD v1.0, spatial UI pattern research, interaction model definition, design system kickoff.
636
+
637
+ **Sprint 3 (Apr 6-17):** Monorepo setup, auth service (OAuth2), database schema, API gateway, VisionOS Xcode project init, WebXR project init, CI/CD pipelines.
638
+
639
+ **Sprint 4 (Apr 20 - May 1):** WebSocket server + client SDKs, spatial window management, 3D component library, hand tracking input layer, teams CRUD, integration tests.
640
+
641
+ **Sprint 5 (May 4-15):** Orchestration engine core (Rust), agent state machine, node graph renderers (both platforms), plugin interface v0, OpenAI provider plugin.
642
+
643
+ **Sprint 6 (May 18-29):** Workflow persistence + versioning, DAG execution, real-time execution visualization, Anthropic provider plugin, eye tracking integration, spatial audio.
644
+
645
+ ### Team Allocation
646
+
647
+ 5 squads operating across phases:
648
+
649
+ | Squad | Core Members | Active Phases |
650
+ |-------|-------------|---------------|
651
+ | Core Architecture | Backend Architect, XR Interface Architect, Senior Dev, VisionOS Engineer | Discovery through MVP |
652
+ | Spatial Experience | XR Immersive Dev, XR Cockpit Specialist, Metal Engineer, UX Architect, UI Designer | Foundation through Beta |
653
+ | Orchestration | AI Engineer, Backend Architect, Senior Dev, API Tester | MVP through Beta |
654
+ | Platform Delivery | Frontend Dev, Mobile App Builder, VisionOS Engineer, DevOps | MVP through Launch |
655
+ | Launch | Growth Hacker, Content Creator, App Store Optimizer, Visual Storyteller, Brand Guardian | Beta through Scale |
656
+
657
+ ### Top 5 Risks
658
+
659
+ | Risk | Probability | Impact | Mitigation |
660
+ |------|------------|--------|------------|
661
+ | Apple rejects VisionOS app | Medium | Critical | Engage Apple Developer Relations Week 4, pre-review by Week 20 |
662
+ | WebXR browser fragmentation | High | High | Browser support matrix Week 1, automated cross-browser tests |
663
+ | Multi-user sync conflicts | Medium | High | CRDT-based sync (Yjs) from the start, prototype in Foundation |
664
+ | Orchestration can't scale | Medium | Critical | Horizontal scaling from day one, load test at 10x by Week 22 |
665
+ | RealityKit performance for 100+ nodes | Medium | High | Profile early, implement LOD culling, instanced rendering |
666
+
667
+ ### Budget: $121,500 -- $155,500 (Non-Personnel)
668
+
669
+ | Category | Estimated Cost |
670
+ |----------|---------------|
671
+ | Cloud infrastructure (35 weeks) | $35,000 - $45,000 |
672
+ | Hardware (3 Vision Pro, 2 Quest 3, Mac Studio) | $17,500 |
673
+ | Licenses and services | $15,000 - $20,000 |
674
+ | External services (legal, security, PR) | $30,000 - $45,000 |
675
+ | AI API costs (dev/test) | $8,000 |
676
+ | Contingency (15%) | $16,000 - $20,000 |
677
+
678
+ ---
679
+
680
+ ## 9. Spatial Interface Architecture
681
+
682
+ **Agent:** XR Interface Architect
683
+
684
+ ### The Command Theater
685
+
686
+ The workspace is organized as a curved theater around the user:
687
+
688
+ ```
689
+ OVERVIEW CANOPY
690
+ (pipeline topology)
691
+ ~~~~~~~~~~~~~~~~~~~~~~~~
692
+ / \
693
+ / FOCUS ARC (120 deg) \
694
+ / primary node graph work \
695
+ /________________________________\
696
+ | |
697
+ LEFT | USER POSITION | RIGHT
698
+ UTILITY | (origin 0,0,0) | UTILITY
699
+ RAIL | | RAIL
700
+ |__________________________________|
701
+ \ /
702
+ \ SHELF (below sightline) /
703
+ \ agent status, quick tools/
704
+ \_________________________ /
705
+ ```
706
+
707
+ - **Focus Arc** (120 degrees, 1.2-2.0m): Primary node graph workspace
708
+ - **Overview Canopy** (above, 2.5-4.0m): Miniature pipeline topology + health heatmap
709
+ - **Utility Rails** (left/right flanks): Agent library, monitoring, logs
710
+ - **Shelf** (below sightline, 0.8-1.0m): Run/stop, undo/redo, quick tools
711
+
712
+ ### Three-Layer Depth System
713
+
714
+ | Layer | Depth | Content | Opacity |
715
+ |-------|-------|---------|---------|
716
+ | Foreground | 0.8 - 1.2m | Active panels, inspectors, modals | 100% |
717
+ | Midground | 1.2 - 2.5m | Node graph, connections, workspace | 100% |
718
+ | Background | 2.5 - 5.0m | Overview map, ambient status | 40-70% |
719
+
720
+ ### Node Graph in 3D
721
+
722
+ **Data flows toward the user.** Nodes arrange along the z-axis by execution order:
723
+
724
+ ```
725
+ USER (here)
726
+ z=0.0m [Output Nodes] -- Results
727
+ z=0.3m [Transform Nodes] -- Processors
728
+ z=0.6m [Agent Nodes] -- LLM calls
729
+ z=0.9m [Retrieval Nodes] -- RAG, APIs
730
+ z=1.2m [Input Nodes] -- Triggers
731
+ ```
732
+
733
+ Parallel branches spread horizontally (x-axis). Conditional branches spread vertically (y-axis).
734
+
735
+ **Node representation (3 LODs):**
736
+ - **LOD-0** (resting, >1.5m): 12x8cm frosted glass rectangle with type icon, name, status glow
737
+ - **LOD-1** (hover, 400ms gaze): Expands to 14x10cm, reveals ports, last-run info
738
+ - **LOD-2** (selected): Slides to foreground, expands to 30x40cm detail panel with live config editing
739
+
740
+ **Connections as luminous tubes:**
741
+ - 4mm diameter at rest, 8mm when carrying data
742
+ - Color-coded by data type (white=text, cyan=structured, magenta=images, amber=audio, green=tool calls)
743
+ - Animated particles show flow direction and speed
744
+ - Auto-bundle when >3 run parallel between same layers
745
+
746
+ ### 7 Agent States
747
+
748
+ | State | Edge Glow | Interior | Sound | Particles |
749
+ |-------|-----------|----------|-------|-----------|
750
+ | Idle | Steady green, low | Static frosted glass | None | None |
751
+ | Queued | Pulsing amber, 1Hz | Faint rotation | None | Slow drift at input |
752
+ | Running | Steady blue, medium | Animated shimmer | Soft spatial hum | Rapid flow on connections |
753
+ | Streaming | Blue + output stream | Shimmer + text fragments | Hum | Text fragments flowing forward |
754
+ | Completed | Flash white, then green | Static | Completion chime | None |
755
+ | Error | Pulsing red, 2Hz | Red tint | Alert tone (once) | None |
756
+ | Paused | Steady amber | Freeze-frame + pause icon | None | Frozen in place |
757
+
758
+ ### Interaction Model
759
+
760
+ | Action | VisionOS | WebXR Controllers | Voice |
761
+ |--------|----------|-------------------|-------|
762
+ | Select node | Gaze + pinch | Point ray + trigger | "Select [name]" |
763
+ | Move node | Pinch + drag | Grip + move | -- |
764
+ | Connect ports | Pinch port + drag | Trigger port + drag | "Connect [A] to [B]" |
765
+ | Pan workspace | Two-hand drag | Thumbstick | "Pan left/right" |
766
+ | Zoom | Two-hand spread/pinch | Thumbstick push/pull | "Zoom in/out" |
767
+ | Inspect node | Pinch + pull toward self | Double-trigger | "Inspect [name]" |
768
+ | Run pipeline | Tap Shelf button | Trigger button | "Run pipeline" |
769
+ | Undo | Two-finger double-tap | B button | "Undo" |
770
+
771
+ ### Collaboration Presence
772
+
773
+ Each collaborator represented by:
774
+ - **Head proxy:** Translucent sphere with profile image, rotates with head orientation
775
+ - **Hand proxies:** Ghosted hand models showing pinch/grab states
776
+ - **Gaze cone:** Subtle 10-degree cone showing where they're looking
777
+ - **Name label:** Billboard-rendered, shows current action ("editing Node X")
778
+
779
+ **Conflict resolution:** First editor gets write lock; second sees "locked by [name]" with option to request access or duplicate the node.
780
+
781
+ ### Adaptive Layout
782
+
783
+ | Environment | Node Scale | Max LOD-2 Nodes | Graph Z-Spread |
784
+ |-------------|-----------|-----------------|----------------|
785
+ | VisionOS Window | 4x3cm | 5 | 0.05m/layer |
786
+ | VisionOS Immersive | 12x8cm | 15 | 0.3m/layer |
787
+ | WebXR Desktop | 120x80px | 8 (overlays) | Perspective projection |
788
+ | WebXR Immersive | 12x8cm | 12 | 0.3m/layer |
789
+
790
+ ### Transition Choreography
791
+
792
+ All transitions serve wayfinding. Maximum 600ms for major transitions, 200ms for minor, 0ms for selection.
793
+
794
+ | Transition | Duration | Key Motion |
795
+ |-----------|----------|------------|
796
+ | Overview to Focus | 600ms | Camera drifts to target, other regions fade to 30% |
797
+ | Focus to Detail | 500ms | Node slides forward, expands, connections highlight |
798
+ | Detail to Overview | 600ms | Panel collapses, node retreats, full topology visible |
799
+ | Zone Switch | 500ms | Current slides out laterally, new slides in |
800
+ | Window to Immersive | 1000ms | Borders dissolve, nodes expand to full spatial positions |
801
+
802
+ ### Comfort Measures
803
+
804
+ - No camera-initiated movement without user action
805
+ - Stable horizon (horizontal plane never tilts)
806
+ - Primary interaction within 0.8-2.5m, +/-15 degrees of eye line
807
+ - Rest prompt after 45 minutes (ambient lighting shift, not modal)
808
+ - Peripheral vignette during fast movement
809
+ - All frequently-used controls accessible with arms at sides (wrist/finger only)
810
+
811
+ ---
812
+
813
+ ## 10. Cross-Agent Synthesis
814
+
815
+ ### Points of Agreement Across All 8 Agents
816
+
817
+ 1. **2D-first, spatial-second.** Every agent independently arrived at this conclusion. Build a great web dashboard first, then progressively add spatial capabilities.
818
+
819
+ 2. **Debugging is the killer use case.** The Product Researcher, UX Researcher, and XR Interface Architect all converged on this: spatial overlay of runtime traces on workflow structure is where 3D genuinely beats 2D.
820
+
821
+ 3. **WebXR over VisionOS for initial reach.** Vision Pro's ~1M installed base cannot sustain a business. WebXR in the browser is the distribution unlock.
822
+
823
+ 4. **The "war room" collaboration scenario.** Multiple agents highlighted collaborative incident response as the strongest spatial value proposition -- teams entering a shared 3D space to debug a failing pipeline together.
824
+
825
+ 5. **Progressive disclosure is essential.** UX Research, Spatial UI, and Support all emphasized that spatial complexity must be revealed gradually, never dumped on a first-time user.
826
+
827
+ 6. **Voice as the power-user accelerator.** Both the UX Researcher and XR Interface Architect identified voice commands as the "command line of spatial computing" -- essential for accessibility and expert efficiency.
828
+
829
+ ### Key Tensions to Resolve
830
+
831
+ | Tension | Position A | Position B | Resolution Needed |
832
+ |---------|-----------|-----------|-------------------|
833
+ | **Pricing** | Growth Hacker: $29-59/user/mo | Trend Researcher: $99-249/user/mo | A/B test in beta |
834
+ | **VisionOS priority** | Architecture: Phase 3 (Week 13+) | Spatial UI: Full spec ready | Build WebXR first, VisionOS when validated |
835
+ | **Orchestration language** | Architecture: Rust | Project Plan: Not specified | Rust is correct for performance-critical DAG execution |
836
+ | **MVP scope** | Architecture: 2D only in Phase 1 | Brand: Lead with spatial | 2D first, but ensure spatial is in every demo |
837
+ | **Community platform** | Support: Discord-first | Marketing: Discord + open-source | Both -- Discord for community, GitHub for developer engagement |
838
+
839
+ ### What This Exercise Demonstrates
840
+
841
+ This discovery document was produced by 8 specialized agents running in parallel, each bringing deep domain expertise to a shared objective. The agents independently arrived at consistent conclusions while surfacing domain-specific insights that would be difficult for any single generalist to produce:
842
+
843
+ - The **Product Trend Researcher** found the sobering Vision Pro sales data that reframed the entire strategy
844
+ - The **Backend Architect** designed a Rust orchestration engine that no marketing-focused team would have considered
845
+ - The **Brand Guardian** created a category ("SpatialAIOps") rather than competing in an existing one
846
+ - The **UX Researcher** identified that spatial computing creates friction for parameter tasks -- a counterintuitive finding
847
+ - The **XR Interface Architect** designed the "data flows toward you" topology that maps to natural spatial cognition
848
+ - The **Project Shepherd** identified the three critical bottleneck roles that could derail the entire timeline
849
+ - The **Growth Hacker** designed viral loops specific to spatial computing's inherent shareability
850
+ - The **Support Responder** turned the product's own AI capabilities into a support differentiator
851
+
852
+ The result is a comprehensive, cross-functional product plan that could serve as the basis for actual development -- produced in a single session by an agency of AI agents working in concert.