@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,178 @@
1
+ # πŸ” Phase 0 Playbook β€” Intelligence & Discovery
2
+
3
+ > **Duration**: 3-7 days | **Agents**: 6 | **Gate Keeper**: Executive Summary Generator
4
+
5
+ ---
6
+
7
+ ## Objective
8
+
9
+ Validate the opportunity before committing resources. No building until the problem, market, and regulatory landscape are understood.
10
+
11
+ ## Pre-Conditions
12
+
13
+ - [ ] Project brief or initial concept exists
14
+ - [ ] Stakeholder sponsor identified
15
+ - [ ] Budget for discovery phase approved
16
+
17
+ ## Agent Activation Sequence
18
+
19
+ ### Wave 1: Parallel Launch (Day 1)
20
+
21
+ #### πŸ” Trend Researcher β€” Market Intelligence Lead
22
+ ```
23
+ Activate Trend Researcher for market intelligence on [PROJECT DOMAIN].
24
+
25
+ Deliverables required:
26
+ 1. Competitive landscape analysis (direct + indirect competitors)
27
+ 2. Market sizing: TAM, SAM, SOM with methodology
28
+ 3. Trend lifecycle mapping: where is this market in the adoption curve?
29
+ 4. 3-6 month trend forecast with confidence intervals
30
+ 5. Investment and funding trends in the space
31
+
32
+ Sources: Minimum 15 unique, verified sources
33
+ Format: Strategic Report with executive summary
34
+ Timeline: 3 days
35
+ ```
36
+
37
+ #### πŸ’¬ Feedback Synthesizer β€” User Needs Analysis
38
+ ```
39
+ Activate Feedback Synthesizer for user needs analysis on [PROJECT DOMAIN].
40
+
41
+ Deliverables required:
42
+ 1. Multi-channel feedback collection plan (surveys, interviews, reviews, social)
43
+ 2. Sentiment analysis across existing user touchpoints
44
+ 3. Pain point identification and prioritization (RICE scored)
45
+ 4. Feature request analysis with business value estimation
46
+ 5. Churn risk indicators from feedback patterns
47
+
48
+ Format: Synthesized Feedback Report with priority matrix
49
+ Timeline: 3 days
50
+ ```
51
+
52
+ #### πŸ” UX Researcher β€” User Behavior Analysis
53
+ ```
54
+ Activate UX Researcher for user behavior analysis on [PROJECT DOMAIN].
55
+
56
+ Deliverables required:
57
+ 1. User interview plan (5-10 target users)
58
+ 2. Persona development (3-5 primary personas)
59
+ 3. Journey mapping for primary user flows
60
+ 4. Usability heuristic evaluation of competitor products
61
+ 5. Behavioral insights with statistical validation
62
+
63
+ Format: Research Findings Report with personas and journey maps
64
+ Timeline: 5 days
65
+ ```
66
+
67
+ ### Wave 2: Parallel Launch (Day 1, independent of Wave 1)
68
+
69
+ #### πŸ“Š Analytics Reporter β€” Data Landscape Assessment
70
+ ```
71
+ Activate Analytics Reporter for data landscape assessment on [PROJECT DOMAIN].
72
+
73
+ Deliverables required:
74
+ 1. Existing data source audit (what data is available?)
75
+ 2. Signal identification (what can we measure?)
76
+ 3. Baseline metrics establishment
77
+ 4. Data quality assessment with completeness scoring
78
+ 5. Analytics infrastructure recommendations
79
+
80
+ Format: Data Audit Report with signal map
81
+ Timeline: 2 days
82
+ ```
83
+
84
+ #### βš–οΈ Legal Compliance Checker β€” Regulatory Scan
85
+ ```
86
+ Activate Legal Compliance Checker for regulatory scan on [PROJECT DOMAIN].
87
+
88
+ Deliverables required:
89
+ 1. Applicable regulatory frameworks (GDPR, CCPA, HIPAA, etc.)
90
+ 2. Data handling requirements and constraints
91
+ 3. Jurisdiction mapping for target markets
92
+ 4. Compliance risk assessment with severity ratings
93
+ 5. Blocking vs. manageable compliance issues
94
+
95
+ Format: Compliance Requirements Matrix
96
+ Timeline: 3 days
97
+ ```
98
+
99
+ #### πŸ› οΈ Tool Evaluator β€” Technology Landscape
100
+ ```
101
+ Activate Tool Evaluator for technology landscape assessment on [PROJECT DOMAIN].
102
+
103
+ Deliverables required:
104
+ 1. Technology stack assessment for the problem domain
105
+ 2. Build vs. buy analysis for key components
106
+ 3. Integration feasibility with existing systems
107
+ 4. Open source vs. commercial evaluation
108
+ 5. Technology risk assessment
109
+
110
+ Format: Tech Stack Assessment with recommendation matrix
111
+ Timeline: 2 days
112
+ ```
113
+
114
+ ## Convergence Point (Day 5-7)
115
+
116
+ All six agents deliver their reports. The Executive Summary Generator synthesizes:
117
+
118
+ ```
119
+ Activate Executive Summary Generator to synthesize Phase 0 findings.
120
+
121
+ Input documents:
122
+ 1. Trend Researcher β†’ Market Analysis Report
123
+ 2. Feedback Synthesizer β†’ Synthesized Feedback Report
124
+ 3. UX Researcher β†’ Research Findings Report
125
+ 4. Analytics Reporter β†’ Data Audit Report
126
+ 5. Legal Compliance Checker β†’ Compliance Requirements Matrix
127
+ 6. Tool Evaluator β†’ Tech Stack Assessment
128
+
129
+ Output: Executive Summary (≀500 words, SCQA format)
130
+ Decision required: GO / NO-GO / PIVOT
131
+ Include: Quantified market opportunity, validated user needs, regulatory path, technology feasibility
132
+ ```
133
+
134
+ ## Quality Gate Checklist
135
+
136
+ | # | Criterion | Evidence Source | Status |
137
+ |---|-----------|----------------|--------|
138
+ | 1 | Market opportunity validated with TAM > minimum viable threshold | Trend Researcher report | ☐ |
139
+ | 2 | β‰₯3 validated user pain points with supporting data | Feedback Synthesizer + UX Researcher | ☐ |
140
+ | 3 | No blocking compliance issues identified | Legal Compliance Checker matrix | ☐ |
141
+ | 4 | Key metrics and data sources identified | Analytics Reporter audit | ☐ |
142
+ | 5 | Technology stack feasible and assessed | Tool Evaluator assessment | ☐ |
143
+ | 6 | Executive summary delivered with GO/NO-GO recommendation | Executive Summary Generator | ☐ |
144
+
145
+ ## Gate Decision
146
+
147
+ - **GO**: Proceed to Phase 1 β€” Strategy & Architecture
148
+ - **NO-GO**: Archive findings, document learnings, redirect resources
149
+ - **PIVOT**: Modify scope/direction based on findings, re-run targeted discovery
150
+
151
+ ## Handoff to Phase 1
152
+
153
+ ```markdown
154
+ ## Phase 0 β†’ Phase 1 Handoff Package
155
+
156
+ ### Documents to carry forward:
157
+ 1. Market Analysis Report (Trend Researcher)
158
+ 2. Synthesized Feedback Report (Feedback Synthesizer)
159
+ 3. User Personas and Journey Maps (UX Researcher)
160
+ 4. Data Audit Report (Analytics Reporter)
161
+ 5. Compliance Requirements Matrix (Legal Compliance Checker)
162
+ 6. Tech Stack Assessment (Tool Evaluator)
163
+ 7. Executive Summary with GO decision (Executive Summary Generator)
164
+
165
+ ### Key constraints identified:
166
+ - [Regulatory constraints from Legal Compliance Checker]
167
+ - [Technical constraints from Tool Evaluator]
168
+ - [Market timing constraints from Trend Researcher]
169
+
170
+ ### Priority user needs (for Sprint Prioritizer):
171
+ 1. [Pain point 1 β€” from Feedback Synthesizer]
172
+ 2. [Pain point 2 β€” from UX Researcher]
173
+ 3. [Pain point 3 β€” from Feedback Synthesizer]
174
+ ```
175
+
176
+ ---
177
+
178
+ *Phase 0 is complete when the Executive Summary Generator delivers a GO decision with supporting evidence from all six discovery agents.*
@@ -0,0 +1,238 @@
1
+ # πŸ—οΈ Phase 1 Playbook β€” Strategy & Architecture
2
+
3
+ > **Duration**: 5-10 days | **Agents**: 8 | **Gate Keepers**: Studio Producer + Reality Checker
4
+
5
+ ---
6
+
7
+ ## Objective
8
+
9
+ Define what we're building, how it's structured, and what success looks like β€” before writing a single line of code. Every architectural decision is documented. Every feature is prioritized. Every dollar is accounted for.
10
+
11
+ ## Pre-Conditions
12
+
13
+ - [ ] Phase 0 Quality Gate passed (GO decision)
14
+ - [ ] Phase 0 Handoff Package received
15
+ - [ ] Stakeholder alignment on project scope
16
+
17
+ ## Agent Activation Sequence
18
+
19
+ ### Step 1: Strategic Framing (Day 1-3, Parallel)
20
+
21
+ #### 🎬 Studio Producer β€” Strategic Portfolio Alignment
22
+ ```
23
+ Activate Studio Producer for strategic portfolio alignment on [PROJECT].
24
+
25
+ Input: Phase 0 Executive Summary + Market Analysis Report
26
+ Deliverables required:
27
+ 1. Strategic Portfolio Plan with project positioning
28
+ 2. Vision, objectives, and ROI targets
29
+ 3. Resource allocation strategy
30
+ 4. Risk/reward assessment
31
+ 5. Success criteria and milestone definitions
32
+
33
+ Align with: Organizational strategic objectives
34
+ Format: Strategic Portfolio Plan Template
35
+ Timeline: 3 days
36
+ ```
37
+
38
+ #### 🎭 Brand Guardian β€” Brand Identity System
39
+ ```
40
+ Activate Brand Guardian for brand identity development on [PROJECT].
41
+
42
+ Input: Phase 0 UX Research (personas, journey maps)
43
+ Deliverables required:
44
+ 1. Brand Foundation (purpose, vision, mission, values, personality)
45
+ 2. Visual Identity System (colors, typography, spacing as CSS variables)
46
+ 3. Brand Voice and Messaging Architecture
47
+ 4. Logo system specifications (if new brand)
48
+ 5. Brand usage guidelines
49
+
50
+ Format: Brand Identity System Document
51
+ Timeline: 3 days
52
+ ```
53
+
54
+ #### πŸ’° Finance Tracker β€” Budget and Resource Planning
55
+ ```
56
+ Activate Finance Tracker for financial planning on [PROJECT].
57
+
58
+ Input: Studio Producer strategic plan + Phase 0 Tech Stack Assessment
59
+ Deliverables required:
60
+ 1. Comprehensive project budget with category breakdown
61
+ 2. Resource cost projections (agents, infrastructure, tools)
62
+ 3. ROI model with break-even analysis
63
+ 4. Cash flow timeline
64
+ 5. Financial risk assessment with contingency reserves
65
+
66
+ Format: Financial Plan with ROI Projections
67
+ Timeline: 2 days
68
+ ```
69
+
70
+ ### Step 2: Technical Architecture (Day 3-7, Parallel, after Step 1 outputs available)
71
+
72
+ #### πŸ›οΈ UX Architect β€” Technical Architecture + UX Foundation
73
+ ```
74
+ Activate UX Architect for technical architecture on [PROJECT].
75
+
76
+ Input: Brand Guardian visual identity + Phase 0 UX Research
77
+ Deliverables required:
78
+ 1. CSS Design System (variables, tokens, scales)
79
+ 2. Layout Framework (Grid/Flexbox patterns, responsive breakpoints)
80
+ 3. Component Architecture (naming conventions, hierarchy)
81
+ 4. Information Architecture (page flow, content hierarchy)
82
+ 5. Theme System (light/dark/system toggle)
83
+ 6. Accessibility Foundation (WCAG 2.1 AA baseline)
84
+
85
+ Files to create:
86
+ - css/design-system.css
87
+ - css/layout.css
88
+ - css/components.css
89
+ - docs/ux-architecture.md
90
+
91
+ Format: Developer-Ready Foundation Package
92
+ Timeline: 4 days
93
+ ```
94
+
95
+ #### πŸ—οΈ Backend Architect β€” System Architecture
96
+ ```
97
+ Activate Backend Architect for system architecture on [PROJECT].
98
+
99
+ Input: Phase 0 Tech Stack Assessment + Compliance Requirements
100
+ Deliverables required:
101
+ 1. System Architecture Specification
102
+ - Architecture pattern (microservices/monolith/serverless/hybrid)
103
+ - Communication pattern (REST/GraphQL/gRPC/event-driven)
104
+ - Data pattern (CQRS/Event Sourcing/CRUD)
105
+ 2. Database Schema Design with indexing strategy
106
+ 3. API Design Specification with versioning
107
+ 4. Authentication and Authorization Architecture
108
+ 5. Security Architecture (defense in depth)
109
+ 6. Scalability Plan (horizontal scaling strategy)
110
+
111
+ Format: System Architecture Specification
112
+ Timeline: 4 days
113
+ ```
114
+
115
+ #### πŸ€– AI Engineer β€” ML Architecture (if applicable)
116
+ ```
117
+ Activate AI Engineer for ML system architecture on [PROJECT].
118
+
119
+ Input: Backend Architect system architecture + Phase 0 Data Audit
120
+ Deliverables required:
121
+ 1. ML System Design
122
+ - Model selection and training strategy
123
+ - Data pipeline architecture
124
+ - Inference strategy (real-time/batch/edge)
125
+ 2. AI Ethics and Safety Framework
126
+ 3. Model monitoring and retraining plan
127
+ 4. Integration points with main application
128
+ 5. Cost projections for ML infrastructure
129
+
130
+ Condition: Only activate if project includes AI/ML features
131
+ Format: ML System Design Document
132
+ Timeline: 3 days
133
+ ```
134
+
135
+ #### πŸ‘” Senior Project Manager β€” Spec-to-Task Conversion
136
+ ```
137
+ Activate Senior Project Manager for task list creation on [PROJECT].
138
+
139
+ Input: ALL Phase 0 documents + Architecture specs (as available)
140
+ Deliverables required:
141
+ 1. Comprehensive Task List
142
+ - Quote EXACT requirements from spec (no luxury features)
143
+ - Each task has clear acceptance criteria
144
+ - Dependencies mapped between tasks
145
+ - Effort estimates (story points or hours)
146
+ 2. Work Breakdown Structure
147
+ 3. Critical path identification
148
+ 4. Risk register for implementation
149
+
150
+ Rules:
151
+ - Do NOT add features not in the specification
152
+ - Quote exact text from requirements
153
+ - Be realistic about effort estimates
154
+
155
+ Format: Task List with acceptance criteria
156
+ Timeline: 3 days
157
+ ```
158
+
159
+ ### Step 3: Prioritization (Day 7-10, Sequential, after Step 2)
160
+
161
+ #### 🎯 Sprint Prioritizer β€” Feature Prioritization
162
+ ```
163
+ Activate Sprint Prioritizer for backlog prioritization on [PROJECT].
164
+
165
+ Input:
166
+ - Senior Project Manager β†’ Task List
167
+ - Backend Architect β†’ System Architecture
168
+ - UX Architect β†’ UX Architecture
169
+ - Finance Tracker β†’ Budget Framework
170
+ - Studio Producer β†’ Strategic Plan
171
+
172
+ Deliverables required:
173
+ 1. RICE-scored backlog (Reach, Impact, Confidence, Effort)
174
+ 2. Sprint assignments with velocity-based estimation
175
+ 3. Dependency map with critical path
176
+ 4. MoSCoW classification (Must/Should/Could/Won't)
177
+ 5. Release plan with milestone mapping
178
+
179
+ Validation: Studio Producer confirms strategic alignment
180
+ Format: Prioritized Sprint Plan
181
+ Timeline: 2 days
182
+ ```
183
+
184
+ ## Quality Gate Checklist
185
+
186
+ | # | Criterion | Evidence Source | Status |
187
+ |---|-----------|----------------|--------|
188
+ | 1 | Architecture covers 100% of spec requirements | Senior PM task list cross-referenced with architecture | ☐ |
189
+ | 2 | Brand system complete (logo, colors, typography, voice) | Brand Guardian deliverable | ☐ |
190
+ | 3 | All technical components have implementation path | Backend Architect + UX Architect specs | ☐ |
191
+ | 4 | Budget approved and within constraints | Finance Tracker plan | ☐ |
192
+ | 5 | Sprint plan is velocity-based and realistic | Sprint Prioritizer backlog | ☐ |
193
+ | 6 | Security architecture defined | Backend Architect security spec | ☐ |
194
+ | 7 | Compliance requirements integrated into architecture | Legal requirements mapped to technical decisions | ☐ |
195
+
196
+ ## Gate Decision
197
+
198
+ **Dual sign-off required**: Studio Producer (strategic) + Reality Checker (technical)
199
+
200
+ - **APPROVED**: Proceed to Phase 2 with full Architecture Package
201
+ - **REVISE**: Specific items need rework (return to relevant Step)
202
+ - **RESTRUCTURE**: Fundamental architecture issues (restart Phase 1)
203
+
204
+ ## Handoff to Phase 2
205
+
206
+ ```markdown
207
+ ## Phase 1 β†’ Phase 2 Handoff Package
208
+
209
+ ### Architecture Package:
210
+ 1. Strategic Portfolio Plan (Studio Producer)
211
+ 2. Brand Identity System (Brand Guardian)
212
+ 3. Financial Plan (Finance Tracker)
213
+ 4. CSS Design System + UX Architecture (UX Architect)
214
+ 5. System Architecture Specification (Backend Architect)
215
+ 6. ML System Design (AI Engineer β€” if applicable)
216
+ 7. Comprehensive Task List (Senior Project Manager)
217
+ 8. Prioritized Sprint Plan (Sprint Prioritizer)
218
+
219
+ ### For DevOps Automator:
220
+ - Deployment architecture from Backend Architect
221
+ - Environment requirements from System Architecture
222
+ - Monitoring requirements from Infrastructure needs
223
+
224
+ ### For Frontend Developer:
225
+ - CSS Design System from UX Architect
226
+ - Brand Identity from Brand Guardian
227
+ - Component architecture from UX Architect
228
+ - API specification from Backend Architect
229
+
230
+ ### For Backend Architect (continuing):
231
+ - Database schema ready for deployment
232
+ - API scaffold ready for implementation
233
+ - Auth system architecture defined
234
+ ```
235
+
236
+ ---
237
+
238
+ *Phase 1 is complete when Studio Producer and Reality Checker both sign off on the Architecture Package.*
@@ -0,0 +1,278 @@
1
+ # βš™οΈ Phase 2 Playbook β€” Foundation & Scaffolding
2
+
3
+ > **Duration**: 3-5 days | **Agents**: 6 | **Gate Keepers**: DevOps Automator + Evidence Collector
4
+
5
+ ---
6
+
7
+ ## Objective
8
+
9
+ Build the technical and operational foundation that all subsequent work depends on. Get the skeleton standing before adding muscle. After this phase, every developer has a working environment, a deployable pipeline, and a design system to build with.
10
+
11
+ ## Pre-Conditions
12
+
13
+ - [ ] Phase 1 Quality Gate passed (Architecture Package approved)
14
+ - [ ] Phase 1 Handoff Package received
15
+ - [ ] All architecture documents finalized
16
+
17
+ ## Agent Activation Sequence
18
+
19
+ ### Workstream A: Infrastructure (Day 1-3, Parallel)
20
+
21
+ #### πŸš€ DevOps Automator β€” CI/CD Pipeline + Infrastructure
22
+ ```
23
+ Activate DevOps Automator for infrastructure setup on [PROJECT].
24
+
25
+ Input: Backend Architect system architecture + deployment requirements
26
+ Deliverables required:
27
+ 1. CI/CD Pipeline (GitHub Actions / GitLab CI)
28
+ - Security scanning stage
29
+ - Automated testing stage
30
+ - Build and containerization stage
31
+ - Deployment stage (blue-green or canary)
32
+ - Automated rollback capability
33
+ 2. Infrastructure as Code
34
+ - Environment provisioning (dev, staging, production)
35
+ - Container orchestration setup
36
+ - Network and security configuration
37
+ 3. Environment Configuration
38
+ - Secrets management
39
+ - Environment variable management
40
+ - Multi-environment parity
41
+
42
+ Files to create:
43
+ - .github/workflows/ci-cd.yml (or equivalent)
44
+ - infrastructure/ (Terraform/CDK templates)
45
+ - docker-compose.yml
46
+ - Dockerfile(s)
47
+
48
+ Format: Working CI/CD pipeline with IaC templates
49
+ Timeline: 3 days
50
+ ```
51
+
52
+ #### πŸ—οΈ Infrastructure Maintainer β€” Cloud Infrastructure + Monitoring
53
+ ```
54
+ Activate Infrastructure Maintainer for monitoring setup on [PROJECT].
55
+
56
+ Input: DevOps Automator infrastructure + Backend Architect architecture
57
+ Deliverables required:
58
+ 1. Cloud Resource Provisioning
59
+ - Compute, storage, networking resources
60
+ - Auto-scaling configuration
61
+ - Load balancer setup
62
+ 2. Monitoring Stack
63
+ - Application metrics (Prometheus/DataDog)
64
+ - Infrastructure metrics
65
+ - Custom dashboards (Grafana)
66
+ 3. Logging and Alerting
67
+ - Centralized log aggregation
68
+ - Alert rules for critical thresholds
69
+ - On-call notification setup
70
+ 4. Security Hardening
71
+ - Firewall rules
72
+ - SSL/TLS configuration
73
+ - Access control policies
74
+
75
+ Format: Infrastructure Readiness Report with dashboard access
76
+ Timeline: 3 days
77
+ ```
78
+
79
+ #### βš™οΈ Studio Operations β€” Process Setup
80
+ ```
81
+ Activate Studio Operations for process setup on [PROJECT].
82
+
83
+ Input: Sprint Prioritizer plan + Project Shepherd coordination needs
84
+ Deliverables required:
85
+ 1. Git Workflow
86
+ - Branch strategy (GitFlow / trunk-based)
87
+ - PR review process
88
+ - Merge policies
89
+ 2. Communication Channels
90
+ - Team channels setup
91
+ - Notification routing
92
+ - Status update cadence
93
+ 3. Documentation Templates
94
+ - PR template
95
+ - Issue template
96
+ - Decision log template
97
+ 4. Collaboration Tools
98
+ - Project board setup
99
+ - Sprint tracking configuration
100
+
101
+ Format: Operations Playbook
102
+ Timeline: 2 days
103
+ ```
104
+
105
+ ### Workstream B: Application Foundation (Day 1-4, Parallel)
106
+
107
+ #### 🎨 Frontend Developer β€” Project Scaffolding + Component Library
108
+ ```
109
+ Activate Frontend Developer for project scaffolding on [PROJECT].
110
+
111
+ Input: UX Architect CSS Design System + Brand Guardian identity
112
+ Deliverables required:
113
+ 1. Project Scaffolding
114
+ - Framework setup (React/Vue/Angular per architecture)
115
+ - TypeScript configuration
116
+ - Build tooling (Vite/Webpack/Next.js)
117
+ - Testing framework (Jest/Vitest + Testing Library)
118
+ 2. Design System Implementation
119
+ - CSS design tokens from UX Architect
120
+ - Base component library (Button, Input, Card, Layout)
121
+ - Theme system (light/dark/system toggle)
122
+ - Responsive utilities
123
+ 3. Application Shell
124
+ - Routing setup
125
+ - Layout components (Header, Footer, Sidebar)
126
+ - Error boundary implementation
127
+ - Loading states
128
+
129
+ Files to create:
130
+ - src/ (application source)
131
+ - src/components/ (component library)
132
+ - src/styles/ (design tokens)
133
+ - src/layouts/ (layout components)
134
+
135
+ Format: Working application skeleton with component library
136
+ Timeline: 3 days
137
+ ```
138
+
139
+ #### πŸ—οΈ Backend Architect β€” Database + API Foundation
140
+ ```
141
+ Activate Backend Architect for API foundation on [PROJECT].
142
+
143
+ Input: System Architecture Specification + Database Schema Design
144
+ Deliverables required:
145
+ 1. Database Setup
146
+ - Schema deployment (migrations)
147
+ - Index creation
148
+ - Seed data for development
149
+ - Connection pooling configuration
150
+ 2. API Scaffold
151
+ - Framework setup (Express/FastAPI/etc.)
152
+ - Route structure matching architecture
153
+ - Middleware stack (auth, validation, error handling, CORS)
154
+ - Health check endpoints
155
+ 3. Authentication System
156
+ - Auth provider integration
157
+ - JWT/session management
158
+ - Role-based access control scaffold
159
+ 4. Service Communication
160
+ - API versioning setup
161
+ - Request/response serialization
162
+ - Error response standardization
163
+
164
+ Files to create:
165
+ - api/ or server/ (backend source)
166
+ - migrations/ (database migrations)
167
+ - docs/api-spec.yaml (OpenAPI specification)
168
+
169
+ Format: Working API scaffold with database and auth
170
+ Timeline: 4 days
171
+ ```
172
+
173
+ #### πŸ›οΈ UX Architect β€” CSS System Implementation
174
+ ```
175
+ Activate UX Architect for CSS system implementation on [PROJECT].
176
+
177
+ Input: Brand Guardian identity + own Phase 1 CSS Design System spec
178
+ Deliverables required:
179
+ 1. Design Tokens Implementation
180
+ - CSS custom properties (colors, typography, spacing)
181
+ - Brand color palette with semantic naming
182
+ - Typography scale with responsive adjustments
183
+ 2. Layout System
184
+ - Container system (responsive breakpoints)
185
+ - Grid patterns (2-col, 3-col, sidebar)
186
+ - Flexbox utilities
187
+ 3. Theme System
188
+ - Light theme variables
189
+ - Dark theme variables
190
+ - System preference detection
191
+ - Theme toggle component
192
+ - Smooth transition between themes
193
+
194
+ Files to create/update:
195
+ - css/design-system.css (or equivalent in framework)
196
+ - css/layout.css
197
+ - css/components.css
198
+ - js/theme-manager.js
199
+
200
+ Format: Implemented CSS design system with theme toggle
201
+ Timeline: 2 days
202
+ ```
203
+
204
+ ## Verification Checkpoint (Day 4-5)
205
+
206
+ ### Evidence Collector Verification
207
+ ```
208
+ Activate Evidence Collector for Phase 2 foundation verification.
209
+
210
+ Verify the following with screenshot evidence:
211
+ 1. CI/CD pipeline executes successfully (show pipeline logs)
212
+ 2. Application skeleton loads in browser (desktop screenshot)
213
+ 3. Application skeleton loads on mobile (mobile screenshot)
214
+ 4. Theme toggle works (light + dark screenshots)
215
+ 5. API health check responds (curl output)
216
+ 6. Database is accessible (migration status)
217
+ 7. Monitoring dashboards are active (dashboard screenshot)
218
+ 8. Component library renders (component demo page)
219
+
220
+ Format: Evidence Package with screenshots
221
+ Verdict: PASS / FAIL with specific issues
222
+ ```
223
+
224
+ ## Quality Gate Checklist
225
+
226
+ | # | Criterion | Evidence Source | Status |
227
+ |---|-----------|----------------|--------|
228
+ | 1 | CI/CD pipeline builds, tests, and deploys | Pipeline execution logs | ☐ |
229
+ | 2 | Database schema deployed with all tables/indexes | Migration success output | ☐ |
230
+ | 3 | API scaffold responding on health check | curl response evidence | ☐ |
231
+ | 4 | Frontend skeleton renders in browser | Evidence Collector screenshots | ☐ |
232
+ | 5 | Monitoring dashboards showing metrics | Dashboard screenshots | ☐ |
233
+ | 6 | Design system tokens implemented | Component library demo | ☐ |
234
+ | 7 | Theme toggle functional (light/dark/system) | Before/after screenshots | ☐ |
235
+ | 8 | Git workflow and processes documented | Studio Operations playbook | ☐ |
236
+
237
+ ## Gate Decision
238
+
239
+ **Dual sign-off required**: DevOps Automator (infrastructure) + Evidence Collector (visual)
240
+
241
+ - **PASS**: Working skeleton with full DevOps pipeline β†’ Phase 3 activation
242
+ - **FAIL**: Specific infrastructure or application issues β†’ Fix and re-verify
243
+
244
+ ## Handoff to Phase 3
245
+
246
+ ```markdown
247
+ ## Phase 2 β†’ Phase 3 Handoff Package
248
+
249
+ ### For all Developer Agents:
250
+ - Working CI/CD pipeline (auto-deploys on merge)
251
+ - Design system tokens and component library
252
+ - API scaffold with auth and health checks
253
+ - Database with schema and seed data
254
+ - Git workflow and PR process
255
+
256
+ ### For Evidence Collector (ongoing QA):
257
+ - Application URLs (dev, staging)
258
+ - Screenshot capture methodology
259
+ - Component library reference
260
+ - Brand guidelines for visual verification
261
+
262
+ ### For Agents Orchestrator (Dev↔QA loop management):
263
+ - Sprint Prioritizer backlog (from Phase 1)
264
+ - Task list with acceptance criteria (from Phase 1)
265
+ - Agent assignment matrix (from NEXUS strategy)
266
+ - Quality thresholds for each task type
267
+
268
+ ### Environment Access:
269
+ - Dev environment: [URL]
270
+ - Staging environment: [URL]
271
+ - Monitoring dashboard: [URL]
272
+ - CI/CD pipeline: [URL]
273
+ - API documentation: [URL]
274
+ ```
275
+
276
+ ---
277
+
278
+ *Phase 2 is complete when the skeleton application is running, the CI/CD pipeline is operational, and the Evidence Collector has verified all foundation elements with screenshots.*