consciousness/src/subconscious/agents
ProofOfConcept 5d803441c9 cleanup: kill dead code, fix signal handler safety
- Remove unused now_secs(), parse_json_response, any_alive, Regex import
- Signal handler: replace Mutex with AtomicPtr<c_char> for signal safety
  (Mutex::lock in a signal handler can deadlock if main thread holds it)
- PidGuard Drop reclaims the leaked CString; signal handler just unlinks
- scan_pid_files moved to knowledge.rs as pub helper
- setup_agent_state calls scan_pid_files to clean stale pids on startup

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
2026-03-26 15:58:59 -04:00
..
bail-no-competing.sh cleanup: kill dead code, fix signal handler safety 2026-03-26 15:58:59 -04:00
calibrate.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
challenger.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
compare.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
connector.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
digest.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
distill.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
evaluate.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
extractor.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
health.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
linker.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
naming.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
observation.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
organize.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
reflect.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
rename.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
replay.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
separator.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
split.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
surface-observe.agent cleanup: kill dead code, fix signal handler safety 2026-03-26 15:58:59 -04:00
surface.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00
transfer.agent subconscious: flatten agents/ nesting, move prompts in 2026-03-25 01:10:25 -04:00