feat: add a confirmation mode selector similar to Toad#565
Open
tibisabau wants to merge 1 commit intoOpenHands:mainfrom
Open
feat: add a confirmation mode selector similar to Toad#565tibisabau wants to merge 1 commit intoOpenHands:mainfrom
tibisabau wants to merge 1 commit intoOpenHands:mainfrom
Conversation
enyst
reviewed
Mar 3, 2026
Collaborator
enyst
left a comment
There was a problem hiding this comment.
Thank you for the contribution! Could you post screenshots or logs, to see how it works?
Author
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.



Description
This PR implements a persistent confirmation mode setting that saves the user's preference across sessions. The confirmation policy (always-ask, always-approve, or llm-approve) is now stored in the CLI settings file and automatically loaded on startup. A visual indicator in the bottom status line shows the current confirmation mode at all times.
Key changes:
default_confirmation_policyfield toCliSettingswith validationConfirmationPolicyServiceto persist policy changes to diskInfoStatusLinewidget with color codingThe
/confirmcommand remains available for discoverability. Users can change the mode viaF2or/confirm, and their choice persists across sessions.Closes #314.
The code in this pull request was generated by GitHub Copilot with the Claude Sonnet 4.5 model.
Checklist if Applicable
make test(unit tests excluding snapshots)make lint