fix(agents): wire persistent teams and repair worker lifecycles - #950
Merged
Merged
Conversation
Test Results 5 files 1 021 suites 20m 24s ⏱️ Results for commit 99d6c49. ♻️ This comment has been updated with latest results. |
ericleepi314
added a commit
that referenced
this pull request
Sep 23, 2026
The news item and README highlight for the multi-agent refactor (#915, #950); the version bump across pyproject, the package fallback, install.sh, install.ps1 and uv.lock; and the changelog cut. The Unreleased block, backfilled with the PRs since v1.6.0 it had missed (nano among them), becomes 1.7.0, dated today, and the compare-link ladder gains 1.7.0. docs/NEWS.md gains the three items it had fallen behind on (v1.6.0 and both 2026-08-09 entries); the ZH README syncs to the EN top 10. The nano copy now reports both of its latest full-suite runs and drops the cost ratio until the pricing basis of the 08-16 run is checked; RUN_NANO_TB21.md records the round-3 (#900) run. The Bash pipe-drain fix that shipped with nano is listed under Fixed, since it changed every mode. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completed background workers previously could appear to resume without starting a model loop, and the team tools had no production path for persistent teammate execution. This change connects those lifecycles end to end: workers process follow-ups with their history, teammates remain available for assignments, and explicit messages reach the correct peer or leader.
The implementation also:
Validation and the comparison with the Claude Code reference are documented in
docs/multi-agent-runtime-verification.md. New end-to-end tests execute real query loops, tools, files, registries and WebSocket connections with a scripted external provider. A separate live DeepSeek smoke run passed background Read, same-ID resumption, peer-to-leader delivery, and approved shutdown/deletion.Validation:
git diff --checkpasses. Four new runtime modules pass targeted mypy. Full mypy has 395 baseline diagnostics vs. 397 before, with zero added diagnostics after line-number normalization.Scope: persistent teams are in-process, and local worker continuation is session-owned. Remote/pane/UDS backends and automatic crash recovery are not included. Observed token budgets gate new work; already-running requests can exceed the threshold. These limits and stale-roster handling are documented.