Memory: /memory list+forget, /remember, memory counts in hx stats
This commit is contained in:
1 parent
8705b128ea
commit
45d296d911
8 files changed
+127
-7
No files matched your search
@@ -146,7 +146,7 @@ The agent keeps notes across sessions with `memory_write` / `memory_forget` / `m
|
||||
project (`.hx/memory/`, add it to `.gitignore`); global is `~/.hx/memory/`. `MEMORY.md` holds one hook line per
|
||||
topic, the full text lives in `topics/<slug>.md`. No entry cap: the system prompt shows the most recently
|
||||
used/written hooks up to 2 KB per scope plus "+N more"; `memory_search` (BM25 over all topics) finds the rest and
|
||||
refreshes recency. The prompt tells the agent to save decisions, conventions and corrections immediately. On
|
||||
refreshes recency. `/memory` lists entries (`/memory forget <scope/slug>` deletes), `/remember <text>` saves a note (`global:` prefix for global scope), `hx stats` shows memory writes, auto-extractions and searches. The prompt tells the agent to save decisions, conventions and corrections immediately. On
|
||||
compaction and on exit, one extra model call extracts up to 5 durable facts from the transcript and saves them
|
||||
automatically. The index is read at session start. `hx prefix` shows its size.
|
||||
|
||||
|
||||
Reference in new issue
Block a user