Add session persistence: tabs, transcripts, snapshots, and full assistant memory across restarts - #14
Merged
Conversation
…agent memory - Workspace shape (tabs, folders, models, active tab) restores on launch - Snapshots persist to disk and record their project root - Transcripts journal per session (append-only, capped) and replay on restore, with stale status chips filtered out of the replay - Full-fidelity agent memory: history exports every turn end and rehydrates on restore via the new harness API — restored agents genuinely remember, with a plain-text tail-brief and an honest amnesia note as graceful fallbacks - Model switches offer 'Keep memory' (verbatim continuation) alongside snapshots - docs/session-persistence.md records the memory-vs-knowledge design rule - Submodule pinned to MandoCode 0.14.0 (history API, --continue, date grounding)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MandoCode Desktop now remembers. Close the app mid-project and reopen it: your tabs come back with their folders and models, your conversations reappear in full, your snapshots are still in the panel — and the assistant itself genuinely remembers what was said and done, ready to continue as if the app never closed. Switching models mid-conversation can now carry the full conversation along instead of clearing it.
What's new
Everything restores on launch
The assistant remembers
Model switches can keep the conversation
Documentation
docs/session-persistence.mdrecords the design: what survives where, the restore order, and the rule that guides future work — memory (verbatim, for continuing a conversation) versus knowledge (a snapshot, for carrying lessons elsewhere).Why it matters
Until now, closing the app erased everything — layout, conversations, and the assistant's understanding of the work in progress. Users worked around it by manually importing snapshots. All of that is now automatic, and the same continuity extends to changing models mid-task.
Scope and risk
/clearis used — clearing removes the on-disk history too.