Friends, @marc_krenn here.
I haven't updated @ClaudeCodeLog in a while, and I'd love to hear what you'd like to see improved.
Anything I could change to make the account more useful, relevant, fun or interesting to you?
Really appreciate any feedback & have a nice weekend! :)
Claude Code 2.1.312 is about to be released
#cccnext
Claude Code 2.1.311 is about to be released
#cccnext
Claude Code 2.1.310 is about to be released
#cccnext
Claude Code 2.1.309 is about to be released
#cccnext
Claude Code 2.1.308 further changes
Metadata:
• Time since 2.1.307 release: 7h 48m 35s
• Bundle file size: +10.1 kB (+0.0%)
• Prompt files: +3 (+9.7%)
• Prompt tokens: +10,950 (+17.7%)
Prompt token mix by kind:
• system: 57.5%→57.9%
• tools: 42.5%→42.1%
Files:
• metadata: github.com/marckrenn/claude-…
• prompt stats: github.com/marckrenn/claude-…
More details: github.com/marckrenn/claude-…
Claude Code CLI 2.1.308 changelog:
Other change:
• Bug fixes and reliability improvements
Source: github.com/anthropics/claude…
Claude Code 2.1.308 has been released.
1 CLI change
Highlights:
• CLI bug fixes and reliability improvements that reduce failures and produce smoother, more stable behavior
Further details in thread ↓
Claude Code 2.1.308 is about to be released
#cccnext
Claude Code 2.1.307 additional updates
CLI surface:
Added:
• env vars: CLAUDE_CODE_SPAWNED_BY_SERVER, CLAUDE_SSH_DAEMON_CHILD, CLAUDE_SSH_RUN_DIR, SELF_HOSTED_RUNNER_AGENT_PROXY_URL, SELF_HOSTED_RUNNER_CHECKOUT_HOOK_TIMEOUT_MS, SELF_HOSTED_RUNNER_DIFF_FINDS_NESTED_REPOSITORY
• models: claude-lsremote-T
Removed:
• env vars: AGENT_PROXY_AUTH_TOKEN, AGENT_PROXY_URL
• models: claude-haiku-3-5, claude-lsremote-E
File: github.com/marckrenn/claude-…
Metadata:
• Time since 2.1.306 release: 18h 41m 11s
• Bundle file size: +483.1 kB (+0.7%)
• Prompt files: +1 (+3.3%)
• Prompt tokens: +4,281 (+7.5%)
Prompt token mix by kind:
• system: 51.0%→57.5%
• tools: 49.0%→42.5%
Files:
• metadata: github.com/marckrenn/claude-…
• prompt stats: github.com/marckrenn/claude-…
More details: github.com/marckrenn/claude-…
Claude Code 2.1.307 system prompt updates
Notable changes:
1) Claude’s tool-hook guidance is cleaned up: the Harness bullet now ends after “treat hook output as user feedback” instead of the malformed “feedback.Response”. This reduces ambiguity/noise in how Claude interprets hook output during tool use.
Links:
1) github.com/marckrenn/claude-…
Claude Code CLI 2.1.307 changelog:
New features:
• Added /claude-api api-version to move Claude API code to API version 2026-10-21
• Added the claude_code.safety_event OpenTelemetry event for each tool call a permission rule, auto mode, a safety check, a hook or the sandbox stopped, prompted or sent back
Fixes:
• Fixed requests failing with a model-not-found error when CLAUDE_CODE_DISABLE_1M_CONTEXT is set and the model is an alias with the [1m] suffix, such as opus[1m]
• Fixed the prompt-caching-scope beta header being sent behind custom ANTHROPIC_BASE_URL gateways and on Foundry, where it has no effect
• Fixed MCP servers showing "needs authentication" in claude -p on macOS while the login keychain was locked; they now say why, and the next run after an unlock connects without a new sign-in
• Fixed MCP servers being reported as timed out, and staying failed in headless runs, when a macOS or Linux computer went to sleep while they were connecting
• Fixed HTTP MCP tool calls being sent twice when the connection closed mid-call; only read-only or idempotent tools are now retried
• Fixed a turn sometimes starting without an SDK MCP server's latest tools when a background task was running
• Fixed some "Autocompact is thrashing" errors in turns that read many PDF pages, images or other large tool results
• Fixed /autocompact in cloud sessions going back to the default window after the session restarted
• Fixed a conversation cleared with /clear sometimes coming back when a cloud or self-hosted runner session restarted
• Fixed CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS being ignored in Claude apps gateway sessions
• Fixed telemetry from Claude Desktop sessions behind a Claude apps gateway being rejected when OTEL_EXPORTER_OTLP_HEADERS is set
• Fixed /permissions > Recently denied not showing the denied shell command, and auto mode's local classifier ignoring an approval from there when it checks a retried command; approving a row now names the command, not its description
• Fixed /help and the / command menu showing long model-facing descriptions for bundled skills such as /claude-api instead of their short descriptions
• Fixed subagent transcripts recording placeholder token usage and an empty stop reason for streamed responses
• Fixed model switches through the Agent SDK's setModel(), and apps built on it, being refused when the API took more than 5 seconds to confirm the model; Claude Code now waits up to 15 seconds
• Fixed a background command stopped through a connected app (such as the desktop app archiving an idle session) being reported to Claude as stopped by the user; the notice now names its output file
• Fixed WebFetch in Cowork cloud sessions reporting a tool error when a site answered with a 4xx status or a robots.txt refusal; it is now a normal result, as in local sessions
• Fixed write tools on a directly configured GitHub MCP server showing a form that closed without creating anything in the desktop app's Code tab
• Fixed Artifact tool reads failing with a connection reset when the server had closed a reused connection
Improvements:
• Improved recovery from unparseable tool calls: Claude Code now retries the call up to twice before ending the turn with an error
• Improved fork subagents launched together: each is now told which launch is its own, so forks are much less likely to try to start each other's work
• Improved browser sign-in: the success page now appears as soon as sign-in completes, without waiting for your account profile to load
• Improved web search errors in cloud and self-hosted runner sessions: a search refused with a 403 that gives a reason now shows that reason instead of a generic "Authentication error"
• Improved the time to the first reply in cloud sessions when one of the desktop app's MCP servers can't connect
• Improved Remote Control connect time for sessions whose transcript contains large pasted images or PDF reads
Other changes:
• Self-hosted runner: Fixed sessions with --use-anthropic-git-proxy committing a .claude/settings.local.json left in the clone by an earlier session
• Self-hosted runner: Fixed archiving or requeueing a session, or stopping the runner, during its checkout hook leaving the hook's processes running and the runner's slot held
• Changed the notice Claude gets when the WebSearch budget is used up to also tell it not to query search engines in a browser or through computer use
• Changed the axScreenReader setting and CLAUDE_AX_SCREEN_READER in a settings env block to apply only from user, managed or --settings settings (since 2.1.305)
• Self-hosted runner: Changed checkout hooks to be stopped after 30 minutes by default, failing the session's setup; if yours needs longer, raise --checkout-hook-timeout-min or set it to 0
• Self-hosted runner: Changed the certificate file built for Anthropic-managed git to filter its trusted certificates as the CLI does; a [runner:warn] line gives the number left out
• [VSCode] Added a notice on the microphone button when voice dictation stops by itself (15 seconds without recognized speech, or the 2-minute limit), saying why and that the text so far is kept
• [VSCode] Fixed a long prompt expanded with Show more covering the whole chat panel: a pinned prompt is now capped at 40% of the panel and scrolls
• [VSCode] Fixed part of a list item or table cell with LaTeX math pasting as a new list or table in rich text editors
• [VSCode] Fixed dictation failing behind a TLS-inspecting proxy when NODE_EXTRA_CA_CERTS is set only in ~/.claude/settings.json; it now also follows CLAUDE_CODE_CERT_STORE
• [VSCode] Changed the "still open somewhere else" notice to also cover a Claude process left over from an extension restart, which usually ends on its own within about 10 minutes
• [VSCode] Changed voice dictation to filter its trusted certificates as the CLI does
• [VSCode] Changed the extension's own requests to filter their trusted certificates as the CLI does, and to trust the NODE_EXTRA_CA_CERTS file named in the environment or in user settings
• [Cloud sessions] Fixed the repository picker saying "No repositories match" while a search was still running; it now shows "Searching…" until the results arrive
• [Cloud sessions] Fixed the "Waiting for a runner" status on self-hosted environments being cut off; with on-demand runners it now counts up from your last message and shows failed attempts
• [Code Review] Added @claude review stop (also off and pause) to Code Review, ending an @claude review always subscription on a pull request without starting a new review
Source: github.com/anthropics/claude…
Claude Code 2.1.307 has been released.
43 CLI changes, 1 system prompt change
Highlights:
• Added /claude-api api-version to switch Claude API code to 2026-10-21, enabling updated API behavior
• Stop double HTTP MCP sends on disconnect; only idempotent/read-only tools retried to avoid duplicates
• The /clear command now makes cleared conversations persist across restarts, preventing them from reappearing
Full details are in thread ↓
Claude Code 2.1.307 is about to be released
#cccnext
Claude Code 2.1.306 additional modifications
CLI surface:
Added:
• models: claude-lsremote-E
Removed:
• models: claude-lsremote-F
File: github.com/marckrenn/claude-…
Metadata:
• Time since 2.1.305 release: 6h 54m 24s
• Bundle file size: +0.0 kB (+0.0%)
• Prompt files: +3 (+11.1%)
• Prompt tokens: +9,115 (+18.9%)
Prompt token mix by kind:
• system: 48.6%→51.0%
• tools: 51.4%→49.0%
Files:
• metadata: github.com/marckrenn/claude-…
• prompt stats: github.com/marckrenn/claude-…
More details: github.com/marckrenn/claude-…
Claude Code CLI 2.1.306 changelog:
Fixes:
• Fixed claude -p inside cloud sessions reporting "Not logged in" when started without the session's environment variables
• Fixed an API error being replaced by "prompt is too long", and an unneeded compaction, in sessions with many MCP tools
Source: github.com/anthropics/claude…
Claude Code 2.1.306 is now available.
2 CLI changes
Highlights:
• Fixed claude -p reporting 'Not logged in' in cloud sessions without env vars, restoring login status
• Fixed API errors being replaced by 'prompt is too long' in MCP-heavy sessions, showing original API errors
More details in thread ↓
Claude Code 2.1.306 is about to be released
#cccnext
Claude Code 2.1.305: additional changes
CLI surface:
Added:
• models: claude-lsremote-F
Removed:
• env vars: API_TIMEOUT_MS
File: github.com/marckrenn/claude-…
Metadata:
• Time since 2.1.304 release: 23h 52m 39s
• Bundle file size: +655.2 kB (+1.0%)
• Prompt files: +3 (+12.5%)
• Prompt tokens: +8,852 (+22.4%)
Prompt token mix by kind:
• tools: 54.3%→51.4%
• system: 45.7%→48.6%
Files:
• metadata: github.com/marckrenn/claude-…
• prompt stats: github.com/marckrenn/claude-…
Other prompt/string highlights:
1) Adds a tool that executes a given Bash command and returns its output.
2) Adds a tool to start a new agent that handles complex multi-step tasks.
Links:
1) github.com/marckrenn/claude-…
2) github.com/marckrenn/claude-…
More details: github.com/marckrenn/claude-…
Claude Code CLI 2.1.305 changelog:
New features:
• Added sandbox.allowNestedUserNamespaces so sandboxed commands on Linux can create user namespaces (Chromium, rootless podman); this lets them get around the sandbox's file protections
• Added CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS so unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) notices a usage limit that was lifted before its reset
Fixes:
• Fixed every request failing on Vertex, Bedrock and other providers when the endpoint or a gateway rejects tool search, and behind gateways with ToolSearch disallowed or left out of --tools (a 2.1.304 regression): Claude Code now retries without it
• Fixed /effort and /autocompact settings not applying when the model name differed from a modelOverrides value by letter case or a [1m] tag
• Fixed new worktrees in a bare repository sometimes starting from local HEAD instead of the default branch, and unchanged subagent worktrees sometimes not being cleaned up
• Fixed Bash commands on a full disk failing with a raw ENOSPC file path: the error now says the disk is full and that nothing ran
• Fixed an MCP server passed by a cloud session or by the SDK's setMcpServers being replaced later in the session by a same-named server from your own settings
• Fixed Claude naming the wrong model for a subagent's work after the subagent switched to a fallback model
• Fixed cloud sessions and teammates not telling Claude when a compaction had to leave the oldest messages out of its summary to fit
• Fixed more cases of scheduled Cowork cloud sessions waiting five minutes for each subagent whose WebFetch needed a URL approval that nobody was there to give
• Fixed Workflow resume re-running already-completed pipeline() and parallel() agents instead of serving them from the run's journal
• Fixed Remote Control leaving empty "(session)" entries in /resume after switching conversations with /resume
• Fixed /usage rows being cut off in narrow terminals
• Fixed startup warnings printing as raw text above the logo: they now go to the debug log, and permission rules that restrict nothing show as warning rows under the banner
• Fixed screen reader mode: search boxes now say "Search:" instead of a symbol VoiceOver read as "telephone recorder", and highlighted prompt text, such as Ctrl+R search matches and "ultrathink", no longer has spaces inside words
• Self-hosted runner: Fixed a start script that shares only its stdout with the runner or orchestrator failing with Resource temporarily unavailable when TERM is set (a 2.1.300 regression)
Improvements:
• Improved /usage: each warning is now a one-line fix that names its source, and f applies the fixes; the same fixes appear in VS Code and /doctor
• Improved MCP consent dialogs so an Enter meant for the prompt is less likely to be taken as Accept
• Improved a mod's Image to draw its picture in iTerm2 3.5 and later with fullscreen rendering, where it showed only its alt text
Security/safety change:
• Changed plugins that Claude Desktop mounts by path to no longer keep their allowed-tools when your organization's managed settings set allowManagedPermissionRulesOnly
Other changes:
• Self-hosted runner: Fixed repository access failing since 2.1.296 when a git credential helper or askpass program reads its settings through GIT_CONFIG
• Self-hosted runner: Fixed the orchestrator reporting a spawn-runner hook as timed out when a runner it started in the background kept its output open
• Remote Control: Improved the spawn-mode messages: pressing w now says the new mode is saved for the folder, and a later claude remote-control start that uses the saved mode says where it came from
• Changed allowedMcpServers to stop filtering managed-mcp.json stdio servers that use ${VAR} only in env: one your allowlist left out now loads on upgrade; use deniedMcpServers to keep it off
• Changed the /artifacts delete confirmation to take 1 or Enter to keep, 2 to delete, and Esc to cancel; y and n no longer answer it
• Changed a mod's docked pane to stay within 45% of the terminal's width, including a width kept from a wider terminal
• [VSCode] Added a "Running start-up hooks" spinner status, with a screen reader announcement, while SessionStart or Setup hooks run
• [VSCode] Fixed the spinner cutting off "Compacting..." when your spinnerVerbs setting replaces the built-in verbs with short ones
• [VSCode] Changed the message shown when a session does not start in time and no hook is running: it now leads with the output logs and lists causes instead of pointing to sign-in and network first
• [Cloud sessions] Fixed the Cloud environments admin page wrongly refusing to save an existing environment with an "installs packages" error
• [Cloud sessions] Improved deleting a self-hosted environment so the dialog and error messages say what blocks the delete and what it will affect
• [Claude Tag] Added public Slack channels Claude hasn't joined to the Claude Tag admin Add place search, so admins can set one up from there
• [Claude Tag] Fixed Claude Tag access bundles so a repository that moved to another GitHub account can be added again
• [Claude Tag] Fixed a routine set up in a Slack DM thread no longer posting after another routine in that thread restarted the conversation; both now keep posting there
• [Claude Tag] Fixed routines set up in a Slack thread reporting success without posting after the conversation ended; those runs are now skipped and the creator is told
• [Claude Tag] Improved Claude Tag admin pages in large organizations so plugin, skill and bundle edits work while the channel list is still loading
• [Code Review] Fixed Code Review sometimes not reviewing the newest commit when several pushes landed on a pull request during a review
• [Code Review] Changed Code Review re-reviews so they no longer open with LGTM while earlier blocking findings are still open
Source: github.com/anthropics/claude…
Claude Code 2.1.305 has been released.
38 CLI changes
Highlights:
• Executes a provided Bash command and returns its output so callers can directly capture shell results
• System starts a new agent for complex tasks, delegating long workflows to dedicated subagents so they continue
• Sandbox allows nested user namespaces on Linux, enabling Chromium and rootless podman to run there
Complete details in thread ↓

