consciousness/src/user
Kent Overstreet 0e459aae92 thalamus/supervisor: reap channel daemons via SIGCHLD instead of SIG_IGN
SIGCHLD=SIG_IGN at main() was auto-reaping all children in the kernel,
which broke tokio::process::Command::wait() — every tool that spawned a
subprocess (bash, mcp clients) was getting ECHILD because tokio couldn't
waitpid() on a child the kernel had already reaped.

Replace with a SIGCHLD signal handler task that reaps only PIDs listed in
channels_dir() (via waitpid(pid, WNOHANG) — ECHILD on non-child is a
harmless no-op). Tokio-spawned children aren't in PID files, so tokio's
own per-child wait paths are untouched.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-24 11:54:25 -04:00
..
amygdala.rs amygdala: default to index 0 for v2 deep manifest (layers 62, 63) 2026-04-18 02:32:51 -04:00
chat.rs user/chat: route Thinking to a new Autonomous pane 2026-04-24 11:54:25 -04:00
compare.rs user: share candidate-browser helpers between F6/F7 2026-04-17 16:22:30 -04:00
context.rs config: drop dead code and collapse to a single backend 2026-04-16 15:41:55 -04:00
learn.rs user: share candidate-browser helpers between F6/F7 2026-04-17 16:22:30 -04:00
mod.rs thalamus/supervisor: reap channel daemons via SIGCHLD instead of SIG_IGN 2026-04-24 11:54:25 -04:00
scroll_pane.rs user: fix text selection on wrapped lines 2026-04-12 15:49:57 -04:00
selectable.rs selectable: silence unused method warning 2026-04-12 16:10:58 -04:00
subconscious.rs subconscious screen: show full context window 2026-04-12 01:45:10 -04:00
thalamus.rs thalamus: add thinking mode toggles (native + tool) 2026-04-14 18:25:00 -04:00
unconscious.rs user: remove dead scroll state from thalamus and unconscious screens 2026-04-11 01:35:15 -04:00
widgets.rs user: share candidate-browser helpers between F6/F7 2026-04-17 16:22:30 -04:00