poc-daemon: subscribe to channel notifications, drop config.rs

Wire poc-daemon into channel daemon notifications via subscribe_all().
Channel notifications (IRC, telegram, tmux) now flow through the
existing notification pipeline instead of the dead module system.

Remove claude/config.rs — daemon config is fully covered by
channel config files in ~/.consciousness/channels/.

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2026-04-05 12:58:46 -04:00
commit 8c1fef3c69
5 changed files with 22 additions and 180 deletions

View file

@ -4,7 +4,6 @@
// notify::NotifyState, and module state. All state is owned by
// RefCells on the LocalSet — no Send/Sync needed.
use super::config::Config;
use super::idle;
use crate::thalamus::{daemon_capnp, notify};
use daemon_capnp::daemon;
@ -15,16 +14,11 @@ use log::info;
pub struct DaemonImpl {
state: Rc<RefCell<idle::State>>,
// TODO: replace with named channel map
_config: Rc<RefCell<Config>>,
}
impl DaemonImpl {
pub fn new(
state: Rc<RefCell<idle::State>>,
_config: Rc<RefCell<Config>>,
) -> Self {
Self { state, _config }
pub fn new(state: Rc<RefCell<idle::State>>) -> Self {
Self { state }
}
}