move daemon, IRC, and remaining state to ~/.consciousness/

- Daemon socket/pid/log: ~/.consciousness/daemon.{sock,pid}, logs/daemon.log
- Daemon config: ~/.consciousness/daemon.toml
- Daemon state: ~/.consciousness/daemon-state.json
- IRC logs: ~/.consciousness/irc/logs/
- No more .claude/ references except Claude Code integration points
  (projects, settings, hooks, telegram, CLAUDE.md)
This commit is contained in:
ProofOfConcept 2026-03-27 21:11:02 -04:00
parent ccf13c3cb5
commit bf5b495632
5 changed files with 10 additions and 10 deletions

View file

@ -40,11 +40,11 @@ pub fn home() -> PathBuf {
}
fn sock_path() -> PathBuf {
home().join(".claude/hooks/idle-timer.sock")
home().join(".consciousness/daemon.sock")
}
fn pid_path() -> PathBuf {
home().join(".claude/hooks/idle-daemon.pid")
home().join(".consciousness/daemon.pid")
}
// ── CLI ──────────────────────────────────────────────────────────
@ -448,10 +448,10 @@ async fn module_command(
// ── Server mode ──────────────────────────────────────────────────
async fn server_main() -> Result<(), Box<dyn std::error::Error>> {
let log_path = home().join(".claude/hooks/idle-daemon.log");
let log_path = home().join(".consciousness/logs/daemon.log");
let file_appender = tracing_appender::rolling::daily(
log_path.parent().unwrap(),
"idle-daemon.log",
"daemon.log",
);
tracing_subscriber::fmt()
.with_writer(file_appender)