Skip to content

feat: persistent agent memory across conversations and restarts#46

Merged
RatulMaharaj merged 1 commit into
mainfrom
worktree-persistent-memory
Jul 5, 2026
Merged

feat: persistent agent memory across conversations and restarts#46
RatulMaharaj merged 1 commit into
mainfrom
worktree-persistent-memory

Conversation

@RatulMaharaj

Copy link
Copy Markdown
Member

Summary

  • Closes Persistent agent memory #37. Adds memory.persistent: true, giving the agent remember/recall/list_memories/forget tools backed by a new memories table in its own SQLite file — distinct from memory.scope: thread's per-conversation transcript replay.
  • Remembered keys are listed cheaply in the system prompt (progressive disclosure, mirroring skills); values are fetched on demand via recall/list_memories.
  • Every remember/forget call lands in the existing audit trail as a kind: "memory" event; reads aren't audited, consistent with read-only tools elsewhere.
  • Adds a dedicated docs/memory.md capability page, and updates docs/agent-file.md and docs/docker-run.md's data-volume section accordingly.

Test plan

  • deno task test — 105 passed, 0 failed (new coverage in store_test.ts and packages/core/tools/memory_test.ts)
  • deno check on all touched files
  • deno fmt --check / deno lint clean
  • schema/agent.json regenerated via deno task gen-schema

🤖 Generated with Claude Code

https://claude.ai/code/session_01K6wwrBFR7kYybfWNzjJx4t

Adds memory.persistent: true, giving the agent remember/recall/list_memories/
forget tools backed by a new `memories` table in its own SQLite file —
independent of memory.scope: thread's per-conversation transcript. Writes and
deletes land in the audit trail; remembered keys are listed cheaply in the
system prompt, values fetched on demand (same progressive-disclosure shape
as skills). Adds a dedicated Memory doc page and updates the data-volume docs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K6wwrBFR7kYybfWNzjJx4t
@RatulMaharaj RatulMaharaj merged commit 36849cd into main Jul 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persistent agent memory

1 participant