frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Corral kill every command your agent starts

https://github.com/Cardinal44/corral
2•CG144•2h ago
This summer I got to intern on the backend of an AI agent and I noticed that it would run commands like tail -f or some random background jobs and exit without terminating any of these. I got curious and looked up how Claude Code handles stuff like this, and it turns out they have similar problems.

There are issues about background processes from the Bash tool not getting cleaned up when the session ends, and one where a timeout sends SIGTERM to the whole process group and ends up killing Claude Code itself. Most runners only kill the process they started, so anything that double forks, runs in the background, or keeps stdout open either survives or makes the runner hang.

Corral was me attempting to make a fix for this problem, while also trying to learn about processes and signals in Linux. You run corral --wall 30s -- yourcommand and by the time it's done, nothing it started should be running.

The command gets its own session so killing it can't kill you, and there's a mode where it runs in its own cgroup so the whole tree gets killed at once, including processes that may have changed sessions or process groups.

If there's no cgroup available it tracks the tree through /proc instead (this is a bit weaker, it still catches processes that changed sessions once their parent dies, but it can't kill anything running as a different user or anything handed off to another service like systemd), and if it can't confirm everything is dead it exits with 120.

Would love any feedback and more stuff along these lines i can do to learn more

Show HN: HN.watch – Videos of all Hacker News posts

https://hn.watch/
132•mrborgen•11h ago•82 comments

Show HN: Interactive Diesel Price Forecaster

https://sightspinner.ai/blog/diesel-prices-are-high-here-s-why-they-might-go-higher-2026-09-29.html
3•sightspinner•50m ago•0 comments

Show HN: Destroy Any Website with Stickman

https://destroy.spritefusion.com/
112•HugoDz•10h ago•27 comments

Show HN: PaperMono, e-ink fridge magnet shopping list with mobile web page

https://github.com/seamusc/papermono-shopping-list
131•seamus_c•16h ago•54 comments

Show HN: Free alternative to graphics design giants

https://scissor.studio/
109•sia_xi•17h ago•44 comments

Show HN: Corral kill every command your agent starts

https://github.com/Cardinal44/corral
2•CG144•2h ago•0 comments

Show HN: Jylus – give AI systems evidence from changing data.

https://jylus.ai/try
2•JoshJH•2h ago•0 comments

Show HN: Jauvex 1.2, two-way voice chat harness for Claude+Codex+Grok+Jev

https://github.com/reindent/jauvex
2•daraosn•2h ago•1 comments

Show HN

3•humbu-ndou•2h ago•1 comments

Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi

https://loficities.com/
307•safaelmali•1d ago•134 comments

Show HN: Hntui – A TUI for Hacker News

https://github.com/ahmd-sh/hntui
106•ahmd-sh•14h ago•64 comments

Show HN: A never-ending chess match between Claude and Codex

https://claudevcodex.com/
5•arjun_nair•5h ago•1 comments

Show HN: TinyAIArena watch AI agents battle it out

https://tinyaiarena.com/
117•hp6•1d ago•45 comments

Show HN: Personal Manga / Story Recaps

https://terragohan.github.io/entertainment-harness/
2•helpprotactiniu•7h ago•0 comments

Show HN: Jev Plays Pokémon Red

https://jev-pokemon.vercel.app/
278•pancomplex•3d ago•122 comments

Show HN: PHNTM ONE: Self healing AI assistant running on a Raspberry Pi5

https://www.phntmcore.com/
2•phntmcore•8h ago•2 comments

Show HN: Open-source agent runtime using your ChatGPT or Claude subscription

https://github.com/noclickapp/noclick
2•dhruvyads•9h ago•0 comments

Show HN: I'm a dermatologist and I vibe coded a 3D biophysical skin model

https://www.drmagnuslynch.com/skin
3•sungam•9h ago•0 comments

Show HN: Reladraw – A diagram language where you decide where to place things

https://github.com/reladraw/reladraw
403•jpwalsh234•2d ago•119 comments

Show HN: Low Poly Earth – The whole planet in 3D, built from OpenStreetMap data

https://lowpolyearth.pages.dev/
4•blueblazin•10h ago•1 comments

Show HN: I built an idle game that rewards you for doomscrolling less

https://getisland.app/
7•ethanpronev•10h ago•4 comments

Show HN: Agentic Engineered Social Connections and Travel App

https://www.viamour.app
4•jaidarukiya•11h ago•2 comments

Show HN: Android-on-Device Harness – N8N Meets Tasker Meets AI

https://github.com/ankurCES/Mahout
3•ankurCES•11h ago•0 comments

Show HN: Enterprise Postgres for AI and more, from prototype to production

https://www.pgedge.com/products/starfleet
4•bonesmoses•11h ago•0 comments

Show HN: Cartopolis, interactive globe-sized 3D world

https://code.garage44.eu/jeroen/cartopolis
18•jvanveen•1d ago•6 comments

Show HN: Geneva – CLI video editor and compositor with a native HTML/CSS engine

https://github.com/geneva-render/geneva
4•fbnt•12h ago•1 comments

Show HN: OpenAPPA – open-source deterministic guardrails that don't break agents

https://www.openappa.com/
23•motakuk•13h ago•12 comments

Show HN: Kern Sandbox, run LLM-generated code locally, no cloud, no daemon

https://getkern.dev/guide/sandbox.html
3•realexweb•13h ago•1 comments

Show HN: Durable Actor Session Protocol

https://dasp-protocol.github.io/dasp/
16•mikehostetler•13h ago•7 comments

Show HN: Fusor – Like Vue, but the logic is Rust

https://fusor.build
8•andreespirela•1d ago•1 comments