update docs to reference ~/.consciousness/ paths
Update README, config example, and all documentation to reference the new ~/.consciousness/ directory layout instead of ~/.claude/.
This commit is contained in:
parent
c3cd27ec22
commit
2b6c68bab2
9 changed files with 15 additions and 15 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue