Repository navigation
Answer a followup at once while an idle member integrates checked results - #63
Merged
Merged
Conversation
…ults A native followup to an idle member launched the member and waited for its turn to start. Before that turn, the launch integrates every pending delivery, helper submission, queued adoption and unadopted helper into the member workspace, which is Lean work. In balance-7 the Lead's tool call waited about five minutes for this, and the Lead soft-slice wait-limit interrupted the Lead turn mid-call. When an idle member has such pending integration and no queued task, followupNative now starts the integration in the background and rejects the followup at once with math_team_native_member_busy. When the integration finishes without failure, the host sends Lead a message that the member is ready, and Lead repeats the followup. 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.
A native
followup_tasksent to an idle member no longer holds the Lead's tool call while the member integrates checked results.Cause, from the balance-7 run:
followup_taskon an idle member, gold.Change (
agentTeam.ts):pendingIntegration(worker). It is true when the member has a pending delivery, a helper submission, a queued adoption, or a helper delivery it has not adopted yet. These are the same conditions the next launch would work through.followupNativestarts the integration in the background and rejects the followup at once withmath_team_native_member_busy.messageevent saying the member is ready. Lead then repeats the followup.Tests:
agentTeamNativeLifecyclecase: a peer's helpers land, Lead follows up the idle member while its integration is held, and the followup is rejected right away. Once the integration is released, Lead gets the ready message and the repeated followup starts the member's turn. Without the change the test times out.tsc --noEmitandbun run buildpass.Not done: no real-problem run. Running solvers were not changed. Independent of #62.
🤖 Generated with Claude Code