Same behavior here.
In my case the codex menuItemLocations array somehow added my app identifier in addition to the codex entry.
Unfortunately I don't have any way yet of coming up with a reproduction of how it happened.
Environment:
macOS 26.6.2 (25G83)
Xcode: 26.6 (17F113)
Sandboxed app
SwiftUI MenuBarExtra
Broken plist
<dict>
<key>isAllowed</key>
<false/>
<key>location</key>
<dict>
<key>bundle</key>
<dict>
<key>_0</key>
<string>com.openai.codex</string>
</dict>
</dict>
<key>menuItemLocations</key>
<array>
<dict>
<key>bundle</key>
<dict>
<key>_0</key>
<string>com.openai.codex</string>
</dict>
</dict>
<dict>
<key>bundle</key>
<dict>
<key>_0</key>
<string>com.sam.Bubba</string>
</dict>
</dict>
</array>
</dict>
</plist>
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: