The client supplies the conversation boundary

Background operation requires the client to send an X-Conversation-Id header. The documentation says that this identifier comes from the client, never the model. With background=true, a command initially remains attached; if it is still running after background_after_seconds, the call returns output collected so far and a task_id. The default wait is one second. A command finishing sooner returns normally. Without the header, ordinary commands preserve their previous blocking behavior, while requesting a background launch produces an error rather than silently creating an unowned task.

Output and lifecycle controls are separate

A new background_task tool supports listing tasks, reading output and stopping tasks belonging to the conversation. HTTP routes also allow a running command to move into the background, expose task events through server-sent events and retrieve output from a specified offset. Each task retains up to 256 kilobytes of output, with a skipped field indicating that older data was dropped. Output notifications are limited to at most one every 500 milliseconds per task. This provides incremental observation, not an unlimited log archive for an indefinitely running process.

Background execution removes the timeout

A command launched for background execution has no timeout. Moving an attached command into the background also removes its existing timeout. Consequently, a short timeout configured for an ordinary call does not guarantee that the process will stop after being detached. The API can stop a task and the processes it started, and server shutdown stops all remaining tasks. Random identifiers make other conversations’ tasks harder to guess, but they are not a substitute for authentication or appropriate server access controls. Operators still need an explicit policy for the lifetime and privileges of long-running commands.

Experimental support has a concrete compatibility limit

Server tools remain experimental. The final implementation rejects background launches through a tools runtime because that combination is not supported yet. Managed background processes therefore should not be described as a new sandbox guarantee for arbitrary shell commands. The pull request adds tests covering early completion, output events, stopping tasks, conversation separation and timeout removal. We reviewed the changes and test definitions without running them locally. A separate redesign of the task-list interface should also not be assumed to ship as part of this release merely because it is discussed alongside the backend work.