Repository navigation
Approve Claude Code's own prompts in Full Access by default - #6233
Merged
Merged
Conversation
Since #4764, Full Access Claude Code threads forward every request Claude Code sends to canUseTool. In bypassPermissions Claude Code also asks on some built-in safety checks (such as rm on a possibly-empty variable inside a compound command), so Full Access threads and automations started stopping for approval. Add an "Approvals in Full Access" provider setting (fullAccessApprovalsEnabled), off by default. Off approves every request in Full Access, as before 0.47. On keeps #4764's behaviour and shows ask rules, hook asks, and safety checks. It applies from the next turn without restarting Claude. Co-Authored-By: Claude Opus 5.5 <[email protected]>
mistakeknot
added a commit
to mistakeknot/aleph
that referenced
this pull request
Oct 27, 2026
…-bb#6233)" The get-bb#6233 setting is not taken, so its default flip goes with it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mistakeknot
added a commit
to mistakeknot/aleph
that referenced
this pull request
Oct 27, 2026
…et-bb#6233)" Full Access keeps pausing on Claude Code's own prompts, as in 0.8.0. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mistakeknot
added a commit
to mistakeknot/aleph
that referenced
this pull request
Oct 27, 2026
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.
Human comments
What was wrong
Since #4764 (0.47), the Claude Code bridge forwards every
canUseToolrequest in Full Access to the user, so thatpermissions.askrules prompt. That PR assumed Claude Code asks only about ask rules and PreToolUse hooks that answer "ask" inbypassPermissions. It also asks on some of its own built-in safety checks. On CLI 2.1.309,W=/tmp/x; for d in a b; do echo $d; done; rm -f $W/*.logreachescanUseToolwith "Dangerous rm operation on possibly-empty variable path…", although the samermalone does not. Full Access threads and automations now stop for approval on these. A user reported this on Discord ("A variable in this command can't be checked before it runs", "This command changes directory before running a version-control command…"), and it hit one of our own Full Access threads too.bb can't approve only the safety checks while keeping ask-rule prompts. The SDK drops the control request's
decision_reason_typebefore callingcanUseTool, so a plain ask rule, a hook "ask", and a safety check differ only in free-formdecisionReasontext.What changed
fullAccessApprovalsEnabled), off by default.bypassPermissionsthere.providerOptionslikesandboxEnabledand sits with the bridge's live session settings, so a change applies from the next turn without restarting Claude.HOST_DAEMON_PROTOCOL_VERSIONis unchanged.docs/configuration.md, the providers guide, and the claude-code-provider skill.How you verified
pnpm exec turbo run typecheck test lint --filter=bb-plugin-provider-claude-code: 406 tests pass.pnpm exec turbo run test --filter=@bb/server -- test/threads/thread-runtime-config.test.ts: 33 pass.bypassPermissions). The compoundrmcommand reachedcanUseTool, and the simpler variants did not.🤖 Generated with Claude Code