consciousness: update hardcoded paths from ~/.claude to ~/.consciousness

- thalamus/src/idle.rs: dream-start.sh path
- src/agent/dmn.rs: telegram/send.sh path

Part of the directory migration to make this an independent project.
This commit is contained in:
ProofOfConcept 2026-03-27 21:32:28 -04:00
parent 2b6c68bab2
commit 35d925186d
10 changed files with 17 additions and 17 deletions

View file

@ -102,7 +102,7 @@ impl State {
format!(
" WARNING: {} consecutive tool errors — you may be stuck. \
If Kent is here, ask him. If he's away, send a Telegram \
(bash: ~/.claude/telegram/send.sh \"message\") and yield.",
(bash: ~/.consciousness/telegram/send.sh \"message\") and yield.",
ctx.consecutive_errors
)
} else {
@ -158,7 +158,7 @@ impl State {
}
}
const OFF_FILE: &str = ".cache/poc-agent/dmn-off";
const OFF_FILE: &str = ".consciousness/cache/dmn-off";
/// Path to the DMN-off persist file.
fn off_path() -> PathBuf {

View file

@ -67,7 +67,7 @@ fn find_context_files(cwd: &Path, prompt_file: &str) -> Vec<PathBuf> {
/// Load memory files from config's context_groups.
/// For file sources, checks:
/// 1. ~/.config/poc-agent/ (primary config dir)
/// 1. ~/.consciousness/config/ (primary config dir)
/// 2. Project dir (if set)
/// 3. Global (~/.consciousness/)
/// For journal source, loads recent journal entries.
@ -78,7 +78,7 @@ fn load_memory_files(cwd: &Path, memory_project: Option<&Path>, context_groups:
};
// Primary config directory
let config_dir = home.join(".config/poc-agent");
let config_dir = home.join(".consciousness/config");
let global = home.join(".consciousness");
let project = memory_project
.map(PathBuf::from)

View file

@ -1,7 +1,7 @@
// observe.rs — Shared observation socket + logfile
//
// Two mechanisms:
// 1. Logfile (~/.cache/poc-agent/sessions/observe.log) — append-only
// 1. Logfile (~/.consciousness/agent-sessions/observe.log) — append-only
// plain text of the conversation. `poc-agent read` prints new
// content since last read using a byte-offset cursor file.
// 2. Unix socket — for live streaming (`poc-agent read -f`) and

View file

@ -331,7 +331,7 @@ pub struct ContextState {
}
// TODO: these should not be hardcoded absolute paths
pub const WORKING_STACK_INSTRUCTIONS: &str = "/home/kent/.config/poc-agent/working-stack.md";
pub const WORKING_STACK_INSTRUCTIONS: &str = "/home/kent/.consciousness/config/working-stack.md";
pub const WORKING_STACK_FILE: &str = "/home/kent/.consciousness/working-stack.json";
impl ContextState {