ux(prune): dry-run/delete set parity, same-run tracking-ref cleanup, no raw git passthrough #100

Merged
hexajon merged 1 commit from refs/pull/100/head into main 2026-07-15 15:36:59 +00:00
hexajon commented 2026-07-15 15:36:55 +00:00 (Migrated from codeberg.org)

Summary

Fixes the three prune consent/cleanliness gaps. (1) Consent parity: the dry-run preview now enumerates every branch a confirm+remote run would delete — split into local and remote-only sections — with counts matching the deletion report exactly, and the hint line states that --remote widens the set beyond the listed locals. (2) A --remote deletion prunes the remote-tracking refs it just made stale in the same invocation; an immediate re-run prints "nothing to prune" (pinned by hermetic tests). (3) No raw git passthrough: the fetch --prune output is captured and summarized into madtea's own single-line report. MCP madt_prune shares the same service+format implementation, verified identical.

Closes #63

## Summary Fixes the three prune consent/cleanliness gaps. (1) Consent parity: the dry-run preview now enumerates every branch a confirm+remote run would delete — split into local and remote-only sections — with counts matching the deletion report exactly, and the hint line states that --remote widens the set beyond the listed locals. (2) A --remote deletion prunes the remote-tracking refs it just made stale in the same invocation; an immediate re-run prints "nothing to prune" (pinned by hermetic tests). (3) No raw git passthrough: the fetch --prune output is captured and summarized into madtea's own single-line report. MCP madt_prune shares the same service+format implementation, verified identical. Closes #63
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sixfold-space/madtea!100
No description provided.