Skip to content

Commit 605b2cd

Browse files
authored
Merge pull request #7 from nickroci/feat/decay
feat(decay): slice 1 — surfacing-aware memory decay
2 parents 02e7de8 + 72cf172 commit 605b2cd

19 files changed

Lines changed: 1441 additions & 30 deletions

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,10 @@ prior-art/
1313
.claude/
1414
local/
1515
.coverage
16+
17+
# Derived search indexes (BM25 + sentence-transformer embeddings) —
18+
# rebuilt on demand from the markdown corpus they index. The daemon
19+
# writes the production indexes to ~/.agent-mem/.bm25.idx /
20+
# .embeddings.idx; test fixtures regenerate theirs in tmpdirs.
21+
.bm25.idx
22+
.embeddings.idx

README.md

Lines changed: 67 additions & 5 deletions
Large diffs are not rendered by default.

daemon/README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
# agent-mem-daemon
22

3-
The long-running event-ingest daemon for **agent-mem** (see
4-
`/Users/nicholasholden/agent-mem/PLAN.md`). This package is the
5-
**skeleton phase**: it nails the plumbing — JSONL tail, rolling buffer,
6-
turn aggregation, Librarian/Scholar scheduling, backpressure, PID/log
7-
lifecycle — but the Librarian and Scholar themselves are stubs that log
8-
"would have done X". The real LLM-driven Librarian/Scholar are a
9-
separate deliverable.
3+
The long-running event-ingest daemon for **agent-mem**. See the
4+
repo-root `README.md` for the project-level overview and design; this
5+
file documents the daemon's frozen contracts (event-log schema,
6+
scheduler invariants) and how to dogfood the plumbing without the
7+
LLM curator running.
108

119
## Install / run
1210

1311
```bash
14-
cd /Users/nicholasholden/agent-mem/daemon
12+
cd <repo>/daemon
1513
uv sync --group dev
1614
uv run pytest # unit tests
1715
uv run agent-mem-daemon -v # foreground; logs to ~/.agent-mem/daemon.log + stderr
@@ -155,7 +153,7 @@ Terminal 1 (the daemon, foreground, verbose):
155153
```bash
156154
mkdir -p /tmp/agent-mem-test
157155
AGENT_MEM_HOME=/tmp/agent-mem-test \
158-
uv run --project /Users/nicholasholden/agent-mem/daemon \
156+
uv run --project <repo>/daemon \
159157
agent-mem-daemon -v \
160158
--scholar-every-k 2 \
161159
--scholar-every-m-secs 30

0 commit comments

Comments
 (0)