story-kit: create 349_story_mcp_tools_for_git_operations
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
name: "MCP tools for git operations"
|
||||||
|
---
|
||||||
|
|
||||||
|
# Story 349: MCP tools for git operations
|
||||||
|
|
||||||
|
## User Story
|
||||||
|
|
||||||
|
As a non-Claude agent connected via MCP, I want git tools so that I can check status, stage files, commit changes, and view history in my worktree.
|
||||||
|
|
||||||
|
## Acceptance Criteria
|
||||||
|
|
||||||
|
- [ ] git_status tool — returns working tree status (staged, unstaged, untracked files)
|
||||||
|
- [ ] git_diff tool — returns diff output, supports staged/unstaged/commit range
|
||||||
|
- [ ] git_add tool — stages files by path
|
||||||
|
- [ ] git_commit tool — commits staged changes with a message
|
||||||
|
- [ ] git_log tool — returns commit history with configurable count and format
|
||||||
|
- [ ] All operations run in the agent's worktree
|
||||||
|
- [ ] Cannot push, force-push, or modify remote — server handles that
|
||||||
|
|
||||||
|
## Out of Scope
|
||||||
|
|
||||||
|
- TBD
|
||||||
Reference in New Issue
Block a user