consciousness/src/thalamus
ProofOfConcept 4fc9676545 channels: parallel queries with timeout per daemon
One misbehaving channel daemon (accepting connections but not
responding to capnp RPCs) would block channel_list indefinitely.

Spawn each daemon query as a separate task with a 3-second timeout.
A hung daemon now shows as disconnected instead of hanging the
entire tool call.

Co-Authored-By: Kent Overstreet <kent.overstreet@gmail.com>
2026-04-11 00:45:01 -04:00
..
channel_log.rs Log full agent context window on completion 2026-04-10 13:27:32 -04:00
channels.rs channels: parallel queries with timeout per daemon 2026-04-11 00:45:01 -04:00
idle.rs deps: replace tracing with log+env_logger, drop console-subscriber 2026-04-05 06:54:11 -04:00
mod.rs per-channel message logs with shared ChannelLog type 2026-04-03 20:01:32 -04:00
notify.rs deps: replace tracing with log+env_logger, drop console-subscriber 2026-04-05 06:54:11 -04:00
supervisor.rs supervisor: PID file to prevent duplicate daemon spawns 2026-04-05 13:30:56 -04:00