claude-code - 💡(How to fix) Fix [BUG] Built-in local slash command output (e.g. /context) doesn't create a rewind checkpoint, while plugin commands do

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

Bug Description Rewind checkpoint behavior is inconsistent across slash commands.

Plugin-provided slash commands (e.g. /plugin …) DO create rewind-eligible points — I can rewind to/past them and drop their output.

But built-in local commands such as /context do NOT. Their output is added to the conversation and counts toward the context window, yet the Rewind picker shows no checkpoint for them. There's no way to rewind to "before /context", so the output stays in context and can't be removed via rewind.

Expected Built-in local command invocations should be rewind-eligible (consistent with plugin commands), so users can roll back and drop their output.

Actual Cannot rewind to/past a built-in local command's output (e.g. /context), even though equivalent plugin commands are rewindable.

Repro

  1. Run /context (or any built-in local command).
  2. Open Rewind (/rewind or Esc Esc).
  3. No checkpoint exists for the /context step — only user-typed messages.
  4. Compare: running a plugin slash command produces a rewindable point.

Environment

  • Version: 2.1.158 (Claude Code)
  • Platform: darwin (macOS 26.5)
  • Terminal: xterm-ghostty

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 [BUG] Built-in local slash command output (e.g. /context) doesn't create a rewind checkpoint, while plugin commands do