📋 NEXUS Handoff Templates agent

> Standardized templates for every type of agent-to-agent handoff in the NEXUS pipeline.

by msitarzewski·MIT license·★ 154,023 Stars on the repo·GitHub ↗

Files of 📋 NEXUS Handoff Templates

msitarzewski/main1 file
handoff-templates.md
Show the full text358 lines

📋 NEXUS Handoff Templates

Standardized templates for every type of agent-to-agent handoff in the NEXUS pipeline. Consistent handoffs prevent context loss — the #1 cause of multi-agent coordination failure.


1. Standard Handoff Template

Use for any agent-to-agent work transfer.

# NEXUS Handoff Document

## Metadata
| Field | Value |
|-------|-------|
| **From** | [Agent Name] ([Division]) |
| **To** | [Agent Name] ([Division]) |
| **Phase** | Phase [N] — [Phase Name] |
| **Task Reference** | [Task ID from Sprint Prioritizer backlog] |
| **Priority** | [Critical / High / Medium / Low] |
| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |

## Context
**Project**: [Project name]
**Current State**: [What has been completed so far — be specific]
**Relevant Files**:
- [file/path/1] — [what it contains]
- [file/path/2] — [what it contains]
**Dependencies**: [What this work depends on being complete]
**Constraints**: [Technical, timeline, or resource constraints]

## Deliverable Request
**What is needed**: [Specific, measurable deliverable description]
**Acceptance criteria**:
- [ ] [Criterion 1 — measurable]
- [ ] [Criterion 2 — measurable]
- [ ] [Criterion 3 — measurable]
**Reference materials**: [Links to specs, designs, previous work]

## Quality Expectations
**Must pass**: [Specific quality criteria for this deliverable]
**Evidence required**: [What proof of completion looks like]
**Handoff to next**: [Who receives the output and what format they need]

2. QA Feedback Loop — PASS

Use when Evidence Collector or other QA agent approves a task.

# NEXUS QA Verdict: PASS ✅

## Task
| Field | Value |
|-------|-------|
| **Task ID** | [ID] |
| **Task Description** | [Description] |
| **Developer Agent** | [Agent Name] |
| **QA Agent** | [Agent Name] |
| **Attempt** | [N] of 3 |
| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |

## Verdict: PASS

## Evidence
**Screenshots**:
- Desktop (1920x1080): [filename/path]
- Tablet (768x1024): [filename/path]
- Mobile (375x667): [filename/path]

**Functional Verification**:
- [x] [Acceptance criterion 1] — verified
- [x] [Acceptance criterion 2] — verified
- [x] [Acceptance criterion 3] — verified

**Brand Consistency**: Verified — colors, typography, spacing match design system
**Accessibility**: Verified — keyboard navigation, contrast ratios, semantic HTML
**Performance**: [Load time measured] — within acceptable range

## Notes
[Any observations, minor suggestions for future improvement, or positive callouts]

## Next Action
→ Agents Orchestrator: Mark task complete, advance to next task in backlog

3. QA Feedback Loop — FAIL

Use when Evidence Collector or other QA agent rejects a task.

# NEXUS QA Verdict: FAIL ❌

## Task
| Field | Value |
|-------|-------|
| **Task ID** | [ID] |
| **Task Description** | [Description] |
| **Developer Agent** | [Agent Name] |
| **QA Agent** | [Agent Name] |
| **Attempt** | [N] of 3 |
| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |

## Verdict: FAIL

## Issues Found

### Issue 1: [Category] — [Severity: Critical/High/Medium/Low]
**Description**: [Exact description of the problem]
**Expected**: [What should happen according to acceptance criteria]
**Actual**: [What actually happens]
**Evidence**: [Screenshot filename or test output]
**Fix instruction**: [Specific, actionable instruction to resolve]
**File(s) to modify**: [Exact file paths]

### Issue 2: [Category] — [Severity]
**Description**: [...]
**Expected**: [...]
**Actual**: [...]
**Evidence**: [...]
**Fix instruction**: [...]
**File(s) to modify**: [...]

[Continue for all issues found]

## Acceptance Criteria Status
- [x] [Criterion 1] — passed
- [ ] [Criterion 2] — FAILED (see Issue 1)
- [ ] [Criterion 3] — FAILED (see Issue 2)

## Retry Instructions
**For Developer Agent**:
1. Fix ONLY the issues listed above
2. Do NOT introduce new features or changes
3. Re-submit for QA when all issues are addressed
4. This is attempt [N] of 3 maximum

**If attempt 3 fails**: Task will be escalated to Agents Orchestrator

4. Escalation Report

Use when a task exceeds 3 retry attempts.

# NEXUS Escalation Report 🚨

## Task
| Field | Value |
|-------|-------|
| **Task ID** | [ID] |
| **Task Description** | [Description] |
| **Developer Agent** | [Agent Name] |
| **QA Agent** | [Agent Name] |
| **Attempts Exhausted** | 3/3 |
| **Escalation To** | [Agents Orchestrator / Studio Producer] |
| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |

## Failure History

### Attempt 1
- **Issues found**: [Summary]
- **Fixes applied**: [What the developer changed]
- **Result**: FAIL — [Why it still failed]

### Attempt 2
- **Issues found**: [Summary]
- **Fixes applied**: [What the developer changed]
- **Result**: FAIL — [Why it still failed]

### Attempt 3
- **Issues found**: [Summary]
- **Fixes applied**: [What the developer changed]
- **Result**: FAIL — [Why it still failed]

## Root Cause Analysis
**Why the task keeps failing**: [Analysis of the underlying problem]
**Systemic issue**: [Is this a one-off or pattern?]
**Complexity assessment**: [Was the task properly scoped?]

## Recommended Resolution
- [ ] **Reassign** to different developer agent ([recommended agent])
- [ ] **Decompose** into smaller sub-tasks ([proposed breakdown])
- [ ] **Revise approach** — architecture/design change needed
- [ ] **Accept** current state with documented limitations
- [ ] **Defer** to future sprint

## Impact Assessment
**Blocking**: [What other tasks are blocked by this]
**Timeline Impact**: [How this affects the overall schedule]
**Quality Impact**: [What quality compromises exist if we accept current state]

## Decision Required
**Decision maker**: [Agents Orchestrator / Studio Producer]
**Deadline**: [When decision is needed to avoid further delays]

5. Phase Gate Handoff

Use when transitioning between NEXUS phases.

# NEXUS Phase Gate Handoff

## Transition
| Field | Value |
|-------|-------|
| **From Phase** | Phase [N] — [Name] |
| **To Phase** | Phase [N+1] — [Name] |
| **Gate Keeper(s)** | [Agent Name(s)] |
| **Gate Result** | [PASSED / FAILED] |
| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |

## Gate Criteria Results
| # | Criterion | Threshold | Result | Evidence |
|---|-----------|-----------|--------|----------|
| 1 | [Criterion] | [Threshold] | ✅ PASS / ❌ FAIL | [Evidence reference] |
| 2 | [Criterion] | [Threshold] | ✅ PASS / ❌ FAIL | [Evidence reference] |
| 3 | [Criterion] | [Threshold] | ✅ PASS / ❌ FAIL | [Evidence reference] |

## Documents Carried Forward
1. [Document name] — [Purpose for next phase]
2. [Document name] — [Purpose for next phase]
3. [Document name] — [Purpose for next phase]

## Key Constraints for Next Phase
- [Constraint 1 from this phase's findings]
- [Constraint 2 from this phase's findings]

## Agent Activation for Next Phase
| Agent | Role | Priority |
|-------|------|----------|
| [Agent 1] | [Role in next phase] | [Immediate / Day 2 / As needed] |
| [Agent 2] | [Role in next phase] | [Immediate / Day 2 / As needed] |

## Risks Carried Forward
| Risk | Severity | Mitigation | Owner |
|------|----------|------------|-------|
| [Risk] | [P0-P3] | [Mitigation plan] | [Agent] |

6. Sprint Handoff

Use at sprint boundaries.

# NEXUS Sprint Handoff

## Sprint Summary
| Field | Value |
|-------|-------|
| **Sprint** | [Number] |
| **Duration** | [Start date] → [End date] |
| **Sprint Goal** | [Goal statement] |
| **Velocity** | [Planned] / [Actual] story points |

## Completion Status
| Task ID | Description | Status | QA Attempts | Notes |
|---------|-------------|--------|-------------|-------|
| [ID] | [Description] | ✅ Complete | [N] | [Notes] |
| [ID] | [Description] | ✅ Complete | [N] | [Notes] |
| [ID] | [Description] | ⚠️ Carried Over | [N] | [Reason] |

## Quality Metrics
- **First-pass QA rate**: [X]%
- **Average retries**: [N]
- **Tasks completed**: [X/Y]
- **Story points delivered**: [N]

## Carried Over to Next Sprint
| Task ID | Description | Reason | Priority |
|---------|-------------|--------|----------|
| [ID] | [Description] | [Why not completed] | [RICE score] |

## Retrospective Insights
**What went well**: [Key successes]
**What to improve**: [Key improvements]
**Action items**: [Specific changes for next sprint]

## Next Sprint Preview
**Sprint goal**: [Proposed goal]
**Key tasks**: [Top priority items]
**Dependencies**: [Cross-team dependencies]

7. Incident Handoff

Use during incident response.

# NEXUS Incident Handoff

## Incident
| Field | Value |
|-------|-------|
| **Severity** | [P0 / P1 / P2 / P3] |
| **Detected by** | [Agent or system] |
| **Detection time** | [Timestamp] |
| **Assigned to** | [Agent Name] |
| **Status** | [Investigating / Mitigating / Resolved / Post-mortem] |

## Description
**What happened**: [Clear description of the incident]
**Impact**: [Who/what is affected and how severely]
**Timeline**:
- [HH:MM] — [Event]
- [HH:MM] — [Event]
- [HH:MM] — [Event]

## Current State
**Systems affected**: [List]
**Workaround available**: [Yes/No — describe if yes]
**Estimated resolution**: [Time estimate]

## Actions Taken
1. [Action taken and result]
2. [Action taken and result]

## Handoff Context
**For next responder**:
- [What's been tried]
- [What hasn't been tried yet]
- [Suspected root cause]
- [Relevant logs/metrics to check]

## Stakeholder Communication
**Last update sent**: [Timestamp]
**Next update due**: [Timestamp]
**Communication channel**: [Where updates are posted]

Usage Guide

Situation Template to Use
Assigning work to another agent Standard Handoff (#1)
QA approves a task QA PASS (#2)
QA rejects a task QA FAIL (#3)
Task exceeds 3 retries Escalation Report (#4)
Moving between phases Phase Gate Handoff (#5)
End of sprint Sprint Handoff (#6)
System incident Incident Handoff (#7)
1# 📋 NEXUS Handoff Templates
2 
3> Standardized templates for every type of agent-to-agent handoff in the NEXUS pipeline. Consistent handoffs prevent context loss — the #1 cause of multi-agent coordination failure.
4 
5---
6 
7## 1. Standard Handoff Template
8 
9Use for any agent-to-agent work transfer.
10 
11```markdown
12# NEXUS Handoff Document
13 
14## Metadata
15| Field | Value |
16|-------|-------|
17| **From** | [Agent Name] ([Division]) |
18| **To** | [Agent Name] ([Division]) |
19| **Phase** | Phase [N] — [Phase Name] |
20| **Task Reference** | [Task ID from Sprint Prioritizer backlog] |
21| **Priority** | [Critical / High / Medium / Low] |
22| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |
23 
24## Context
25**Project**: [Project name]
26**Current State**: [What has been completed so far — be specific]
27**Relevant Files**:
28- [file/path/1] — [what it contains]
29- [file/path/2] — [what it contains]
30**Dependencies**: [What this work depends on being complete]
31**Constraints**: [Technical, timeline, or resource constraints]
32 
33## Deliverable Request
34**What is needed**: [Specific, measurable deliverable description]
35**Acceptance criteria**:
36- [ ] [Criterion 1 — measurable]
37- [ ] [Criterion 2 — measurable]
38- [ ] [Criterion 3 — measurable]
39**Reference materials**: [Links to specs, designs, previous work]
40 
41## Quality Expectations
42**Must pass**: [Specific quality criteria for this deliverable]
43**Evidence required**: [What proof of completion looks like]
44**Handoff to next**: [Who receives the output and what format they need]
45```
46 
47---
48 
49## 2. QA Feedback Loop — PASS
50 
51Use when Evidence Collector or other QA agent approves a task.
52 
53```markdown
54# NEXUS QA Verdict: PASS ✅
55 
56## Task
57| Field | Value |
58|-------|-------|
59| **Task ID** | [ID] |
60| **Task Description** | [Description] |
61| **Developer Agent** | [Agent Name] |
62| **QA Agent** | [Agent Name] |
63| **Attempt** | [N] of 3 |
64| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |
65 
66## Verdict: PASS
67 
68## Evidence
69**Screenshots**:
70- Desktop (1920x1080): [filename/path]
71- Tablet (768x1024): [filename/path]
72- Mobile (375x667): [filename/path]
73 
74**Functional Verification**:
75- [x] [Acceptance criterion 1] — verified
76- [x] [Acceptance criterion 2] — verified
77- [x] [Acceptance criterion 3] — verified
78 
79**Brand Consistency**: Verified — colors, typography, spacing match design system
80**Accessibility**: Verified — keyboard navigation, contrast ratios, semantic HTML
81**Performance**: [Load time measured] — within acceptable range
82 
83## Notes
84[Any observations, minor suggestions for future improvement, or positive callouts]
85 
86## Next Action
87→ Agents Orchestrator: Mark task complete, advance to next task in backlog
88```
89 
90---
91 
92## 3. QA Feedback Loop — FAIL
93 
94Use when Evidence Collector or other QA agent rejects a task.
95 
96```markdown
97# NEXUS QA Verdict: FAIL ❌
98 
99## Task
100| Field | Value |
101|-------|-------|
102| **Task ID** | [ID] |
103| **Task Description** | [Description] |
104| **Developer Agent** | [Agent Name] |
105| **QA Agent** | [Agent Name] |
106| **Attempt** | [N] of 3 |
107| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |
108 
109## Verdict: FAIL
110 
111## Issues Found
112 
113### Issue 1: [Category] — [Severity: Critical/High/Medium/Low]
114**Description**: [Exact description of the problem]
115**Expected**: [What should happen according to acceptance criteria]
116**Actual**: [What actually happens]
117**Evidence**: [Screenshot filename or test output]
118**Fix instruction**: [Specific, actionable instruction to resolve]
119**File(s) to modify**: [Exact file paths]
120 
121### Issue 2: [Category] — [Severity]
122**Description**: [...]
123**Expected**: [...]
124**Actual**: [...]
125**Evidence**: [...]
126**Fix instruction**: [...]
127**File(s) to modify**: [...]
128 
129[Continue for all issues found]
130 
131## Acceptance Criteria Status
132- [x] [Criterion 1] — passed
133- [ ] [Criterion 2] — FAILED (see Issue 1)
134- [ ] [Criterion 3] — FAILED (see Issue 2)
135 
136## Retry Instructions
137**For Developer Agent**:
1381. Fix ONLY the issues listed above
1392. Do NOT introduce new features or changes
1403. Re-submit for QA when all issues are addressed
1414. This is attempt [N] of 3 maximum
142 
143**If attempt 3 fails**: Task will be escalated to Agents Orchestrator
144```
145 
146---
147 
148## 4. Escalation Report
149 
150Use when a task exceeds 3 retry attempts.
151 
152```markdown
153# NEXUS Escalation Report 🚨
154 
155## Task
156| Field | Value |
157|-------|-------|
158| **Task ID** | [ID] |
159| **Task Description** | [Description] |
160| **Developer Agent** | [Agent Name] |
161| **QA Agent** | [Agent Name] |
162| **Attempts Exhausted** | 3/3 |
163| **Escalation To** | [Agents Orchestrator / Studio Producer] |
164| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |
165 
166## Failure History
167 
168### Attempt 1
169- **Issues found**: [Summary]
170- **Fixes applied**: [What the developer changed]
171- **Result**: FAIL — [Why it still failed]
172 
173### Attempt 2
174- **Issues found**: [Summary]
175- **Fixes applied**: [What the developer changed]
176- **Result**: FAIL — [Why it still failed]
177 
178### Attempt 3
179- **Issues found**: [Summary]
180- **Fixes applied**: [What the developer changed]
181- **Result**: FAIL — [Why it still failed]
182 
183## Root Cause Analysis
184**Why the task keeps failing**: [Analysis of the underlying problem]
185**Systemic issue**: [Is this a one-off or pattern?]
186**Complexity assessment**: [Was the task properly scoped?]
187 
188## Recommended Resolution
189- [ ] **Reassign** to different developer agent ([recommended agent])
190- [ ] **Decompose** into smaller sub-tasks ([proposed breakdown])
191- [ ] **Revise approach** — architecture/design change needed
192- [ ] **Accept** current state with documented limitations
193- [ ] **Defer** to future sprint
194 
195## Impact Assessment
196**Blocking**: [What other tasks are blocked by this]
197**Timeline Impact**: [How this affects the overall schedule]
198**Quality Impact**: [What quality compromises exist if we accept current state]
199 
200## Decision Required
201**Decision maker**: [Agents Orchestrator / Studio Producer]
202**Deadline**: [When decision is needed to avoid further delays]
203```
204 
205---
206 
207## 5. Phase Gate Handoff
208 
209Use when transitioning between NEXUS phases.
210 
211```markdown
212# NEXUS Phase Gate Handoff
213 
214## Transition
215| Field | Value |
216|-------|-------|
217| **From Phase** | Phase [N] — [Name] |
218| **To Phase** | Phase [N+1] — [Name] |
219| **Gate Keeper(s)** | [Agent Name(s)] |
220| **Gate Result** | [PASSED / FAILED] |
221| **Timestamp** | [YYYY-MM-DDTHH:MM:SSZ] |
222 
223## Gate Criteria Results
224| # | Criterion | Threshold | Result | Evidence |
225|---|-----------|-----------|--------|----------|
226| 1 | [Criterion] | [Threshold] | ✅ PASS / ❌ FAIL | [Evidence reference] |
227| 2 | [Criterion] | [Threshold] | ✅ PASS / ❌ FAIL | [Evidence reference] |
228| 3 | [Criterion] | [Threshold] | ✅ PASS / ❌ FAIL | [Evidence reference] |
229 
230## Documents Carried Forward
2311. [Document name] — [Purpose for next phase]
2322. [Document name] — [Purpose for next phase]
2333. [Document name] — [Purpose for next phase]
234 
235## Key Constraints for Next Phase
236- [Constraint 1 from this phase's findings]
237- [Constraint 2 from this phase's findings]
238 
239## Agent Activation for Next Phase
240| Agent | Role | Priority |
241|-------|------|----------|
242| [Agent 1] | [Role in next phase] | [Immediate / Day 2 / As needed] |
243| [Agent 2] | [Role in next phase] | [Immediate / Day 2 / As needed] |
244 
245## Risks Carried Forward
246| Risk | Severity | Mitigation | Owner |
247|------|----------|------------|-------|
248| [Risk] | [P0-P3] | [Mitigation plan] | [Agent] |
249```
250 
251---
252 
253## 6. Sprint Handoff
254 
255Use at sprint boundaries.
256 
257```markdown
258# NEXUS Sprint Handoff
259 
260## Sprint Summary
261| Field | Value |
262|-------|-------|
263| **Sprint** | [Number] |
264| **Duration** | [Start date] → [End date] |
265| **Sprint Goal** | [Goal statement] |
266| **Velocity** | [Planned] / [Actual] story points |
267 
268## Completion Status
269| Task ID | Description | Status | QA Attempts | Notes |
270|---------|-------------|--------|-------------|-------|
271| [ID] | [Description] | ✅ Complete | [N] | [Notes] |
272| [ID] | [Description] | ✅ Complete | [N] | [Notes] |
273| [ID] | [Description] | ⚠️ Carried Over | [N] | [Reason] |
274 
275## Quality Metrics
276- **First-pass QA rate**: [X]%
277- **Average retries**: [N]
278- **Tasks completed**: [X/Y]
279- **Story points delivered**: [N]
280 
281## Carried Over to Next Sprint
282| Task ID | Description | Reason | Priority |
283|---------|-------------|--------|----------|
284| [ID] | [Description] | [Why not completed] | [RICE score] |
285 
286## Retrospective Insights
287**What went well**: [Key successes]
288**What to improve**: [Key improvements]
289**Action items**: [Specific changes for next sprint]
290 
291## Next Sprint Preview
292**Sprint goal**: [Proposed goal]
293**Key tasks**: [Top priority items]
294**Dependencies**: [Cross-team dependencies]
295```
296 
297---
298 
299## 7. Incident Handoff
300 
301Use during incident response.
302 
303```markdown
304# NEXUS Incident Handoff
305 
306## Incident
307| Field | Value |
308|-------|-------|
309| **Severity** | [P0 / P1 / P2 / P3] |
310| **Detected by** | [Agent or system] |
311| **Detection time** | [Timestamp] |
312| **Assigned to** | [Agent Name] |
313| **Status** | [Investigating / Mitigating / Resolved / Post-mortem] |
314 
315## Description
316**What happened**: [Clear description of the incident]
317**Impact**: [Who/what is affected and how severely]
318**Timeline**:
319- [HH:MM] — [Event]
320- [HH:MM] — [Event]
321- [HH:MM] — [Event]
322 
323## Current State
324**Systems affected**: [List]
325**Workaround available**: [Yes/No — describe if yes]
326**Estimated resolution**: [Time estimate]
327 
328## Actions Taken
3291. [Action taken and result]
3302. [Action taken and result]
331 
332## Handoff Context
333**For next responder**:
334- [What's been tried]
335- [What hasn't been tried yet]
336- [Suspected root cause]
337- [Relevant logs/metrics to check]
338 
339## Stakeholder Communication
340**Last update sent**: [Timestamp]
341**Next update due**: [Timestamp]
342**Communication channel**: [Where updates are posted]
343```
344 
345---
346 
347## Usage Guide
348 
349| Situation | Template to Use |
350|-----------|----------------|
351| Assigning work to another agent | Standard Handoff (#1) |
352| QA approves a task | QA PASS (#2) |
353| QA rejects a task | QA FAIL (#3) |
354| Task exceeds 3 retries | Escalation Report (#4) |
355| Moving between phases | Phase Gate Handoff (#5) |
356| End of sprint | Sprint Handoff (#6) |
357| System incident | Incident Handoff (#7) |
358 

Discussion

Alternatives