consciousness/src/mind
Kent Overstreet 64add58caa mind: move all slash commands to event_loop dispatch
All slash command routing now lives in user/event_loop.rs. Mind
receives typed messages (NewSession, Score, DmnSleep, etc.) and
handles them as named methods. No more handle_command() dispatch
table or Command enum.

Commands that only need Agent state (/model, /retry) run directly
in the UI task. Commands that need Mind state (/new, /score, /dmn,
/sleep, /wake, /pause) send a MindMessage.

Mind is now purely: turn lifecycle, DMN state machine, and the
named handlers for each message type.

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
2026-04-05 02:40:45 -04:00
..
dmn.rs split out src/mind 2026-04-04 02:46:32 -04:00
identity.rs split out src/mind 2026-04-04 02:46:32 -04:00
log.rs more reorg 2026-04-05 01:48:11 -04:00
mod.rs mind: move all slash commands to event_loop dispatch 2026-04-05 02:40:45 -04:00