{"version":"2.1.274","anchor":"task-notification-coalescing-added-to-printheadless-mode","canonical_anchor":"task-notification-coalescing-added-to-printheadless-mode","heading":"Background task notifications can now be coalesced","tier":"notice","area":"Headless Mode","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274\/e\/task-notification-coalescing-added-to-printheadless-mode","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274","markdown":"### Background task notifications can now be coalesced\n\nClaude Code can batch multiple background task completion notifications together instead of showing each one separately\n\n**Unclear.** Whether and how the coalescing actually changes visible output in print\/headless mode is not confirmed, only that the supporting code and telemetry event were added.\n\n**What**\n\n- A new flag `tengu_swirling_meteor` controls whether task-stop notifications from background agents get coalesced (merged together) during a session's live loop.\n\n- Print\/headless mode gained a `coalesceTaskNotifications` option and a new `print_task_notification_coalesce` telemetry event, tracking how much held completion text and workload is batched.\n\n- The session's message-queue engine gained a `coalesceTaskNotifications` callback: when enabled, a queued task-notification whose text fits under a length budget is merged into the pending turn instead of being sent out as a separate message. This path is currently gated off by default.\n\n**Why**\n\nWhen several background tasks (like background agents or shell commands) finish around the same time, Claude Code can now group their completion notifications into one update instead of interrupting the session repeatedly.\n\n- Area: Headless Mode\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5"}