Claude Code v2.1.236: New Default Model Env Var, Sandbox Fixes, and More
Claude Code v2.1.236 is out, focusing on developer workflow improvements and critical bug fixes. Key additions include a new environment variable for default model selection, cross-session idle notifications, and tighter macOS sandbox behavior.
New ANTHROPIC_DEFAULT_MODEL Environment Variable
You can now set ANTHROPIC_DEFAULT_MODEL to define the starting model for new sessions. Unlike ANTHROPIC_MODEL, a /model selection overrides this default and persists across restarts. This gives teams more flexible control over model defaults per environment without locking users in.
Cross-Session Idle Notifications
The SendMessage API now supports notify_when_idle on macOS and Linux. It lets a Claude Code session request another local session to send a one-shot notice when it next goes idle. This is opt-in and requires no polling, useful for orchestrating background tasks that depend on another session's state.
Sandbox Improvements on macOS
On macOS, wildcard read-deny rules (e.g., **/.env) now correctly take precedence inside allowed read regions. The rules also cover directory contents and can't be bypassed by renaming the file. This strengthens security for sandboxed file access.
Notable Fixes
This release fixes several regressions from 2.1.229 onward, including:
- Clipboard copy, background housekeeping, background sessions, and local MCP logs breaking when the working directory was deleted.
- Fullscreen renderer failing permanently after a single bad start—now falls back to the classic renderer.
- /model picker rendering taller than the terminal—now scrolls within the window height.
- SendMessage calls being rejected due to a malformed closing tag.
- Unhandled promise rejections when subprocesses like
powershell.exefail on WSL with Windows interop disabled (2.1.234 regression).
Improved Auto Mode and Other Enhancements
Auto mode now treats Monitor allow rules like Bash commands when active, and the classifier uses consistent defaults across Bedrock, Vertex AI, Foundry, and telemetry-disabled setups. Git status checks can no longer be fooled by status.showUntrackedFiles=no. Other changes:
/goalsessions now check in after 30 minutes (then 1h, 2h) when idle behind background work./usageshows usage-credits spend for Team/Enterprise members.- SIGTERM in print/SDK mode no longer records interrupted turns or synthetic tool denials.
- Slash-command typos report errors instead of fuzzy matching.
- Session recaps capped at 400 characters to prevent runaway output.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Apple Builds New AI Architecture on Google Gemini Foundation Models
Apple announced a major overhaul of Apple Intelligence, built on foundation models co-developed with Google using Gemini technology. The new architecture includes an orchestrator, on-device and server-side models, and multimodal capabilities.

Claude-Code v2.1.38 Release: Key Fixes and Improvements
Claude-Code v2.1.38 addresses VS Code terminal regression, Tab key issues, and permission fixes in bash commands. It also improves heredoc parsing and sandbox mode security.

Synthetic Society: AI Agents Building Virtual Lives on Moltbook
Research Gold Promises '100% Human-Written, Never AI' Medical Research — But Its Team Is Entirely AI
Research Gold advertises '100% human-written, never AI' medical research, but its PhD methodologists are AI-generated, and real researchers' identities are used without permission. Phone calls are answered by an AI assistant that denies being AI.