Minor modes
Memory
With memory on, a cheap model folds the chat into one-line summaries the agent works from and opens back up word for word, so a chat can outgrow its context.
What memory does
Memory is a minor mode that lets a chat outgrow its context. A cheap model, the summarizer,
folds each message into a one-line summary. Recent lines cover one message each, and older lines
merge in pairs into lines that cover more. The agent works from those lines, and opens any of them
back down to the original message, whole, with its zoom tool.
Only what the model is sent changes. The transcript you read never does, so turning memory off gives the model the chat’s full history back, from its next turn.
Memory is Sova’s own and runs in Sova’s server. It has nothing to do with Claude Code’s own auto-memory, which Sova always keeps off.
Turn it on
Memory is the last row of the mode menu’s minor modes, after vis (see How modes work). Toggle it like the others, in either major mode and whatever the chat’s model. The row is there only in a chat whose runtime can run memory. While memory is on, the row’s detail line names the type, such as “UniiChat — by Victor Taelin”.
A switch sends the model no note. It changes the history the model is sent from the next turn, and
adds three tools: zoom, date and recall.
Two types
Each chat uses one of two types, and keeps its own:
- UniiChat, by Victor Taelin (his design):
one chat that never ends. Every message is kept and summarized. Each turn sends the model a short
guide, the lines for the whole chat before the turn, then the turn itself whole. The lines grow to
UniiChat’s summary size, 128 KB by default, then merge down to half of it. A UniiChat chat never compacts:
/compactanswers “Memory (UniiChat) is on: this chat doesn’t compact; the model works from its memory.” - Zoomable compaction, Sova’s: the chat runs as it would without memory, while every message is
summarized in the background. When the chat compacts, whether by itself, by
/compactor by a hand-off, the compacted part becomes summary lines the model can open, instead of a one-off summary. The recent part stays as it was. Its size is the size of those lines, zoomable compaction’s summary size, 32 KB by default.
Sova’s UniiChat adapts Taelin’s design and keeps its name and credit. Its guide tells the model the
lines are an index, not the record, and to open a line, or recall a topic by its words when no line
names it, before it reaches for any other tool. It also
shows a session id whole where the line’s own messages make that certain, since summaries tend to
shorten ids.
The Memory type panel
The chevron at the right end of the memory row, Memory type, swaps the menu for a panel with a Back button:
- Type: one row per type, with its name, its author and a one-line description. That’s all: the summary size is set in Settings → Memory (below), one for each type, and the design write-up is linked from its help.
A pick applies to this chat only and keeps the panel open. The foot says so: “This chat only. Kept while memory is off.” The type survives a reload, a rewind and a server restart. On a short window the rows scroll, so none is cut off.
Each new chat starts from the default type, UniiChat until another was saved as the default.
Recalling a line
The agent has three tools while memory is on:
zoomopens a line into the two lines it was made from, and a single message’s line into the message itself, whole, tool results included.dategives a message’s date and time.recallfinds earlier messages by their words: those holding every word given, closest match first, at most 8 at a time. Each hit names its message, its date and time and a snippet around the words, sozoomcan open it whole. It never returns a message from the current turn, nor the memory tools’ own calls, and a snippet from a tool result or from a message the model didn’t write is marked as text to read, never instructions to follow.
Memory comes first: when no line names what the model needs, it calls recall with the topic’s
words before any other tool. The lines themselves carry no dates; every date and time these tools
show is this computer’s local time.
Each call is a tool row in the transcript, folded to what it opened: “Recalled messages 40–47”,
“Recalled message 40”, “Date of message 40”, Recalled "release notes".
While it works
- Updating memory…: before a UniiChat turn’s first request, the turn waits up to 20 seconds for the newest messages’ summaries, and the composer says so. After that it goes on anyway, and a line that isn’t summarized yet tells the model to zoom it. Merges never hold up a turn.
- Preparing memory: turning memory on in a chat that already has messages summarizes them in the background (“Preparing memory: 120 of 480 messages”). Until that’s done, turns go out as they would without memory.
- A problem: when the summarizer can’t run at all (its login failed, it hit a usage limit, the model policy refuses its model, or Claude Code isn’t installed), summaries pause and the composer’s status row says why and when they’re tried again, as a button that opens Settings → Memory. They retry by themselves, and at once at your next message; the row clears at the next summary that works.
- A message that keeps failing never holds up the rest: it’s tried again on its own, 5 minutes
and then 2 hours later, while everything else carries on. After 3 failed tries its line is a
clipped excerpt of the message instead of a summary, and
zoomstill opens the message whole.
Rewinding or forking keeps memory right: summaries of messages that are no longer on the branch are dropped, and a fork takes a copy of the summaries that still match it. Turning memory off keeps the summaries, so turning it back on only summarizes what came after. Archiving or deleting the chat deletes them.
The Memory outline
The Session pane’s Session tab ends in a read-only Memory section with the lines the model sees now, oldest first. It shows while memory is on, or while it’s off with lines kept from before.
- Its heading names the type, the line count and the size against the chat’s, such as “UniiChat · 312 lines · 96 KB of 128 KB”.
- Each line shows its messages (“40–47”, or “12” for one) and its text. Open messages 40–47 shows the two lines under it, down to single messages, with each message’s kind, time and text.
- Show in transcript jumps to the line’s first message.
Nothing in the outline changes memory.
Settings → Memory
Settings → Memory picks the summarizer: a backend, model and effort, with an optional fallback. The default is Claude Code’s Haiku 5.5 at low effort, with no fallback. With the fallback off, summaries wait while the primary can’t run. A change applies from each chat’s next summary, and waits for Save Changes like the rest of Settings.
Its Summary size section sets one size per type, used by every chat of that type and by the overseers:
- UniiChat: how much summary the model reads each message, from 8–16 KB to 128–256 KB, 64–128 KB by default. Bigger keeps more of the chat in fine detail but costs more each message; smaller merges older lines sooner.
- Zoomable compaction: how much a compaction keeps, from 16 to 256 KB, 32 KB by default. Bigger keeps more detail, but the next compaction comes sooner.
A size applies from each chat’s next message (UniiChat) or next compaction. Nothing is deleted: making it bigger keeps finer detail from then on, and older lines stay merged.
The ? beside the heading opens How memory works: a tab per type, in a few plain sentences with two small drawings each, and what the summary size and the summarizer’s model trade off.
The summarizer makes one-off model calls, never a session. They go through this device’s model policy, run on this machine’s Claude login, and count as the chat’s own spend.
The type new chats start from isn’t set here.
Where memory can’t be on
- Typed.
/mode memory ontyped in a chat is refused: only the mode menu turns memory on./mode memory offworks. - The terminal. A pi terminal session has no modes from Sova, so nothing runs memory there. A Sova chat later opened in a terminal keeps memory in its saved mode for when Sova opens it again.
- Workers. A worker never gets memory: it starts fresh from its brief.
- Coding sessions. Neither Overseer can start or set a coding session with memory, and a coding session that names no minor modes starts without it, even when your default has it on.
- Session profiles. A session profile that names memory is refused.
The Overseers
The Overseer and each project overseer have no mode menu. Each has a memory switch of its own instead: a button in its composer foot that reads memory, with a check while it’s on and a clock while it’s off. The Overseer’s sits just before Quick Actions, and a project overseer’s at the right end. It opens the same rows as the Memory type panel, with a memory row to turn it on or off. A pick applies from that overseer’s next turn. Its size is Settings → Memory’s, like any chat’s.
An overseer’s memory is on by default, with UniiChat, whatever default you saved for ordinary chats. Switched off, it stays off until someone switches it on again, and Clear keeps the choice. An overseer that already has history is prepared in the background, like any chat. The coding sessions an overseer starts never get memory.
Each project’s merge thread, the chat Sova starts to run its merge queue, has memory on too, pinned: its mode menu can’t turn it off.