Skip to content

[codex] cleanup legacy permission modes#236

Open
Gucc111 wants to merge 1 commit into
mainfrom
codex/cleanup-permission-modes
Open

[codex] cleanup legacy permission modes#236
Gucc111 wants to merge 1 commit into
mainfrom
codex/cleanup-permission-modes

Conversation

@Gucc111

@Gucc111 Gucc111 commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Remove legacy dontAsk and acceptEdits permission modes from core/runtime/public types.
  • Normalize legacy or unknown gateway/UI mode inputs back to default so old clients and local storage do not fail hard.
  • Clean stale UI/TUI/i18n references while keeping default, plan, and bypassPermissions behavior intact.

Closes #219

Validation

  • rg -n "dontAsk|acceptEdits" . --glob '!node_modules' --glob '!dist' --glob '!ui/node_modules' --glob '!ui/dist' returned no matches.\n- npm run build\n- npm --prefix ui run build\n- npm --prefix ui run test -- src/components/chat/hooks/useChatComposerState.test.ts src/components/chat-v2/processGrouping.test.ts src/components/chat-v2/MessagesPaneV2.render.test.tsx src/components/chat/view/subcomponents/MessageComponent.tool-error.test.tsx\n\nNote: npm --prefix ui run typecheck still fails on pre-existing React type-version and unrelated TS issues; this change does not add new typecheck failures in the root build.

@Gucc111 Gucc111 marked this pull request as ready for review June 17, 2026 09:00
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.

bug(permission): clarify dontAsk permission mode across UI and runtime boundaries

1 participant