Skip to content

feat: notify main agent when background agents finish - #205

Merged
im10furry merged 1 commit into
shareAI-lab:mainfrom
RadicalGitter:codex/background-agent-notifications
Jul 22, 2026
Merged

feat: notify main agent when background agents finish#205
im10furry merged 1 commit into
shareAI-lab:mainfrom
RadicalGitter:codex/background-agent-notifications

Conversation

@RadicalGitter

Copy link
Copy Markdown
Contributor

Summary

  • emit a one-shot notification when a background agent completes, fails, or is killed
  • scope completion delivery to the owning session and surface it at the next main-agent turn
  • point the model to the task output file instead of injecting the full child result into context
  • document the behavior and cover completion, deduplication, session isolation, and terminal transitions

Motivation

Background shell jobs already surface <task-notification> messages, while background agent jobs currently require the parent to poll TaskOutput. This adds the same compact completion signal for agents without treating child output as accepted or consuming another session's event.

Verification

  • bun run format:check
  • bun run lint (0 errors; repository baseline warnings only)
  • bun run typecheck
  • bun run test (427/427 workspace test files passed)
  • bun run build

@im10furry
im10furry self-requested a review July 22, 2026 16:32
@im10furry im10furry self-assigned this Jul 22, 2026
@im10furry
im10furry marked this pull request as ready for review July 22, 2026 21:27
@im10furry
im10furry merged commit 712f92a into shareAI-lab:main Jul 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants