⬢github C++ · 3 ★ · pushed 1 d ago · MIT
Cardinal44/corral
Corral is a Linux command runner that guarantees no process survives when your command finishes. Unlike normal runners that signal only direct children, it uses cgroup v2 (or a /proc-scanning subreaper fallback) to kill the entire process tree — daemons, orphaned processes, SIGTERM-ignoring processes — and exits with code 120 if it can't verify cleanup. It also offers time limits, memory/pid/output caps, and JSON audit records.
Why now: It was just shown on Hacker News ('Show HN') as a fix for a pain point in AI coding agents and CI, where spawned daemons and background processes leak ports, locks, and CPU across runs.
Who it is for: Developers running AI coding agents, CI pipelines, or test harnesses on Linux who need to guarantee leftover processes are dead after each run.
Stars over our 13 snapshots: 3 to 3, since 3 h ago.
Where people talked about it
API: https://socialmediatrends-api.osmike.com/v1/repos/Cardinal44/corral