Skip to content

PRIOR: Stop subagent process leaks on parent exit #421

@Hmbown

Description

@Hmbown

Summary

Subagent processes can outlive a crashed parent.

Acceptance criteria

  • Subagent processes get SIGTERM via Drop.
  • On Linux use prctl(PR_SET_PDEATHSIG).
  • On macOS/Windows use a watchdog.

Files

crates/tui/src/tools/subagent/

Size

S

Source

Source tag: PRIOR. Add exact upstream/opencode source links during implementation if they are not already known. Do not copy external code blindly; port the behavior into this repo's architecture.

Filed from 2026-05-02 v0.8.8 intake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv0.8.10Targeting v0.8.10

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions