set_acceptance_criteria
Set acceptance criteria for a story as checklist items. Required before marking the story complete.
Instructions
Replace the acceptance criteria section of a story file. Each string in the criteria array becomes a - [ ] ... checklist line. Idempotent: calling again replaces the previous AC entirely. Acceptance criteria must be set before a story can be completed with complete_story. Returns {story_id, criteria_count, path}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| criteria | Yes | List of acceptance criteria strings. Each entry becomes a checklist item (- [ ] ...) in the story file. Must contain at least one item. | |
| story_id | Yes | Story ID to update, e.g. STORY-007 |