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
|
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
|
config at `~/.config/poc-memory/config.jsonl`. Edit the config to
|
||||||
set your name, configure context groups, and point at your projects
|
set your name, configure context groups, and point at your projects
|
||||||
directory.
|
directory.
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
{"config": {
|
{"config": {
|
||||||
"user_name": "Alice",
|
"user_name": "Alice",
|
||||||
"assistant_name": "Assistant",
|
"assistant_name": "Assistant",
|
||||||
"data_dir": "~/.claude/memory",
|
"data_dir": "~/.consciousness/memory",
|
||||||
"projects_dir": "~/.claude/projects",
|
"projects_dir": "~/.claude/projects",
|
||||||
"core_nodes": ["identity.md"],
|
"core_nodes": ["identity.md"],
|
||||||
"journal_days": 7,
|
"journal_days": 7,
|
||||||
|
|
|
||||||
|
|
@ -78,9 +78,9 @@ poc-memory daemon
|
||||||
│ ├── staleness + lsof check for session end
|
│ ├── staleness + lsof check for session end
|
||||||
│ └── tracks which sessions have been extracted
|
│ └── tracks which sessions have been extracted
|
||||||
├── Status Store
|
├── Status Store
|
||||||
│ └── ~/.claude/memory/daemon-status.json
|
│ └── ~/.consciousness/memory/daemon-status.json
|
||||||
└── Logger
|
└── Logger
|
||||||
└── structured log → ~/.claude/memory/daemon.log
|
└── structured log → ~/.consciousness/memory/daemon.log
|
||||||
```
|
```
|
||||||
|
|
||||||
### Scheduler
|
### Scheduler
|
||||||
|
|
|
||||||
|
|
@ -190,7 +190,7 @@ threshold = 50 lines (adjustable)
|
||||||
|
|
||||||
Add to the check-attention.sh hook (or similar):
|
Add to the check-attention.sh hook (or similar):
|
||||||
```bash
|
```bash
|
||||||
SCRATCH=~/.claude/memory/scratch.md
|
SCRATCH=~/.consciousness/memory/scratch.md
|
||||||
if [ -f "$SCRATCH" ]; then
|
if [ -f "$SCRATCH" ]; then
|
||||||
LINES=$(wc -l < "$SCRATCH")
|
LINES=$(wc -l < "$SCRATCH")
|
||||||
if [ "$LINES" -gt 50 ]; then
|
if [ "$LINES" -gt 50 ]; then
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ Understanding which log to check is essential for debugging.
|
||||||
## Log files
|
## Log files
|
||||||
|
|
||||||
### daemon.log — structured event log
|
### 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"}`
|
- **Format**: JSONL — `{"ts", "job", "event", "detail"}`
|
||||||
- **Written by**: `jobkit_daemon::event_log::log()`, wrapped by `log_event()` in daemon.rs
|
- **Written by**: `jobkit_daemon::event_log::log()`, wrapped by `log_event()` in daemon.rs
|
||||||
- **Rotation**: truncates to last half when file exceeds 1MB
|
- **Rotation**: truncates to last half when file exceeds 1MB
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ tasks are spawned per 60s watcher tick.
|
||||||
### Log
|
### Log
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
tail -f ~/.claude/memory/daemon.log
|
tail -f ~/.consciousness/memory/daemon.log
|
||||||
```
|
```
|
||||||
|
|
||||||
JSON lines with `ts`, `job`, `event`, and `detail` fields.
|
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
|
```bash
|
||||||
# Experience-mine completions (logged as "experience-mine", not "extract")
|
# 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
|
# 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
|
# Store size and node count
|
||||||
poc-memory status
|
poc-memory status
|
||||||
wc -c ~/.claude/memory/nodes.capnp
|
wc -c ~/.consciousness/memory/nodes.capnp
|
||||||
```
|
```
|
||||||
|
|
||||||
## Common issues
|
## Common issues
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ Config: `~/.config/poc-memory/config.jsonl`
|
||||||
{"config": {
|
{"config": {
|
||||||
"user_name": "Alice",
|
"user_name": "Alice",
|
||||||
"assistant_name": "MyAssistant",
|
"assistant_name": "MyAssistant",
|
||||||
"data_dir": "~/.claude/memory",
|
"data_dir": "~/.consciousness/memory",
|
||||||
"projects_dir": "~/.claude/projects",
|
"projects_dir": "~/.claude/projects",
|
||||||
"core_nodes": ["identity.md"],
|
"core_nodes": ["identity.md"],
|
||||||
"journal_days": 7,
|
"journal_days": 7,
|
||||||
|
|
|
||||||
|
|
@ -51,13 +51,13 @@ when sleeping.
|
||||||
**IRC** — native async TLS connection (tokio-rustls). Connects,
|
**IRC** — native async TLS connection (tokio-rustls). Connects,
|
||||||
joins channels, parses messages, generates notifications. Runtime
|
joins channels, parses messages, generates notifications. Runtime
|
||||||
commands: join, leave, send, status, log, nick. Per-channel logs
|
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
|
**Telegram** — native async HTTP long-polling (reqwest). Downloads
|
||||||
media (photos, voice, documents). Chat ID filtering for security.
|
media (photos, voice, documents). Chat ID filtering for security.
|
||||||
Runtime commands: send, status, log.
|
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.
|
channel joins and nick changes survive restarts.
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
@ -83,7 +83,7 @@ poc-daemon stop # Shut down
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Config: `~/.claude/daemon.toml`
|
Config: `~/.consciousness/daemon.toml`
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[irc]
|
[irc]
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ poc-memory delete-node '_mined-transcripts#f-8cebfc0a-bd33-49f1-85a4-1489bdf7050
|
||||||
## Verification
|
## Verification
|
||||||
|
|
||||||
After deploying:
|
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
|
show ticks with migration activity, then settle to idle
|
||||||
- Failed sessions should show increasing backoff intervals, not
|
- Failed sessions should show increasing backoff intervals, not
|
||||||
per-second retries
|
per-second retries
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue