---
name: "Web UI button to delete a story from the pipeline"
---

# Story 342: Web UI button to delete a story from the pipeline

## User Story

As a project owner using the web UI, I want a delete button on work items to remove them from the pipeline, so that I can clean up obsolete or duplicate stories visually.

## Acceptance Criteria

- [ ] Delete button visible on work items in all pipeline stages
- [ ] Shows confirmation dialog before deleting (story title shown for clarity)
- [ ] Stops any running agent on the story before deleting
- [ ] Removes the worktree if one exists
- [ ] Deletes the story file and commits to git
- [ ] UI updates immediately to remove the item from the board
- [ ] Uses an appropriate API endpoint (new or existing)

## Out of Scope

- TBD
