Story: Prune the branches that are merged into origin/main
Table of Contents
This page documents a story in Sprint 28. It captures the goal, current status, acceptance criteria, and the tasks that compose it.
1. Goal
compass branches prune deletes every branch it reports safe to prune, whatever is checked out, and never deletes one that is not an ancestor of origin/main.
2. Status
| Field | Value |
|---|---|
| State | DONE |
| Parent sprint | Sprint 28 |
| Now | Nothing. |
| Waiting on | Nothing. |
| Next | Nothing. |
| Last touched | 2026-10-17 |
3. Acceptance
- A local branch merged into origin/main is deleted even when the current branch does not contain it.
- A local branch with commits not in origin/main is never deleted, whatever the current branch holds.
4. Tasks
| Task | State | Start | End | Description |
|---|---|---|---|---|
| Scaffold story: Prune the branches that are merged into origin/main | DONE | 2026-10-17 | 2026-10-17 | Story scaffolding rides this task: documents, sprint wiring, and the scaffold PR. Close it before merging that PR. |
| Fix the baseline the prune deletes against | DONE | 2026-10-17 | Initial task for: Prune the branches that are merged into origin/main |