kiro-agent-team 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/.kiro/README.md +228 -0
  2. package/.kiro/agents/backend-engineer.json +6 -0
  3. package/.kiro/agents/backend-engineer.md +643 -0
  4. package/.kiro/agents/database-specialist.json +6 -0
  5. package/.kiro/agents/database-specialist.md +390 -0
  6. package/.kiro/agents/development-logger.json +6 -0
  7. package/.kiro/agents/development-logger.md +265 -0
  8. package/.kiro/agents/devops-engineer.json +6 -0
  9. package/.kiro/agents/devops-engineer.md +287 -0
  10. package/.kiro/agents/frontend-architect.json +6 -0
  11. package/.kiro/agents/frontend-architect.md +1032 -0
  12. package/.kiro/agents/hooks/backend-engineer-hooks.yaml +540 -0
  13. package/.kiro/agents/hooks/database-specialist-hooks.yaml +488 -0
  14. package/.kiro/agents/hooks/development-logger-hooks.yaml +361 -0
  15. package/.kiro/agents/hooks/devops-engineer-hooks.yaml +345 -0
  16. package/.kiro/agents/hooks/frontend-architect-hooks.yaml +521 -0
  17. package/.kiro/agents/hooks/project-manager-hooks.yaml +513 -0
  18. package/.kiro/agents/hooks/security-specialist-hooks.yaml +358 -0
  19. package/.kiro/agents/hooks/test-orchestrator-hooks.yaml +380 -0
  20. package/.kiro/agents/hooks/ui-ux-designer-hooks.yaml +353 -0
  21. package/.kiro/agents/project-manager.json +6 -0
  22. package/.kiro/agents/project-manager.md +344 -0
  23. package/.kiro/agents/prompts/backend-engineer-system.md +815 -0
  24. package/.kiro/agents/prompts/database-specialist-system.md +332 -0
  25. package/.kiro/agents/prompts/development-logger-system.md +232 -0
  26. package/.kiro/agents/prompts/devops-engineer-system.md +260 -0
  27. package/.kiro/agents/prompts/frontend-architect-system.md +305 -0
  28. package/.kiro/agents/prompts/project-manager-system.md +285 -0
  29. package/.kiro/agents/prompts/security-specialist-system.md +231 -0
  30. package/.kiro/agents/prompts/test-orchestrator-system.md +214 -0
  31. package/.kiro/agents/prompts/ui-ux-designer-system.md +270 -0
  32. package/.kiro/agents/security-specialist.json +6 -0
  33. package/.kiro/agents/security-specialist.md +277 -0
  34. package/.kiro/agents/test-orchestrator.json +6 -0
  35. package/.kiro/agents/test-orchestrator.md +266 -0
  36. package/.kiro/agents/ui-ux-designer.json +6 -0
  37. package/.kiro/agents/ui-ux-designer.md +284 -0
  38. package/.kiro/devlog/00-START-HERE.md +444 -0
  39. package/.kiro/devlog/COMPLETE-WORKFLOW.md +553 -0
  40. package/.kiro/devlog/DEVLOG-INTEGRATION.md +413 -0
  41. package/.kiro/devlog/DEVLOG-PROCESS-FLOWS.md +484 -0
  42. package/.kiro/devlog/DEVLOG-QUICK-REF.md +299 -0
  43. package/.kiro/devlog/DEVLOG.md +22 -0
  44. package/.kiro/devlog/IMPLEMENTATION-COMPLETE.txt +434 -0
  45. package/.kiro/devlog/IMPLEMENTATION-SUMMARY.md +358 -0
  46. package/.kiro/devlog/README.md +363 -0
  47. package/.kiro/devlog/devlog-update.bat +136 -0
  48. package/.kiro/devlog/devlog-update.sh +275 -0
  49. package/.kiro/devlog/feature-completion-hook.bat +78 -0
  50. package/.kiro/devlog/feature-completion-hook.sh +84 -0
  51. package/.kiro/documentation/cli.md +31 -0
  52. package/.kiro/documentation/docs_cli.md +41 -0
  53. package/.kiro/documentation/docs_cli_authentication.md +43 -0
  54. package/.kiro/documentation/docs_cli_autocomplete.md +132 -0
  55. package/.kiro/documentation/docs_cli_billing.md +31 -0
  56. package/.kiro/documentation/docs_cli_billing_contact-support.md +43 -0
  57. package/.kiro/documentation/docs_cli_billing_managing-taxes.md +67 -0
  58. package/.kiro/documentation/docs_cli_billing_related-questions.md +49 -0
  59. package/.kiro/documentation/docs_cli_billing_subscription-portal.md +31 -0
  60. package/.kiro/documentation/docs_cli_chat.md +84 -0
  61. package/.kiro/documentation/docs_cli_chat_configuration.md +40 -0
  62. package/.kiro/documentation/docs_cli_chat_context.md +258 -0
  63. package/.kiro/documentation/docs_cli_chat_git-aware-selection.md +41 -0
  64. package/.kiro/documentation/docs_cli_chat_images.md +53 -0
  65. package/.kiro/documentation/docs_cli_chat_manage-prompts.md +216 -0
  66. package/.kiro/documentation/docs_cli_chat_model-selection.md +153 -0
  67. package/.kiro/documentation/docs_cli_chat_permissions.md +68 -0
  68. package/.kiro/documentation/docs_cli_chat_planning-agent.md +230 -0
  69. package/.kiro/documentation/docs_cli_chat_responding.md +123 -0
  70. package/.kiro/documentation/docs_cli_chat_security.md +87 -0
  71. package/.kiro/documentation/docs_cli_chat_subagents.md +77 -0
  72. package/.kiro/documentation/docs_cli_code-intelligence.md +251 -0
  73. package/.kiro/documentation/docs_cli_custom-agents.md +37 -0
  74. package/.kiro/documentation/docs_cli_custom-agents_configuration-reference.md +941 -0
  75. package/.kiro/documentation/docs_cli_custom-agents_creating.md +93 -0
  76. package/.kiro/documentation/docs_cli_custom-agents_examples.md +360 -0
  77. package/.kiro/documentation/docs_cli_custom-agents_troubleshooting.md +180 -0
  78. package/.kiro/documentation/docs_cli_enterprise_billing.md +33 -0
  79. package/.kiro/documentation/docs_cli_enterprise_concepts.md +34 -0
  80. package/.kiro/documentation/docs_cli_enterprise_getting-started.md +19 -0
  81. package/.kiro/documentation/docs_cli_enterprise_iam.md +251 -0
  82. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track.md +15 -0
  83. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_dashboard.md +62 -0
  84. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_prompt-logging.md +165 -0
  85. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_user-activity.md +123 -0
  86. package/.kiro/documentation/docs_cli_enterprise_settings.md +15 -0
  87. package/.kiro/documentation/docs_cli_enterprise_subscribe.md +36 -0
  88. package/.kiro/documentation/docs_cli_enterprise_subscription-management.md +55 -0
  89. package/.kiro/documentation/docs_cli_enterprise_supported-regions.md +39 -0
  90. package/.kiro/documentation/docs_cli_experimental.md +282 -0
  91. package/.kiro/documentation/docs_cli_experimental_checkpointing.md +439 -0
  92. package/.kiro/documentation/docs_cli_experimental_delegate.md +422 -0
  93. package/.kiro/documentation/docs_cli_experimental_knowledge-management.md +449 -0
  94. package/.kiro/documentation/docs_cli_experimental_tangent-mode.md +357 -0
  95. package/.kiro/documentation/docs_cli_experimental_thinking.md +331 -0
  96. package/.kiro/documentation/docs_cli_experimental_todo-lists.md +385 -0
  97. package/.kiro/documentation/docs_cli_hooks.md +207 -0
  98. package/.kiro/documentation/docs_cli_installation.md +235 -0
  99. package/.kiro/documentation/docs_cli_mcp.md +106 -0
  100. package/.kiro/documentation/docs_cli_mcp_configuration.md +294 -0
  101. package/.kiro/documentation/docs_cli_mcp_examples.md +273 -0
  102. package/.kiro/documentation/docs_cli_mcp_governance.md +436 -0
  103. package/.kiro/documentation/docs_cli_mcp_security.md +77 -0
  104. package/.kiro/documentation/docs_cli_migrating-from-q.md +129 -0
  105. package/.kiro/documentation/docs_cli_privacy-and-security.md +83 -0
  106. package/.kiro/documentation/docs_cli_privacy-and-security_compliance-validation.md +17 -0
  107. package/.kiro/documentation/docs_cli_privacy-and-security_data-protection.md +104 -0
  108. package/.kiro/documentation/docs_cli_privacy-and-security_firewalls.md +26 -0
  109. package/.kiro/documentation/docs_cli_privacy-and-security_infrastructure-security.md +10 -0
  110. package/.kiro/documentation/docs_cli_privacy-and-security_vpc-endpoints.md +41 -0
  111. package/.kiro/documentation/docs_cli_reference_built-in-tools.md +624 -0
  112. package/.kiro/documentation/docs_cli_reference_cli-commands.md +689 -0
  113. package/.kiro/documentation/docs_cli_reference_settings.md +294 -0
  114. package/.kiro/documentation/docs_cli_reference_slash-commands.md +559 -0
  115. package/.kiro/documentation/docs_cli_steering.md +84 -0
  116. package/.kiro/guides/AGENT_WORKFLOW_GUIDE.md +294 -0
  117. package/.kiro/guides/DEVLOG.md +882 -0
  118. package/.kiro/guides/IMPLEMENTATION_EXAMPLES.md +611 -0
  119. package/.kiro/guides/PIV Loop.md +122 -0
  120. package/.kiro/guides/PIV Loop.png +0 -0
  121. package/.kiro/guides/PIVLoop.png +0 -0
  122. package/.kiro/guides/QUICK_REFERENCE.md +202 -0
  123. package/.kiro/guides/README.md +149 -0
  124. package/.kiro/guides/advanced-patterns.md +514 -0
  125. package/.kiro/guides/agent-coordination.md +434 -0
  126. package/.kiro/guides/core-workflows.md +409 -0
  127. package/.kiro/guides/emergency-procedures.md +414 -0
  128. package/.kiro/guides/project-evaluation.md +534 -0
  129. package/.kiro/guides/quality-assurance.md +431 -0
  130. package/.kiro/guides/quick-start.md +235 -0
  131. package/.kiro/guides/troubleshooting.md +575 -0
  132. package/.kiro/guides/walkthroughs.md +711 -0
  133. package/.kiro/prompts/add-to-devlog.md +263 -0
  134. package/.kiro/prompts/code-review-fix.md +18 -0
  135. package/.kiro/prompts/code-review-hackathon.md +167 -0
  136. package/.kiro/prompts/code-review-security.md +454 -0
  137. package/.kiro/prompts/code-review.md +113 -0
  138. package/.kiro/prompts/create-prd.md +151 -0
  139. package/.kiro/prompts/execute-backend.md +257 -0
  140. package/.kiro/prompts/execute-frontend.md +438 -0
  141. package/.kiro/prompts/execute-logging.md +491 -0
  142. package/.kiro/prompts/execute-security.md +482 -0
  143. package/.kiro/prompts/execute-testing.md +528 -0
  144. package/.kiro/prompts/execute.md +101 -0
  145. package/.kiro/prompts/execution-report.md +72 -0
  146. package/.kiro/prompts/implement-fix.md +228 -0
  147. package/.kiro/prompts/plan-feature.md +433 -0
  148. package/.kiro/prompts/prime.md +73 -0
  149. package/.kiro/prompts/quality-metrics.md +622 -0
  150. package/.kiro/prompts/quickstart.md +318 -0
  151. package/.kiro/prompts/rca.md +220 -0
  152. package/.kiro/prompts/system-review.md +189 -0
  153. package/README.md +32 -0
  154. package/bin/cli.js +97 -0
  155. package/package.json +33 -0
@@ -0,0 +1,414 @@
1
+ # Emergency Procedures
2
+
3
+ ## 🚨 **Rapid Response with Systematic Quality**
4
+
5
+ When critical issues arise, our agent team provides structured emergency response that maintains quality standards even under pressure. This guide covers procedures for handling urgent situations while preserving the systematic approach that ensures reliable outcomes.
6
+
7
+ ## ⚡ **Emergency Response Philosophy**
8
+
9
+ ### **Systematic Under Pressure**
10
+ Even in emergencies, we maintain systematic approaches because:
11
+ - **Prevents Mistakes**: Pressure leads to errors; systematic approaches prevent them
12
+ - **Ensures Completeness**: Critical steps aren't skipped in the rush
13
+ - **Maintains Quality**: Emergency fixes that create new problems aren't solutions
14
+ - **Enables Learning**: Systematic response provides data for prevention
15
+
16
+ ### **Speed Through Structure**
17
+ Our emergency procedures are designed for speed through:
18
+ - **Pre-defined Workflows**: No time wasted deciding what to do
19
+ - **Clear Responsibilities**: Each agent knows their emergency role
20
+ - **Parallel Processing**: Multiple agents work simultaneously when possible
21
+ - **Quality Shortcuts**: Streamlined but not eliminated quality checks
22
+
23
+ ## 🎯 **Emergency Classification**
24
+
25
+ ### **Critical (Immediate Response - 0-1 Hour)**
26
+ **Characteristics:**
27
+ - Production system down or severely impaired
28
+ - Security breach or active attack
29
+ - Data corruption or loss risk
30
+ - Compliance violation with legal implications
31
+
32
+ **Examples:**
33
+ - Database server failure
34
+ - Active SQL injection attack
35
+ - Payment system outage
36
+ - GDPR data breach
37
+
38
+ **Response Team:** All relevant agents mobilized immediately
39
+
40
+ ### **High (Urgent Response - 1-4 Hours)**
41
+ **Characteristics:**
42
+ - Significant functionality impaired
43
+ - Performance severely degraded
44
+ - Security vulnerability discovered
45
+ - Major feature completely broken
46
+
47
+ **Examples:**
48
+ - Authentication system failure
49
+ - API response times >5 seconds
50
+ - Critical security vulnerability
51
+ - Core feature not working
52
+
53
+ **Response Team:** Primary agents with specialist support
54
+
55
+ ### **Medium (Priority Response - 4-24 Hours)**
56
+ **Characteristics:**
57
+ - Minor functionality issues
58
+ - Performance degradation
59
+ - Non-critical security concerns
60
+ - Quality standard violations
61
+
62
+ **Examples:**
63
+ - Secondary feature bugs
64
+ - Slow page load times
65
+ - Code quality issues
66
+ - Documentation gaps
67
+
68
+ **Response Team:** Assigned specialist agents
69
+
70
+ ## 🚨 **Critical Emergency Response**
71
+
72
+ ### **Phase 1: Immediate Assessment (0-15 minutes)**
73
+
74
+ #### **Step 1: Situation Assessment**
75
+ ```bash
76
+ # Project Manager immediately assesses situation
77
+ "EMERGENCY: [Brief description of issue]
78
+ - Impact: [User/system impact]
79
+ - Severity: [Critical/High/Medium]
80
+ - Affected Systems: [List of affected components]
81
+ - Immediate Actions Needed: [Containment steps]"
82
+ ```
83
+
84
+ #### **Step 2: Team Mobilization**
85
+ ```bash
86
+ # Mobilize appropriate agents based on issue type
87
+ Security Issue → Security Specialist leads
88
+ Performance Issue → Backend Engineer + DevOps Engineer
89
+ Data Issue → Database Specialist leads
90
+ Frontend Issue → Frontend Architect leads
91
+ ```
92
+
93
+ #### **Step 3: Immediate Containment**
94
+ ```bash
95
+ # Take immediate steps to prevent further damage
96
+ - Isolate affected systems if necessary
97
+ - Implement temporary workarounds
98
+ - Notify stakeholders of issue and response
99
+ - Begin logging all actions for post-incident review
100
+ ```
101
+
102
+ ### **Phase 2: Root Cause Analysis (15-45 minutes)**
103
+
104
+ #### **Rapid RCA Process**
105
+ ```bash
106
+ @rca [emergency-issue-id]
107
+ ```
108
+
109
+ **Emergency RCA Focus:**
110
+ - **What happened?** Clear description of the issue
111
+ - **When did it start?** Timeline of issue emergence
112
+ - **What's the impact?** Scope of affected users/systems
113
+ - **What's the root cause?** Primary cause identification
114
+ - **What's the fix?** Immediate solution approach
115
+
116
+ **Expected Output (15-30 minutes):**
117
+ ```
118
+ 🚨 EMERGENCY RCA: [Issue Description]
119
+ - Timeline: Issue started at [time], detected at [time]
120
+ - Root Cause: [Primary cause - keep it simple and actionable]
121
+ - Impact: [Affected users/systems/functionality]
122
+ - Immediate Fix: [Specific actions to resolve]
123
+ - Risk Assessment: [Risks of proposed fix]
124
+ - Estimated Resolution Time: [Realistic timeline]
125
+ ```
126
+
127
+ ### **Phase 3: Emergency Fix Implementation (30-60 minutes)**
128
+
129
+ #### **Systematic Emergency Fix**
130
+ ```bash
131
+ @implement-fix [emergency-issue-id]
132
+ ```
133
+
134
+ **Emergency Implementation Priorities:**
135
+ 1. **Restore Service**: Get systems operational
136
+ 2. **Minimize Risk**: Don't introduce new problems
137
+ 3. **Document Actions**: Track all changes made
138
+ 4. **Prepare Rollback**: Have backup plan ready
139
+
140
+ **Parallel Activities:**
141
+ - **Primary Agent**: Implements the fix
142
+ - **Secondary Agent**: Prepares rollback procedure
143
+ - **Test Orchestrator**: Prepares rapid validation tests
144
+ - **Project Manager**: Coordinates and communicates status
145
+
146
+ ### **Phase 4: Emergency Validation (15-30 minutes)**
147
+
148
+ #### **Rapid Quality Check**
149
+ ```bash
150
+ @code-review
151
+ ```
152
+
153
+ **Emergency Review Focus:**
154
+ - **Fix Effectiveness**: Does it resolve the issue?
155
+ - **No New Issues**: Doesn't introduce new problems
156
+ - **Rollback Ready**: Can be quickly reversed if needed
157
+ - **Monitoring**: Appropriate monitoring in place
158
+
159
+ **Streamlined Validation:**
160
+ ```
161
+ ⚡ Emergency Validation Checklist:
162
+ - [ ] Issue resolved (verified in affected environment)
163
+ - [ ] No new critical issues introduced
164
+ - [ ] Rollback procedure tested and ready
165
+ - [ ] Monitoring alerts configured
166
+ - [ ] Stakeholders notified of resolution
167
+ ```
168
+
169
+ ### **Phase 5: Deployment and Monitoring (15-30 minutes)**
170
+
171
+ #### **Controlled Emergency Deployment**
172
+ ```bash
173
+ # Deploy with enhanced monitoring
174
+ - Deploy to staging first (if possible)
175
+ - Deploy to production with careful monitoring
176
+ - Verify fix effectiveness immediately
177
+ - Monitor for any new issues
178
+ - Communicate resolution to stakeholders
179
+ ```
180
+
181
+ #### **Post-Deployment Monitoring**
182
+ - **Immediate (0-2 hours)**: Intensive monitoring for new issues
183
+ - **Short-term (2-24 hours)**: Regular monitoring for stability
184
+ - **Medium-term (1-7 days)**: Ongoing monitoring for side effects
185
+
186
+ ## 🔧 **High Priority Response**
187
+
188
+ ### **Structured High-Priority Process**
189
+
190
+ #### **Assessment and Planning (30 minutes)**
191
+ ```bash
192
+ @prime # Load current context
193
+ @rca [high-priority-issue] # Systematic analysis
194
+ ```
195
+
196
+ #### **Implementation (1-2 hours)**
197
+ ```bash
198
+ @implement-fix [issue-id] # Systematic fix
199
+ ```
200
+
201
+ #### **Validation (30 minutes)**
202
+ ```bash
203
+ @code-review # Quality validation
204
+ ```
205
+
206
+ #### **Documentation (30 minutes)**
207
+ ```bash
208
+ @execution-report # Document resolution
209
+ ```
210
+
211
+ ### **High-Priority Response Team**
212
+ - **Lead Agent**: Specialist most relevant to issue type
213
+ - **Support Agent**: Secondary expertise as needed
214
+ - **Quality Agent**: Test Orchestrator for validation
215
+ - **Coordinator**: Project Manager for oversight
216
+
217
+ ## 🛡️ **Security Emergency Response**
218
+
219
+ ### **Security Incident Classification**
220
+
221
+ #### **Critical Security (0-1 Hour Response)**
222
+ - Active attacks or breaches
223
+ - Data exfiltration in progress
224
+ - System compromise detected
225
+ - Compliance violation with legal implications
226
+
227
+ #### **High Security (1-4 Hour Response)**
228
+ - Vulnerability with active exploits
229
+ - Unauthorized access detected
230
+ - Data integrity concerns
231
+ - Security control failures
232
+
233
+ ### **Security Emergency Workflow**
234
+
235
+ #### **Phase 1: Containment (0-15 minutes)**
236
+ ```bash
237
+ # Security Specialist leads immediate containment
238
+ - Isolate affected systems
239
+ - Preserve evidence
240
+ - Assess scope of compromise
241
+ - Implement temporary security measures
242
+ ```
243
+
244
+ #### **Phase 2: Analysis (15-45 minutes)**
245
+ ```bash
246
+ @rca [security-incident-id]
247
+ ```
248
+
249
+ **Security RCA Focus:**
250
+ - **Attack Vector**: How was the system compromised?
251
+ - **Scope**: What systems/data are affected?
252
+ - **Timeline**: When did the incident start?
253
+ - **Evidence**: What forensic evidence is available?
254
+ - **Immediate Actions**: What must be done now?
255
+
256
+ #### **Phase 3: Response (30-90 minutes)**
257
+ ```bash
258
+ @implement-fix [security-incident-id]
259
+ ```
260
+
261
+ **Security Response Actions:**
262
+ - **Eliminate Threat**: Remove attack vector
263
+ - **Secure Systems**: Implement additional security measures
264
+ - **Preserve Evidence**: Maintain forensic integrity
265
+ - **Restore Service**: Return to secure operational state
266
+
267
+ #### **Phase 4: Validation (15-30 minutes)**
268
+ ```bash
269
+ @code-review
270
+ ```
271
+
272
+ **Security Validation:**
273
+ - **Threat Eliminated**: Attack vector closed
274
+ - **Systems Secure**: Additional security measures effective
275
+ - **No New Vulnerabilities**: Fix doesn't introduce new risks
276
+ - **Monitoring Enhanced**: Improved detection capabilities
277
+
278
+ ## 📊 **Performance Emergency Response**
279
+
280
+ ### **Performance Crisis Classification**
281
+
282
+ #### **Critical Performance (0-1 Hour)**
283
+ - System completely unresponsive
284
+ - Database deadlocks causing outages
285
+ - Memory leaks causing crashes
286
+ - Complete service unavailability
287
+
288
+ #### **High Performance (1-4 Hours)**
289
+ - Response times >5 seconds
290
+ - High error rates (>5%)
291
+ - Resource exhaustion warnings
292
+ - Significant user impact
293
+
294
+ ### **Performance Emergency Workflow**
295
+
296
+ #### **Immediate Actions**
297
+ ```bash
298
+ # Backend Engineer + DevOps Engineer coordinate
299
+ - Check system resources (CPU, memory, disk)
300
+ - Identify performance bottlenecks
301
+ - Implement immediate scaling if possible
302
+ - Enable enhanced monitoring
303
+ ```
304
+
305
+ #### **Analysis and Fix**
306
+ ```bash
307
+ @rca [performance-issue-id]
308
+ @implement-fix [performance-issue-id]
309
+ ```
310
+
311
+ **Performance Fix Priorities:**
312
+ 1. **Resource Optimization**: Address immediate resource constraints
313
+ 2. **Query Optimization**: Fix slow database queries
314
+ 3. **Caching**: Implement emergency caching
315
+ 4. **Load Balancing**: Distribute load more effectively
316
+
317
+ ## 🔄 **Post-Emergency Procedures**
318
+
319
+ ### **Immediate Post-Emergency (0-2 hours)**
320
+
321
+ #### **System Stabilization**
322
+ - Monitor for any side effects of emergency fixes
323
+ - Verify all systems are operating normally
324
+ - Confirm user experience is restored
325
+ - Update stakeholders on resolution
326
+
327
+ #### **Initial Documentation**
328
+ ```bash
329
+ @execution-report
330
+ ```
331
+
332
+ **Emergency Report Contents:**
333
+ - Timeline of events and actions taken
334
+ - Root cause and fix implemented
335
+ - Impact assessment and user communication
336
+ - Immediate lessons learned
337
+
338
+ ### **Short-Term Post-Emergency (2-24 hours)**
339
+
340
+ #### **Comprehensive Analysis**
341
+ ```bash
342
+ @system-review [emergency-rca] [emergency-fix-report]
343
+ ```
344
+
345
+ **Post-Emergency Analysis:**
346
+ - **Response Effectiveness**: How well did emergency procedures work?
347
+ - **Process Improvements**: What can be improved for next time?
348
+ - **Prevention Measures**: How can similar issues be prevented?
349
+ - **Team Performance**: How did agent coordination work under pressure?
350
+
351
+ #### **Permanent Fix Planning**
352
+ - Assess if emergency fix is sufficient long-term
353
+ - Plan proper solution if temporary fix was implemented
354
+ - Schedule permanent fix implementation
355
+ - Update monitoring and alerting
356
+
357
+ ### **Long-Term Post-Emergency (1-7 days)**
358
+
359
+ #### **Process Improvement**
360
+ - Update emergency procedures based on learnings
361
+ - Enhance monitoring and alerting systems
362
+ - Implement prevention measures
363
+ - Train team on lessons learned
364
+
365
+ #### **Documentation Updates**
366
+ - Update runbooks and procedures
367
+ - Enhance monitoring documentation
368
+ - Create prevention checklists
369
+ - Share learnings with broader team
370
+
371
+ ## 🎯 **Emergency Response Best Practices**
372
+
373
+ ### **Communication During Emergencies**
374
+ - **Clear Status Updates**: Regular, specific status communication
375
+ - **Stakeholder Notification**: Appropriate level of detail for each audience
376
+ - **Team Coordination**: Clear role assignments and progress updates
377
+ - **Documentation**: Real-time logging of actions and decisions
378
+
379
+ ### **Quality Under Pressure**
380
+ - **Don't Skip Steps**: Follow systematic approach even when rushed
381
+ - **Parallel Processing**: Use multiple agents to maintain speed
382
+ - **Validation Focus**: Ensure fixes work and don't create new problems
383
+ - **Rollback Readiness**: Always have a way to undo changes
384
+
385
+ ### **Learning from Emergencies**
386
+ - **Blameless Post-Mortems**: Focus on process improvement, not blame
387
+ - **Systematic Analysis**: Use structured approach to understand what happened
388
+ - **Prevention Focus**: Implement measures to prevent recurrence
389
+ - **Process Evolution**: Continuously improve emergency response procedures
390
+
391
+ ## 📋 **Emergency Response Checklist**
392
+
393
+ ### **Critical Emergency Checklist**
394
+ - [ ] Situation assessed and classified (0-5 minutes)
395
+ - [ ] Appropriate agents mobilized (5-10 minutes)
396
+ - [ ] Immediate containment actions taken (10-15 minutes)
397
+ - [ ] Root cause analysis initiated (@rca) (15-30 minutes)
398
+ - [ ] Emergency fix implemented (@implement-fix) (30-60 minutes)
399
+ - [ ] Fix validated (@code-review) (60-75 minutes)
400
+ - [ ] Solution deployed with monitoring (75-90 minutes)
401
+ - [ ] Stakeholders notified of resolution (90-120 minutes)
402
+ - [ ] Post-emergency analysis scheduled (within 24 hours)
403
+
404
+ ### **Quality Maintenance Checklist**
405
+ - [ ] Systematic approach followed despite time pressure
406
+ - [ ] All actions documented for post-incident review
407
+ - [ ] Fix validated before deployment
408
+ - [ ] Rollback procedure prepared and tested
409
+ - [ ] Monitoring enhanced to detect similar issues
410
+ - [ ] Lessons learned captured and shared
411
+
412
+ ---
413
+
414
+ **Ready to evaluate your projects comprehensively? Check out [Project Evaluation](project-evaluation.md) for assessment and optimization workflows!**