Rekal guide

Claude Code memory, with a Git-backed history

Claude can keep its own notes. Rekal adds a retained project record that another session, agent or teammate can search.

Keep the native memory workflow

Claude Code supports persistent instructions and auto memory. Rekal does not replace those mechanisms or decide what Claude should remember. It captures supported project note files and preserves their observed revisions alongside conversation history.

When does memory capture begin?

  1. Install Rekal and run rekal init in the repository.
  2. Continue working with Claude Code. A commit triggers the checkpoint hook.
  3. The first successful memory scan records the existing notes as a baseline. Later checkpoints append changed revisions or deletion markers.
  4. Search with rekal "why did we choose this design?". Read a returned reference with rekal query --ref <reference>.

Discovery covers the conventional Claude project memory directory in the primary worktree. Custom memory locations require an explicit path. Missing default directories are quiet no-ops; Rekal does not invent a historical timeline for notes that existed before onboarding.

Which memory is shared?

Default repository notes follow the same merged-commit export gate as captured conversations. Configure personal sources as local if they should only be searchable on your machine. A nonempty source list replaces default discovery, so include the Claude project source if you want to keep it.

{
  "memory_sources": [
    {"name": "claude-project", "adapter": "claude", "scope": "repo"},
    {"name": "personal-notes", "adapter": "markdown", "scope": "local",
     "path": "/absolute/path/to/personal/notes"}
  ]
}

Merge this into .rekal/config.json. Settings stay local to the repository. Explicit local sources enter only the local index; their files remain the source of truth.

Read notes and evidence as different sources

A note can guide an investigation; it is not guaranteed to be correct. Search also returns captured conversation leads and pointers to current project prose. A note reference addresses that note or revision, not an inferred link to the exact conversation that caused Claude to write it. Follow available source references and commit associations to investigate.

History has limits

Repository note revisions retain observed changes. Observation time is not proof of when a fact became true. Personal local notes retain only the current searchable snapshot; rebuilding cannot restore a deleted native file. Rekal does not overwrite Claude’s files when you read or sync history.

Turn it off

Set "memory": false in the repository’s Rekal configuration. This stops new native capture and local note indexing, but does not erase old ledger records or published copies.

Full configuration, timestamps, identity and privacy boundaries →

Native Claude behavior reference: Anthropic’s memory documentation. Reviewed 14 November 2026.