forked from kent/consciousness
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> |
||
|---|---|---|
| .. | ||
| agent_cycles.rs | ||
| context.rs | ||
| hook.rs | ||
| idle.rs | ||
| mcp-server.rs | ||
| memory-search.rs | ||
| mod.rs | ||
| poc-daemon.rs | ||
| poc-hook.rs | ||
| rpc.rs | ||
| tmux.rs | ||