Skip to content

T-T3M7-replace-the-raw-child-process-spawnsync-command-seam

State: closed/done · Impact: low · Complexity: small

From the Phase-4 audit’s recommended task list (docs/planning/notes/N-OCUK-2026-09-24-sdlc-1-0-audit.md, on origin/sdlc/p4-audit): Replace the raw child_process.spawnSync command-seam violations in cli/tests/lease_dispatch.test.ts and backlog_cli/tests/create.test.ts; dedupe Bun.spawn test helpers onto _cli_harness.ts.

AreaNote
cli/tests/lease_dispatch.test.ts, backlog_cli/tests/create.test.ts, _cli_harness.ts
  • AC-1: Neither test file calls child_process.spawnSync directly; both go through the command seam or _cli_harness.ts.
  • AC-2: No ad hoc Bun.spawn capture helper remains duplicated outside _cli_harness.ts.
  • none
  • none

← Back to Tasks