Squad & Shared Memory
Understand Memory Storage and Recovery
By TermSquad · Last reviewed
Shared memory is stored locally on the TermSquad computer. Its default directory is ~/.termsquad/memory for the agent user, unless a different memory directory is configured.
What happens during computer operations?
| Event | Effect on local memory |
|---|---|
| Browser disconnect | Does not delete the store. |
| Restart or ordinary power stop | The disk store remains, although processes stop. |
| Restore a backup | Returns memory to the state contained in that backup. |
| Reset or computer deletion | Removes the computer’s local store with its other data. |
After a backup restore, TermSquad preserves the restored memory directory while repairing managed access. It cannot recover observations created after the backup unless you kept another copy.
Export a recovery copy
In the agent terminal, choose a new export filename:
termsquad memory export ~/squad-memory-export.json
Download the export and keep it outside the computer. An export can contain knowledge from multiple projects, so treat it as private project data. Do not put it in a public repository.
Import an export
Upload your saved export to the intended computer, preserve any current memory with a separate export, and then run:
termsquad memory import ~/squad-memory-export.json
Check the import result and search for a known observation afterward. An import restores supported memory records; it does not restore repository files, provider credentials, or running sessions.
Use termsquad memory help and termsquad memory version to inspect your installed interface. See backup limits and memory troubleshooting.
