set_acceptance_criteria
Define acceptance criteria for backlog stories by converting criteria strings into checklist items in story files, enabling structured completion tracking.
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 |