Skip to content

feat(cli): add --full-auto mode for autonomous execution - #223

Merged
bouillipx merged 1 commit into
mainfrom
feat/full-auto-mode
Mar 24, 2026
Merged

feat(cli): add --full-auto mode for autonomous execution#223
bouillipx merged 1 commit into
mainfrom
feat/full-auto-mode

Conversation

@bouillipx

Copy link
Copy Markdown
Collaborator

Summary

  • Add dare run --full-auto flag for fully autonomous agent execution
  • New AutoUserInputHandler auto-responds to ask_user calls (picks first option or returns "Proceed with your best judgment")
  • _RunApprovalPolicy.auto_approve_all auto-grants ALL tool approvals, not just the default low-risk set
  • Plumbed user_input_handler through RuntimeOptionsbootstrap_runtimebuilder.with_user_input_handler()

Test plan

  • test_full_auto_flag_accepted_by_run_parser — parser accepts --full-auto
  • test_full_auto_flag_defaults_to_false — default is off
  • test_auto_user_input_handler_picks_first_option — selects first option
  • test_auto_user_input_handler_uses_default_when_no_options — fallback response
  • test_auto_user_input_handler_custom_default — custom default
  • test_run_approval_policy_auto_approve_all — approves any tool when all=True
  • Manual: dare run --task "..." --full-auto runs end-to-end without blocking

🤖 Generated with Claude Code

Add `dare run --full-auto` flag that enables fully autonomous agent
execution without any human interaction:

- Auto-approve ALL tool invocations (not just low-risk defaults)
- Auto-respond to ask_user questions (picks first option or default)
- New AutoUserInputHandler for non-blocking user input
- Plumbed through RuntimeOptions → builder.with_user_input_handler()

[宪宪/Opus-46🐾]
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bouillipx
bouillipx requested a review from zts212653 as a code owner March 24, 2026 12:12
@bouillipx
bouillipx merged commit 54c6d2e into main Mar 24, 2026
10 of 11 checks passed
@bouillipx
bouillipx deleted the feat/full-auto-mode branch March 24, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant