Skip to content

Stop must be absolute: kill the process tree, never reap live subagents #315

Closed

Description

@currentbits

From competitor trackers: 'stop' that does not stop (thread unstoppable across restarts), stopping that leaves monitors/dev servers running, and reapers that silently kill LIVE background subagents (Solenta has a related report in #175).

Stopping a thread must kill the whole spawned process tree including background tasks the agent started, settle must not leave dev servers running, and no cleanup path may kill live child agents. Related: settle/stop behavior on settle for kimi background subagents (#175).

Activity

  1. added
    bug
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Deep-dive detail (Synara 0.6.3): control commands get admission PRIORITY — stop/interrupt jumps the ordinary command queue, with reserved capacity for recovery, and provider calls/lifecycle locks bounded so one wedged session cannot hold every other task hostage. Failed stop requests must surface an actionable error, never leave the UI spinning.

  3. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 23: absolute stop is the backend. Filed #478 for the key — Esc / Ctrl+C in the composer must call that stop. Without #478, #315 is a button nobody hits in time.

  4. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Oct 9, 2026
  5. currentbits commented on Oct 9, 2026

    @currentbits
    OwnerAuthor

    Stop is absolute: killTree signals the process group (proc.js:183), and Stop cascades to crew workers and dev servers (runner.js:2213-2221). The "never reap live subagents" half is tracked in #1443. Closing in the 2026-10-09 board cleanup (#1532).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions