t3code icon indicating copy to clipboard operation
t3code copied to clipboard

feat(web): remove Build/Plan toggle from the composer

Open t3dotgg opened this issue 3 months ago • 2 comments

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 planModeEnabled client setting (contracts schema, default false) controls whether the composer shows the Build/Plan toggle, lists /plan and /default in the slash menu, and honors Shift+Tab to flip modes. ChatView only intercepts standalone /plan / /default when the flag is on or the thread is already in plan mode so /default can 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 planModeEnabled setting

  • Adds a planModeEnabled boolean field to ClientSettingsSchema (default false) and exposes a toggle in the Beta Settings panel.
  • Hides the Build/Plan interaction mode toggle UI, Shift+Tab keyboard shortcut, and /plan//default slash commands when planModeEnabled is false and the thread is not already in plan mode.
  • Standalone slash command interception in ChatViewContent is 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.

t3dotgg avatar Aug 06 '26 22:08 t3dotgg

[!IMPORTANT]

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 15a6fda3-a4d8-4233-9e67-a444aebebc53

You can disable this status message by setting the reviews.review_status to false in 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

coderabbitai[bot] avatar Aug 06 '26 22:08 coderabbitai[bot]

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.

macroscopeapp[bot] avatar Aug 06 '26 22:08 macroscopeapp[bot]

This is not a legacy or "old workflow"? Plan mode is a first class and supported feature by the major harnesses.

benkingcode avatar Aug 07 '26 11:08 benkingcode

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

doasfrancisco avatar Aug 07 '26 12:08 doasfrancisco

L

ItriIbouanane avatar Aug 07 '26 13:08 ItriIbouanane

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?

benkingcode avatar Aug 07 '26 17:08 benkingcode

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?

OakerO avatar Aug 09 '26 10:08 OakerO