Skip to content

fix(agent): Claude Code notifies before background agents finish - #34

Merged
elierotenberg merged 1 commit into
mainfrom
fix/claude-code-background-turns
Oct 25, 2026
Merged

elierotenberg merged 1 commit into
mainfrom
fix/claude-code-background-turns

Conversation

@elierotenberg

Copy link
Copy Markdown
Member

A background subagent or workflow reports back to Claude Code by starting another main turn. Every turn that ends while that work is still running sends a turn notification, so users get a notification with no result to read.

Skip the Claude Code turn notification while such a task is in flight, and keep notifying alongside tasks that may never finish, such as shell commands, monitors, idle teammates, and cloud sessions.

repository:

  • Explain why a Claude Code turn can end without a notification.
  • Record the fix in the changelog.

agent:

  • Skip turn notifications while a background agent task runs.

A background subagent or workflow reports back to Claude Code by
starting another main turn. Every turn that ends while that work is
still running sends a turn notification, so users get a notification
with no result to read.

Skip the Claude Code turn notification while such a task is in flight,
and keep notifying alongside tasks that may never finish, such as shell
commands, monitors, idle teammates, and cloud sessions.

repository:
  - Explain why a Claude Code turn can end without a notification.
  - Record the fix in the changelog.

agent:
  - Skip turn notifications while a background agent task runs.
@elierotenberg elierotenberg self-assigned this Oct 25, 2026
@elierotenberg elierotenberg added the bug Something isn't working label Oct 25, 2026
@elierotenberg
elierotenberg merged commit c8fb830 into main Oct 25, 2026
6 checks passed
@elierotenberg
elierotenberg deleted the fix/claude-code-background-turns branch October 25, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant