[Bug] UI mode indicator desynchronizes with agent mode after ExitPlanMode approval
Bug Description
After ExitPlanMode is approved, the agent's system reminders immediately switch to "Auto mode still active", but the user-facing UI indicator appears to stay in plan mode until the user presses Shift+Tab again to toggle out. This creates a silent divergence: the agent believes it's in auto mode and may start editing files, while the user still sees plan mode and expects plan-mode behavior. Two requests: (a) clarify in the permission-modes docs whether ExitPlanMode approval is supposed to clear the UI indicator automatically or whether a separate Shift+Tab is required — and if the latter, document the decoupling as expected behavior; (b) consider exposing a programmatic mode-query mechanism so the agent can verify the current session mode instead of relying on the reminder stream alone.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.116
- Feedback ID: 07a4c19c-db2b-4932-80a5-2455cf7f5d61
Errors
[{"error":"AxiosError: Request failed with status code 404\n at zd (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12712)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:31:10.618Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗