First read of the bundleopen
Found so farclose
685 raw findings from the deep run, still being written up. Last one in at . The written-up page replaces them when it lands.
- Session telemetry gains chromeSidePanel flag
Session metadata now includes chromeSidePanel, true when the value is "1".
- VS Code policy gates list expanded with many new tengu flags Gated
The settings object sent to the VS Code extension now includes tengu_reflective_wren, tengu_jaunty_deer, tengu_stateless_music, tengu_clever_nebula, tengu_crispy_turtle, tengu_wiggly_zephyr, tengu_calm_whale, tengu_quirky_seahorse and tengu_wiggly_fog. It also adds four bot_protected_* gates, whose changes trigger a refresh. Fallbacks: most default true; tengu_quirky_seahorse and tengu_wiggly_fog default false.
- Headless sessions pre-warm (full GC) when user starts typing after idle Gated
A new class runs a full GC when typing starts after at least 150000 ms idle, so the next prompt is ready sooner. It skips the GC if the heap exceeds 268435456 bytes. It reports a headless_wake_for_prompt metric. It is gated by tengu_sunny_squid, which defaults true.
- Publish permission prompt warns about hard-linked supporting files
When uploading supporting files to publish an artifact, a hard-linked file now adds a warning to the prompt. The warning also applies to protected-file rules.
- Env var prefix BUN_INSPECT added to blocked env pattern
The dangerous-environment regex now also matches BUN_INSPECT*.
- Plugin auto-update install notification
A new low-priority notification lists plugins that were installed automatically. It shows hints such as ' · /reload-plugins to apply' or ' · /plugin to enable'.
- Optional plugin dependencies are installed automatically, gated by tengu_melodic_honey Gated
New routine installs optional plugin dependencies. It reports what was left out (policy blocked, not found, version conflict, engine range and so on) and why optional dependencies were not checked. It returns early when the gate is explicitly false, and the compiled-in fallback is true.
- Message tool refuses cloud/Remote Control sessions addressed by name
When the recipient is a cloud or Remote Control session, SendMessage now fails early and tells the model to use the session id as `to`.
- Control-request error codes: cloud-session and connection refusals, invalid_effort_level
The error_code schema description adds unavailable_in_cloud_session and unavailable_on_connection. It also adds invalid_effort_level for update_settings and codes for end_session with reload. It also changes the stale_root_id wording.
- Prompt history reads faster, scoped to the project
History loading now uses a shared per-project window scan. It adds a fast path for simple entries and a holdingAnyOf filter.
- /add-dir rejects paths where the OS drops the name end
Directory validation has a refuseDroppedNameEnd option that returns a nameEndIsDropped result. It triggers when a path has trailing whitespace, or matches a Windows-specific pattern. /add-dir also skips the second registration of --add-dir paths that are already listed.
- Summary prompt override skipped for some models Gated
The summary-prompt resolver now checks `summaryEntry?.prompt` first. It returns a built-in scratchpad-skipping default when `modelFacts.skipsSummaryScratchpad` is set. Both checks come before the `CLAUDE_CODE_CURRIED_TRINKET` env var and the remote-config fallback.
- Crash-reporting env var passes through only when set to "0" Gated
In the environment filter, BUN_ENABLE_CRASH_REPORTING is now skipped unless its value is "0". Another change adds a matcher that treats env names starting with CLAUDE_, ANTHROPIC_, BUN_, DISABLE_, DO_NOT_TRACK or CI as a recognised family.
- New claudeChatsRead permission entry, bypass-immune
A new claudeChatsRead entry is added to the permission-attribute table. It sets bypassImmune: true and waivableInBypass: false.
- Plugin manifests gain optionalDependencies, with a persisted declinedPlugins list Gated
The plugin manifest schema now accepts optionalDependencies. These are plugins installed and enabled alongside the plugin by default. A user can disable or uninstall one, and one that cannot be installed is skipped. New code also keeps a declinedPlugins list in a settings-like file. Auto-dependency pruning writes disabled plugins to that list so they are not reinstalled. If the write may have failed, it warns 'Could not save as declined'. This is available to everyone through the manifest field, with no gate on the schema.
- Git commands for unattended watch refuse risky repo config and PATH
New git/gh helper code checks for repo-local git settings (aliases, hooks, includeIf, include.path) and for writable PATH entries. It refuses with messages such as 'this repository's own git settings include another file (include.path)'. It also sets GIT_ALLOW_PROTOCOL and strips credentials-bearing env vars. It reads tokens such as GITLAB_TOKEN and AWS_SECRET_ACCESS_KEY, apparently to redact them.
- Config-file watching by events now covers Windows, behind tengu_brisk_pinecone
The event-based watcher is selected in two cases. One is CLAUDE_CODE_CONFIG_WATCH_EVENTS on Linux. The other is Windows, when a helper returns true and the flag tengu_brisk_pinecone is on. The flag's compiled-in fallback is true. The watcher falls back to polling when the file is on a network share or the folders above it may be moved. On Windows it also falls back to polling when watcher events overflow.
- Resuming a subagent by message can let go of the sender's turn (tengu_curried_neumann) Gated
The resume path for a subagent now has a branch that, when the delivery is a reply awaited by the main turn, arms the resumed agent to be moved to the background ('armedForMove') and logs 'turn_holds_grants' if the turn holds grants. It is gated by tengu_curried_neumann, which falls back to false.
- Permission-rule refusal on subagent resume now says which rule and behavior
When a message resumes an agent and session permission rules block it, the telemetry now carries the reason, behavior and rule source. The error text now distinguishes 'ask' rules ('require approval ... and a message cannot ask for it') from block rules. The old flag-gated check was removed, so it is now unconditional.
- Hook 'allow' no longer bypasses more tool calls
A hook's allow now also falls through to the normal permission check when a new condition matches, and canUseTool can be required by an extra hook. The message for the non-classifier case changed to 'a hook's allow does not settle this call; the normal permission check decides'.
- get_workspace_diff schema descriptions updated
The rootId description now covers an unresolvable directory (read denied, no error_code) and multi-repo cwd-following sessions. Separately, the total_bytes description now says it is set when `offset` or `file_uuid` is set.
- Piped teleport/import args and --teleport guard
For non-TTY stdout, rewritten argv goes through pipedImportArgv. A teleport check now refuses a directory that 'leads through a link'.
- Background-task tool calls skip remote routing for MCP tasks
When a tool call carries a task_id or shell_id that resolves to a registry entry of type "mcp_task", it is now run locally. Before, the call could be routed through the remote or machine path.
- Plugin runtime: session.info and session.redact methods; ui.log agentNote
The plugin host registers two new methods, session.info and session.redact, both routed as "append". ui.log now forwards an optional agentNote field.
- /ship watch extended to Azure DevOps, Bitbucket and GitLab through git's saved sign-in
New code reads Azure DevOps, Bitbucket and GitLab web APIs (read-only) using credentials from `git credential fill`. It reads PR/MR state, checks and comments from people who can write. It also adds a watch loop whose prompts say the branch is watched 'with git alone' when `gh` can't read the host. The user's terms text says Claude Code 'asks ... every two minutes, with your git sign-in and no model turn'. The code checks `allow_code_host_reads` and proxy/CA environment variables. I did not find the gate's default or the command wiring.
- Auto mode refusal hint and PermissionDenied retry text
New prompt text lets a PermissionDenied hook allow one more try of a refused call. A new message says a turn did not end when one tool call failed.
- Terminal window-focus and reduced-motion state passed to renderer
When the renderer instance is created, it is now given `setWindowFocused` and `setMotionReduced` from the current state.
- Bash sleep-wait grace handling behind tengu_breezy_wolf and tengu_foamy_pond Gated
New code detects `sleep N` in shell commands and computes a grace period. The tengu_breezy_wolf value 'count' or 'end' selects a mode. In 'end' mode a command is moved to the background after the grace period. It logs tengu_bash_wait_after_jobs. It only applies to the cli, claude-vscode and claude-desktop entrypoints. tengu_foamy_pond defaults to false.
- Usage-limit question at turn end, probed when five-hour utilization passes a threshold Gated
At turn end, if the five-hour utilization reaches the value of tengu_breezy_toucan (default 0, which means off), a probe runs and logs usage_limit_turn_end_question.
- Cleanup of mcp-skill-archives replaced with a safer version
The cleanup used to walk a cache tree and delete entries older than a cutoff. It now deletes entries under mcp-skill-archives, but only after confirming the directory is a plain folder on the same device.
- Prompt-style hint texts reworded, with a new wayout hint
The 'show' hint now reads 'the lines you changed, and any output that shows it works'. The 'bigger' hint is rewritten to offer more only when the user would answer yes. A new 'wayout' hint says to stop check-ins when the user asks.
- Chrome side panel env var passed into session metadata Gated
A new env var CLAUDE_CODE_CHROME_SIDE_PANEL (0 occurrences before, 5 now) is read and sent as chromeSidePanel in the same metadata object that carries sessionCreatedAtMs.
- Port listing reports an error when the host cannot look ports up
The port-listing reply now returns an error instead of an empty result when the machine cannot inspect its ports.
- Artifacts invitation URLs recognised; Artifacts approval wording changed
A path classifier now returns "invitation" for artifacts/invite URLs. The Artifacts approval prompt now says each call 'needs its own approval'.
- MCP tools can flag sendsFiles in permission requests
Permission request metadata now includes sendsFiles: true for MCP tools whose sendsFiles(input) returns true.
- Gateway IdP connect-by-hostname through proxy (new env var) Gated
The gateway's OIDC code adds a CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME switch. When it is on, IdP hostnames that NO_PROXY does not match go to the proxy unresolved. In that mode, http:// IdP endpoints that go through the proxy are refused with ECONNREFUSED_SSRF. Without it, http:// IdP URLs behind a proxy get a warning. If it is set without oidc.use_proxy and a proxy, it logs that it has no effect.
- Gateway OIDC groups_jsonpath Gated
The gateway reads groups through a restricted JSONPath-like expression (oidc.groups_jsonpath) when one is set. Otherwise it uses groups_claim. The supported syntax is dotted names, ['quoted'], [*] and [[email protected]=='value'].
- Org-managed OTLP telemetry collector (hybrid) Gated
New code builds telemetry env from organization settings. It sets CLAUDE_CODE_ENABLE_TELEMETRY=1 and OTLP exporters. Traces are enabled only if tracesEnabled is true, and ENABLE_BETA_TRACING_DETAILED is forced to 0. It supports headersHelper and resourceAttributes validation. It reports what was left out to the user.
- Friendly tool names for run-command and save-files
The tool display-name function now returns "Run a command on your computer" and "Save files to your computer" for two specific tools.
- read_shared_artifact can now default to ask instead of always blocked
The default tool permission for read_shared_artifact on the dynamic HTTP server is now "ask" instead of "blocked", but only when a runtime condition is not met. When that condition holds, and in the path that merges existing permissions, read_shared_artifact is still forced to "blocked".
- tengu_elegant_wall gate removed from time-zone withdrawal
The check `Ht("tengu_elegant_wall", !1)` is gone: the function now only bails when `n <= 0`, so the chat time-zone withdrawal pass is no longer behind that flag. It also scans text blocks and emits a new telemetry event `chat_kickoff_time_zone_withdrawn`.
- Prompt hooks fall back through more models and share a deadline
The prompt-hook evaluator now builds a list of fallback models. It tries each in turn when a call fails, emitting `tengu_hook_next_model`. It also tracks a shared deadline, and `mayRetryAt` stops retries once the deadline passes. A timeout now logs 'got no verdict in time' and `tengu_hook_prompt_timeout` gains `aModelRanOutOfTime`.
- claude doctor gains an API connectivity section
The `claude doctor` CLI now starts a connectivity check in parallel and prints an 'API connectivity' section. If the check fails internally, it prints 'Not tested: an internal error stopped this test'. The preflight check was refactored into a shared helper that reports the outcome and elapsed time per URL.
- Worktree names reject protected config folders Gated
Worktree names whose segment is `.vscode`, `.idea`, `.claude`, `.husky`, `.cargo` and similar now fail with a 'protected config folder' error. A name kept for the downloads folder is also rejected.
- MCP task offers distinguish request forms
The gate for offering MCP tasks now takes a `requestForm`. For `shared_request` it requires the session to follow tasks, with the reason 'the request does not say that its session follows tasks'.
- Git-settings refusal pattern for branch's own changes
A new matcher phrase maps to the own_branch_file category. A refusal message containing this text is classified the same as 'the merge would bring or change'.
- New MCP task status-check and question-show tools
New deferred, read-only tools were added for background MCP tasks. One asks the MCP server once for a task's status. Its prompt says to use it only when the user asks, never to poll. The other shows the user a task's question as an approval-style card. It is enabled by checks named QAr and VGn, which I did not resolve.
- Connector file-send approval now tracks a first-time prompt per session
The connector file-send permission path now takes a session argument. When the connector has not been approved before in the session, it returns a refusal if prompts are suppressed, in headless use or in dontAsk mode. Otherwise it records a 'first' reason on the approval prompt.
- Remote tool late-outcome wording distinguishes followed background tasks
Late remote-call outcomes now say whether a background task is followed by this session. The wording covers 'which this session is following', 'is not following', and a stopped task.
- Plugin install records copiedFrom for path and file: URL sources
Plugin load now records copiedFrom for path sources and file: URLs. It sets copiedFromUnknown when the URL cannot be decoded cleanly, or when a Windows host or path is not a plain drive path.