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.
- Slash-command highlight only at start of input
The slash-command match function now returns no matches unless the input starts with '/'.
- /steward merge safety checks extended; git-forge (non-GitHub) mode
The watch can now run without gh for a "git" forge. Merge checks use `--ignore-submodules=none`. Merges that would leave the branch's own changes in executable or config files are refused. An old gh now gets a message saying `this gh is too old for a watch`. Pushes are refused when the PR head holds commits the push doesn't build on. A new-conversation clear ends the watch.
- CLAUDE_CODE_SENDS_VIA_SESSION_SERVICE env var now passed through to delegated sessions Gated
The session environment builder now forwards CLAUDE_CODE_SENDS_VIA_SESSION_SERVICE from the session's environment_variables, next to CLAUDE_CODE_USER_DELEGATED_SESSION. The string was absent in the previous build (0 occurrences, 9 now).
- Large-file remote open probe behind tengu_floating_valley Gated
Uploaded files with `file_limit_exceeded` are marked `opens_by_path` when they pass a probe, for remote sessions.
- Hook model-call refusal blocks PreToolUse
If a PreToolUse hook gives no verdict because its model call was redirected, the tool call is blocked.
- Local runner hardening and protected credential paths Gated
The local runner pid and log files are written safely behind `bot_protected_tengu_ancient_flute`. A write-files path check sits behind `bot_protected_tengu_nested_goblet`. EnterWorktree exit is hardened behind `bot_protected_tengu_foamy_seal`. The protected-path matcher now covers credential and identity-token files.
- Plugin entry optionalDependencies ignored when plugin has its own plugin.json
Plugin manifest validation now reports an error when a marketplace entry has optionalDependencies but the plugin ships its own plugin.json, telling the author to move the list into that file.
- Clearer error when folder settings snapshot cannot be kept for remote tool sessions
A new error message tells users that a session able to run tools on this computer could not save a copy of the folder's settings. It points them to free disk space, ~/.claude/state being writable, and readable .claude settings files, and suggests --debug.
- fileCheckpointingEnabled description: only an administrator's false applies in SDK sessions Gated
The setting description now says that in a session an SDK starts, only an administrator's false applies. A user-level setting no longer controls file checkpointing there.
- Device-copy and file-write flows now wait for project files and written outputs to be stored
The wait-for-file-store logic was rewritten. It now covers files under the project folder. It repeats the ask while a file is still waiting. It tracks files the model wrote (Write/Edit) and waits for them at turn end. New telemetry sites `device_copy_project_files_waited` and `written_outputs_stored` were added. The refusal text for device_commit_files is new, and says to call again after waiting ten seconds.
- ExitWorktree and EnterWorktree refuse when the original directory leads elsewhere
ExitWorktree now detects an original directory that leads elsewhere, for example through a symlink or a re-pointed path. It recovers the session cwd and logs a new message. The result gains an `isLedElsewhere` field. EnterWorktree adds host-level path checks and a new refusal for session paths containing * ? [ ] while blockReadsOutsideWorkingDirectories is on.
- Host credential folders get a deny rule across permission checks Gated
New code adds a "/**" deny for folders listed as host credential paths. Reads that hit it get a specific denial message with source hostCredential. Sandboxed commands can no longer select an added folder as the main repo; a new warning says an added folder spelled with * or ? loaded no skills, commands, agents or plugin settings.
- Device attestation: admitted-unsigned requests refused under device policy
A new check refuses control requests and responses that are HOST_ADMITTED_UNSIGNED when the device policy is unreadable or enforcing. The refusal reason is admitted_unsigned_under_device_policy.
- User-delegated-session server check providers env var, plus a claude-sonnet-5-5 model match Gated
A new predicate requires CLAUDE_CODE_USER_DELEGATED_SESSION_SERVER_CHECK_PROVIDERS and CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API to both be set, plus one more condition. A second function then checks a comma/@-separated provider list against the current API provider. For the vertex provider, every entry in a required list must be present. The new `claude-sonnet-5-5` constant has a matcher that tests whether a model equals it or resolves to it.
- Uncut-output note and shell-command refusal messages
Tool results can now carry an extra log line, uncutOutputNote. A new fixed message says a shell command was not run, because the session's safety check reviews only commands Claude runs itself. It tells the user to run the command with the shell tool.
- File-reference refusal for tools
A new message says nothing was sent because the tool can't be given a file by reference. Any whole value of the form sha256:<hash>:<path> is stopped, even one not meant as a reference.
- macOS sandbox denies file-clone for denied paths
The generated sandbox profile now adds deny rules for file-clone on denied paths, wrapped in a check that the file-clone operation is defined. This stops a clone from copying a denied file.
- Plugin runtime gains ui.copy, theme.set and session.identity
The plugin host-call table adds "ui.copy" and "theme.set" as host-handled calls. The session capability list adds "session.identity". The notTheList slot filter now excludes BesidePrompt and Underlay as well as AbovePrompt.
- Model catalog and served-notices renewal behind tengu_typed_squid Gated
New background renewal jobs refresh the served model catalog and the refusal served-notices. They use backoff and an etag, and they report 'model_catalog_renewal' and 'refusal_served_notice_renewal' telemetry. The catalog renewal is gated by tengu_typed_squid, which falls back to on.
- Chrome tab-reading helpers for the permission prompt
New helpers read the hosted session's availableTabs and detect when no browser is connected before a permission card is shown. Failures log 'hosted_tabs_not_read' or 'no_browser_before_card'.
- File link parsing accepts non-L anchors
The filename#line parser now also accepts '#<digits>' without an L prefix, but only when no further '#' follows. It rejects a range where start > end.
- Interrupt message records stoppedByAPerson
The interrupt-message builder now takes a stoppedByAPerson argument, tags the row with rowSource 'harness', and adds stoppedByAPerson to the message when it is set. A hook-stopped path also passes hookText:true.
- UI render hook components extended with BesidePrompt and Underlay
The plugin hook filter for `ui.render` now accepts the component values AbovePrompt, BesidePrompt, ContextMenu, Pane and Underlay. Before, it accepted only AbovePrompt, ContextMenu and Pane. A new event name, `session.redact`, also appears in the event list.
- Plugin cache copy now falls back to in-place copy when staged publish fails; empty plugin folders get a clearer error
The plugin cache staging code is restructured. A staged copy that fails to publish now falls back to adopting a concurrently cached copy or copying in place. It reports telemetry under `plugin_cache_staged_copy`. When a copied plugin folder is empty, one branch throws a new message.
- Self-hosted runner: --log-file can open without following symlinks Gated
The runner opens the log file through a new hardened opener when `c.logFileNoFollow` is set. The opener checks that the file is a regular file with one name and rejects hard links and symlinks. Its error text says the file is not a regular file with a single name.
- ReadFile upload_if_larger option for large files
A new internal read-file request field, upload_if_larger, asks for the whole file. A file over max_bytes and 1,000,000 bytes is uploaded and named in file_uuid. The answer then has empty contents and truncated true.
- Model client_settings from published rows filtered; heron_brook gate Gated
New code merges per-model `client_settings` from the model row into request settings. It gates which keys are allowed for published rows, using a name regex and a block list. It also reports telemetry (`model_settings_from_row`). The `tengu_brook_heron` and `tengu_heron_brook` keys are trusted only for published text matching a pattern.
- Versioned-cache copy failure is handled differently
When copying a plugin to the versioned cache fails, a new async check can now also stop the plugin loading from the marketplace clone. Previously only the strict-cache setting did that. The error message no longer says "(strict plugin cache)".
- Resume failure telemetry and thread-gone handling
Failed API resumptions now report http_status. A thread-gone error logs resend_after_thread_gone and sets resumesWhole on n.thread. The old code set it on o.thread, which was probably a bug.
- Workflow agents now have a per-user-turn spawn budget
Workflow agent() spawning checks a session-level counter `agentsLeft` and throws once it is used up. The counter is decremented per agent spawn. The error text says workflows may start only so many agents until the user writes again. The REPL-style workflow path also decrements it in a finally block.
- Auto-mode workflow schema block message reworded
Auto mode blocks an oversized workflow output schema with different wording. The new text no longer says 'in auto mode'.
- REPL tool factory gated by tengu_breezy_cupcake Gated
A new function picks a REPL implementation. If tengu_breezy_cupcake is true, and a turns-work check passes, it uses createRepl from a separate chunk. Otherwise it uses the old implementation.
- Poll tool refuses when a turn end was already requested
The Poll call now short-circuits as 'turn_end_requested' when sameTurnEndRequested is set. Before, only duplicate calls were refused.
- Cwd recovery and permission/session fixes
The shell-cwd recovery path now verifies the recovery path before using it. A stored-deny event is now fired for a parked permission. Message type "attachment" is now marked remoteSourced. "Malformed_HTTP_Response" is now treated as a connection error. Task-notification messages now carry a rowSource of "recorded" or "harness".
- gh guidance: comment body from file
Guidance for gh api comments now suggests -F body=@<text-file> instead of -f body='<text>', with an extra hint line added.
- Auto-mode classifier gets new 'no verdict' reasons
New classifier unavailability reasons: `server_unavailable_rate_limited`, `server_unavailable_input_too_long`, `server_call_unavailable_input_unparsed` and `server_call_unavailable_not_judged_as_run`. The last one gets a dedicated message that says the check reviewed the call without knowing how it runs. The message tells the model to call the target tool itself with each option as its own argument. The rate-limited and unparsed reasons are treated as transient, and the not-judged-as-run reason is excluded from the retry-style handling. One of the added strings is ` (the check could not read this call's input)`.
- Sandbox status/lists report gains a per-list summary
The sandbox status payload now carries setting_sources and, when a gate-like condition holds, a lists object with rows, files_confined, all_unix_sockets and other_hosts. The /sandbox dialog now builds its rows from a shared list (Mnr) with labels such as 'Reads allowed anyway'. The Linux glob warning now reads 'so these may be ignored' instead of 'so these are ignored'.
- Worktree tools: guard against folder moves and served-launch refusal
A new check refuses to move a session into a worktree outside the folder the server started in. ExitWorktree now marks a folder move, and the message becomes 'did not remove it, since the directory to go back to has changed' when the working directory was led elsewhere.
- Crash-report upload gate tengu_foamy_crane Gated
A new function enables Bun crash-report upload only when tengu_foamy_crane is true, with other conditions. Those conditions include: not a job or session-kind session, no BUN_CRASH_REPORT_URL, and no Anthropic API key or OAuth token env. It disables upload otherwise.
- Agent-proxy telemetry for lost reused tunnels
The agent proxy now records when a reused tunnel is lost. It records the cause (server_stop for code 1012) and whether the request was resent. It also reports 'client_left' when the client socket closes before the response finishes.
- Sandbox exclusion hint for lines that kept sandbox
When a command matches a sandbox exclusion but ran in the sandbox anyway, the tool result now tells the model. It suggests writing variables as ${VAR} where unsandboxed commands are allowed.
- HTTPS proxy CONNECT replay now rejects non-HTTP-error answers
In the vendored-looking proxy agent code, when a proxied secure request is replayed from a buffered proxy response, the bundle now destroys the request unless the buffer starts with an HTTP 4xx/5xx status line. The error is 'Proxy answered CONNECT with neither 200 nor an error', with code ERR_PROXY_TUNNEL.
- Plugin path check refuses paths leading into a .git folder
Plugin file resolution now rejects paths that lead into a .git folder, in addition to the existing 'escapes plugin root' check.
- PDF read and file-read state: pending close is tracked
When a PDF read is aborted, the pending close promise is now passed to readFileState.noteReadUnderWay instead of being swallowed.
- Remote-control upsell line during long jobs, gated by tengu_starry_waffle Gated
While a turn is running, an upsell notification reading 'still working' with '/remote-control' and 'to continue from your phone' can appear. It is limited to enterprise-plan users whose answer is clean, and only to those who have not used Remote Control. It shows only in the treatment-a arm of the experiment.
- Session-service messaging gate tengu_resilient_waffle Gated
The SendMessage-style tool is routed through the session service only when the gate is not false. The same check requires a firstParty provider. New 'Not sent' guidance messages were added for malformed calls.
- Worktree registration drop now moves the entry aside first on Linux/WSL
When dropping a stale worktree registration, Claude Code now renames the entry into worktrees/claude-dropped-* and empties it there. It then verifies the folder is the one it matched. Warnings cover EXDEV and a changed entry.
- Servers can attach a served notice to fallback-model payloads
The fallback payload schema gains an optional servedNotice object with text and learnMoreUrl, and it falls back to undefined if parsing fails. I only saw the schema change, not where the notice is shown.
- Sandbox exec reports a distinct 'process stuck' failure
When sandbox config is left behind, the error code is now sandbox_exec_process_stuck if a check (zb) is true. Otherwise it stays sandbox_exec_config_left_behind.
- Terminal renderer merges adjacent blit operations
The renderer now coalesces consecutive vertically adjacent blits from the same source into one taller blit. This is a render optimization.