# Step 5: Complete Dialog
## CONTEXT
All implementation steps are complete. Now we finalize the dialog, capture learnings, and close it out.
---
## VERIFY COMPLETION
**Review the Steps Overview table:**
Confirm all steps have status:
- β
Complete
- β Skipped (with documented reason)
No steps should be:
- π² Not Started
- π In Progress
- βΈοΈ Blocked
**Some steps are not complete:**
{{#each step in incomplete_steps}}
- Step {{step.number}}: {{step.name}} β {{step.status}}
{{/each}}
How should we proceed?
[A] Complete remaining steps first
[B] Mark as skipped and continue
[C] Leave dialog "In Progress"
Choice:
---
## UPDATE SPEC CHANGES
**Review "Spec Changes Discovered" section:**
For each discovered issue:
1. Determine if spec should be updated
2. If yes, create a note or task to update the spec
3. Mark the spec update status
**Were any specification changes discovered?**
[A] Yes β Review and document updates needed
[B] No β No spec changes needed
Choice:
Update the dialog file:
| Issue | Resolution | Spec Updated? |
|-------|------------|---------------|
{{#each change in spec_changes}}
| {{change.issue}} | {{change.resolution}} | {{change.updated}} |
{{/each}}
If specs need updating, either:
1. Update them now
2. Create a task/dialog to update them later
---
## CAPTURE LEARNINGS
**What did we learn from this implementation?**
Consider:
- What worked well?
- What was harder than expected?
- What patterns emerged?
- What would you do differently?
Learnings:
Add to the Learnings section:
{{#each learning in learnings}}
- {{learning}}
{{/each}}
---
## FINAL PROGRESS LOG ENTRY
Add final entry to Progress Log:
```markdown
### {YYYY-MM-DD} β COMPLETED
- All steps complete
- Spec changes: {summary}
- Learnings captured
- Dialog closed
```
---
## UPDATE FINAL STATUS
Update the Meta section:
| Field | Value |
|-------|-------|
| **Status** | **Complete** |
---
## SUMMARY
---
## ROUTING
Based on user choice:
- [A] β Return to step-01-initialize-dialog.md
- [B] β End workflow
- [C] β Display dialog file contents
---
_Agent Dialog Workflow β Step 5: Complete Dialog_