Add dangerous mode execution shortcut option#518
Merged
Conversation
Enable executing tasks in dangerous mode directly without needing to start a task first and then toggle. Changes: - TUI: Add 'X' (Shift+X) keybinding to execute in dangerous mode from kanban and detail views (configurable via queue_dangerous in keybindings) - Task creation: Replace yes/no queue confirmation with 3-option select: No / Yes / Yes (dangerous mode) - Retry: Add Ctrl+D shortcut to submit retry in dangerous mode - CLI: Add --dangerous flag to execute, create, and move commands - MCP: Add dangerous_mode parameter to taskyou_create_task - DB: Include dangerous_mode in CreateTask INSERT for proper persistence Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The task creation confirmation dialog now defaults to the user's last choice for the same project, persisted via DB settings. This avoids having to re-select "Yes" or "Yes (dangerous mode)" every time when working on the same project. Co-Authored-By: Claude Opus 4.6 (1M context) <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.
Summary
X(Shift+X) keybinding to execute tasks in dangerous mode directly from kanban and detail views, without needing to start and then toggleCtrl+Dshortcut in retry view to submit retry in dangerous mode--dangerousflag to CLIexecute,create --execute, andmove --executecommandsdangerous_modeparameter to MCPtaskyou_create_tasktoolCreateTaskto persistdangerous_modein the INSERT statementTest plan
go test ./...)QueueDangerouskeybinding default and config overrideQueueDangerousin kanban view (queues + sets dangerous mode)QueueDangerousskipping already-processing tasksCtrl+Dsets dangerous,Ctrl+Sdoes not)Xon a backlog task in kanban — should queue with dangerous mode enabledCtrl+D— should retry in dangerous modety execute 42 --dangerous— should queue task with dangerous modety create "test" -x --dangerous— should create and queue in dangerous mode🤖 Generated with Claude Code