Repository navigation
Conversation
Adapters write allowScope into a request's payload: session on Codex's approvals, always on a B4 prompt that allows it, none on Claude Code. An adapter refuses a wider allow it cannot apply instead of narrowing it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…none Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The card draws its buttons from the request's allowScope: Allow once and Deny, with Allow for session (Codex) or Always allow (B4) only where the runtime applies one. A multiSelect question takes several answers. The CLI's answer hint lists --accept-session only where the request offers it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ion (D-250) A tool permission whose permission_suggestions include an allow rule offers "Allow for session" and says what the rule covers. allow_always sends the allow with that rule as updatedPermissions, destination session; a suggested mode change or directory is never sent, and no settings file is written. Recorded and tested live on Claude Code 2.1.282. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
blove
enabled auto-merge
November 18, 2026 03:12
This branch has not been deployed
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.
Step 2 of hill climb defect 8, built on #225 (D-248). Until #225 merges, this diff also shows its commits.
What changes
permission_suggestionsinclude an allow rule getsallowScope: "session"andallowRule(for exampleBash(touch one.txt)), so the card offers "Allow for session".allow_alwayssends the allow with that rule asupdatedPermissions, each re-addressed todestination: "session". Nothing is written to a settings file.setModeoraddDirectoriesis never sent back: echoing them switched the session toacceptEditsin the recording.allow_alwaysis refused.Verification
docs/verification/2026-11-17-allow-for-session-on-claude-code.md..claudedirectory written.ClaudeLiveTests.sessionAllowStopsTheSameAskLive) passed.docs-index --checkpasses.Untested
🤖 Generated with Claude Code