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.
Back up memories
Section titled “Back up memories”Run a backup pass explicitly:
hansard memory backupThe 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.
Browse in the viewer
Section titled “Browse in the viewer”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.
Search from the terminal
Section titled “Search from the terminal”hansard memory search "deployment preference"hansard memory search "project convention" \ --provider codex \ --repo github.com/acme/widgets \ --limit 10Search can filter by exact provider, repository, or origin:
hansard memory list --origin file --jsonhansard memory search "review checklist" --origin provider-cloudThe accepted origin values are file, provider-cloud, and manual-import.
JSON search output is a result array with excerpts and scores.
Show or export records
Section titled “Show or export records”Inspect one record:
hansard memory show <memory-id> --jsonExport all memory records with their current content for downstream tooling:
hansard memory exportImport ChatGPT memories
Section titled “Import ChatGPT memories”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:
hansard memory import chatgpt ./chatgpt-memories.txt --account example-accountFile-backed items can be editable when Hansard can safely write the live provider file before taking a new snapshot.
Cloud-provider and manually imported memories are read-only in Hansard. Edit them on their source platform and import or back them up again.