Skip to content

fix(server): full-access threads never ask for approval - #116

Merged
eyeveil merged 2 commits into
mainfrom
fix/full-access-never-asks
Nov 22, 2026
Merged

eyeveil merged 2 commits into
mainfrom
fix/full-access-never-asks

Conversation

@eyeveil

@eyeveil eyeveil commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Full-access threads still stopped for approval. A Codex rm -rf exec sat for about an hour waiting for a click, and the user asked that full access never ask, on any provider. Upstream pingdotgg#37104 sends Codex a granular policy on every turn/start, top-level and delegated alike, and Codex still asks under it. Several other adapters also passed on asks that their provider forwards under its own allow-all mode.

What changed

  • In a full-access thread, each adapter answers the approval where it arrives. Codex answers its five approval handlers with accept-for-session. Claude's canUseTool and MCP elicitations allow, and a full-access Plan turn denies writes without asking. Muse auto-accepts root approvals. Kiro takes allow_once, or allow_always when that is the only option. Pi confirms confirm dialogs. OpenCode v1 and v2 reply once, and v2 checks inside showRequest.
  • Upstream tests that asserted a card in full access now assert no card. Their card cases moved to approval-required, auto, or auto-accept-edits, unchanged otherwise.

Scope

  • Pi's select, input and editor dialogs still reach the user, because they ask for a choice or typed text. Claude's dangerous-removal deny stays, because it refuses without asking anyone.
  • Codex keeps upstream's granular policy, so browser MCP prompts still reach T3, which accepts them. Cursor, Grok, fx, Antigravity and the ACP registry already never asked, so they are unchanged.
  • No shared server point sees a request before it streams to clients, so each adapter has its own guard and its own test. Default modes are already full-access and did not change.

Tradeoffs

Blast Radius

Only full-access threads change: they never show approval cards, and Kiro may save a workspace allow_always rule. Other modes behave as before.

Verification

  • Each new or rewritten full-access test fails against the original adapter source. For example, Codex fails with Full access must not wait for an approval, and Kiro with expected 'ask' to equal 'allow'.
  • vp test run passes for the touched files: Codex 211, Claude 478, Kiro 21, OpenCode2 192, Muse 109, Pi 249, OpenCode 296.
  • vp run check:changed passes.

Model and harness: Claude Opus 5.5 (implementation) via Claude Code in T3 Code.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:S labels Nov 22, 2026
@github-actions github-actions Bot added size:M and removed size:S labels Nov 22, 2026
@eyeveil
eyeveil merged commit 7e0714b into main Nov 22, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant