consciousness/src/claude
Kent Overstreet f4def8d03b Fix: reap stale agent pid files in poc-hook
scan_pid_files was removed as dead code but it was actually needed
by the hook path — the bug was that it was never wired in. Add
reap_agent_pids() directly to poc-hook.rs and call it on every
UserPromptSubmit. Kills timed-out agents (10min) and cleans up
pid files for dead processes.

Also remove dead subconscious/subconscious.rs (420 lines) — was
forked to claude/agent_cycles.rs and never removed.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-07 13:27:59 -04:00
..
agent_cycles.rs call_api_with_tools_sync() -> src/agent/oneshot.rs 2026-04-07 01:00:39 -04:00
context.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
hook.rs call_api_with_tools_sync() -> src/agent/oneshot.rs 2026-04-07 01:00:39 -04:00
idle.rs deps: replace tracing with log+env_logger, drop console-subscriber 2026-04-05 06:54:11 -04:00
mcp-server.rs tools: static string definitions, no runtime JSON construction 2026-04-04 18:19:21 -04:00
memory-search.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
mod.rs call_api_with_tools_sync() -> src/agent/oneshot.rs 2026-04-07 01:00:39 -04:00
poc-daemon.rs move Claude Code-specific code from thalamus/ to claude/ 2026-04-03 19:26:24 -04:00
poc-hook.rs Fix: reap stale agent pid files in poc-hook 2026-04-07 13:27:59 -04:00
rpc.rs Upgrade capnp 0.20 → 0.25, capnp-rpc 0.20 → 0.25 2026-04-07 12:29:44 -04:00
tmux.rs deps: replace tracing with log+env_logger, drop console-subscriber 2026-04-05 06:54:11 -04:00