claude-code - 💡(How to fix) Fix [DOCS] Worktree docs omit mid-session command behavior for `/tui` and `/update`

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/common-workflows

Section/Topic

Run parallel Claude Code sessions with Git worktrees — specifically what happens when you enter a worktree during an existing session, and which in-session commands continue to work after that transition.

Current Documentation

The worktree docs currently say:

You can also ask Claude to "work in a worktree" or "start a worktree" during a session, and it will create one automatically.

The commands reference currently says:

The table below lists all the commands included in Claude Code.

The fullscreen page currently documents only the environment-variable path:

Set the CLAUDE_CODE_NO_FLICKER environment variable when starting Claude Code:

CLAUDE_CODE_NO_FLICKER=1 claude

The setup page currently documents only the CLI update flow:

To apply an update immediately without waiting for the next background check, run:

claude update

What's Wrong or Missing?

A. Mid-session worktree behavior is underspecified

The worktree docs confirm that Claude can enter or create a worktree during an existing session, but they stop there. They do not explain whether the current conversation continues in place after the transition, or whether built-in in-session commands are expected to keep working once Claude has switched into the worktree.

B. /tui is not documented where users would look for it

The v2.1.116 changelog entry shows that /tui is intended to work after entering a worktree mid-session, but the reference docs do not describe /tui in the commands reference, and the fullscreen page only documents enabling fullscreen rendering with CLAUDE_CODE_NO_FLICKER=1 at startup.

C. /update vs claude update is not clarified

The same changelog entry refers to /update, but the public docs currently describe only claude update. If /update is a supported in-session command, it is undocumented. If the intended user path is only claude update, the docs should say so explicitly to avoid confusion when release notes mention /update.

Suggested Improvement

Add a short subsection under the worktree docs for entering a worktree during an existing session that explains:

  1. the session stays in the same conversation after the worktree transition,
  2. built-in session commands are expected to remain available after the switch, and
  3. command-specific docs should be used for the exact behavior of those commands.

Then update the related reference pages:

  • Commands reference: add /tui, and add /update if it is user-facing.
  • Fullscreen page: mention that fullscreen rendering can also be entered from inside a session with /tui fullscreen.
  • Setup/update docs: clarify whether /update is supported in-session or whether updates are only performed with claude update.

That would make the workflow described by the v2.1.116 changelog discoverable without forcing users to infer behavior from release notes.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageContext
https://code.claude.com/docs/en/common-workflowsWorktree section says Claude can "work in a worktree" or "start a worktree" during a session, but does not describe post-switch command behavior (around local mirror line 681).
https://code.claude.com/docs/en/commandsClaims to list all included commands, but currently does not list /tui and does not clarify /update (around local mirror lines 13-15).
https://code.claude.com/docs/en/fullscreenDocuments CLAUDE_CODE_NO_FLICKER=1 and fullscreen behavior, but not the in-session /tui fullscreen entry point (around local mirror lines 31-43).
https://code.claude.com/docs/en/setupDocuments manual updates with claude update, creating a mismatch if /update is also supported in-session (around local mirror lines 219-225).
https://code.claude.com/docs/en/changelogv2.1.110 added /tui fullscreen, which currently appears to be the main public mention of the command (around local mirror lines 13-15).

Total scope: 5 pages affected

Source: Changelog v2.1.116

Exact changelog entry text: Fixed /update and /tui not working after entering a worktree mid-session

extent analysis

TL;DR

Update the documentation to clarify the behavior of Claude Code when entering a worktree during an existing session, including the availability of built-in session commands and the usage of /tui and /update commands.

Guidance

  • Add a subsection to the worktree documentation to explain the behavior after entering a worktree during an existing session, including the continuation of the conversation and the availability of built-in session commands.
  • Update the commands reference to include /tui and clarify the usage of /update, if it is a supported in-session command.
  • Update the fullscreen page to mention the in-session entry point for fullscreen rendering using /tui fullscreen.
  • Clarify the setup and update documentation to avoid confusion between /update and claude update.

Example

No code snippet is necessary for this issue, as it is related to documentation updates.

Notes

The suggested improvements are based on the provided changelog entry and the current state of the documentation. It is essential to review the updated documentation to ensure that it accurately reflects the behavior of Claude Code.

Recommendation

Apply the suggested improvements to the documentation to provide clear guidance to users on the behavior of Claude Code when entering a worktree during an existing session. This will help to avoid confusion and make the feature more understandable.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Worktree docs omit mid-session command behavior for `/tui` and `/update`