complete_story
Mark a story as done and append a completion summary note while validating acceptance criteria. Removes completed stories from the backlog after ensuring all requirements are met.
Instructions
Mark a story done and append a mandatory completion summary note in one atomic call. Validates acceptance criteria before completing: if the AC section has not been set (contains only the placeholder), completion is blocked — call set_acceptance_criteria first. If some criteria are unchecked, incomplete_items is required with one explanation per unchecked item (in the order they appear). On success, removes the story from backlog.md and returns {story_id, completed_at, backlog_removed}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| incomplete_items | No | Required when the story has unchecked acceptance criteria. Provide one explanation string per unchecked item, in the order they appear in the story file. | |
| story_id | Yes | Story ID to complete, e.g. STORY-047 | |
| summary | Yes | Completion summary describing what was done. Appended as a timestamped note to the story file. |