usage

Muse Code 1.4.23

Tools and page contents
On this page

New 7

01

Compaction summaries share cache and keep your prompts

When a long conversation needs context compaction, the summary is now written directly from the same conversation and prompt cache the model was already using.

The finished summary also includes a list of the messages you sent. If any long message is shortened, its full original text is saved in a separate file. ⟦Picture editing a magazine column: previously, you had to carry interview notes to another desk to write an intro from scratch, and long transcripts often got trimmed; now you draft the outline straight from the material already on your desk, with a full copy attached for any long piece that gets shortened.⟧

Original changelog

Context compaction now writes its summary from the same conversation and prompt cache the model was already using, and the summary keeps a list of the messages you sent, with a file holding the full text of any long message it shortens

02

Certain cross-machine records block older Muse builds from opening chats

Chats that previously connected to other machines to run commands cannot be opened in an older Muse build if specific newer-build messages appear within the part of the chat it reads. These newer-build messages are records where a newer build told the agent about a change to the machines running commands, or delivered a command result from another machine late.

Other chats without such records are completely unaffected, and updating Muse to this release lets them open normally.

Original changelog

A Muse build older than this release cannot open a chat while it holds, in the part of the chat the build reads, a message in which a newer build told the agent about a change to the machines the chat runs commands on, or delivered the result of a command on another machine late. Such a chat was connected to another machine before. Updating the app fixes it; other chats are unaffected

03

Session language guard expands checks to UI text

When talking with the agent in a session, any slip into another script inside todo lists or options is now checked and corrected just like visible answer text.

The expanded checks cover todo lists, plan updates, PowerShell and monitor descriptions, and user-input questions and options. Workflow names and titles, subagent messages, Task descriptions and prompts, memory descriptions, and artifact labels are included as well. ⟦Think of replacing train station signs: small platform labels and exit notes used to occasionally slip into a stray foreign language; now every small sign is inspected too and switched back to the same script on the spot whenever it drifts.⟧

Original changelog

The session language guard now also checks the text in todo lists and plan updates, PowerShell and monitor descriptions, user-input questions and options, workflow names and titles, subagent messages, Task descriptions and prompts, memory descriptions and artifact labels, so a slip into another script there is corrected like visible answer text

04

Stricter permission notes and untrusted workspace rules

Opening an unfamiliar project folder, turning off sandbox protection, or hitting a startup failure from a broken approval config now come with clearer prompts and safeguards.

When the shell sandbox (an isolated environment for running code) is off, the session-start permission note reminds the agent to run downloaded or generated programs as an unprivileged user or inside a full sandbox. That is because a temporary HOME, working directory, or TMPDIR cannot contain them.

When encountering a malformed or unreadable approval policy file, the startup refusal names the file path directly instead of only reporting a line and column number. The message also tells you what to do next: fix the file, or move it aside so it can start with no saved approval rules.

When starting a session in a workspace you have not trusted (including muse serve and after a resume), your user rules file is now sent on every turn. Files such as ~/.claude/CLAUDE.md or personal rules in your config directory are no longer attached only on the first turn, while project rules stay out as before.

Original changelog

When the shell sandbox is off, the session-start permission note now tells the agent to run downloaded or generated code as an unprivileged user or inside a full sandbox, because a temporary HOME, working directory or TMPDIR does not contain it

A malformed or unreadable approval policy file is named by its path in the startup refusal, so the file to fix or delete is clear instead of only a line and column

The refusal for a malformed or unreadable approval policy file now says what to do next: fix the file, or move it aside to start with no saved approval rules

In a workspace you have not trusted, sessions started there (including muse serve sessions, and after a resume) now send your user rules file (~/.claude/CLAUDE.md or your own config-directory rules) on every turn, not just the first; project rules stay out as before

05

muse serve Search Mode and Warning Calculation Alignment

Resuming a session through muse serve preserves the previously recorded web-search mode instead of turning it off upon return.

If the startup catalog refresh finishes before the server loads its list, muse serve no longer rejects models offered by model/list, nor does it mistakenly accept models that were removed.

When calculating context-pressure warning values, sessions hosted by muse serve now follow the terminal's behavior by computing them from the configured compaction thresholds and context limit.

Original changelog

A session resumed over muse serve keeps the web-search mode it recorded instead of coming back with web search turned off

muse serve no longer refuses a model that model/list offers (or accepts one it dropped) when its startup catalog refresh finished before the server installed its catalog

A session hosted by muse serve numbers its context-pressure warning under the configured compaction thresholds and context limit, as the terminal does

06

Old History Cleanup and Deferred Writes Save Disk Space

If you worry that conversation history files will fill up your disk over time, old files are now cleared automatically and new ones are only created when needed.

Message history database files left in session folders by earlier versions are now automatically removed in the background to free up space.

History copies saved for a session by older Muse versions are also automatically deleted from disk once they go 7 days without a write and no Muse instance has that session open.

Sessions started from the terminal or with muse exec use less space: the history for the desktop app is now created only the first time the desktop app opens that session, instead of being written on every turn. Until then, conversations still open in the terminal will not show history in the desktop app. ⟦Cleaning out an old storeroom used to leave boxes from past moves sitting around for years, and every time you wrote a note you printed an extra copy for another office; now unused overdue boxes are cleared out automatically, and extra copies are only printed when the other side actually comes to pick them up.⟧

Original changelog

Session-message history database files that earlier versions left in session folders are removed in the background, which frees disk space

Muse now removes the saved history that an older Muse version kept for a session once that copy has gone 7 days without a write and no Muse has the session open, which used to stay on disk

A session started in the terminal or with muse exec takes less disk: its history for the desktop app is built the first time the desktop app opens the session instead of being written at every turn (until then the desktop app shows no history for a session a terminal still has open)

07

Lower Memory Usage for Long Sessions and Resumes

As a conversation grows longer, or when opening a massive old log that was never compacted, the program now uses less memory.

Each event record that an active session keeps in memory is now smaller, making long conversations lighter on resources.

When resuming a long session that was never compacted, the decoded copy of the log is released before rebuilding the session state, lowering peak memory usage.

The subagent view no longer remembers every event it has displayed.

The display layer also no longer carries the task activity journal from earlier turns into each new turn. ⟦Running a long marathon used to mean stuffing every empty paper cup and road sign you passed into your backpack; now you clear out unneeded scraps as you run, making every step noticeably lighter.⟧

Original changelog

Long sessions use less memory, because each event record the live session keeps in memory is smaller

Resuming a long session that was never compacted peaks at less memory, because the decoded copy of its log is released before the session's state is rebuilt

Long sessions use less memory, because the subagent view no longer remembers every event it has shown

Long sessions use less memory, because the display no longer carries its journal of earlier turns' task activity into each new turn

Fixed 20

08

Unspecified new programs clarify requirements first without stalling

When you ask Muse Code to write a new program without specifying whether to use a local model or a paid hosted service, or which platform it runs on, it now suggests clarifying the requirements with you before proceeding.

However, if the run environment has no way to ask you a question, this suggestion no longer stops the run outright. ⟦When you hire an interior designer to draft a new home blueprint, he pauses to ask whether you want solid wood or laminate flooring before buying materials; yet if a mailed-in remote markup sheet leaves no contact info, he does not just sit there waiting.⟧

Original changelog

When a new program leaves open whether to use a local model or a paid hosted service, or which platform it runs on, Muse Code suggests clarifying the requirements first

The suggestion to clarify a new program's requirements first no longer stops a run that has no way to ask a question

09

Goals and built-in skills better match actual task scope

When setting task goals or asking the agent to follow built-in skills, its judgment of boundaries and progress is now more accurate.

When your own settings put a numeric target out of reach, Goals accept an honest report and no longer count unmentioned tests in the workspace as part of the task.

The built-in plan, Git, and test-writing skills also give clearer guidance, covering how to reuse shared code, read files at a requested commit or branch, determine which commits count as yours, and handle tests not mentioned in the request.

Meanwhile, the todo reminder no longer gives advice about a todo list the agent has already updated; the next check reads the latest list instead.

Original changelog

Goals accept an honest report when your own settings put a numeric target out of reach, and no longer count an unmentioned test in the workspace as part of the task

The built-in plan, git and test-writing skills give more precise guidance on reusing shared code, reading files at a requested commit or branch, which commits count as yours, and tests a request never mentioned

The todo reminder no longer gives the agent advice about a todo list it has already updated; the next check reads the current list instead

10

/compact execution and token budget fixes

Using /compact to trim long conversations no longer gets rejected unnecessarily or re-reads old tasks.

After reopening a session that has saved developer instructions but lacks a turn-specific prompt record, /compact now measures its token (text units AI models process and bill by) budget from the instructions that turn actually used instead of guessing.

Right after a turn where automatic compaction occurred, running /compact manually no longer rejects you with "no compactable run is available".

When a request still carries a reminder from an earlier turn, /compact also works again instead of replying that no run can be compacted. However, forked and side-chat sessions are not supported yet.

Long turns containing many finished tasks no longer re-read those finished tasks from scratch at each context compaction.

Original changelog

After reopening a session that has saved developer instructions with no run.developer_prompt, /compact measures its token budget on the instructions the turn used instead of falling back to a guess

/compact no longer answers "no compactable run is available" right after a turn in which the conversation was compacted automatically

/compact works again on a turn whose request still carries a reminder from an earlier turn, instead of answering that no run can be compacted (forked and side-chat sessions are not covered yet)

A long turn with many finished tasks no longer reads those tasks again at each context compaction

11

Fixed turn order and records when reopening compacted sessions

Reopening or refreshing the screen after a conversation has been compacted no longer scrambles the displayed order or records.

When a session is rewound to the first turn after a compaction, or a branch starts from there, reopening it keeps showing the conversation up to the compaction and the divider even after the first refresh. The previous bug that turned the summary into a prompt and copied earlier turns below it is fixed.

If automatic compaction finishes after you send your next turn, reopening the session now lists your turns in order above earlier conversation restored from checkpoint. An earlier turn is no longer moved below it.

A turn after compaction that reused the same rules or instructions is no longer dropped when reopening the session.

After a context compaction, a child agent that finished its work before being closed is listed as completed in the session's earlier-history roster, instead of being misclassified as failed.

Original changelog

Reopening a session that was rewound to the first turn after a compaction, or a branch that starts there, now shows the conversation up to the compaction and the divider, instead of the summary as a prompt and the earlier turns copied below it

Reopening a session whose automatic compaction finished after your next turn now shows your turns in order above earlier conversation restored from checkpoint, instead of moving an earlier turn below it

Reopening a session no longer leaves out a turn that came after a context compaction and reused the same rules or instructions as the compacted turn

Reopening a session rewound to the first turn after a compaction (or a branch that starts there) keeps showing the conversation up to the compaction and the divider; the first refresh after the reopen no longer brings the summary back as a prompt with the earlier turns copied below it

After a context compaction, a child agent that finished its work and was then closed is listed as completed instead of failed in the session's earlier-history roster

12

Fixed resume and log display for rewinds and /fork branches

Rewinding a conversation to an earlier turn or branching off to try a new approach used to leave tool durations or background items out of sync.

After rewinding a conversation and quitting, the terminal prints the resume command for the new conversation. If the session host is lost, it also names that new conversation directly instead of telling you to start over.

If a background task is still running during a rewind, the new conversation no longer lists it as a running row under the prompt input.

When resuming a forked session, its saved view is no longer left permanently unavailable even if the fork's own log contains an entry this build cannot read.

In a new chat started with /fork, each copied tool call now shows the actual seconds it took, instead of always showing 0s.

Original changelog

After a rewind, quitting prints the resume command for the new conversation, and a lost session host names that conversation instead of saying to start again

Resuming a forked session no longer leaves its saved view permanently unavailable when the fork's own log carries a record this build cannot read

After a rewind that keeps a background task running, the new conversation no longer lists that task as a running row under the prompt

A chat started with /fork now shows how long each copied tool call took, instead of 0s

13

Aborted post-resume turns no longer lock up sessions

In a resumed session, turns started after the resume that stop unexpectedly or are force-stopped after an interrupt now close properly. Such turns no longer leave the session stuck at "saving failed", refusing new prompts until a restart.

However, a few cases can still leave the session stuck: a turn sent while the previous turn was still finishing or just after it ended, queued behind other input, receiving another message before it began, stopped before it began, or carried over from before the resume.

Original changelog

In a resumed session, a turn started after the resume that stops unexpectedly or is force-stopped after an interrupt is now closed properly, instead of leaving the session refusing new turns with a "saving failed" message until restart. A turn can still leave the session that way if it was sent while the previous turn was still finishing or just after it ended, was queued behind other input, received a further message before it began, stopped before it began, or was carried over from before the resume

14

Restarting a Run No Longer Replays Old Hooks or Interrupt Notices

When a run restarts inside a session, the terminal interface no longer acts out the earlier attempt's old records as if they belonged to this run.

When re-reading history, the screen no longer replays old hook (small programs triggered by specific events) notices, delivery waits, and interrupt reminders. It also does not count the earlier attempt's output toward the new round, and the prompt row submitted during that re-read is preserved.

As a result, expired hook notices do not reappear, new interrupt notices are not consumed by an old terminal, and an already stopped automatic compaction is not restarted by the earlier attempt's install action. ⟦Like a stage play resetting between acts, it used to replay the previous act's sound cues and lighting, or even disrupt this act's pacing; now the old slate is wiped clean, and it follows only the new act's cues.⟧

Original changelog

After a run restarts inside a session, the TUI no longer replays the earlier attempt's hook notices, delivery wait and interrupt notice from the re-read history, no longer counts the earlier attempt's output as the new attempt's, and keeps the row of a prompt submitted during that re-read, so an expired hook notice does not reappear, a fresh interrupt notice is not spent by an old terminal, and a stopped automatic compaction is not restarted by the earlier attempt's install

15

Terminal Command Input and -c Settings Behavior Fixes

Running commands in the terminal while tasks are in progress, or previewing past conversations from the switcher, now responds much more smoothly.

In a --yolo session, when the agent asks you a question while staying busy, it lists the choices directly in the transcript so you can see them and type an answer without first pressing ctrl+q.

While a conversation is still running, pressing Tab on slash commands such as /exit, /logout, /model, or /usage executes them directly. It behaves just like pressing Enter, instead of sending the command text to the model as a queued message.

After closing the /resume picker's Ctrl+T transcript preview, the previously selected row no longer expands as if Ctrl+E had been pressed.

Settings overridden with -c, including MCP (a protocol for connecting AI to external tools) servers, remain active after /new and /clear instead of vanishing with the first new session.

Original changelog

In a --yolo session, a question the agent asks while it keeps working now lists its choices in the transcript, so you can see and type an answer without first pressing ctrl+q

Closing the /resume picker's Ctrl+T transcript preview no longer expands the selected row as if Ctrl+E had been pressed

While a turn is running, Tab on a slash command such as /exit, /logout, /model or /usage runs the command the way Enter does instead of sending its text to the model as a queued message

-c settings overrides, MCP servers included, stay applied after /new and /clear instead of vanishing with the first fresh session

16

Clearer Command Status in the Conversation Transcript

Looking at rows of execution records in the conversation scrollback, it used to be hard to tell where a just-typed window command went or why only blank text appeared.

After reopening a session, the recovery status of previously interrupted commands stays visible on screen for you to confirm.

A finished bash_input call row now names the actual terminal session it acted on instead of showing a generic tool operation. It directly displays labels like Sent input to bash or Resized terminal bash session.

If a running command has only printed blank lines so far, the transcript row no longer uses tool: as its output and instead keeps its original hint until real content arrives.

Original changelog

Keep interrupted command recovery status visible in reopened sessions

A finished bash_input call's transcript row now names the shell session it acted on (Sent input to bash, Resized terminal bash session) instead of a generic tool operation subject

A running command whose output so far is only blank lines no longer shows the word tool: as its output; the row keeps its hint until real output arrives

17

Background Command Safeguards and Scheduled Task Count Fix

When running several long-lived commands in the background at once, you now have safeguards against accidentally deleting folders or missing on-time execution records.

As long as a background command is still running inside a folder, any command that would delete that folder is blocked directly. The refusal message also names that command and explains how to stop it.

The notice sent once a background command runs past 30 minutes now tells the agent, when facing a time-limited task, to save its best result so far to the task's designated location before waiting any longer.

Using code_wait to wait on a code cell moved to the background now returns the completed result normally instead of refusing it as unknown or already consumed.

If a scheduled task is accepted by the session only after a slow handoff, it is now counted as delivered rather than skipped, keeping a repeating task's run count and last-run time accurate.

Original changelog

The one notice for a background command still running after 30 minutes now tells the agent, when the task has a time limit, to save its best result where the task asks for it before waiting any longer

A scheduled task that the session accepted after a slow handoff is counted as delivered instead of recorded as skipped, so a repeating task's run count and last-run time stay right

code_wait on a backgrounded cell returns the completed result instead of refusing the wait as unknown or already consumed

A shell command that would delete the folder a background command is still running in is now refused, and the refusal names that command and how to stop it

18

Workflow Pause Monitoring and Recovery Config Fixes

Pausing a Workflow now immediately stops no-deadline monitoring as well, instead of making the agent wait until the command finishes.

When pausing a Workflow, any no-deadline persistent monitor started by its underlying agents is stopped along with it. The paused agent reports as cancelled right away without waiting for the watched command to exit or the session to close.

Resuming a V1 Workflow that started before conversation compaction now explains that it reads only the history from that compaction onward, rather than falsely reporting that saved history is missing. That run still needs to be restarted, while the overall session remains usable.

When recovering a Workflow inside a retained session worktree (a Git feature that opens multiple parallel copies of the same project), it re-reads that worktree's project MCP configuration so user and plugin MCP servers stay available.

Original changelog

Pausing a workflow now stops a no-deadline (persistent) monitor that one of its agents started, so the paused agent reports as cancelled right away instead of waiting until the watched command exits or the session ends

Resuming a V1 Workflow that started before you compacted the session now explains that Muse reads only the history from that compaction on, instead of saying saved history is missing; such a run still needs a fresh start, and the session stays usable

A workflow recovery that resumes inside a retained session worktree reads that worktree's project MCP configuration again, so user and plugin MCP servers stay available during the recovery instead of all being withheld

19

Workflow Child Restart and Replay Status Fixes

When stepping in mid-run with a shortcut or replaying a finished flow, both the main agent and the interface now know the exact attempt count and what was found.

After you restart a Workflow child task with r, the main agent you are talking to receives a direct notice telling it which child task you restarted and on which attempt it finished, rather than relying only on the child task's own words.

After cancelling a Workflow, the main agent still receives what the already finished child tasks found, instead of reporting that nothing came back.

When replaying a finished Workflow, the rerun agent's conversation continues to show the correct attempt count, such as attempt 2/2, instead of wrongly showing attempt 1/1.

Original changelog

After you restart a Workflow child with r, the agent you are talking to is told which child you restarted and on which attempt it finished, instead of learning it only from the child's own words

After you cancel a Workflow, the agent is told what the children that had already finished found, instead of reporting that nothing came back

After you replay a finished Workflow, a rerun agent's conversation keeps showing its attempt number (for example attempt 2/2) instead of attempt 1/1

20

Subagent Resume Instructions and Failure Notice Fixes

After dispatching subagents to work in parallel, handoff status is now clear whether you resume an old conversation or run into a failure.

If developer instructions are replaced when resuming a session, any subagents started afterward use the new content instead of keeping the old instructions from when the session first opened.

If you leave while a subagent is still running and resume the session later, the main agent is told the subagent was cancelled and the transcript adds a finished row, instead of the subagent silently disappearing.

When a subagent fails to finish, its diagnostic message no longer overwrites the terminal interface's input box. The parent conversation shows the same notice as a settlement failure, while that original line still remains in redirected standard error and the local trace file.

Original changelog

When a session's developerPrompt is replaced on resume, subagents started after that now use the new text instead of the text the session started with

A subagent whose finish fails no longer writes its diagnostic over the composer while the TUI owns the terminal; the parent conversation shows the same notice a settlement failure shows, and the line still appears on redirected stderr and in the local trace

After you exit while a subagent is still running and later resume the session, the agent is told the subagent was cancelled and the transcript shows its finished row, instead of the subagent silently vanishing

21

Model Connection Retries and Streaming Usage Tolerance Fixes

Connecting to external models can occasionally hit overload, dropped streams, or odd payloads, and these cases are now handled more decisively.

When the model service briefly reports being overloaded, the first retry starts after about 1 second instead of stalling the turn for a full minute.

When an OpenAI, Anthropic, or OpenRouter endpoint replies to a streaming request with a non-SSE page, or a data stream breaks due to malformed data, the turn fails fast with the real protocol reason. It no longer retries the same broken response until the timeout.

For some models, once reasoning summaries are requested, the server drops the progress text beside tool calls. After receiving the first such response, that session stops asking for summaries so the progress text appears again.

On the OpenAI or Anthropic provider, if a finished turn's usage block has a missing, string-typed, or otherwise abnormal token count, the answer is still kept. Abnormal counts are treated as 0, matching the Meta provider.

Original changelog

Muse shows the model's progress text beside its tool calls again on models whose server drops it when reasoning summaries are requested; that session stops asking that model for summaries after the first such response

When the model service briefly reports that it is overloaded, the first retry now comes after about a second instead of stalling the turn for a full minute

When an OpenAI, Anthropic or OpenRouter endpoint answers a streaming request with a non-SSE page, or a model stream breaks with malformed data, the run now fails fast with the real protocol reason instead of retrying the same broken response until the timeout

A finished turn on the OpenAI or Anthropic provider is no longer discarded when the provider's usage block has a missing, string-typed, or otherwise odd token count; the answer is kept and the odd count reads as zero, as it already did on the Meta provider

22

muse exec Output and CLI Help Fixes

When integrating muse exec into automation scripts for batch runs, plugin toggles, help text, and final output accuracy are all improved.

muse exec now honors the plugins.activation setting, so disabled plugins (including muse-core) no longer add their skills to the run.

When muse exec --json finishes, output is no longer truncated even if a large batch of session records has not been written out yet. This prevents losing results from later runs or falling back to an earlier run's exit status code.

After a CLI run finishes, a stalled notice check no longer withholds the result, and a check timeout issues only a single warning.

The --reasoning-effort help text in muse --help and muse exec --help no longer describes the setting as Meta-only. The default reasoning effort is high, or the highest reasoning-effort tier provided by Meta; interactive sessions on other providers default to none.

Original changelog

muse exec now honors plugins.activation: a plugin turned off, including muse-core, no longer adds its skills to the run

Prevent a stalled notice check from withholding a completed CLI run result; warn once when the check times out

The --reasoning-effort help in muse --help and muse exec --help no longer calls the setting Meta-only and names both defaults: high (or Meta's top served tier) and none in interactive sessions on other providers

muse exec --json no longer cuts its output short when many records were still unwritten as the session finished; the lost lines could include a later run's result, and the exit status then came from an earlier run

23

Fixes for Plugin Hook Paths and Trace Export Reports

Checking plugin settings, inspecting tool logs, or exporting usage data now gives paths and times that match reality.

When muse plugins validate and the plugin install report hit a hook issue, they now name the specific hook file with the problem instead of pointing to its manifest file. Whether it is an unsupported event, a malformed handler, or an ignored silent key, the reported path is the file to open and fix.

On Linux and macOS, the warning for an oversized SKILL.md file now reports how much it actually exceeds the limit, instead of always saying 1 byte over.

When muse trace inspect checks a request that replays earlier tool calls, it no longer reports a byte difference caused by tool names; sessions recorded by an earlier version will still show it, though.

The session uptime reported by muse export now covers the entire Muse process, including startup and resume, instead of resetting for each session.

Original changelog

On Linux and macOS, a too-large SKILL.md warning now says how far over the limit the file really is, instead of always one byte over

muse plugins validate and the plugin install report now name the hook file that holds a hook defect (an unsupported event, a malformed handler or an ignored silent key) instead of the manifest that points to it, so the reported path is the file to open

muse trace inspect no longer reports a byte difference caused by tool names for a request that replays earlier tool calls; sessions recorded by an earlier version still show it

The session uptime that muse export reports now covers the whole Muse process, including startup and resume, instead of restarting for each session

24

Clearer Worktree Branch Conflict and Base Flag Checks

When you are about to open another working branch to code in parallel, prompts are no longer vague if a name collides or a base point does not match.

When starting a session worktree, if that branch is already checked out in another worktree, it now fails directly and names the worktree holding it, instead of throwing a generic error that quotes raw Git output.

If you create a worktree for an ID whose branch already exists and you also pass a --worktree-base that is not that branch's tip, it is now rejected outright. It lists the branch name and how to proceed, instead of quietly starting on that branch while dropping the flag. ⟦Renting a shared parking spot used to work the same way: if the spot was already taken, you only got a vague "cannot park" note, or your reserved time slot was silently erased; now it tells you straight out who is parked there, and when your parameters do not match, it explains on the spot how to fix them.⟧

Original changelog

Starting a session worktree whose branch is already checked out in another worktree now fails with a clear message that names the worktree holding it, instead of a generic setup failure that quoted raw Git output

A session worktree created for an id whose branch already exists refuses an explicit --worktree-base that is not that branch's tip, naming the branch and the ways on, instead of starting on the branch and dropping the flag

25

Windows and Linux Sandbox and Process Fixes

For Windows and Linux users running isolated commands or closing background PowerShell sessions, environment handoff and cleanup are now more thorough.

On Windows, muse serve and muse acp can now run sandboxed commands normally once sandbox setup is complete, instead of failing with "setup has not run". muse serve also correctly reports that the sandbox is available.

Also on Windows, stopping a background PowerShell session running without the sandbox and without tty now also ends the other programs it started, even if the shell itself already exited earlier.

On Linux, a sandboxed command now locates its placeholder registry only once, so even if a per-user runtime directory appears while it is starting up, it will no longer leave denied paths unprotected or mistakenly block other sandboxed commands from the same user.

Original changelog

On Windows, sandboxed shell commands in muse serve and muse acp now run once sandbox setup is complete, instead of failing with "setup has not run", and muse serve reports the sandbox as available

On Windows, stopping a background PowerShell session run without the sandbox and without tty now also ends the programs it started, including after its shell already exited

On Linux, a sandboxed command now finds its placeholder registry once, so a per-user runtime directory that appears while the command is starting no longer leaves one of its denied paths unprotected or refuses another sandboxed command of the same user

26

No-Op Hook Runs No Longer Write to Session Logs

With many hooks installed, they used to write to the session log and take up space even when they changed nothing.

Hooks that run after a tool call, after a batch of tool calls, or when a subagent starts no longer leave a record if they exit with code 0, write only whitespace to stderr, have no system message, have no error, and have no effect, even if they print to stdout. All other cases are recorded when they finish.

Hooks triggered when a prompt is submitted are omitted from the log only when they exit with code 0, write only whitespace to stderr, and have no added context, block, rewrite, system message, or error. Skipping these no-op records saves disk space, while everything else is logged as before. ⟦A building security guard on patrol used to write a long report for every locked door passed; now, when everything is fine, no paper is wasted, and a log entry is only written down when a door is opened or something looks off.⟧

Original changelog

A hook that runs after a tool call, after a batch of tool calls or when a subagent starts no longer leaves a record in the session log when it exits 0, writes nothing but whitespace to stderr, returns no system message, has no error and has no effect, even if it prints to stdout, so sessions with many hooks take less disk; any other run of these hooks is recorded when it ends

A hook that runs when a prompt is submitted no longer leaves a record in the session log when it exits 0, writes nothing but whitespace to stderr and adds or changes nothing (no context, block, rewrite, system message or error), so sessions with many prompt hooks take less disk; any other run of these hooks is recorded as before

27

SDK Connection Checks and Session Protocol Updates

When developers connect their own tools to this engine, both pre-connection version compatibility checks and post-task summaries have been updated in this release.

When starting a TypeScript SDK connection, you can now configure it to refuse connecting to a host that has declared a breaking protocol change; by default it still connects normally and provides a method to report the mismatch tier.

Session protocol completion records and shell items can include ordering position information to preserve completion order.

When requesting a recap through the SDK after a background task, monitor, or scheduled task finishes, it now summarizes that newly completed task instead of mistakenly summarizing your earlier message.

When an error occurs during resume, the session protocol no longer claims that a repaired log file was unchanged.

Original changelog

The TypeScript SDK can refuse to connect to a host whose protocol schema moved by a declared breaking change: pass refuseDeclaredBreakingSchema: true when spawning; by default the connection goes ahead and classifyServedSchema(initializeResult.schema) names the mismatch's tier

Session protocol completion and shell items can include terminalRowBeforeItemId to preserve completion order

A recap requested through the SDKs after a background task, monitor or scheduled task finishes now summarizes that work instead of your earlier message

Session protocol resume errors no longer claim a repaired log was unchanged