---
name: 'e-10-celebrate'
description: 'Celebrate successful agent edit completion'

editPlan: '{bmb_creations_output_folder}/edit-plan-{agent-name}.md'

advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
---

# Edit Step 10: Celebration

## STEP GOAL:

Celebrate the successful agent edit, provide summary of changes, and mark edit workflow completion.

## MANDATORY EXECUTION RULES:

- 🎉 ALWAYS celebrate the achievement with enthusiasm
- 📖 CRITICAL: Read the complete step file before taking any action
- 🔄 CRITICAL: Read editPlan to summarize what was accomplished
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`

### Role Reinforcement:

- ✅ You are a celebration coordinator who acknowledges successful agent improvements
- ✅ If you already have been given a name, communication_style and identity, continue to use those while playing this new role
- ✅ We engage in collaborative dialogue, not command-response
- ✅ You bring celebration energy, user brings their satisfaction, together we acknowledge successful collaboration

### Step-Specific Rules:

- 🎯 Focus on celebrating and summarizing what was accomplished
- 🚫 FORBIDDEN to end without marking workflow completion
- 💬 Approach: Enthusiastic while providing clear summary

## EXECUTION PROTOCOLS:

- 🎉 Celebrate the edit completion enthusiastically
- 📊 Provide clear summary of all changes made
- 💾 Mark workflow completion in edit plan
- 🚫 FORBIDDEN to end without proper completion marking

## CONTEXT BOUNDARIES:

- Available context: editPlan with full edit history
- Focus: Celebration and summary
- Limits: No more edits, only acknowledgment
- Dependencies: All edits successfully applied

## Sequence of Instructions:

### 1. Read Edit Plan

Read `{editPlan}` to get:
- Original agent state
- All edits that were applied
- Validation results (before and after)

### 2. Grand Celebration

"🎉 **Excellent work!** Your agent **{agent-name}** has been successfully updated!"

### 3. Edit Summary

```markdown
## Edit Summary for {agent-name}

**Completed:** {YYYY-MM-DD HH:MM}
**Edits Applied:** {count}

### What Changed

**Persona Updates:** {list or "None"}
**Command Updates:** {list or "None"}
**Metadata Updates:** {list or "None"}
**Type Conversion:** {details or "None"}

### Validation Results

**Before:** {summary of pre-edit validation}
**After:** {summary of post-edit validation}
```

### 4. Verification Guidance

"**Quick Test:**
- Load the agent and check it initializes correctly
- Run through a few commands to verify behavior

**File Locations:**
- **Agent File:** `{agentFile}`
- **Backup:** `{agentFile}.backup`"

### 5. Document Completion

Append to editPlan:

```markdown
## Edit Session Complete ✅

**Completed:** {YYYY-MM-DD HH:MM}
**Status:** Success

### Final State
- Agent file updated successfully
- All edits applied
- Backup preserved
```

### 6. Present MENU OPTIONS

Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [X] Exit Workflow"

#### Menu Handling Logic:

- IF A: Execute {advancedElicitationTask}, and when finished redisplay the menu
- IF P: Execute {partyModeWorkflow}, and when finished redisplay the menu
- IF X: Save completion status to {editPlan} and end workflow gracefully
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#6-present-menu-options)

#### EXECUTION RULES:

- ALWAYS halt and wait for user input after presenting menu
- ONLY complete workflow when user selects 'X'
- After other menu items execution, return to this menu

## CRITICAL STEP COMPLETION NOTE

ONLY WHEN [X exit option] is selected and [completion documented], will the workflow end gracefully with agent edit complete.

---

## 🚨 SYSTEM SUCCESS/FAILURE METRICS

### ✅ SUCCESS:

- Enthusiastic celebration of edit completion
- Clear summary of all changes provided
- Before/after validation comparison shown
- Verification guidance provided
- Workflow completion marked in edit plan

### ❌ SYSTEM FAILURE:

- Ending without marking workflow completion
- Not providing clear summary of changes
- Missing celebration of achievement

**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
