What problem does it solve?
After QA marks a story as Done, teams still need consistent administrative closure—updating epic indexes, backlogs, and closure metadata—without risking accidental lifecycle status changes or premature closes.
Core Features & Use Cases
- Gate-Verified Closure: Blocks any administrative write unless a review verdict exists (PASS, CONCERNS, or WAIVED), acceptance criteria are met, tasks are complete, and quality gates are green.
- Status Preservation: Guarantees the story's Status remains Done on disk; any other status triggers a halt as an integrity violation.
- Epic Index Updates: Updates the epic index and backlog with closure metadata and suggests the next story when applicable.
- Use Case: A product owner finishes a sprint and needs to close out five QA-approved stories, updating the epic index and backlog consistently while ensuring no story is closed without a valid review verdict.
Quick Start
Invoke the close-story workflow with the story file path, for example by asking the agent to close the story at docs/stories/3.2.story.md in interactive mode.