feat(web): remove Build/Plan toggle from the composer
The Build/Plan toggle in the composer input box is gone. Plan mode is now a legacy feature: Settings → Beta has a "Restore plan mode (legacy)" switch that brings the toggle back for anyone still relying on the old workflow.
With the flag off (the default), the composer no longer shows the Build/Plan control, the compact "…" menu drops its Chat/Plan radio group, the /plan and /default slash commands disappear from the command menu, and Shift+Tab no longer flips modes. Threads that are already in plan mode keep the toggle and commands visible regardless of the flag, so nobody gets stuck unable to exit.
Implementation: a new planModeEnabled client setting (default false) in the contracts schema, gating in ChatComposer/ChatView, and a Beta settings row wired into settings search.
Change made by Claude Fable 5 via Claude Code.
🤖 Generated with Claude Code
[!NOTE] Low Risk UI and client-settings gating only; no auth, data, or server behavior changes, with a deliberate exception so plan-mode threads can still exit.
Overview Plan mode is off by default and treated as a legacy workflow users can re-enable from Settings → Beta (“Restore plan mode (legacy)”).
A new
planModeEnabledclient setting (contracts schema, defaultfalse) controls whether the composer shows the Build/Plan toggle, lists/planand/defaultin the slash menu, and honors Shift+Tab to flip modes.ChatViewonly intercepts standalone/plan//defaultwhen the flag is on or the thread is already in plan mode so/defaultcan still exit. Threads already in plan mode keep those affordances regardless of the flag.Beta settings and settings search are wired for the new toggle; desktop client-settings tests include the new field.
Reviewed by Cursor Bugbot for commit 8178b1f50dbe765b9fd71cf01d9d6145027f547f. Bugbot is set up for automated code reviews on this repo. Configure here.
[!NOTE]
Remove Build/Plan toggle from the composer behind a
planModeEnabledsetting
- Adds a
planModeEnabledboolean field toClientSettingsSchema(defaultfalse) and exposes a toggle in the Beta Settings panel.- Hides the Build/Plan interaction mode toggle UI, Shift+Tab keyboard shortcut, and
/plan//defaultslash commands whenplanModeEnabledisfalseand the thread is not already in plan mode.- Standalone slash command interception in
ChatViewContentis similarly gated on plan mode being enabled or active.- Adds a "Restore plan mode (legacy)" entry to settings search pointing to the beta settings route.
- Behavioral Change: The Build/Plan toggle and related affordances are no longer visible by default; users must opt in via Beta Settings.
Macroscope summarized 8178b1f.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
15a6fda3-a4d8-4233-9e67-a444aebebc53You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
- [ ] 🔍 Trigger review
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Approvability
Verdict: Needs human review
This PR changes default runtime behavior by disabling plan mode for all users and has an unresolved high-severity review comment about existing plan-mode threads losing their Implement/Refine UI. The interaction between legacy threads and the new default deserves human verification.
You can customize Macroscope's approvability policy. Learn more.
This is not a legacy or "old workflow"? Plan mode is a first class and supported feature by the major harnesses.
i expect t3code to have the same options as the harness
it took me time to switch because t3code didn't posses of claude code's options
keep in mind the more you drift away from the harness, the more it feels incomplete
ideally t3code should have a compatibility table like bun's have
L
Also the logic of the chart used in this PR doesn't make sense? You're saying about 3% of turns use Plan mode so that means it should be removed? Why are you looking at turns? Obviously it's a small amount because when a session starts in Plan mode most of the turns come after it's approved and switched to Build mode?
I was already surprised when Theo said in a video that he never uses Plan mode. Fine, different people work differently. However, letting that bias dictate which features are removed for everyone seems like arrogance. Instead of the misleading “percentage of turns” graph, why not show how many users used Plan mode per T3 session? Or was that graph chosen to support your bias? I don't mind if I have to enable it in settings but calling it legacy has major implications that you plan (pun intended) to remove it later and that you will not test it anymore. However, I don't understand why remove it at all. Was it bothering someone?