feat(tui): add full delete option to archive task modal#48
Merged
HonestMajority merged 1 commit intomainfrom Feb 25, 2026
Merged
feat(tui): add full delete option to archive task modal#48HonestMajority merged 1 commit intomainfrom
HonestMajority merged 1 commit intomainfrom
Conversation
Add a third "Delete" option (index 2) to the archive confirmation modal that performs immediate, permanent deletion — removing worktrees, branches, and task files in one step. Useful for review-flow tasks that hold no valuable context after completion. - New `use_cases::fully_delete_task` combining worktree removal, branch deletion, and task directory removal - New `App::fully_delete_task` TUI wrapper with tmux cleanup - Modal updated to 3 options with reddish styling for the destructive option - Modal title changed from "Archive Task" to "Remove Task" - Happy-path test for the new use case Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a third option — Delete — to the archive/remove task confirmation modal (
dkey). This performs a full, immediate, permanent deletion: kills tmux sessions, removes worktrees, deletes branches, and removes the task directory in one step.Useful for throwaway tasks (e.g., from the review flow) where the archive-then-purge lifecycle is unnecessary overhead.
use_cases::fully_delete_taskfunction that reuses existingGit::remove_worktree,Git::delete_branch, andtask.delete()primitives🤖 Generated with Claude Code