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.
- package/.kiro/README.md +228 -0
- package/.kiro/agents/backend-engineer.json +6 -0
- package/.kiro/agents/backend-engineer.md +643 -0
- package/.kiro/agents/database-specialist.json +6 -0
- package/.kiro/agents/database-specialist.md +390 -0
- package/.kiro/agents/development-logger.json +6 -0
- package/.kiro/agents/development-logger.md +265 -0
- package/.kiro/agents/devops-engineer.json +6 -0
- package/.kiro/agents/devops-engineer.md +287 -0
- package/.kiro/agents/frontend-architect.json +6 -0
- package/.kiro/agents/frontend-architect.md +1032 -0
- package/.kiro/agents/hooks/backend-engineer-hooks.yaml +540 -0
- package/.kiro/agents/hooks/database-specialist-hooks.yaml +488 -0
- package/.kiro/agents/hooks/development-logger-hooks.yaml +361 -0
- package/.kiro/agents/hooks/devops-engineer-hooks.yaml +345 -0
- package/.kiro/agents/hooks/frontend-architect-hooks.yaml +521 -0
- package/.kiro/agents/hooks/project-manager-hooks.yaml +513 -0
- package/.kiro/agents/hooks/security-specialist-hooks.yaml +358 -0
- package/.kiro/agents/hooks/test-orchestrator-hooks.yaml +380 -0
- package/.kiro/agents/hooks/ui-ux-designer-hooks.yaml +353 -0
- package/.kiro/agents/project-manager.json +6 -0
- package/.kiro/agents/project-manager.md +344 -0
- package/.kiro/agents/prompts/backend-engineer-system.md +815 -0
- package/.kiro/agents/prompts/database-specialist-system.md +332 -0
- package/.kiro/agents/prompts/development-logger-system.md +232 -0
- package/.kiro/agents/prompts/devops-engineer-system.md +260 -0
- package/.kiro/agents/prompts/frontend-architect-system.md +305 -0
- package/.kiro/agents/prompts/project-manager-system.md +285 -0
- package/.kiro/agents/prompts/security-specialist-system.md +231 -0
- package/.kiro/agents/prompts/test-orchestrator-system.md +214 -0
- package/.kiro/agents/prompts/ui-ux-designer-system.md +270 -0
- package/.kiro/agents/security-specialist.json +6 -0
- package/.kiro/agents/security-specialist.md +277 -0
- package/.kiro/agents/test-orchestrator.json +6 -0
- package/.kiro/agents/test-orchestrator.md +266 -0
- package/.kiro/agents/ui-ux-designer.json +6 -0
- package/.kiro/agents/ui-ux-designer.md +284 -0
- package/.kiro/devlog/00-START-HERE.md +444 -0
- package/.kiro/devlog/COMPLETE-WORKFLOW.md +553 -0
- package/.kiro/devlog/DEVLOG-INTEGRATION.md +413 -0
- package/.kiro/devlog/DEVLOG-PROCESS-FLOWS.md +484 -0
- package/.kiro/devlog/DEVLOG-QUICK-REF.md +299 -0
- package/.kiro/devlog/DEVLOG.md +22 -0
- package/.kiro/devlog/IMPLEMENTATION-COMPLETE.txt +434 -0
- package/.kiro/devlog/IMPLEMENTATION-SUMMARY.md +358 -0
- package/.kiro/devlog/README.md +363 -0
- package/.kiro/devlog/devlog-update.bat +136 -0
- package/.kiro/devlog/devlog-update.sh +275 -0
- package/.kiro/devlog/feature-completion-hook.bat +78 -0
- package/.kiro/devlog/feature-completion-hook.sh +84 -0
- package/.kiro/documentation/cli.md +31 -0
- package/.kiro/documentation/docs_cli.md +41 -0
- package/.kiro/documentation/docs_cli_authentication.md +43 -0
- package/.kiro/documentation/docs_cli_autocomplete.md +132 -0
- package/.kiro/documentation/docs_cli_billing.md +31 -0
- package/.kiro/documentation/docs_cli_billing_contact-support.md +43 -0
- package/.kiro/documentation/docs_cli_billing_managing-taxes.md +67 -0
- package/.kiro/documentation/docs_cli_billing_related-questions.md +49 -0
- package/.kiro/documentation/docs_cli_billing_subscription-portal.md +31 -0
- package/.kiro/documentation/docs_cli_chat.md +84 -0
- package/.kiro/documentation/docs_cli_chat_configuration.md +40 -0
- package/.kiro/documentation/docs_cli_chat_context.md +258 -0
- package/.kiro/documentation/docs_cli_chat_git-aware-selection.md +41 -0
- package/.kiro/documentation/docs_cli_chat_images.md +53 -0
- package/.kiro/documentation/docs_cli_chat_manage-prompts.md +216 -0
- package/.kiro/documentation/docs_cli_chat_model-selection.md +153 -0
- package/.kiro/documentation/docs_cli_chat_permissions.md +68 -0
- package/.kiro/documentation/docs_cli_chat_planning-agent.md +230 -0
- package/.kiro/documentation/docs_cli_chat_responding.md +123 -0
- package/.kiro/documentation/docs_cli_chat_security.md +87 -0
- package/.kiro/documentation/docs_cli_chat_subagents.md +77 -0
- package/.kiro/documentation/docs_cli_code-intelligence.md +251 -0
- package/.kiro/documentation/docs_cli_custom-agents.md +37 -0
- package/.kiro/documentation/docs_cli_custom-agents_configuration-reference.md +941 -0
- package/.kiro/documentation/docs_cli_custom-agents_creating.md +93 -0
- package/.kiro/documentation/docs_cli_custom-agents_examples.md +360 -0
- package/.kiro/documentation/docs_cli_custom-agents_troubleshooting.md +180 -0
- package/.kiro/documentation/docs_cli_enterprise_billing.md +33 -0
- package/.kiro/documentation/docs_cli_enterprise_concepts.md +34 -0
- package/.kiro/documentation/docs_cli_enterprise_getting-started.md +19 -0
- package/.kiro/documentation/docs_cli_enterprise_iam.md +251 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track.md +15 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_dashboard.md +62 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_prompt-logging.md +165 -0
- package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_user-activity.md +123 -0
- package/.kiro/documentation/docs_cli_enterprise_settings.md +15 -0
- package/.kiro/documentation/docs_cli_enterprise_subscribe.md +36 -0
- package/.kiro/documentation/docs_cli_enterprise_subscription-management.md +55 -0
- package/.kiro/documentation/docs_cli_enterprise_supported-regions.md +39 -0
- package/.kiro/documentation/docs_cli_experimental.md +282 -0
- package/.kiro/documentation/docs_cli_experimental_checkpointing.md +439 -0
- package/.kiro/documentation/docs_cli_experimental_delegate.md +422 -0
- package/.kiro/documentation/docs_cli_experimental_knowledge-management.md +449 -0
- package/.kiro/documentation/docs_cli_experimental_tangent-mode.md +357 -0
- package/.kiro/documentation/docs_cli_experimental_thinking.md +331 -0
- package/.kiro/documentation/docs_cli_experimental_todo-lists.md +385 -0
- package/.kiro/documentation/docs_cli_hooks.md +207 -0
- package/.kiro/documentation/docs_cli_installation.md +235 -0
- package/.kiro/documentation/docs_cli_mcp.md +106 -0
- package/.kiro/documentation/docs_cli_mcp_configuration.md +294 -0
- package/.kiro/documentation/docs_cli_mcp_examples.md +273 -0
- package/.kiro/documentation/docs_cli_mcp_governance.md +436 -0
- package/.kiro/documentation/docs_cli_mcp_security.md +77 -0
- package/.kiro/documentation/docs_cli_migrating-from-q.md +129 -0
- package/.kiro/documentation/docs_cli_privacy-and-security.md +83 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_compliance-validation.md +17 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_data-protection.md +104 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_firewalls.md +26 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_infrastructure-security.md +10 -0
- package/.kiro/documentation/docs_cli_privacy-and-security_vpc-endpoints.md +41 -0
- package/.kiro/documentation/docs_cli_reference_built-in-tools.md +624 -0
- package/.kiro/documentation/docs_cli_reference_cli-commands.md +689 -0
- package/.kiro/documentation/docs_cli_reference_settings.md +294 -0
- package/.kiro/documentation/docs_cli_reference_slash-commands.md +559 -0
- package/.kiro/documentation/docs_cli_steering.md +84 -0
- package/.kiro/guides/AGENT_WORKFLOW_GUIDE.md +294 -0
- package/.kiro/guides/DEVLOG.md +882 -0
- package/.kiro/guides/IMPLEMENTATION_EXAMPLES.md +611 -0
- package/.kiro/guides/PIV Loop.md +122 -0
- package/.kiro/guides/PIV Loop.png +0 -0
- package/.kiro/guides/PIVLoop.png +0 -0
- package/.kiro/guides/QUICK_REFERENCE.md +202 -0
- package/.kiro/guides/README.md +149 -0
- package/.kiro/guides/advanced-patterns.md +514 -0
- package/.kiro/guides/agent-coordination.md +434 -0
- package/.kiro/guides/core-workflows.md +409 -0
- package/.kiro/guides/emergency-procedures.md +414 -0
- package/.kiro/guides/project-evaluation.md +534 -0
- package/.kiro/guides/quality-assurance.md +431 -0
- package/.kiro/guides/quick-start.md +235 -0
- package/.kiro/guides/troubleshooting.md +575 -0
- package/.kiro/guides/walkthroughs.md +711 -0
- package/.kiro/prompts/add-to-devlog.md +263 -0
- package/.kiro/prompts/code-review-fix.md +18 -0
- package/.kiro/prompts/code-review-hackathon.md +167 -0
- package/.kiro/prompts/code-review-security.md +454 -0
- package/.kiro/prompts/code-review.md +113 -0
- package/.kiro/prompts/create-prd.md +151 -0
- package/.kiro/prompts/execute-backend.md +257 -0
- package/.kiro/prompts/execute-frontend.md +438 -0
- package/.kiro/prompts/execute-logging.md +491 -0
- package/.kiro/prompts/execute-security.md +482 -0
- package/.kiro/prompts/execute-testing.md +528 -0
- package/.kiro/prompts/execute.md +101 -0
- package/.kiro/prompts/execution-report.md +72 -0
- package/.kiro/prompts/implement-fix.md +228 -0
- package/.kiro/prompts/plan-feature.md +433 -0
- package/.kiro/prompts/prime.md +73 -0
- package/.kiro/prompts/quality-metrics.md +622 -0
- package/.kiro/prompts/quickstart.md +318 -0
- package/.kiro/prompts/rca.md +220 -0
- package/.kiro/prompts/system-review.md +189 -0
- package/README.md +32 -0
- package/bin/cli.js +97 -0
- package/package.json +33 -0
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
# Agent Coordination
|
|
2
|
+
|
|
3
|
+
## 🎠**Mastering Multi-Agent Collaboration**
|
|
4
|
+
|
|
5
|
+
Effective agent coordination is the key to systematic development success. This guide covers patterns, protocols, and best practices for orchestrating our 9-agent team to work together seamlessly.
|
|
6
|
+
|
|
7
|
+
## 🎯 **Coordination Principles**
|
|
8
|
+
|
|
9
|
+
### **1. Single Point of Coordination**
|
|
10
|
+
**Project Manager** serves as the central coordinator for all multi-agent activities.
|
|
11
|
+
|
|
12
|
+
**Why This Works:**
|
|
13
|
+
- Eliminates conflicting instructions
|
|
14
|
+
- Ensures consistent project vision
|
|
15
|
+
- Provides clear escalation path
|
|
16
|
+
- Maintains comprehensive project state
|
|
17
|
+
|
|
18
|
+
### **2. Clear Handoff Protocols**
|
|
19
|
+
Each agent has defined input/output specifications and handoff procedures.
|
|
20
|
+
|
|
21
|
+
**Standard Handoff Pattern:**
|
|
22
|
+
```
|
|
23
|
+
Agent A completes task → Documents results → Notifies Project Manager →
|
|
24
|
+
Project Manager validates completion → Assigns next agent → Agent B begins
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### **3. Shared Context Management**
|
|
28
|
+
All agents work from the same project understanding established by `@prime`.
|
|
29
|
+
|
|
30
|
+
### **4. Quality Gate Enforcement**
|
|
31
|
+
No work proceeds to the next stage without passing defined quality checkpoints.
|
|
32
|
+
|
|
33
|
+
## 🔄 **Coordination Patterns**
|
|
34
|
+
|
|
35
|
+
### **Pattern 1: Sequential Handoff**
|
|
36
|
+
|
|
37
|
+
**When to Use:**
|
|
38
|
+
- Complex features with clear dependencies
|
|
39
|
+
- When each stage builds on the previous
|
|
40
|
+
- Quality-critical implementations
|
|
41
|
+
|
|
42
|
+
**Example: Authentication System**
|
|
43
|
+
```
|
|
44
|
+
1. Project Manager: @plan-feature "Authentication"
|
|
45
|
+
↓ (Plan complete, tasks assigned)
|
|
46
|
+
|
|
47
|
+
2. Database Specialist: @execute
|
|
48
|
+
↓ (Schema ready, handoff to backend)
|
|
49
|
+
|
|
50
|
+
3. Backend Engineer: @execute
|
|
51
|
+
↓ (API ready, handoff to frontend)
|
|
52
|
+
|
|
53
|
+
4. Frontend Architect: @execute
|
|
54
|
+
↓ (UI ready, handoff to testing)
|
|
55
|
+
|
|
56
|
+
5. Test Orchestrator: @code-review
|
|
57
|
+
↓ (Quality approved, ready for deployment)
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Coordination Commands:**
|
|
61
|
+
```bash
|
|
62
|
+
# Project Manager initiates
|
|
63
|
+
@prime
|
|
64
|
+
@plan-feature "Authentication System"
|
|
65
|
+
|
|
66
|
+
# Each agent executes in sequence
|
|
67
|
+
# Database Specialist
|
|
68
|
+
@execute
|
|
69
|
+
# Notify: "Database schema complete, ready for backend integration"
|
|
70
|
+
|
|
71
|
+
# Backend Engineer
|
|
72
|
+
@execute
|
|
73
|
+
# Notify: "API endpoints complete, ready for frontend integration"
|
|
74
|
+
|
|
75
|
+
# Frontend Architect
|
|
76
|
+
@execute
|
|
77
|
+
# Notify: "UI components complete, ready for testing"
|
|
78
|
+
|
|
79
|
+
# Test Orchestrator
|
|
80
|
+
@code-review
|
|
81
|
+
# Final validation and approval
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### **Pattern 2: Parallel Development**
|
|
85
|
+
|
|
86
|
+
**When to Use:**
|
|
87
|
+
- Independent components that can be developed simultaneously
|
|
88
|
+
- Time-critical projects requiring speed
|
|
89
|
+
- When agents have different expertise areas that don't overlap
|
|
90
|
+
|
|
91
|
+
**Example: Dashboard Feature**
|
|
92
|
+
```
|
|
93
|
+
Project Manager: @plan-feature "Analytics Dashboard"
|
|
94
|
+
↓ (Parallel task assignment)
|
|
95
|
+
|
|
96
|
+
├── Backend Engineer: API endpoints
|
|
97
|
+
├── Frontend Architect: UI components
|
|
98
|
+
├── Database Specialist: Analytics queries
|
|
99
|
+
└── UI/UX Designer: Dashboard layout
|
|
100
|
+
|
|
101
|
+
↓ (All complete, integration phase)
|
|
102
|
+
|
|
103
|
+
Test Orchestrator: @code-review (integrated system)
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Coordination Commands:**
|
|
107
|
+
```bash
|
|
108
|
+
# Project Manager initiates parallel work
|
|
109
|
+
@prime
|
|
110
|
+
@plan-feature "Analytics Dashboard"
|
|
111
|
+
|
|
112
|
+
# Parallel execution (simultaneous)
|
|
113
|
+
# Backend Engineer
|
|
114
|
+
@execute
|
|
115
|
+
# Frontend Architect
|
|
116
|
+
@execute
|
|
117
|
+
# Database Specialist
|
|
118
|
+
@execute
|
|
119
|
+
# UI/UX Designer
|
|
120
|
+
@execute
|
|
121
|
+
|
|
122
|
+
# Integration checkpoint
|
|
123
|
+
# Project Manager coordinates integration
|
|
124
|
+
"All components ready, begin integration testing"
|
|
125
|
+
|
|
126
|
+
# Final validation
|
|
127
|
+
@code-review
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### **Pattern 3: Iterative Collaboration**
|
|
131
|
+
|
|
132
|
+
**When to Use:**
|
|
133
|
+
- Experimental features requiring refinement
|
|
134
|
+
- Complex problems needing multiple perspectives
|
|
135
|
+
- When requirements evolve during development
|
|
136
|
+
|
|
137
|
+
**Example: AI Feature Integration**
|
|
138
|
+
```
|
|
139
|
+
Iteration 1: Plan → Implement → Review → Refine Requirements
|
|
140
|
+
Iteration 2: Adjust Plan → Re-implement → Review → Further Refinement
|
|
141
|
+
Iteration 3: Final Implementation → Comprehensive Review → Deploy
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
**Coordination Commands:**
|
|
145
|
+
```bash
|
|
146
|
+
# Iteration 1
|
|
147
|
+
@prime
|
|
148
|
+
@plan-feature "AI Integration (MVP)"
|
|
149
|
+
@execute (assigned agents)
|
|
150
|
+
@code-review
|
|
151
|
+
@system-review [plan] [results]
|
|
152
|
+
|
|
153
|
+
# Iteration 2 (based on learnings)
|
|
154
|
+
@plan-feature "AI Integration (Enhanced)"
|
|
155
|
+
@execute (refined implementation)
|
|
156
|
+
@code-review
|
|
157
|
+
|
|
158
|
+
# Iteration 3 (final)
|
|
159
|
+
@execution-report
|
|
160
|
+
@code-review-hackathon (comprehensive evaluation)
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### **Pattern 4: Emergency Response Coordination**
|
|
164
|
+
|
|
165
|
+
**When to Use:**
|
|
166
|
+
- Critical production issues
|
|
167
|
+
- Security incidents
|
|
168
|
+
- Time-sensitive bug fixes
|
|
169
|
+
|
|
170
|
+
**Example: Security Vulnerability Response**
|
|
171
|
+
```
|
|
172
|
+
1. Security Specialist: @rca [issue-id] (immediate analysis)
|
|
173
|
+
2. Security Specialist: @implement-fix [issue-id] (rapid fix)
|
|
174
|
+
3. Test Orchestrator: @code-review (emergency validation)
|
|
175
|
+
4. DevOps Engineer: Deploy with monitoring
|
|
176
|
+
5. Development Logger: @system-review (post-incident analysis)
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
**Coordination Commands:**
|
|
180
|
+
```bash
|
|
181
|
+
# Emergency response (Security Specialist leads)
|
|
182
|
+
@rca [critical-issue-id]
|
|
183
|
+
# Immediate analysis and containment
|
|
184
|
+
|
|
185
|
+
@implement-fix [critical-issue-id]
|
|
186
|
+
# Systematic fix implementation
|
|
187
|
+
|
|
188
|
+
# Emergency quality validation
|
|
189
|
+
@code-review
|
|
190
|
+
# Rapid but thorough validation
|
|
191
|
+
|
|
192
|
+
# Post-incident learning
|
|
193
|
+
@system-review [rca-doc] [fix-report]
|
|
194
|
+
# Process improvement for prevention
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## 🎯 **Agent-Specific Coordination Roles**
|
|
198
|
+
|
|
199
|
+
### **Project Manager (Central Coordinator)**
|
|
200
|
+
**Primary Responsibilities:**
|
|
201
|
+
- Initiates all workflows with `@prime`
|
|
202
|
+
- Creates comprehensive plans with `@plan-feature`
|
|
203
|
+
- Assigns tasks to appropriate agents
|
|
204
|
+
- Monitors progress and resolves conflicts
|
|
205
|
+
- Maintains project state in Archon
|
|
206
|
+
|
|
207
|
+
**Coordination Commands:**
|
|
208
|
+
```bash
|
|
209
|
+
@prime # Establish shared context
|
|
210
|
+
@plan-feature [name] # Create coordination plan
|
|
211
|
+
@create-prd [feature] # Document requirements
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
**Communication Patterns:**
|
|
215
|
+
- "Task assigned to [Agent]: [specific requirements]"
|
|
216
|
+
- "Milestone reached: [status update and next steps]"
|
|
217
|
+
- "Coordination needed: [conflict resolution or clarification]"
|
|
218
|
+
|
|
219
|
+
### **Test Orchestrator (Quality Coordinator)**
|
|
220
|
+
**Primary Responsibilities:**
|
|
221
|
+
- Validates all implementations with `@code-review`
|
|
222
|
+
- Documents results with `@execution-report`
|
|
223
|
+
- Evaluates projects with `@code-review-hackathon`
|
|
224
|
+
- Ensures quality gates are met
|
|
225
|
+
|
|
226
|
+
**Coordination Commands:**
|
|
227
|
+
```bash
|
|
228
|
+
@code-review # Quality validation
|
|
229
|
+
@execution-report # Implementation documentation
|
|
230
|
+
@code-review-hackathon # Comprehensive evaluation
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
**Communication Patterns:**
|
|
234
|
+
- "Quality gate: [PASS/FAIL] - [specific feedback]"
|
|
235
|
+
- "Ready for deployment: [validation results]"
|
|
236
|
+
- "Quality concerns: [issues requiring attention]"
|
|
237
|
+
|
|
238
|
+
### **Development Logger (Process Coordinator)**
|
|
239
|
+
**Primary Responsibilities:**
|
|
240
|
+
- Analyzes process effectiveness with `@system-review`
|
|
241
|
+
- Captures lessons learned and improvements
|
|
242
|
+
- Optimizes agent coordination patterns
|
|
243
|
+
- Maintains development insights
|
|
244
|
+
|
|
245
|
+
**Coordination Commands:**
|
|
246
|
+
```bash
|
|
247
|
+
@system-review [plan] [report] # Process analysis
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
**Communication Patterns:**
|
|
251
|
+
- "Process improvement identified: [specific recommendation]"
|
|
252
|
+
- "Coordination pattern working well: [successful approach]"
|
|
253
|
+
- "Workflow optimization: [efficiency enhancement]"
|
|
254
|
+
|
|
255
|
+
### **Security Specialist (Incident Coordinator)**
|
|
256
|
+
**Primary Responsibilities:**
|
|
257
|
+
- Leads security incident response with `@rca`
|
|
258
|
+
- Implements systematic fixes with `@implement-fix`
|
|
259
|
+
- Coordinates security reviews and audits
|
|
260
|
+
- Manages vulnerability response
|
|
261
|
+
|
|
262
|
+
**Coordination Commands:**
|
|
263
|
+
```bash
|
|
264
|
+
@rca [issue-id] # Root cause analysis
|
|
265
|
+
@implement-fix [issue-id] # Systematic fix implementation
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
**Communication Patterns:**
|
|
269
|
+
- "Security incident: [severity and immediate actions]"
|
|
270
|
+
- "Fix implemented: [solution details and validation]"
|
|
271
|
+
- "Security review: [assessment and recommendations]"
|
|
272
|
+
|
|
273
|
+
## 🔧 **Coordination Tools and Techniques**
|
|
274
|
+
|
|
275
|
+
### **Archon Integration**
|
|
276
|
+
**Project State Management:**
|
|
277
|
+
- All projects and tasks managed in Archon
|
|
278
|
+
- Real-time progress tracking
|
|
279
|
+
- Agent workload balancing
|
|
280
|
+
- Knowledge base integration
|
|
281
|
+
|
|
282
|
+
**Usage Patterns:**
|
|
283
|
+
```bash
|
|
284
|
+
# Project Manager creates project structure
|
|
285
|
+
"Create project [name] with task breakdown"
|
|
286
|
+
|
|
287
|
+
# Agents update progress
|
|
288
|
+
"Task [id] completed by [agent] - [results summary]"
|
|
289
|
+
|
|
290
|
+
# Progress tracking
|
|
291
|
+
"Project status: [milestone progress and next steps]"
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
### **Context Sharing Protocols**
|
|
295
|
+
**Shared Understanding:**
|
|
296
|
+
- All agents work from `@prime` context
|
|
297
|
+
- Regular context updates for long projects
|
|
298
|
+
- Clear documentation of assumptions and decisions
|
|
299
|
+
|
|
300
|
+
**Context Update Triggers:**
|
|
301
|
+
- Major architecture changes
|
|
302
|
+
- New requirements or constraints
|
|
303
|
+
- Team composition changes
|
|
304
|
+
- Technology stack updates
|
|
305
|
+
|
|
306
|
+
### **Conflict Resolution Procedures**
|
|
307
|
+
**When Agents Disagree:**
|
|
308
|
+
1. **Escalate to Project Manager** for coordination
|
|
309
|
+
2. **Consult relevant documentation** and project constraints
|
|
310
|
+
3. **Seek additional expertise** if needed
|
|
311
|
+
4. **Document decision rationale** for future reference
|
|
312
|
+
|
|
313
|
+
**Common Conflict Scenarios:**
|
|
314
|
+
- Architecture approach disagreements
|
|
315
|
+
- Priority conflicts between features
|
|
316
|
+
- Resource allocation disputes
|
|
317
|
+
- Quality standard interpretations
|
|
318
|
+
|
|
319
|
+
## 📊 **Coordination Success Metrics**
|
|
320
|
+
|
|
321
|
+
### **Efficiency Metrics**
|
|
322
|
+
- **Handoff Time**: Average time between agent transitions
|
|
323
|
+
- **Rework Rate**: Percentage of tasks requiring revision
|
|
324
|
+
- **Conflict Resolution Time**: Speed of resolving coordination issues
|
|
325
|
+
- **Context Alignment**: Consistency of agent understanding
|
|
326
|
+
|
|
327
|
+
### **Quality Metrics**
|
|
328
|
+
- **First-Pass Success**: Percentage of work passing quality gates initially
|
|
329
|
+
- **Integration Success**: Smooth combination of parallel work streams
|
|
330
|
+
- **Communication Clarity**: Reduction in clarification requests
|
|
331
|
+
- **Process Adherence**: Compliance with coordination protocols
|
|
332
|
+
|
|
333
|
+
### **Collaboration Metrics**
|
|
334
|
+
- **Agent Utilization**: Balanced workload across team
|
|
335
|
+
- **Knowledge Sharing**: Cross-agent learning and improvement
|
|
336
|
+
- **Process Evolution**: Continuous improvement in coordination patterns
|
|
337
|
+
- **Team Satisfaction**: Agent and user satisfaction with collaboration
|
|
338
|
+
|
|
339
|
+
## 🚨 **Common Coordination Challenges**
|
|
340
|
+
|
|
341
|
+
### **Challenge 1: Context Drift**
|
|
342
|
+
**Problem**: Agents working from different understanding of project state
|
|
343
|
+
**Solution**:
|
|
344
|
+
- Regular `@prime` context updates
|
|
345
|
+
- Clear documentation of changes
|
|
346
|
+
- Explicit context validation at handoffs
|
|
347
|
+
|
|
348
|
+
### **Challenge 2: Dependency Bottlenecks**
|
|
349
|
+
**Problem**: Sequential work creating delays
|
|
350
|
+
**Solution**:
|
|
351
|
+
- Identify parallelizable work streams
|
|
352
|
+
- Create mock interfaces for parallel development
|
|
353
|
+
- Implement incremental integration checkpoints
|
|
354
|
+
|
|
355
|
+
### **Challenge 3: Quality Gate Bypassing**
|
|
356
|
+
**Problem**: Pressure to skip quality validation
|
|
357
|
+
**Solution**:
|
|
358
|
+
- Enforce mandatory quality gates
|
|
359
|
+
- Educate on long-term costs of quality shortcuts
|
|
360
|
+
- Implement automated quality checks where possible
|
|
361
|
+
|
|
362
|
+
### **Challenge 4: Communication Overhead**
|
|
363
|
+
**Problem**: Too much coordination reducing productivity
|
|
364
|
+
**Solution**:
|
|
365
|
+
- Standardize communication patterns
|
|
366
|
+
- Use asynchronous updates where possible
|
|
367
|
+
- Focus on essential coordination points only
|
|
368
|
+
|
|
369
|
+
## 🎯 **Advanced Coordination Techniques**
|
|
370
|
+
|
|
371
|
+
### **Dynamic Agent Assignment**
|
|
372
|
+
**Adaptive Coordination:**
|
|
373
|
+
- Assign agents based on current workload and expertise
|
|
374
|
+
- Reassign tasks when priorities change
|
|
375
|
+
- Cross-train agents for flexibility
|
|
376
|
+
|
|
377
|
+
**Implementation:**
|
|
378
|
+
```bash
|
|
379
|
+
# Project Manager assesses current capacity
|
|
380
|
+
"Analyze agent availability and expertise for [feature]"
|
|
381
|
+
|
|
382
|
+
# Dynamic assignment based on context
|
|
383
|
+
"Assign [task] to [best-available-agent] with [specific-requirements]"
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
### **Coordination Automation**
|
|
387
|
+
**Automated Handoffs:**
|
|
388
|
+
- Trigger next agent when previous completes
|
|
389
|
+
- Automatic quality gate enforcement
|
|
390
|
+
- Progress notifications and updates
|
|
391
|
+
|
|
392
|
+
**Hook-Based Coordination:**
|
|
393
|
+
```yaml
|
|
394
|
+
# Example coordination hook
|
|
395
|
+
- trigger: "task_completed"
|
|
396
|
+
action: "notify_next_agent"
|
|
397
|
+
message: "Previous task complete, ready for your phase"
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
### **Cross-Agent Learning**
|
|
401
|
+
**Knowledge Sharing:**
|
|
402
|
+
- Agents learn from each other's approaches
|
|
403
|
+
- Best practices propagation across team
|
|
404
|
+
- Continuous improvement in coordination patterns
|
|
405
|
+
|
|
406
|
+
**Learning Integration:**
|
|
407
|
+
```bash
|
|
408
|
+
# Regular process review
|
|
409
|
+
@system-review [coordination-patterns] [outcomes]
|
|
410
|
+
|
|
411
|
+
# Apply learnings to improve coordination
|
|
412
|
+
"Update coordination protocols based on [specific-insights]"
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
## 🎓 **Coordination Mastery Path**
|
|
416
|
+
|
|
417
|
+
### **Beginner Coordination**
|
|
418
|
+
- [ ] Understand basic handoff patterns
|
|
419
|
+
- [ ] Can execute sequential workflows
|
|
420
|
+
- [ ] Follows quality gate protocols
|
|
421
|
+
|
|
422
|
+
### **Intermediate Coordination**
|
|
423
|
+
- [ ] Manages parallel development streams
|
|
424
|
+
- [ ] Resolves basic coordination conflicts
|
|
425
|
+
- [ ] Adapts patterns to project needs
|
|
426
|
+
|
|
427
|
+
### **Advanced Coordination**
|
|
428
|
+
- [ ] Designs custom coordination patterns
|
|
429
|
+
- [ ] Optimizes team efficiency continuously
|
|
430
|
+
- [ ] Mentors others in coordination best practices
|
|
431
|
+
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
**Ready to ensure quality at every step? Check out [Quality Assurance](quality-assurance.md) for comprehensive testing and validation processes!**
|