Skip to content

docs: Claude Code v2.1.218 - /code-review runs in background + new context-window-exceeded stop reason#1088

Merged
claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.218-20260724-0400
Jul 24, 2026
Merged

docs: Claude Code v2.1.218 - /code-review runs in background + new context-window-exceeded stop reason#1088
claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.218-20260724-0400

Conversation

@claude-yolo

@claude-yolo claude-yolo Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Night shift report

WHY THIS MATTERS: Two user-visible behavioral changes ship together here. First, /code-review no longer runs inside your conversation — it now fires as a background subagent with its own context window, so a large review no longer buries your session. The tradeoff: --fix edits applied in the background fall outside checkpoint history, so /rewind won't undo them (use git). Second, both Python and TypeScript SDKs add model_context_window_exceeded as an explicit stop reason — API developers can now detect context overflow cleanly instead of inferring it from truncated output or error handling.

HIGHLIGHTS:

  • /code-review is now a background subagent (v2.1.218): runs in its own context window, findings arrive when done, doesn't flood your conversation. Before this version it ran in-band.
  • --fix from background reviews is not rewindable: applies edits outside checkpoints; /rewind won't restore them. Foreground path (run while another review is in progress, or with -p, or with CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1) still checkpoints normally.
  • /code-review ultra now works non-interactively: claude -p '/code-review ultra' starts the cloud review and prints a tracking link without waiting for results. Before v2.1.218 this fell back to a local review instead.
  • Ultrareview accepts plain-text notes: /code-review ultra check my auth changes attaches your text as context for the review. Single-word arguments are still treated as branch names.
  • Stacked-skill behavior changed: before v2.1.218, a command after /code-review was expanded as a skill. Now it's treated as the review target. Anyone scripting /code-review /some-skill needs to update.
  • New API stop reason model_context_window_exceeded in Python SDK 0.119.0 and TypeScript SDK 0.114.0 — both SDKs land it on the same day.
  • Python SDK 0.119.0 bug fix: agent toolset Read/Edit tools now handle binary files correctly (previously failed).
  • New error docs: API Error: 401 Invalid authentication credentials gets its own entry with triage steps distinguishing API key vs. login vs. org-disabled cases. New "Wrapper and IDE errors" section for errors from launchers (IDEs, Agent SDK apps) rather than Claude Code itself.
  • Troubleshoot-install expanded: new entries for running scripts is disabled on this system (PowerShell execution policy) and claude native binary not installed (incomplete npm install).

Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning

…ntext-window-exceeded stop reason

Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
@claude-yolo
claude-yolo Bot merged commit b5ed7eb into main Jul 24, 2026
1 check passed
@claude-yolo
claude-yolo Bot deleted the docs/claude-code-v2.1.218-20260724-0400 branch July 24, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants