Skip to content

Memories

Memories are a separate archive object from conversation sessions. Hansard keeps the current provider memory content together with full-copy snapshots written when that content changes.

Run a backup pass explicitly:

Terminal window
hansard memory backup

The backup scans supported provider stores, refreshes the memory search index, and records unchanged items without creating duplicate content snapshots.

Supported sources include:

  • Claude Code project memory and global memory files.
  • Codex memories, global instructions, and rollout summaries.
  • Gemini memory instructions.
  • Antigravity knowledge and implicit stores.
  • Cursor pending memories and user rules.
  • Claude.ai memories included in imported exports.
  • Devin cloud knowledge when an API key is configured.

Open the Memories view in hansard app or hansard web. The rail groups items by project or global scope, while the detail pane shows current content, metadata, and snapshot history.

Use the rail search control or / to search all current memory content and metadata. Use Cmd/Ctrl+F to find text only inside the currently selected memory. Historical snapshots remain available in the detail view but are not included in archive-wide memory search.

When origin metadata is available, the viewer links a memory to its source conversation and links that conversation back to the memory.

Terminal window
hansard memory search "deployment preference"
hansard memory search "project convention" \
--provider codex \
--repo github.com/acme/widgets \
--limit 10

Search can filter by exact provider, repository, or origin:

Terminal window
hansard memory list --origin file --json
hansard memory search "review checklist" --origin provider-cloud

The accepted origin values are file, provider-cloud, and manual-import. JSON search output is a result array with excerpts and scores.

Inspect one record:

Terminal window
hansard memory show <memory-id> --json

Export all memory records with their current content for downstream tooling:

Terminal window
hansard memory export

ChatGPT does not include memories in its normal export. Copy the contents from the platform’s memory management page into a local text file, then import it:

Terminal window
hansard memory import chatgpt ./chatgpt-memories.txt --account example-account

File-backed items can be editable when Hansard can safely write the live provider file before taking a new snapshot.