Skip to content

[process-manager PM-5] Process runner: Deno.Command-native spawn + descendant-tree kill #516

Description

@rickylabs

Summary

Lean Deno.Command-native process runner (no dax): RuntimeCommandSpec + argv builders, buildEnvironment() trace injection (TRACEPARENT), TextLineStream output handling, and a correct descendant-tree kill (POSIX process-tree walk / Windows taskkill /T) — fixing pup's unfixed descendant-kill bug class.

Scope

Design source

  • research/design/d1-supervision-engine-core.md (D1-S4 + D1-S5) · plan.md §4 PM-5

Acceptance criteria

  • gate: spawn/stream/kill covered by tests incl. a descendant-tree kill test on both platforms' code paths
  • gate: no dax / no @std/io deprecated APIs — Web Platform + Deno.* only
  • gate: TRACEPARENT env injection present and tested
  • gate: scoped check/lint/fmt wrappers green (--ext ts,tsx)

Non-scope

  • Restart policy (PM-4); log persistence (PM-7).

Drift / Debt

  • none

RFC #820 amendment (owner-ratified 2026-07-17 — PR #822)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions