{"version":"2.1.332","anchor":"async-agent-stall-watchdog-waits-for-repl-scripts","canonical_anchor":"async-agent-stall-watchdog-waits-for-repl-scripts","heading":"Background agents are not flagged as stalled while a script runs","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/async-agent-stall-watchdog-waits-for-repl-scripts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Background agents are not flagged as stalled while a script runs\n\nThe check that flags a stalled background agent now waits while a REPL script is waiting, and rounds the seconds in its message\n\n**Unclear.** This waiting depends on a setting that was not identified, so it may not be switched on.\n\n**What**\n\nA background agent is a helper that works on a task while the main conversation continues. Claude Code watches these agents and flags one as stalled if it seems stuck. That check now also waits while the agent's REPL script, an interactive script session, is waiting. Before, it waited only while a tool was running. The stall message now rounds the number of seconds.\n\n**Why**\n\nAn agent that is waiting on a script is less likely to be wrongly reported as stalled.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}