Skip to content

feat: enforce TeamRun ownership for agent turns#483

Merged
piorpua merged 8 commits into
mainfrom
feat/team-run-agent-turn-ownership
Jun 17, 2026
Merged

feat: enforce TeamRun ownership for agent turns#483
piorpua merged 8 commits into
mainfrom
feat/team-run-agent-turn-ownership

Conversation

@piorpua

@piorpua piorpua commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add TeamRun source metadata so user-message and recovery-drain turns can be distinguished in acknowledgements and run payloads.
  • Route mailbox backlog, user intervention, idle notifications, and recovery drains through TeamRun wake ownership before starting agent turns.
  • Restore persisted mailbox backlog through recovery-drain TeamRuns while preventing unowned mailbox backlog from starting stray turns.

Test Plan

  • just push -u origin feat/team-run-agent-turn-ownership
  • cargo nextest run --workspace (via just push): 6306 passed, 18 skipped
  • Local AionUi validation with TeamRun ownership logs and final mailbox drain

@piorpua piorpua merged commit 4cc168a into main Jun 17, 2026
6 checks passed
@piorpua piorpua deleted the feat/team-run-agent-turn-ownership branch June 17, 2026 12:02
piorpua pushed a commit that referenced this pull request Jun 17, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.31](v0.1.30...v0.1.31)
(2026-06-17)


### Features

* **assistant:** add built-in AionUi self-management assistant
([#474](#474))
([eea941e](eea941e))
* **assistant:** expand AionUi assistant into a butler with
remote-access ([#481](#481))
([794c21a](794c21a))
* enforce TeamRun ownership for agent turns
([#483](#483))
([4cc168a](4cc168a))
* **team:** support queued team_send_message semantics
([#479](#479))
([a57a079](a57a079))


### Bug Fixes

* **acp:** persist runtime model and mode into assistant preferences
([#482](#482))
([b9bcad9](b9bcad9))
* harden ACP image path handling
([#477](#477))
([c79b5a8](c79b5a8))
* **team:** retry handoff turns after runtime release
([#480](#480))
([77d252f](77d252f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

1 participant