---
name: "Clear merge error front matter when story leaves merge stage"
---

# Story 272: Clear merge error front matter when story leaves merge stage

## User Story

As an operator, I want merge error front matter to be automatically removed when a story is moved out of the merge stage via MCP, so that stale error metadata doesn't persist when the story is retried.

## Acceptance Criteria

- [ ] When a story with merge_error front matter is moved out of 4_merge via MCP, the merge_error field is automatically stripped
- [ ] Works for all destinations: back to 2_current, back to 1_upcoming, or forward to 5_done
- [ ] Stories without merge_error front matter are unaffected

## Out of Scope

- TBD
