Skip to content

🤖 refactor: auto-cleanup#3060

Open
mux-bot[bot] wants to merge 1 commit intomainfrom
auto-cleanup
Open

🤖 refactor: auto-cleanup#3060
mux-bot[bot] wants to merge 1 commit intomainfrom
auto-cleanup

Conversation

@mux-bot
Copy link
Contributor

@mux-bot mux-bot bot commented Mar 24, 2026

Summary

Periodic auto-cleanup PR. Each commit is an independent,
behavior-preserving refactor found by scanning recent main commits.

Current cleanup

Remove dead UIPermissionMode and SDKPermissionMode type aliases
These two exported type aliases in src/common/types/global.d.ts were
never imported or referenced anywhere in the codebase (confirmed via
whole-repo grep). They appear to be remnants of an earlier permission
system design. Removing the unused types and their comments (−6 lines).

Validation

  • make static-check (ESLint, TypeScript, Prettier all pass)
  • Whole-repo grep confirms zero references outside the definition site

Auto-cleanup checkpoint: c86bbfb


Generated with mux • Model: anthropic:claude-opus-4-6 • Thinking: xhigh • Cost: N/A

These two type aliases in global.d.ts were never imported or referenced
anywhere in the codebase. They appear to be remnants of an earlier
permission system design that was superseded.
@mux-bot
Copy link
Contributor Author

mux-bot bot commented Mar 24, 2026

@codex review

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

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.

0 participants