Skip to content

Memory page: export, import, and import from another AI - #262

Merged
farhat-is-coding merged 2 commits into
farhat/feat/memory-page-overhaulfrom
farhat/feat/memory-portability
Aug 15, 2026
Merged

Memory page: export, import, and import from another AI#262
farhat-is-coding merged 2 commits into
farhat/feat/memory-page-overhaulfrom
farhat/feat/memory-portability

Conversation

@farhat-is-coding

Copy link
Copy Markdown
Collaborator

Summary

  • Export button downloads the dare-memory-v2 bundle from the Memory page header.
  • Import dialog with two modes: bundle (restore a DARE export into an empty store, with preview counts) and from another AI — a copyable prompt the user pastes into ChatGPT/Claude/etc., then a free-form paste box that sends the result through the backend writer pipeline, so imported memories face the same gate as spoken ones.
  • Redux throughout (exportMemoryAPI / importMemoryAPI / importForeignMemoryAPI + thunks/slice state).

Supersedes the June export/import pair (#220). Backend counterpart: cmudco/dare-backend#340. Stacked on #261 (farhat/feat/memory-page-overhaul).

Test plan

  • npm run app:build green (the staging gate, tsc -b included)
  • Browser click-through: export download, bundle import preview + reinstate, foreign paste → queued chunks visible in the ledger
  • Codex black-box retest ran against this branch tip (9ec1dd2)

Export downloads the dare-memory-v2 bundle — the layered contract
itself, not a flat list. Import takes a bundle by file or paste, shows
what is inside before anything happens (active / retired / held / rules,
document or not), and surfaces the backend's refusals verbatim — the
empty-store rule above all. Successor to the MemU-era export dialog,
whose portability idea survives here with a format that can actually
reinstate a store.
Second mode in the Import dialog. Step one hands the person a prompt
for their other assistant — plain bullet points in their own voice,
exact wording preserved for instructions, nothing session-specific.
Step two takes whatever comes back and queues it through DARE's own
memory pipeline; the toast says work has started rather than
pretending it finished, because the writer works through the queue.
@farhat-is-coding
farhat-is-coding merged commit 2aa670b into farhat/feat/memory-page-overhaul Aug 15, 2026
1 check passed
@farhat-is-coding
farhat-is-coding deleted the farhat/feat/memory-portability branch August 15, 2026 01:19
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.

1 participant