@poolzin/pool-bot 2026.3.11 → 2026.3.14

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 (195) hide show
  1. package/CHANGELOG.md +121 -0
  2. package/dist/.buildstamp +1 -1
  3. package/dist/agents/checkpoint-manager.js +291 -0
  4. package/dist/agents/poolbot-tools.js +5 -0
  5. package/dist/agents/subagent-announce-reliability.js +160 -0
  6. package/dist/agents/tool-result-truncation.js +299 -0
  7. package/dist/agents/tools/nodes-file-tool.js +197 -0
  8. package/dist/build-info.json +3 -3
  9. package/dist/cli/config-cli.js +60 -0
  10. package/dist/cron/cron-improvements.js +195 -0
  11. package/dist/discord/discord-improvements.js +167 -0
  12. package/dist/gateway/auth-rate-limit.js +19 -0
  13. package/dist/gateway/auth.js +41 -0
  14. package/dist/gateway/gateway-improvements.js +294 -0
  15. package/dist/gateway/node-command-policy.js +7 -2
  16. package/dist/infra/net/ssrf.js +15 -2
  17. package/dist/infra/shell-security.js +201 -0
  18. package/dist/memory/memory-improvements.js +239 -0
  19. package/dist/node-host/runner.js +146 -79
  20. package/dist/security/prototype-pollution.js +141 -0
  21. package/dist/security/webhook-security.js +253 -0
  22. package/dist/shared/net/ip.js +52 -1
  23. package/dist/slack/slack-improvements.js +225 -0
  24. package/dist/telegram/telegram-improvements.js +220 -0
  25. package/dist/ui-plugins/ui-plugins-improvements.js +191 -0
  26. package/docs/ANALISE_OPENCLAW_PROFISSIONAL.md +520 -0
  27. package/docs/competitive-analysis.md +421 -0
  28. package/docs/implementation-analysis.md +393 -0
  29. package/docs/plans/2026-03-11-file-operations-security-hardening.md +307 -0
  30. package/docs/plans/2026-03-11-integracao-projetos-poolbot.md +666 -0
  31. package/docs/refactor/plugin-development-guide.md +281 -0
  32. package/extensions/agency-agents/README.md +301 -0
  33. package/extensions/agency-agents/agents/CONTRIBUTING.md +353 -0
  34. package/extensions/agency-agents/agents/README.md +602 -0
  35. package/extensions/agency-agents/agents/design/design-brand-guardian.md +320 -0
  36. package/extensions/agency-agents/agents/design/design-image-prompt-engineer.md +234 -0
  37. package/extensions/agency-agents/agents/design/design-ui-designer.md +381 -0
  38. package/extensions/agency-agents/agents/design/design-ux-architect.md +467 -0
  39. package/extensions/agency-agents/agents/design/design-ux-researcher.md +327 -0
  40. package/extensions/agency-agents/agents/design/design-visual-storyteller.md +147 -0
  41. package/extensions/agency-agents/agents/design/design-whimsy-injector.md +436 -0
  42. package/extensions/agency-agents/agents/engineering/engineering-ai-engineer.md +144 -0
  43. package/extensions/agency-agents/agents/engineering/engineering-backend-architect.md +233 -0
  44. package/extensions/agency-agents/agents/engineering/engineering-devops-automator.md +374 -0
  45. package/extensions/agency-agents/agents/engineering/engineering-frontend-developer.md +223 -0
  46. package/extensions/agency-agents/agents/engineering/engineering-mobile-app-builder.md +491 -0
  47. package/extensions/agency-agents/agents/engineering/engineering-rapid-prototyper.md +460 -0
  48. package/extensions/agency-agents/agents/engineering/engineering-security-engineer.md +275 -0
  49. package/extensions/agency-agents/agents/engineering/engineering-senior-developer.md +174 -0
  50. package/extensions/agency-agents/agents/examples/README.md +48 -0
  51. package/extensions/agency-agents/agents/examples/nexus-spatial-discovery.md +852 -0
  52. package/extensions/agency-agents/agents/examples/workflow-landing-page.md +119 -0
  53. package/extensions/agency-agents/agents/examples/workflow-startup-mvp.md +155 -0
  54. package/extensions/agency-agents/agents/integrations/README.md +117 -0
  55. package/extensions/agency-agents/agents/integrations/aider/README.md +38 -0
  56. package/extensions/agency-agents/agents/integrations/antigravity/README.md +49 -0
  57. package/extensions/agency-agents/agents/integrations/claude-code/README.md +31 -0
  58. package/extensions/agency-agents/agents/integrations/cursor/README.md +38 -0
  59. package/extensions/agency-agents/agents/integrations/gemini-cli/README.md +36 -0
  60. package/extensions/agency-agents/agents/integrations/opencode/README.md +58 -0
  61. package/extensions/agency-agents/agents/integrations/windsurf/README.md +26 -0
  62. package/extensions/agency-agents/agents/marketing/marketing-app-store-optimizer.md +319 -0
  63. package/extensions/agency-agents/agents/marketing/marketing-content-creator.md +52 -0
  64. package/extensions/agency-agents/agents/marketing/marketing-growth-hacker.md +52 -0
  65. package/extensions/agency-agents/agents/marketing/marketing-instagram-curator.md +111 -0
  66. package/extensions/agency-agents/agents/marketing/marketing-reddit-community-builder.md +121 -0
  67. package/extensions/agency-agents/agents/marketing/marketing-social-media-strategist.md +123 -0
  68. package/extensions/agency-agents/agents/marketing/marketing-tiktok-strategist.md +123 -0
  69. package/extensions/agency-agents/agents/marketing/marketing-twitter-engager.md +124 -0
  70. package/extensions/agency-agents/agents/marketing/marketing-wechat-official-account.md +143 -0
  71. package/extensions/agency-agents/agents/marketing/marketing-xiaohongshu-specialist.md +136 -0
  72. package/extensions/agency-agents/agents/marketing/marketing-zhihu-strategist.md +160 -0
  73. package/extensions/agency-agents/agents/product/product-feedback-synthesizer.md +117 -0
  74. package/extensions/agency-agents/agents/product/product-sprint-prioritizer.md +152 -0
  75. package/extensions/agency-agents/agents/product/product-trend-researcher.md +157 -0
  76. package/extensions/agency-agents/agents/project-management/project-management-experiment-tracker.md +196 -0
  77. package/extensions/agency-agents/agents/project-management/project-management-project-shepherd.md +192 -0
  78. package/extensions/agency-agents/agents/project-management/project-management-studio-operations.md +198 -0
  79. package/extensions/agency-agents/agents/project-management/project-management-studio-producer.md +201 -0
  80. package/extensions/agency-agents/agents/project-management/project-manager-senior.md +133 -0
  81. package/extensions/agency-agents/agents/scripts/convert.sh +362 -0
  82. package/extensions/agency-agents/agents/scripts/install.sh +465 -0
  83. package/extensions/agency-agents/agents/scripts/lint-agents.sh +115 -0
  84. package/extensions/agency-agents/agents/spatial-computing/macos-spatial-metal-engineer.md +335 -0
  85. package/extensions/agency-agents/agents/spatial-computing/terminal-integration-specialist.md +68 -0
  86. package/extensions/agency-agents/agents/spatial-computing/visionos-spatial-engineer.md +52 -0
  87. package/extensions/agency-agents/agents/spatial-computing/xr-cockpit-interaction-specialist.md +30 -0
  88. package/extensions/agency-agents/agents/spatial-computing/xr-immersive-developer.md +30 -0
  89. package/extensions/agency-agents/agents/spatial-computing/xr-interface-architect.md +30 -0
  90. package/extensions/agency-agents/agents/specialized/agentic-identity-trust.md +367 -0
  91. package/extensions/agency-agents/agents/specialized/agents-orchestrator.md +365 -0
  92. package/extensions/agency-agents/agents/specialized/data-analytics-reporter.md +52 -0
  93. package/extensions/agency-agents/agents/specialized/data-consolidation-agent.md +58 -0
  94. package/extensions/agency-agents/agents/specialized/lsp-index-engineer.md +312 -0
  95. package/extensions/agency-agents/agents/specialized/report-distribution-agent.md +63 -0
  96. package/extensions/agency-agents/agents/specialized/sales-data-extraction-agent.md +65 -0
  97. package/extensions/agency-agents/agents/strategy/EXECUTIVE-BRIEF.md +95 -0
  98. package/extensions/agency-agents/agents/strategy/QUICKSTART.md +194 -0
  99. package/extensions/agency-agents/agents/strategy/coordination/agent-activation-prompts.md +401 -0
  100. package/extensions/agency-agents/agents/strategy/coordination/handoff-templates.md +357 -0
  101. package/extensions/agency-agents/agents/strategy/nexus-strategy.md +1110 -0
  102. package/extensions/agency-agents/agents/strategy/playbooks/phase-0-discovery.md +178 -0
  103. package/extensions/agency-agents/agents/strategy/playbooks/phase-1-strategy.md +238 -0
  104. package/extensions/agency-agents/agents/strategy/playbooks/phase-2-foundation.md +278 -0
  105. package/extensions/agency-agents/agents/strategy/playbooks/phase-3-build.md +286 -0
  106. package/extensions/agency-agents/agents/strategy/playbooks/phase-4-hardening.md +332 -0
  107. package/extensions/agency-agents/agents/strategy/playbooks/phase-5-launch.md +277 -0
  108. package/extensions/agency-agents/agents/strategy/playbooks/phase-6-operate.md +318 -0
  109. package/extensions/agency-agents/agents/strategy/runbooks/scenario-enterprise-feature.md +157 -0
  110. package/extensions/agency-agents/agents/strategy/runbooks/scenario-incident-response.md +217 -0
  111. package/extensions/agency-agents/agents/strategy/runbooks/scenario-marketing-campaign.md +187 -0
  112. package/extensions/agency-agents/agents/strategy/runbooks/scenario-startup-mvp.md +154 -0
  113. package/extensions/agency-agents/agents/support/support-analytics-reporter.md +363 -0
  114. package/extensions/agency-agents/agents/support/support-executive-summary-generator.md +210 -0
  115. package/extensions/agency-agents/agents/support/support-finance-tracker.md +440 -0
  116. package/extensions/agency-agents/agents/support/support-infrastructure-maintainer.md +616 -0
  117. package/extensions/agency-agents/agents/support/support-legal-compliance-checker.md +586 -0
  118. package/extensions/agency-agents/agents/support/support-support-responder.md +583 -0
  119. package/extensions/agency-agents/agents/testing/testing-accessibility-auditor.md +313 -0
  120. package/extensions/agency-agents/agents/testing/testing-api-tester.md +304 -0
  121. package/extensions/agency-agents/agents/testing/testing-evidence-collector.md +208 -0
  122. package/extensions/agency-agents/agents/testing/testing-performance-benchmarker.md +266 -0
  123. package/extensions/agency-agents/agents/testing/testing-reality-checker.md +236 -0
  124. package/extensions/agency-agents/agents/testing/testing-test-results-analyzer.md +303 -0
  125. package/extensions/agency-agents/agents/testing/testing-tool-evaluator.md +392 -0
  126. package/extensions/agency-agents/agents/testing/testing-workflow-optimizer.md +448 -0
  127. package/extensions/agency-agents/index.ts +733 -0
  128. package/extensions/agency-agents/node_modules/.bin/jiti +21 -0
  129. package/extensions/agency-agents/node_modules/.bin/tsc +21 -0
  130. package/extensions/agency-agents/node_modules/.bin/tsserver +21 -0
  131. package/extensions/agency-agents/node_modules/.bin/tsx +21 -0
  132. package/extensions/agency-agents/node_modules/.bin/vite +21 -0
  133. package/extensions/agency-agents/node_modules/.bin/vitest +21 -0
  134. package/extensions/agency-agents/node_modules/.bin/yaml +21 -0
  135. package/extensions/agency-agents/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  136. package/extensions/agency-agents/package.json +25 -0
  137. package/extensions/agency-agents/src/AgencyAgentsService.test.ts +443 -0
  138. package/extensions/agency-agents/src/AgencyAgentsService.ts +288 -0
  139. package/extensions/agency-agents/src/types.ts +147 -0
  140. package/extensions/agency-agents/vitest.config.ts +8 -0
  141. package/extensions/hexstrike-ai/README.md +98 -0
  142. package/extensions/hexstrike-ai/node_modules/.bin/tsc +21 -0
  143. package/extensions/hexstrike-ai/node_modules/.bin/tsserver +21 -0
  144. package/extensions/hexstrike-ai/package.json +29 -0
  145. package/extensions/hexstrike-ai/poolbot.plugin.json +31 -0
  146. package/extensions/hexstrike-ai/src/client.ts +91 -0
  147. package/extensions/hexstrike-ai/src/index.ts +170 -0
  148. package/extensions/hexstrike-ai/src/server/hexstrike_mcp.py +5470 -0
  149. package/extensions/hexstrike-ai/src/server/hexstrike_server.py +17289 -0
  150. package/extensions/hexstrike-ai/src/server/requirements.txt +84 -0
  151. package/extensions/hexstrike-ai/src/server-manager.ts +83 -0
  152. package/extensions/hexstrike-ai/tsconfig.json +20 -0
  153. package/extensions/hexstrike-bridge/package.json +1 -1
  154. package/extensions/hexstrike-bridge/poolbot.plugin.json +23 -0
  155. package/extensions/mcp-server/poolbot.plugin.json +10 -0
  156. package/extensions/page-agent/README.md +159 -0
  157. package/extensions/page-agent/index.ts +595 -0
  158. package/extensions/page-agent/node_modules/.bin/jiti +21 -0
  159. package/extensions/page-agent/node_modules/.bin/playwright +21 -0
  160. package/extensions/page-agent/node_modules/.bin/tsc +21 -0
  161. package/extensions/page-agent/node_modules/.bin/tsserver +21 -0
  162. package/extensions/page-agent/node_modules/.bin/tsx +21 -0
  163. package/extensions/page-agent/node_modules/.bin/vitest +21 -0
  164. package/extensions/page-agent/node_modules/.bin/yaml +21 -0
  165. package/extensions/page-agent/package.json +43 -0
  166. package/extensions/page-agent/src/PageAgentService.test.ts +517 -0
  167. package/extensions/page-agent/src/PageAgentService.ts +636 -0
  168. package/extensions/page-agent/src/PoolBotPageController.test.ts +358 -0
  169. package/extensions/page-agent/src/PoolBotPageController.ts +245 -0
  170. package/extensions/page-agent/src/index.ts +20 -0
  171. package/extensions/page-agent/src/tools.test.ts +231 -0
  172. package/extensions/page-agent/src/tools.ts +167 -0
  173. package/extensions/page-agent/src/types.ts +198 -0
  174. package/extensions/template/README.md +101 -0
  175. package/extensions/template/index.ts +38 -0
  176. package/extensions/template/package.json +15 -0
  177. package/extensions/template/poolbot.plugin.json +10 -0
  178. package/extensions/xyops/README.md +227 -0
  179. package/extensions/xyops/index.ts +342 -0
  180. package/extensions/xyops/node_modules/.bin/jiti +21 -0
  181. package/extensions/xyops/node_modules/.bin/tsc +21 -0
  182. package/extensions/xyops/node_modules/.bin/tsserver +21 -0
  183. package/extensions/xyops/node_modules/.bin/tsx +21 -0
  184. package/extensions/xyops/node_modules/.bin/vitest +21 -0
  185. package/extensions/xyops/node_modules/.bin/yaml +21 -0
  186. package/extensions/xyops/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -0
  187. package/extensions/xyops/package.json +39 -0
  188. package/extensions/xyops/src/client.test.ts +467 -0
  189. package/extensions/xyops/src/client.ts +157 -0
  190. package/extensions/xyops/src/types.ts +147 -0
  191. package/extensions/xyops/vitest.config.ts +8 -0
  192. package/package.json +1 -1
  193. package/extensions/mavalie/README.md +0 -97
  194. package/extensions/mavalie/package.json +0 -15
  195. package/extensions/mavalie/src/index.ts +0 -62
@@ -0,0 +1,157 @@
1
+ # 🏢 Runbook: Enterprise Feature Development
2
+
3
+ > **Mode**: NEXUS-Sprint | **Duration**: 6-12 weeks | **Agents**: 20-30
4
+
5
+ ---
6
+
7
+ ## Scenario
8
+
9
+ You're adding a major feature to an existing enterprise product. Compliance, security, and quality gates are non-negotiable. Multiple stakeholders need alignment. The feature must integrate seamlessly with existing systems.
10
+
11
+ ## Agent Roster
12
+
13
+ ### Core Team
14
+ | Agent | Role |
15
+ |-------|------|
16
+ | Agents Orchestrator | Pipeline controller |
17
+ | Project Shepherd | Cross-functional coordination |
18
+ | Senior Project Manager | Spec-to-task conversion |
19
+ | Sprint Prioritizer | Backlog management |
20
+ | UX Architect | Technical foundation |
21
+ | UX Researcher | User validation |
22
+ | UI Designer | Component design |
23
+ | Frontend Developer | UI implementation |
24
+ | Backend Architect | API and system integration |
25
+ | Senior Developer | Complex implementation |
26
+ | DevOps Automator | CI/CD and deployment |
27
+ | Evidence Collector | Visual QA |
28
+ | API Tester | Endpoint validation |
29
+ | Reality Checker | Final quality gate |
30
+ | Performance Benchmarker | Load testing |
31
+
32
+ ### Compliance & Governance
33
+ | Agent | Role |
34
+ |-------|------|
35
+ | Legal Compliance Checker | Regulatory compliance |
36
+ | Brand Guardian | Brand consistency |
37
+ | Finance Tracker | Budget tracking |
38
+ | Executive Summary Generator | Stakeholder reporting |
39
+
40
+ ### Quality Assurance
41
+ | Agent | Role |
42
+ |-------|------|
43
+ | Test Results Analyzer | Quality metrics |
44
+ | Workflow Optimizer | Process improvement |
45
+ | Experiment Tracker | A/B testing |
46
+
47
+ ## Execution Plan
48
+
49
+ ### Phase 1: Requirements & Architecture (Week 1-2)
50
+
51
+ ```
52
+ Week 1: Stakeholder Alignment
53
+ ├── Project Shepherd → Stakeholder analysis + communication plan
54
+ ├── UX Researcher → User research on feature need
55
+ ├── Legal Compliance Checker → Compliance requirements scan
56
+ ├── Senior Project Manager → Spec-to-task conversion
57
+ └── Finance Tracker → Budget framework
58
+
59
+ Week 2: Technical Architecture
60
+ ├── UX Architect → UX foundation + component architecture
61
+ ├── Backend Architect → System architecture + integration plan
62
+ ├── UI Designer → Component design + design system updates
63
+ ├── Sprint Prioritizer → RICE-scored backlog
64
+ ├── Brand Guardian → Brand impact assessment
65
+ └── Quality Gate: Architecture Review (Project Shepherd + Reality Checker)
66
+ ```
67
+
68
+ ### Phase 2: Foundation (Week 3)
69
+
70
+ ```
71
+ ├── DevOps Automator → Feature branch pipeline + feature flags
72
+ ├── Frontend Developer → Component scaffolding
73
+ ├── Backend Architect → API scaffold + database migrations
74
+ ├── Infrastructure Maintainer → Staging environment setup
75
+ └── Quality Gate: Foundation verified (Evidence Collector)
76
+ ```
77
+
78
+ ### Phase 3: Build (Week 4-9)
79
+
80
+ ```
81
+ Sprint 1-3 (Week 4-9):
82
+ ├── Agents Orchestrator → Dev↔QA loop management
83
+ ├── Frontend Developer → UI implementation (task by task)
84
+ ├── Backend Architect → API implementation (task by task)
85
+ ├── Senior Developer → Complex/premium features
86
+ ├── Evidence Collector → QA every task (screenshots)
87
+ ├── API Tester → Endpoint validation every API task
88
+ ├── Experiment Tracker → A/B test setup for key features
89
+
90
+ ├── Bi-weekly:
91
+ │ ├── Project Shepherd → Stakeholder status update
92
+ │ ├── Executive Summary Generator → Executive briefing
93
+ │ └── Finance Tracker → Budget tracking
94
+
95
+ └── Sprint Reviews with stakeholder demos
96
+ ```
97
+
98
+ ### Phase 4: Hardening (Week 10-11)
99
+
100
+ ```
101
+ Week 10: Evidence Collection
102
+ ├── Evidence Collector → Full screenshot suite
103
+ ├── API Tester → Complete regression suite
104
+ ├── Performance Benchmarker → Load test at 10x traffic
105
+ ├── Legal Compliance Checker → Final compliance audit
106
+ ├── Test Results Analyzer → Quality metrics dashboard
107
+ └── Infrastructure Maintainer → Production readiness
108
+
109
+ Week 11: Final Judgment
110
+ ├── Reality Checker → Integration testing (default: NEEDS WORK)
111
+ ├── Fix cycle if needed (2-3 days)
112
+ ├── Re-verification
113
+ └── Executive Summary Generator → Go/No-Go recommendation
114
+ ```
115
+
116
+ ### Phase 5: Rollout (Week 12)
117
+
118
+ ```
119
+ ├── DevOps Automator → Canary deployment (5% → 25% → 100%)
120
+ ├── Infrastructure Maintainer → Real-time monitoring
121
+ ├── Analytics Reporter → Feature adoption tracking
122
+ ├── Support Responder → User support for new feature
123
+ ├── Feedback Synthesizer → Early feedback collection
124
+ └── Executive Summary Generator → Launch report
125
+ ```
126
+
127
+ ## Stakeholder Communication Cadence
128
+
129
+ | Audience | Frequency | Agent | Format |
130
+ |----------|-----------|-------|--------|
131
+ | Executive sponsors | Bi-weekly | Executive Summary Generator | SCQA summary (≤500 words) |
132
+ | Product team | Weekly | Project Shepherd | Status report |
133
+ | Engineering team | Daily | Agents Orchestrator | Pipeline status |
134
+ | Compliance team | Monthly | Legal Compliance Checker | Compliance status |
135
+ | Finance | Monthly | Finance Tracker | Budget report |
136
+
137
+ ## Quality Requirements
138
+
139
+ | Requirement | Threshold | Verification |
140
+ |-------------|-----------|-------------|
141
+ | Code coverage | > 80% | Test Results Analyzer |
142
+ | API response time | P95 < 200ms | Performance Benchmarker |
143
+ | Accessibility | WCAG 2.1 AA | Evidence Collector |
144
+ | Security | Zero critical vulnerabilities | Legal Compliance Checker |
145
+ | Brand consistency | 95%+ adherence | Brand Guardian |
146
+ | Spec compliance | 100% | Reality Checker |
147
+ | Load handling | 10x current traffic | Performance Benchmarker |
148
+
149
+ ## Risk Management
150
+
151
+ | Risk | Probability | Impact | Mitigation | Owner |
152
+ |------|------------|--------|-----------|-------|
153
+ | Integration complexity | High | High | Early integration testing, API Tester in every sprint | Backend Architect |
154
+ | Scope creep | Medium | High | Sprint Prioritizer enforces MoSCoW, Project Shepherd manages changes | Sprint Prioritizer |
155
+ | Compliance issues | Medium | Critical | Legal Compliance Checker involved from Day 1 | Legal Compliance Checker |
156
+ | Performance regression | Medium | High | Performance Benchmarker tests every sprint | Performance Benchmarker |
157
+ | Stakeholder misalignment | Low | High | Bi-weekly executive briefings, Project Shepherd coordination | Project Shepherd |
@@ -0,0 +1,217 @@
1
+ # 🚨 Runbook: Incident Response
2
+
3
+ > **Mode**: NEXUS-Micro | **Duration**: Minutes to hours | **Agents**: 3-8
4
+
5
+ ---
6
+
7
+ ## Scenario
8
+
9
+ Something is broken in production. Users are affected. Speed of response matters, but so does doing it right. This runbook covers detection through post-mortem.
10
+
11
+ ## Severity Classification
12
+
13
+ | Level | Definition | Examples | Response Time |
14
+ |-------|-----------|----------|--------------|
15
+ | **P0 — Critical** | Service completely down, data loss, security breach | Database corruption, DDoS attack, auth system failure | Immediate (all hands) |
16
+ | **P1 — High** | Major feature broken, significant performance degradation | Payment processing down, 50%+ error rate, 10x latency | < 1 hour |
17
+ | **P2 — Medium** | Minor feature broken, workaround available | Search not working, non-critical API errors | < 4 hours |
18
+ | **P3 — Low** | Cosmetic issue, minor inconvenience | Styling bug, typo, minor UI glitch | Next sprint |
19
+
20
+ ## Response Teams by Severity
21
+
22
+ ### P0 — Critical Response Team
23
+ | Agent | Role | Action |
24
+ |-------|------|--------|
25
+ | **Infrastructure Maintainer** | Incident commander | Assess scope, coordinate response |
26
+ | **DevOps Automator** | Deployment/rollback | Execute rollback if needed |
27
+ | **Backend Architect** | Root cause investigation | Diagnose system issues |
28
+ | **Frontend Developer** | UI-side investigation | Diagnose client-side issues |
29
+ | **Support Responder** | User communication | Status page updates, user notifications |
30
+ | **Executive Summary Generator** | Stakeholder communication | Real-time executive updates |
31
+
32
+ ### P1 — High Response Team
33
+ | Agent | Role |
34
+ |-------|------|
35
+ | **Infrastructure Maintainer** | Incident commander |
36
+ | **DevOps Automator** | Deployment support |
37
+ | **Relevant Developer Agent** | Fix implementation |
38
+ | **Support Responder** | User communication |
39
+
40
+ ### P2 — Medium Response
41
+ | Agent | Role |
42
+ |-------|------|
43
+ | **Relevant Developer Agent** | Fix implementation |
44
+ | **Evidence Collector** | Verify fix |
45
+
46
+ ### P3 — Low Response
47
+ | Agent | Role |
48
+ |-------|------|
49
+ | **Sprint Prioritizer** | Add to backlog |
50
+
51
+ ## Incident Response Sequence
52
+
53
+ ### Step 1: Detection & Triage (0-5 minutes)
54
+
55
+ ```
56
+ TRIGGER: Alert from monitoring / User report / Agent detection
57
+
58
+ Infrastructure Maintainer:
59
+ 1. Acknowledge alert
60
+ 2. Assess scope and impact
61
+ - How many users affected?
62
+ - Which services are impacted?
63
+ - Is data at risk?
64
+ 3. Classify severity (P0/P1/P2/P3)
65
+ 4. Activate appropriate response team
66
+ 5. Create incident channel/thread
67
+
68
+ Output: Incident classification + response team activated
69
+ ```
70
+
71
+ ### Step 2: Investigation (5-30 minutes)
72
+
73
+ ```
74
+ PARALLEL INVESTIGATION:
75
+
76
+ Infrastructure Maintainer:
77
+ ├── Check system metrics (CPU, memory, network, disk)
78
+ ├── Review error logs
79
+ ├── Check recent deployments
80
+ └── Verify external dependencies
81
+
82
+ Backend Architect (if P0/P1):
83
+ ├── Check database health
84
+ ├── Review API error rates
85
+ ├── Check service communication
86
+ └── Identify failing component
87
+
88
+ DevOps Automator:
89
+ ├── Review recent deployment history
90
+ ├── Check CI/CD pipeline status
91
+ ├── Prepare rollback if needed
92
+ └── Verify infrastructure state
93
+
94
+ Output: Root cause identified (or narrowed to component)
95
+ ```
96
+
97
+ ### Step 3: Mitigation (15-60 minutes)
98
+
99
+ ```
100
+ DECISION TREE:
101
+
102
+ IF caused by recent deployment:
103
+ → DevOps Automator: Execute rollback
104
+ → Infrastructure Maintainer: Verify recovery
105
+ → Evidence Collector: Confirm fix
106
+
107
+ IF caused by infrastructure issue:
108
+ → Infrastructure Maintainer: Scale/restart/failover
109
+ → DevOps Automator: Support infrastructure changes
110
+ → Verify recovery
111
+
112
+ IF caused by code bug:
113
+ → Relevant Developer Agent: Implement hotfix
114
+ → Evidence Collector: Verify fix
115
+ → DevOps Automator: Deploy hotfix
116
+ → Infrastructure Maintainer: Monitor recovery
117
+
118
+ IF caused by external dependency:
119
+ → Infrastructure Maintainer: Activate fallback/cache
120
+ → Support Responder: Communicate to users
121
+ → Monitor for external recovery
122
+
123
+ THROUGHOUT:
124
+ → Support Responder: Update status page every 15 minutes
125
+ → Executive Summary Generator: Brief stakeholders (P0 only)
126
+ ```
127
+
128
+ ### Step 4: Resolution Verification (Post-fix)
129
+
130
+ ```
131
+ Evidence Collector:
132
+ 1. Verify the fix resolves the issue
133
+ 2. Screenshot evidence of working state
134
+ 3. Confirm no new issues introduced
135
+
136
+ Infrastructure Maintainer:
137
+ 1. Verify all metrics returning to normal
138
+ 2. Confirm no cascading failures
139
+ 3. Monitor for 30 minutes post-fix
140
+
141
+ API Tester (if API-related):
142
+ 1. Run regression on affected endpoints
143
+ 2. Verify response times normalized
144
+ 3. Confirm error rates at baseline
145
+
146
+ Output: Incident resolved confirmation
147
+ ```
148
+
149
+ ### Step 5: Post-Mortem (Within 48 hours)
150
+
151
+ ```
152
+ Workflow Optimizer leads post-mortem:
153
+
154
+ 1. Timeline reconstruction
155
+ - When was the issue introduced?
156
+ - When was it detected?
157
+ - When was it resolved?
158
+ - Total user impact duration
159
+
160
+ 2. Root cause analysis
161
+ - What failed?
162
+ - Why did it fail?
163
+ - Why wasn't it caught earlier?
164
+ - 5 Whys analysis
165
+
166
+ 3. Impact assessment
167
+ - Users affected
168
+ - Revenue impact
169
+ - Reputation impact
170
+ - Data impact
171
+
172
+ 4. Prevention measures
173
+ - What monitoring would have caught this sooner?
174
+ - What testing would have prevented this?
175
+ - What process changes are needed?
176
+ - What infrastructure changes are needed?
177
+
178
+ 5. Action items
179
+ - [Action] → [Owner] → [Deadline]
180
+ - [Action] → [Owner] → [Deadline]
181
+ - [Action] → [Owner] → [Deadline]
182
+
183
+ Output: Post-Mortem Report → Sprint Prioritizer adds prevention tasks to backlog
184
+ ```
185
+
186
+ ## Communication Templates
187
+
188
+ ### Status Page Update (Support Responder)
189
+ ```
190
+ [TIMESTAMP] — [SERVICE NAME] Incident
191
+
192
+ Status: [Investigating / Identified / Monitoring / Resolved]
193
+ Impact: [Description of user impact]
194
+ Current action: [What we're doing about it]
195
+ Next update: [When to expect the next update]
196
+ ```
197
+
198
+ ### Executive Update (Executive Summary Generator — P0 only)
199
+ ```
200
+ INCIDENT BRIEF — [TIMESTAMP]
201
+
202
+ SITUATION: [Service] is [down/degraded] affecting [N users/% of traffic]
203
+ CAUSE: [Known/Under investigation] — [Brief description if known]
204
+ ACTION: [What's being done] — ETA [time estimate]
205
+ IMPACT: [Business impact — revenue, users, reputation]
206
+ NEXT UPDATE: [Timestamp]
207
+ ```
208
+
209
+ ## Escalation Matrix
210
+
211
+ | Condition | Escalate To | Action |
212
+ |-----------|------------|--------|
213
+ | P0 not resolved in 30 min | Studio Producer | Additional resources, vendor escalation |
214
+ | P1 not resolved in 2 hours | Project Shepherd | Resource reallocation |
215
+ | Data breach suspected | Legal Compliance Checker | Regulatory notification assessment |
216
+ | User data affected | Legal Compliance Checker + Executive Summary Generator | GDPR/CCPA notification |
217
+ | Revenue impact > $X | Finance Tracker + Studio Producer | Business impact assessment |
@@ -0,0 +1,187 @@
1
+ # 📢 Runbook: Multi-Channel Marketing Campaign
2
+
3
+ > **Mode**: NEXUS-Micro to NEXUS-Sprint | **Duration**: 2-4 weeks | **Agents**: 10-15
4
+
5
+ ---
6
+
7
+ ## Scenario
8
+
9
+ You're launching a coordinated marketing campaign across multiple channels. Content needs to be platform-specific, brand-consistent, and data-driven. The campaign needs to drive measurable acquisition and engagement.
10
+
11
+ ## Agent Roster
12
+
13
+ ### Campaign Core
14
+ | Agent | Role |
15
+ |-------|------|
16
+ | Social Media Strategist | Campaign lead, cross-platform strategy |
17
+ | Content Creator | Content production across all formats |
18
+ | Growth Hacker | Acquisition strategy, funnel optimization |
19
+ | Brand Guardian | Brand consistency across all channels |
20
+ | Analytics Reporter | Performance tracking and optimization |
21
+
22
+ ### Platform Specialists
23
+ | Agent | Role |
24
+ |-------|------|
25
+ | Twitter Engager | Twitter/X campaign execution |
26
+ | TikTok Strategist | TikTok content and growth |
27
+ | Instagram Curator | Instagram visual content |
28
+ | Reddit Community Builder | Reddit authentic engagement |
29
+ | App Store Optimizer | App store presence (if mobile) |
30
+
31
+ ### Support
32
+ | Agent | Role |
33
+ |-------|------|
34
+ | Trend Researcher | Market timing and trend alignment |
35
+ | Experiment Tracker | A/B testing campaign variations |
36
+ | Executive Summary Generator | Campaign reporting |
37
+ | Legal Compliance Checker | Ad compliance, disclosure requirements |
38
+
39
+ ## Execution Plan
40
+
41
+ ### Week 1: Strategy & Content Creation
42
+
43
+ ```
44
+ Day 1-2: Campaign Strategy
45
+ ├── Social Media Strategist → Cross-platform campaign strategy
46
+ │ ├── Campaign objectives and KPIs
47
+ │ ├── Target audience definition
48
+ │ ├── Platform selection and budget allocation
49
+ │ ├── Content calendar (4-week plan)
50
+ │ └── Engagement strategy per platform
51
+
52
+ ├── Trend Researcher → Market timing analysis
53
+ │ ├── Trending topics to align with
54
+ │ ├── Competitor campaign analysis
55
+ │ └── Optimal launch timing
56
+
57
+ ├── Growth Hacker → Acquisition funnel design
58
+ │ ├── Landing page optimization plan
59
+ │ ├── Conversion funnel mapping
60
+ │ ├── Viral mechanics (referral, sharing)
61
+ │ └── Channel budget allocation
62
+
63
+ ├── Brand Guardian → Campaign brand guidelines
64
+ │ ├── Campaign-specific visual guidelines
65
+ │ ├── Messaging framework
66
+ │ ├── Tone and voice for campaign
67
+ │ └── Do's and don'ts
68
+
69
+ └── Legal Compliance Checker → Ad compliance review
70
+ ├── Disclosure requirements
71
+ ├── Platform-specific ad policies
72
+ └── Regulatory constraints
73
+
74
+ Day 3-5: Content Production
75
+ ├── Content Creator → Multi-format content creation
76
+ │ ├── Blog posts / articles
77
+ │ ├── Email sequences
78
+ │ ├── Landing page copy
79
+ │ ├── Video scripts
80
+ │ └── Social media copy (platform-adapted)
81
+
82
+ ├── Twitter Engager → Twitter-specific content
83
+ │ ├── Launch thread (10-15 tweets)
84
+ │ ├── Daily engagement tweets
85
+ │ ├── Reply templates
86
+ │ └── Hashtag strategy
87
+
88
+ ├── TikTok Strategist → TikTok content plan
89
+ │ ├── Video concepts (3-5 videos)
90
+ │ ├── Hook strategies
91
+ │ ├── Trending audio/format alignment
92
+ │ └── Posting schedule
93
+
94
+ ├── Instagram Curator → Instagram content
95
+ │ ├── Feed posts (carousel, single image)
96
+ │ ├── Stories content
97
+ │ ├── Reels concepts
98
+ │ └── Visual aesthetic guidelines
99
+
100
+ └── Reddit Community Builder → Reddit strategy
101
+ ├── Subreddit targeting
102
+ ├── Value-first post drafts
103
+ ├── Comment engagement plan
104
+ └── AMA preparation (if applicable)
105
+ ```
106
+
107
+ ### Week 2: Launch & Activate
108
+
109
+ ```
110
+ Day 1: Pre-Launch
111
+ ├── All content queued and scheduled
112
+ ├── Analytics tracking verified
113
+ ├── A/B test variants configured
114
+ ├── Landing pages live and tested
115
+ └── Team briefed on engagement protocols
116
+
117
+ Day 2-3: Launch
118
+ ├── Twitter Engager → Launch thread + real-time engagement
119
+ ├── Instagram Curator → Launch posts + stories
120
+ ├── TikTok Strategist → Launch videos
121
+ ├── Reddit Community Builder → Authentic community posts
122
+ ├── Content Creator → Blog post published + email blast
123
+ ├── Growth Hacker → Paid campaigns activated
124
+ └── Analytics Reporter → Real-time dashboard monitoring
125
+
126
+ Day 4-5: Optimize
127
+ ├── Analytics Reporter → First 48-hour performance report
128
+ ├── Growth Hacker → Channel optimization based on data
129
+ ├── Experiment Tracker → A/B test early results
130
+ ├── Social Media Strategist → Engagement strategy adjustment
131
+ └── Content Creator → Response content based on reception
132
+ ```
133
+
134
+ ### Week 3-4: Sustain & Optimize
135
+
136
+ ```
137
+ Daily:
138
+ ├── Platform agents → Engagement and content posting
139
+ ├── Analytics Reporter → Daily performance snapshot
140
+ └── Growth Hacker → Funnel optimization
141
+
142
+ Weekly:
143
+ ├── Social Media Strategist → Campaign performance review
144
+ ├── Experiment Tracker → A/B test results and new tests
145
+ ├── Content Creator → New content based on performance data
146
+ └── Analytics Reporter → Weekly campaign report
147
+
148
+ End of Campaign:
149
+ ├── Analytics Reporter → Comprehensive campaign analysis
150
+ ├── Growth Hacker → ROI analysis and channel effectiveness
151
+ ├── Executive Summary Generator → Campaign executive summary
152
+ └── Social Media Strategist → Lessons learned and recommendations
153
+ ```
154
+
155
+ ## Campaign Metrics
156
+
157
+ | Metric | Target | Owner |
158
+ |--------|--------|-------|
159
+ | Total reach | [Target based on budget] | Social Media Strategist |
160
+ | Engagement rate | > 3% average across platforms | Platform agents |
161
+ | Click-through rate | > 2% on CTAs | Growth Hacker |
162
+ | Conversion rate | > 5% landing page | Growth Hacker |
163
+ | Cost per acquisition | < [Target CAC] | Growth Hacker |
164
+ | Brand sentiment | Net positive | Brand Guardian |
165
+ | Content pieces published | [Target count] | Content Creator |
166
+ | A/B tests completed | ≥ 5 | Experiment Tracker |
167
+
168
+ ## Platform-Specific KPIs
169
+
170
+ | Platform | Primary KPI | Secondary KPI | Agent |
171
+ |----------|------------|---------------|-------|
172
+ | Twitter/X | Impressions + engagement rate | Follower growth | Twitter Engager |
173
+ | TikTok | Views + completion rate | Follower growth | TikTok Strategist |
174
+ | Instagram | Reach + saves | Profile visits | Instagram Curator |
175
+ | Reddit | Upvotes + comment quality | Referral traffic | Reddit Community Builder |
176
+ | Email | Open rate + CTR | Unsubscribe rate | Content Creator |
177
+ | Blog | Organic traffic + time on page | Backlinks | Content Creator |
178
+ | Paid ads | ROAS + CPA | Quality score | Growth Hacker |
179
+
180
+ ## Brand Consistency Checkpoints
181
+
182
+ | Checkpoint | When | Agent |
183
+ |-----------|------|-------|
184
+ | Content review before publishing | Every piece | Brand Guardian |
185
+ | Visual consistency audit | Weekly | Brand Guardian |
186
+ | Voice and tone check | Weekly | Brand Guardian |
187
+ | Compliance review | Before launch + weekly | Legal Compliance Checker |