From c40f203461896bfac46da792bbb3170335acc16a Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 25 Feb 2026 09:29:20 +0000 Subject: [PATCH] story-kit: create 177_bug_no_mcp_tool_to_edit_story_acceptance_criteria --- ..._tool_to_edit_story_acceptance_criteria.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .story_kit/work/1_upcoming/177_bug_no_mcp_tool_to_edit_story_acceptance_criteria.md diff --git a/.story_kit/work/1_upcoming/177_bug_no_mcp_tool_to_edit_story_acceptance_criteria.md b/.story_kit/work/1_upcoming/177_bug_no_mcp_tool_to_edit_story_acceptance_criteria.md new file mode 100644 index 0000000..0038061 --- /dev/null +++ b/.story_kit/work/1_upcoming/177_bug_no_mcp_tool_to_edit_story_acceptance_criteria.md @@ -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