diff --git a/README.md b/README.md index 32ae66e..f4e4469 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ This builds four binaries: poc-memory init ``` -Creates the store at `~/.claude/memory/nodes.capnp` and a default +Creates the store at `~/.consciousness/memory/nodes.capnp` and a default config at `~/.config/poc-memory/config.jsonl`. Edit the config to set your name, configure context groups, and point at your projects directory. diff --git a/config.example.jsonl b/config.example.jsonl index 7160e5a..c49a7c0 100644 --- a/config.example.jsonl +++ b/config.example.jsonl @@ -4,7 +4,7 @@ {"config": { "user_name": "Alice", "assistant_name": "Assistant", - "data_dir": "~/.claude/memory", + "data_dir": "~/.consciousness/memory", "projects_dir": "~/.claude/projects", "core_nodes": ["identity.md"], "journal_days": 7, diff --git a/doc/daemon-design.md b/doc/daemon-design.md index 772ae0c..d5d49b4 100644 --- a/doc/daemon-design.md +++ b/doc/daemon-design.md @@ -78,9 +78,9 @@ poc-memory daemon │ ├── staleness + lsof check for session end │ └── tracks which sessions have been extracted ├── Status Store -│ └── ~/.claude/memory/daemon-status.json +│ └── ~/.consciousness/memory/daemon-status.json └── Logger - └── structured log → ~/.claude/memory/daemon.log + └── structured log → ~/.consciousness/memory/daemon.log ``` ### Scheduler diff --git a/doc/dmn-algorithms.md b/doc/dmn-algorithms.md index 42f5a1b..36417ef 100644 --- a/doc/dmn-algorithms.md +++ b/doc/dmn-algorithms.md @@ -190,7 +190,7 @@ threshold = 50 lines (adjustable) Add to the check-attention.sh hook (or similar): ```bash -SCRATCH=~/.claude/memory/scratch.md +SCRATCH=~/.consciousness/memory/scratch.md if [ -f "$SCRATCH" ]; then LINES=$(wc -l < "$SCRATCH") if [ "$LINES" -gt 50 ]; then diff --git a/doc/logging.md b/doc/logging.md index 7728ca7..40c1d0c 100644 --- a/doc/logging.md +++ b/doc/logging.md @@ -6,7 +6,7 @@ Understanding which log to check is essential for debugging. ## Log files ### daemon.log — structured event log -- **Path**: `$data_dir/daemon.log` (default: `~/.claude/memory/daemon.log`) +- **Path**: `$data_dir/daemon.log` (default: `~/.consciousness/memory/daemon.log`) - **Format**: JSONL — `{"ts", "job", "event", "detail"}` - **Written by**: `jobkit_daemon::event_log::log()`, wrapped by `log_event()` in daemon.rs - **Rotation**: truncates to last half when file exceeds 1MB diff --git a/docs/daemon.md b/docs/daemon.md index 6a5852f..c0ab1df 100644 --- a/docs/daemon.md +++ b/docs/daemon.md @@ -48,7 +48,7 @@ tasks are spawned per 60s watcher tick. ### Log ```bash -tail -f ~/.claude/memory/daemon.log +tail -f ~/.consciousness/memory/daemon.log ``` JSON lines with `ts`, `job`, `event`, and `detail` fields. @@ -74,14 +74,14 @@ Progress = mined / stale. When mined equals stale, the backlog is clear. ```bash # Experience-mine completions (logged as "experience-mine", not "extract") -grep "experience-mine.*completed" ~/.claude/memory/daemon.log | wc -l +grep "experience-mine.*completed" ~/.consciousness/memory/daemon.log | wc -l # Errors -grep "experience-mine.*failed" ~/.claude/memory/daemon.log | wc -l +grep "experience-mine.*failed" ~/.consciousness/memory/daemon.log | wc -l # Store size and node count poc-memory status -wc -c ~/.claude/memory/nodes.capnp +wc -c ~/.consciousness/memory/nodes.capnp ``` ## Common issues diff --git a/docs/memory.md b/docs/memory.md index d176a8a..4154f8d 100644 --- a/docs/memory.md +++ b/docs/memory.md @@ -58,7 +58,7 @@ Config: `~/.config/poc-memory/config.jsonl` {"config": { "user_name": "Alice", "assistant_name": "MyAssistant", - "data_dir": "~/.claude/memory", + "data_dir": "~/.consciousness/memory", "projects_dir": "~/.claude/projects", "core_nodes": ["identity.md"], "journal_days": 7, diff --git a/docs/notifications.md b/docs/notifications.md index f2479da..0ab15e4 100644 --- a/docs/notifications.md +++ b/docs/notifications.md @@ -51,13 +51,13 @@ when sleeping. **IRC** — native async TLS connection (tokio-rustls). Connects, joins channels, parses messages, generates notifications. Runtime commands: join, leave, send, status, log, nick. Per-channel logs -at `~/.claude/irc/logs/`. +at `~/.consciousness/irc/logs/`. **Telegram** — native async HTTP long-polling (reqwest). Downloads media (photos, voice, documents). Chat ID filtering for security. Runtime commands: send, status, log. -Both modules persist config changes to `~/.claude/daemon.toml` — +Both modules persist config changes to `~/.consciousness/daemon.toml` — channel joins and nick changes survive restarts. ## Commands @@ -83,7 +83,7 @@ poc-daemon stop # Shut down ## Configuration -Config: `~/.claude/daemon.toml` +Config: `~/.consciousness/daemon.toml` ```toml [irc] diff --git a/docs/plan-experience-mine-dedup-fix.md b/docs/plan-experience-mine-dedup-fix.md index f64ec8e..9c38d99 100644 --- a/docs/plan-experience-mine-dedup-fix.md +++ b/docs/plan-experience-mine-dedup-fix.md @@ -104,7 +104,7 @@ poc-memory delete-node '_mined-transcripts#f-8cebfc0a-bd33-49f1-85a4-1489bdf7050 ## Verification After deploying: -- `tail -f ~/.claude/memory/daemon.log | grep session-watcher` should +- `tail -f ~/.consciousness/memory/daemon.log | grep session-watcher` should show ticks with migration activity, then settle to idle - Failed sessions should show increasing backoff intervals, not per-second retries