gate-harness-process-isolation

Installation
SKILL.md

Runtime projection of SKILL_GATE_HARNESS_PROCESS_ISOLATION_001. Edit the canonical, not this file. Source of truth: platform/sdlc/13_skills/active/SKILL_GATE_HARNESS_PROCESS_ISOLATION_001.playbook.md

Gate Harness Process Isolation

Gate Harness Process Isolation

When to invoke

Triggers: "harness timeout", "retry storm", "test runner hang", "perl alarm", "bash timeout", "process leak", "orphan PID", "CI gate hanging", "macOS test runner", any CI/gate runner on macOS/BSD that uses shell timeouts (perl alarm, timeout wrapped in bash -c, kill $!).

Core directive

Shell-based timeouts do NOT terminate descendant process groups on non-Linux POSIX systems. When a harness times out a wrapped command, child processes orphan to launchd (macOS) or init, accumulate, and cause retry-storms. MANDATORY: ensure the timeout wrapper kills the entire process group.

Installs
1
First Seen
Jun 16, 2026