Skip to content

Start retained worker turns from resume_agent immediately - #730

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-7265-make-resume_agent-start-retained-turns-and-delete
Aug 31, 2026
Merged

Start retained worker turns from resume_agent immediately#730
TheGreatAxios merged 2 commits into
mainfrom
cl-7265-make-resume_agent-start-retained-turns-and-delete

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • resume_agent takes a message, starts the next retained worker turn, and returns running so wait_agents can collect.
  • send_input steers only an in-flight turn; closed workers stay closed.
  • Follow-up turns flip strip status to running and get a fresh interrupt signal so interrupt_agent can abort them.

Verification

  • Typecheck and build passed; targeted tests passed.
  • Full bun run test was blocked by host git hooks rejecting fixture authors (CL-7267 is the helper for that).

Fixes CL-7265

@linear-code

linear-code Bot commented Aug 31, 2026

Copy link
Copy Markdown

CL-7265

resume_agent now takes a message, starts the next turn, and returns running so wait_agents can collect. send_input steers only an in-flight turn. Closed workers stay closed.

Follow-up turns also flip strip status to running so send_input, interrupt_agent, and transcript events work mid-resume. Each followup send gets a fresh interrupt signal so interrupt_agent can abort it.
A rejected resume_agent followup left status running, so interrupt_agent succeeded with no turn in flight. Restore done or interrupted linger, and keep interruptOne's stamp if the followup then aborts. Shipped 0.3.0 and 0.3.1 notes keep followup_task.
@TheGreatAxios
TheGreatAxios force-pushed the cl-7265-make-resume_agent-start-retained-turns-and-delete branch from 3fff7f1 to e555abd Compare August 31, 2026 15:45
@TheGreatAxios
TheGreatAxios merged commit af31a1b into main Aug 31, 2026
5 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.

1 participant