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>
blove
enabled auto-merge
November 18, 2026 00:49
blove
added this pull request to the merge queue
Nov 18, 2026
Any commits made after this event will not be merged.
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.
Hill climb defect 8 (R07.1, the one hard gate that failed): the request card offered "Allow for session" on every runtime, and the label was true only on Codex.
What changed
allowScopeon the request. Each adapter writes it into the payload it already builds:sessionon Codex's command and file-change approvals,alwayson a B4 prompt unless it saidallowAlways: false, none on Claude Code.AllowScopeinWorkspaceProtocolreads it.RequestChoicesgives its buttons: "Allow once" and "Deny", plus "Allow for session" or "Always allow" only where the request has a scope. Both wider buttons still sendallow_always; no wire or schema change.SessionServicerefusesallow_alwayson a request with no scope before the adapter is called, so the CLI's--accept-sessionand a phone's relayed answer are held to what the card offers. The request stays pending. The adapters no longer narrow silently.multiSelectquestion draws a toggle per option and answers with the ticked labels in the question's order.--accept-sessiononly for a request with a scope.Amends D-018 and D-021. Design:
docs/superpowers/specs/2026-11-17-approval-choices-design.md(this is its step 1; step 2, a real session allow on Claude Code, waits on a live recording).Verification
docs/verification/2026-11-17-a-request-offers-only-the-allow-its-runtime-applies.md.mainwas merged in, and the affected suites (143 tests) pass after.aWiderAllowOnARequestThatOffersNoneIsRefusedandRequestChoicesTestsfailed before their change. The adapter tests were written with their code and not seen failing; the record lists which.--accept-session --declinetogether is now refused on a request with no scope).Not verified
acceptForSessionon every command approval (network approvals may not), and B4 interrupts that are not permission prompts.xcodebuildapp builds.Also here
docs/verification/2026-11-17-claude-code-task-tools-confirmed-live.md: D-247's two fixes confirmed in the installed Local build.🤖 Generated with Claude Code