What
When Claude Code decides a session is idle, it can print the running task list plus teammate and notification state. Off unless you set CLAUDE_CODE_BG_TASKS_REPORT_RUNNING.
Evidence
CLAUDE_CODE_BG_TASKS_REPORT_RUNNING
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundleCLAUDE_CODE_BG_TASKS_REPORT_RUNNING
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up CLAUDE_CODE_BG_TASKS_REPORT_RUNNING, on Claude Code changelog.
* Fixed remote and headless sessions reporting "waiting for your input" while background agents were still running (set `CLAUDE_CODE_BG_TASKS_REPORT_RUNNING=0` to restore the old behavior)changelog see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up CLAUDE_CODE_BG_TASKS_REPORT_RUNNING, on Claude Code changelog.