Part of the AI Coding Harness Guide — environment design for coding agents in production.

Claude Code "Held message from another session": the Always deliver prompt#

Published by

When another of your Claude Code sessions sends a message to this one, Claude Code can hold it and ask before it reaches Claude. The prompt, titled "Held message from another session," gained an "Always deliver" option named in the v2.1.332 release notes.[1] Choosing it writes "crossSessionInbound": "accept" so later messages from your sessions arrive without review. Set it back to hold, or refuse to opt a session out, in /config under "Messages from your other sessions."

Why the prompt appears#

Claude Code sessions on one machine, and your cloud and Remote Control sessions, can send each other messages with SendMessage. By default an incoming message is not delivered straight to Claude. Whether it is held depends on mode parity between the sending session and this one:

Sender's permission modeThis sessionResult
Prompting (asks before acting)PromptingDelivered
Bypassing permission promptsBypassing permission promptsDelivered
A mode that does not match this oneEitherHeld for your approval
A sender that asserts no modePromptingHeld
A sender that asserts no modeBypassing permission promptsDelivered

A held message pauses until you answer the prompt. "Your sessions" means any program running as you on this computer; the prompt also reaches messages from your cloud and Remote Control sessions.

What the prompt offers#

The "Held message from another session" prompt names the sender, shows the message body that would be delivered, and offers four choices:

  • Deliver this message to Claude delivers this one message and nothing more.
  • Always deliver in this session delivers it and sets this session to accept later messages. It applies to the current session only and is not saved to a settings file.
  • Always deliver in every session on this computer delivers it and writes "crossSessionInbound": "accept" to ~/.claude/settings.json, so every session now and in future accepts without review.
  • No, go back leaves the message held.

The computer-wide choice shows a confirmation first: "Messages from any sender, on any computer or in the cloud, will reach Claude without your review, now and in new sessions. That includes sessions that run commands without asking." It also notes, "A session that has read something malicious could pass instructions on."

Set it in /config or settings.json#

The control behind the prompt is the crossSessionInbound setting, shown in /config under Messages from your other sessions. It takes three values:

ValueEffect
acceptDelivers messages from your other sessions without a prompt.
holdParks them for your review without letting Claude act.
refuseOpts this session out; messages are not delivered.

An explicit value always wins. With the setting unset, delivery follows the mode-parity rule in the table above.

To accept every time, set it by hand in ~/.claude/settings.json for all projects, or in .claude/settings.json for one:

{
  "crossSessionInbound": "accept"
}

To go back to holding and prompting, set the value to hold, or clear the row in /config:

{
  "crossSessionInbound": "hold"
}

To keep a session from receiving cross-session messages at all, use "crossSessionInbound": "refuse".

Accept pauses in bypass mode#

"Always deliver in this session" does not stay on while that session runs commands without asking. Claude Code pauses it and shows: "Always deliver is paused because this session now runs commands without asking. The next held message will ask you again. It comes back on when this session asks before acting." The next cross-session message prompts again, and accept resumes once the session returns to asking before it acts. The /config row reflects this as "Always deliver in this session paused in bypass mode." The persistent accept setting still delivers to any sender, including sessions that run commands without asking, which is why the computer-wide confirmation calls that out.

Should you turn Always deliver on?#

Turn it on for a fleet you control, where one session routes work to another and a prompt on every hand-off is friction. A session running /loop or a scheduled task cannot answer a held-message prompt, so without accept its inbound messages wait. Leave it on hold, or unset so mode parity decides, when a session reads untrusted input such as web pages, issue text or MCP tool results, because a message from such a session can carry instructions it picked up. Prefer the per-session "Always deliver in this session" over the computer-wide setting when only one workflow needs it.

isolatePeerMachines requires explicit approval before SendMessage can reach a peer session on another machine through Remote Control. It is separate from crossSessionInbound, which governs messages arriving at this session, and is worth setting when your sessions span more than one computer.

Timeline#

VersionPublishedChange
v2.1.3312026-11-23The "Always deliver held messages?" prompt and its per-session and computer-wide choices appear.
v2.1.3322026-11-24The release notes add "Always deliver" to the prompt for held messages from other sessions.

FAQ#

Q: What does "Held message from another session" mean in Claude Code?

A: Another of your Claude Code sessions sent this one a message, and Claude Code held it instead of delivering it to Claude. It waits until you answer the prompt or until a setting lets it through.

Q: What does the "Always deliver" option do?

A: It delivers the held message and sets this session, or every session on this computer, to accept later messages from your sessions without a prompt. The computer-wide choice writes "crossSessionInbound": "accept" to ~/.claude/settings.json.

Q: How do I stop the held-message prompts?

A: Set "crossSessionInbound": "accept" in settings.json, or choose "Always deliver" in the prompt. To keep reviewing, leave it on hold.

Q: How do I block messages from my other sessions entirely?

A: Set "crossSessionInbound": "refuse". That session no longer receives cross-session messages.

Q: Why are messages from one session delivered and another held?

A: With the setting unset, delivery follows mode parity. A message is delivered when the sending session's permission mode matches this one (both asking, or both bypassing prompts), and held when they differ.

Q: Why did Always deliver stop working after I entered bypass mode?

A: A per-session "Always deliver" pauses while the session runs commands without asking. The next held message prompts again, and it resumes when the session goes back to asking before it acts.


Sources: [1] Claude Code changelog, v2.1.332

Related: Always-On Agents in Claude Code | Claude Code v2.1.332 analysis | Can an MCP server tell Claude Code to hide things?

Get the weekly digest

New Claude Code, Codex, Gemini CLI and OpenCode guides and release analyses, once a week, plus occasional notes.

One email a week plus occasional notes. Confirm by email; unsubscribe from any issue. Privacy