storkit: accept 381_story_bot_command_to_delete_a_worktree

This commit is contained in:
dave
2026-03-24 18:49:41 +00:00
parent b2ef2eca5f
commit bac53ac09a

View File

@@ -0,0 +1,20 @@
---
name: "Bot command to delete a worktree"
---
# Story 381: Bot command to delete a worktree
## User Story
As a user, I want a bot command to delete a worktree so that I can clean up orphaned or unwanted worktrees without SSHing into the server.
## Acceptance Criteria
- [ ] A new bot command (e.g. `rmtree <story_number>`) deletes the worktree for the given story
- [ ] The command stops any running agent on that story before removing the worktree
- [ ] The command returns a confirmation message on success
- [ ] The command returns a helpful error if no worktree exists for the given story
## Out of Scope
- TBD