Skip to content

Claude Code v2.1.215 → v2.1.216: Long-session perf fix, sandbox.filesystem.disabled #454

Description

@claude-yolo

WHY this matters

v2.1.216 fixes a real pain point: message normalization was O(n²) — long sessions caused multi-second stalls and slow resumes. If you run Claude Code in CI or have power users doing long conversations, this release is worth noting.

Key changes

  • 🚀 Perf fix (long sessions): Quadratic message normalization cost — now fixed. Notably affects CI pipelines and long interactive sessions.
  • 🚀 sandbox.filesystem.disabled: New operator setting to skip filesystem isolation while keeping network egress control.
  • 🔒 Worktree isolation hardened: Subagents could escape via git -C, --git-dir, GIT_DIR/GIT_WORK_TREE env vars. Fixed.
  • Cloud session resilience: Dropped messages on container restart — now re-runs interrupted turn on resume.
  • OAuth mid-session fix: 401 errors after token rotation no longer block auto mode.
  • /rewind symlink safety: No longer follows symlinks/hardlinks when restoring checkpoints.
  • Windows fixes: Non-ASCII bash parsing, PowerShell Unicode validation, network paths.
  • Background agent fixes: Prompt and tool restrictions now restored on session resume.

Reference

PR: thevibeworks/claude-code-docs#1076

/cc @lroolle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions