consciousness/src/subconscious
Kent Overstreet fba8fcc587 Fix UTF-8 slicing panics: use floor_char_boundary for all truncation
Byte-position truncation (&s[..s.len().min(N)]) panics when position
N lands inside a multi-byte character. Fixed in parser debug logging,
API error messages, oneshot response logging, and CLI agent display.

Also fixed tool dispatch permissions (removed global fallback).

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-08 19:35:01 -04:00
..
agents Fix restore_from_log panic on Thinking entries, fix bail nullglob 2026-04-08 10:39:07 -04:00
audit.rs Kill log callback — use ConversationEntry::Log for debug traces 2026-04-07 01:23:22 -04:00
consolidate.rs Reduce pub visibility: hippocampus, subconscious internals 2026-04-07 17:29:12 -04:00
daemon.rs Kill log callback — use ConversationEntry::Log for debug traces 2026-04-07 01:23:22 -04:00
defs.rs Fix UTF-8 slicing panics: use floor_char_boundary for all truncation 2026-04-08 19:35:01 -04:00
digest.rs WIP: Agent/AgentState — 36 errors remaining, all .lock() → .state.lock() or .context.lock() 2026-04-08 15:40:36 -04:00
learn.rs Clean up warnings: StreamToken pub, dead oneshot code, SkipIndex 2026-04-08 16:35:57 -04:00
mod.rs Fix: reap stale agent pid files in poc-hook 2026-04-07 13:27:59 -04:00
prompts.rs Reduce pub visibility: hippocampus, subconscious internals 2026-04-07 17:29:12 -04:00