story-kit: queue 177_bug_no_mcp_tool_to_edit_story_acceptance_criteria for merge

This commit is contained in:
Dave
2026-02-25 11:34:23 +00:00
parent e528ad4805
commit 32b5fdcb0c

View File

@@ -0,0 +1,29 @@
---
name: "No MCP tool to edit story acceptance criteria"
---
# Bug 177: No MCP tool to edit story acceptance criteria
## Description
There is no MCP tool to add or edit acceptance criteria on a story file. When the supervisor or a human working through Claude Code wants to update a story's ACs, they have to fall back to raw file editing tools (Edit, Write, sed, etc). This creates unnecessary friction and permission issues — file write tools require sandbox approval and can fail due to permission handshake bugs. Story metadata mutations should go through dedicated MCP actions, same as create_story, check_criterion, and record_tests do.
## How to Reproduce
1. Try to add an acceptance criterion to an existing story
2. No MCP tool exists for this — must use Edit/Write tools on the raw markdown file
3. If sandbox permissions are broken, the edit is completely blocked
## Actual Result
No MCP tool for editing story content. Must use raw file manipulation which is fragile and permission-dependent.
## Expected Result
An MCP tool (e.g. add_criterion or edit_story) that can add/remove/update acceptance criteria on a story file without needing raw file write permissions.
## Acceptance Criteria
- [ ] An MCP tool exists to add acceptance criteria to a story file
- [ ] An MCP tool exists to update the story description or user story text
- [ ] These tools auto-commit changes to the story file like other story-kit MCP tools do