Skip to main content

Settings → Vaults

Every vault on this machine is managed here: what feeds it, how much it counts when memory is searched, what nature its memories carry, how protected it is, and how it dies. The rail entry is Vaults. The page is titled Vaults and its subtitle counts your vaults ({count} vault roots), followed by the path of the workspace folder.

There is no Save button on this page. Every control writes as soon as you confirm it, and the destructive ones ask first.

This page is about the settings. For what a vault is, see Vaults. For how a folder becomes memory, see DocWatch and Watched folders. For the vaults as you see them on the canvas, see the Vaults widget.

The header and the tabs​

The header holds two buttons:

Under it, three tabs: Vaults, Import and Maintenance. The tab you leave the page on is the one it reopens on.

When the page has nothing to show​

  • While the vault tree loads, the ∞ loader.
  • If the vault tree cannot be read: Could not load. and Retry.
  • Without a workspace: No workspace configured and A workspace is set up during onboarding. Otherwise, restart the application. See Onboarding.
  • With a workspace but no vault: No vault found in workspace.
  • With vaults but none selected, the right column says A vault picked in the list shows here.

The Vaults tab: tiles​

The tiles are the same ones the Vaults widget shows, in a smaller size, grouped into foldable families. First Knowledge, always shown, with an Add knowledge button: the Memory Packs that apps fill from a public source. Then Apps & cartridges (the sandbox vaults written by apps), when there are any. Then one group per vault type present, in a fixed order: Dev, Personal, Research, Social, Creative, Dream, Custom. Each group header shows a chevron, a tint dot, the name and a count. Which groups are folded is remembered between sessions.

On a tile:

  • a click opens the vault's panel on the right;
  • the expand chevron shows the sub-vaults in an indented band;
  • the mute toggle flips the vault's RAG attention between 0 and 100. The Vaults widget on the canvas sees the change at once.

A freshly created vault is unfolded, scrolled to and flashed. The Vaults widget's "manage this vault" signpost lands on the matching panel here.

On a machine with an NVIDIA card, a Memory on the graphics card card sits under the tiles. It is described in NVIDIA.

The vault panel​

The right column is the same panel the Vaults widget opens as a slide-over.

Identity​

  • The colour dot is a native colour picker (Vault color, pick any RGB shade). It writes the vault's colour after a short pause.
  • The name (for an app sandbox, the name the app declared), with the absolute path underneath.
  • A 🔒 when protection is MAXIMUM. Its tooltip reads "Protection: MAXIMUM".
  • A words only chip when the vault is indexed by its words alone (see Words only).
  • A type badge with the raw type, or 🧪 App sandbox, or 📚 Knowledge for a Memory Pack.
  • A description field, What this vault is for (optional)…, written when you leave it.

Status card​

Shown only for provisional vaults and app sandboxes, never for a Memory Pack:

  • ▨ Walled off: Excluded from Dream State consolidation, the neural map and federated RAG: this app's data stays isolated until YOU validate it.
  • 🔓 Permanence unlocked: Feeds Dream State consolidation, the neural map and federated RAG, validated by you.
  • A ? button explains the choice. Its tooltip starts with "Why unlock?", then says that while walled, only this app reads and writes its own memory. Unlocking gives Mnemosyne OS access to it: chat answers can draw on it, it feeds Dream State consolidation and it appears on the neural map. The data never leaves this machine.
  • The promote button takes two clicks: Unlock permanence (app sandbox) or Make permanent (provisional vault), then Confirm? within four seconds.
  • Empty this vault, walled vaults only, also two clicks. The second reads the count followed by chronicles will be erased, confirm? The tooltip: Erases every chronicle in this vault and keeps the vault itself. Irreversible: nothing re-creates what is removed. It is greyed on an empty vault. The receipt reads the count followed by chronicle(s) erased, or Emptying failed, see the logs. If the vault has live watched folders, an amber line warns: ⚠ Watched folders will be re-ingested at the next census. Detach them in Sources first if you want this vault to stay empty.
Promotion is one-way

There is no gesture to wall a vault off again once it is unlocked or made permanent. The whole model is in App sandbox vaults.

Chips​

The metrics the app declared for its tile, or the count of chronicles, plus the estimated RAM footprint. A value not yet measured shows …, never 0.

RAG attention​

RAG attention, a slider from 0 to 100 in steps of 5 (100 by default; a vault with no stored weight counts as 100). The tooltip on the caption: How much this vault counts when memory is searched. 100% = full weight. Lower it and its results score lower against the others. At 0 the vault stops answering: it is left out of retrieval, and it keeps recording everything that arrives in it. An Off button sets 0. Muted, it reads Max and sets 100.

Zero mutes the answers, not the recording

A vault at 0 keeps ingesting what its watched folders bring. It only stops being consulted. The rule and its history are in RAG attention.

Words only, no vectors​

A switch, Words only, no vectors, offered on every vault except app sandboxes and Memory Packs. Its tooltip: This vault is indexed by its words alone: nothing that enters it is embedded, and it answers through the lexical channel (exact terms, names, identifiers). Meant for source code and configuration files, whose vectors take slots in every answer without answering. Vectors already computed stay, unused; switch back and the missing ones are computed again. A failed write says The setting could not be saved, see the logs.

Feeds the dream​

A switch, Feeds the dream, on permanent vaults that are visible on the neural map and not MAXIMUM. Its tooltip: The dream links this vault's memories to the others' (bridges, epiphanies, consolidations). Off: this vault is no longer dreamt, from now on. Bridges already made with it are hidden in the bridge explorer, counted, never deleted. It still answers in the chat.

Sources​

The section is open by default. Its badge counts the watched folders. Under it: A vault stays empty until a folder feeds it. Attach one and its files are read, cut into chronicles and vectorised, automatically, and again whenever they change. An app sandbox says instead This vault is written by its app, not by watched folders. A Memory Pack says This vault is a Memory Pack: its app fills it from a public source. No folder is attached to it, and it answers only when you pick it in the chat's scope.

With at least one source, a header shows the vault path, a live pulse with In progress… while the pipeline works, and ⟲ Rescan (Scanning… while it runs). Its tooltip: Purges chronicles and re-ingests all files from scratch. The receipt stays five seconds: ✓ Rescan started, {count} chronicles purged or Error: {error}.

Each watched folder is a row: a green or grey dot (enabled or not), the path, a chip when a spine is forced, the description when set, and three buttons:

Without a source: No source configured. Once a folder is added, Mnemosyne OS vectorizes it automatically. The dashed Add a folder to watch… button opens the system folder picker, then the Watched folder dialog.

Below the rows, when there is something to show:

  • Ingestion queue: one line per folder waiting its turn. The active one shows {x} / {y} files with a bar, the others {count} files, waiting, each with an ETA {eta}. Bulk catch-ups run one folder at a time. A single saved note never waits behind them.
  • Recent Activity: the last eight events, the file name coloured by event type (detected, skipped, embedding, ingested, deleted, error), the vector dimension, the time. An error shows its message.

Documents taken in​

The ☰ button opens Documents taken in for that folder: a Search a file box, a markdown chip, and one row per file with a status chip when it is not simply active (source gone, moved, updated, waiting for embedding, waiting for OCR), the relative path, size and date. Sixty rows per page, {shown} of {total} in the footer and Show more for the rest. Clicking a row opens it on the right: a .md is rendered like a note, with a Source / Rendered toggle, and Open in the system hands it to the OS. A file gone from disk says The file is gone from disk. What it wrote into this vault is still there. A file the app could not read says so (This file could not be read: {reason}) and never shows as empty. A very long one is clipped at 200 000 characters with a line saying so. An empty folder reads Nothing from this folder has reached memory yet.

Spines​

Folded by default. A spine is the NATURE of a memory: a note, a decision, a piece of source code. It is what lets a search prefer the right kind of thing rather than merely the right words. An app vault with nothing yet says No chronicles yet. The app hasn't written anything. The concept is explained in Chronicles and spines.

Spine Types in DB, with a ⟳ refresh button (tooltip Refresh) and ⚡ Reclassify, tooltip Re-derives each chronicle's spine type from its source file. Chronicles with no source file are left untouched. Reclassify is a two-step button. The first click is a dry run: either Nothing to reclassify: every file-backed chronicle already carries the right spine. or a red preview, {count} chronicle(s) would change spine type. {skipped} with no source file would stay as they are. The current types are overwritten, with no undo., with a Cancel link. A note may follow: {count} stay on the topic declared for their file. The button then reads Reclassify {count}, confirm, then Reclassifying… The receipt is ✓ {reclassified}/{total} reclassified or Error: {error}.

One row per spine: a colour dot, the raw spine id, its count and share, a vectorisation bar with {vectorized}/{total} vectorized ({pct}%), a native colour picker (Change this color in the Neural Map) and ↺ (Restore the default color). The colours live on this machine only. With nothing vectorised: No chronicle vectorized: run a rescan. The footer reminds you that Modified colors apply upon the next ↻ Reload of the Neural Map (see the Neural Map).

Directory Rules (a disclosure whose badge reads {n} custom): A file whose path contains this folder gets this spine type first. Example: e.g. components → FEATURE. A text field (directory_name), a select of spines (SOURCE_CODE, ARCHITECTURE, DOCUMENT, BUGFIX, FEATURE, SECURITY, REFACTOR, GIT_HISTORY, SESSION), + Add, and a ✕ per rule. Rules are kept on this machine and only applied by Reclassify: Reclassify applies new rules to existing chronicles.

Assign spines, a collapsed disclosure that re-sorts without re-ingestion. Its badge reads {count} undoable pass(es). The engine sorts chronicles by meaning, using their vectors. Describe what a spine is for: that sentence becomes its prototype. Preview, then confirm. Every pass can be undone. One row per spine holding chronicles or carrying a description (the rest behind Show the {count} empty spines / Hide the empty spines): a colour dot, the spine's name, its count, and a description field (What belongs in this spine…, saved when you leave it). Preview runs a dry run and prints a red box: {moved} of {examined} chronicle(s) would change spine. {uncertain} stay in place: the match is too uncertain., with a chip per target. When relevant it adds {count} already sit on their best spine., {count} chronicle(s) skipped: another vector space., {count} keep the topic declared for their file. and {count} description(s) skipped: the current embedder uses a different space from these vectors. The button then reads Move {count}, confirm (with a Cancel). The receipt: {count} chronicle(s) moved. Every pass gets an ↺ Undo {count} button, dated in its tooltip, whose receipt is {count} chronicle(s) restored. Refusals: No spine has a prototype yet. Describe at least one spine or pin examples. and This vault holds no vectors yet.

Two ways to re-sort, one of them reversible

Reclassify rewrites spine types from file paths and cannot be undone. Assign spines sorts by meaning, previews first, and every pass can be undone. Reach for the second one first.

Governance​

Folded by default.

Protection: two buttons, NORMAL and MAXIMUM (with a lock). The level names are raw values, in English in every language. NORMAL reads Ordinary memory: read in default-scope answers, on any route. MAXIMUM reads Protected vault: AI agents restricted, never auto-mixed, dedicated window. The choice applies at once. A failure says The protection could not be changed. Only these two levels exist: an old OPEN value is shown and treated as NORMAL. What MAXIMUM blocks, and what it does not, is in Maximum protection.

Delete vault: Permanently delete this vault. Its memory will be destroyed. The red button opens a confirmation:

  • Delete "{name}"?
  • ⚠ This destroys the vault's memory: all chronicles, embeddings and snapshots. This cannot be undone.
  • A checkbox (not for app sandboxes), Also delete the document files on disk. Unticked: The document files are kept, only Mnemosyne OS's memory of them is removed. Ticked: The folder and all its documents will be permanently erased.
  • The vault's name, to confirm: with the name in red. The match is not case-sensitive and arms the Delete vault button. Cancel closes. A failure says The vault could not be deleted.

Deleting a vault also removes its sub-vaults.

The checkbox erases your files

Left unticked, deletion removes what Mnemosyne OS remembers and leaves your documents where they are. Ticked, the watched folder itself is erased from disk.

Sub-vaults cannot be created from this panel in Settings. The Vaults widget offers + Sub-Vault.

Creating a vault​

+ New vault (or Add a sub-vault from the widget) opens a dialog:

  • Vault name, required, and Description (optional).
  • A type grid: DEV ⚙️, RESEARCH 🔬, SOCIAL 🌐, PERSONAL 🌙, CREATIVE ✨, DREAM 💭, CUSTOM 📦 (the names are in English in every language). CUSTOM by default. The type sets the icon and the tint.
  • Provisional vault, a checkbox, off by default: A scratch space, emptied in one gesture. Until it is made permanent, it stays out of default-scope answers, the neural map and the dream layer.
  • Cancel and Create (… while busy). An error shows inline.

Once created, the dialog becomes the attach step: “{name}” is created. Feed it now? A vault stays empty until a folder feeds it. Point it at one and its files are read, cut into chronicles and vectorised right away, and again whenever they change. You can also do this later, in the vault's Sources. Choose a folder… opens the folder picker, then the Watched folder dialog. Later closes. If the picker cannot open: The folder picker could not open, see the logs. Nothing is attached without going through the configure-and-preview dialog. The whole walk-through is in Your first vault.

Arrives in the next build

In the build after 2.2.0, Choose a folder… attaches the picked folder at once, with the dialog's default extensions (images added when image memory is on), depth 3 and no auto-approve rule. A git repository is first offered a split into sub-vaults. A link under it, Set it up first (file types, topic, rules)…, opens the Watched folder dialog instead. Closing that dialog without saving prints No folder was added. Choose one, or « Later ». Everything stays editable in the vault's Sources.

Configure DocWatch​

The dialog is titled Watched folder followed by · and the vault's name. It has two steps.

The first step is the configuration:

  • Folder to watch: a path field (Folder path…) and a folder button that opens the picker.
  • File extensions: a comma-separated list. From the attach step the default is .md,.txt,.pdf,.docx,.xlsx,.pptx,.odt,.csv. From Sources it is .md,.txt,.pdf,.docx,.xlsx,.pptx,.odt,.ts,.tsx,.py,.json,.yaml. When image memory is on and the folder is new, the image extensions are appended to the untouched default. Under the field, one line about images, if the app knows: Images will be skipped. Turn on image memory in Settings › Images to analyze them., or Images in this folder will be analyzed., or Image memory is on, the engine is not installed: images are skipped. Install it in Settings › Images.
  • Description (optional): What the folder holds, to classify its files.
  • Force a spine type (optional): Leave empty to classify automatically.
  • Auto-approve patterns (optional), placeholder e.g. *.md, invoices/*, comma-separated. As soon as it holds something, Maturation delay (hours) appears (24 by default) and the hint explains the standing rule: A file matching these patterns enters memory without asking, once unchanged for {hours} h. Other files wait for approval.
  • Cancel and Scan and preview (Scanning…), greyed without a path.

The second step is the preview: Files detected in this folder: and a list of relative paths, each with its spine chip and the reason in italics, or No file matches these extensions. Then Back or Save this watch (Saving…). Saving switches the watch on at once.

Refusals: This folder overlaps an already-watched source: {path}. Remove that other watch first., Scan failed., Could not save this watch. Editing an existing folder with ✎ prefills every field, and saving replaces the whole watch.

The extension list restricts

A file whose extension is not in the list is silently left out. Images need the image extensions present and image memory switched on. Depth (3 levels) and ignore lists have no field in this dialog.

The auto-approve rule, its quarantine and how gated waves work are described in DocWatch.

The Maintenance tab​

Rebuild all​

The Rebuild all card says Purges the vectorized memory and re-indexes every declared folder. Source files stay intact. Its red ⟲ Rebuild all button opens a dialog:

  • ⟲ Purge and rebuild all memory?
  • Permanently purges the vectorized memory of all {count} vault(s), then re-indexes every declared folder and re-checks spine types. Large folders take a while. Source files stay intact.
  • Cancel / Purge & rebuild.

While it runs: Rebuilding memory…, Vault {current}/{total}, {name}, a progress bar and {count} chronicles re-vectorized so far. Clicking outside is ignored. At the end: Done: {count} chronicles re-vectorized across {vaults} vault(s). and Close, or Rebuild failed: {error}. Memories with no source file are queued for a new embedding with the current model: {count} other memories (conversations, app data) are being re-embedded in the background with the current model. When some could not be queued: Some memories without a source file could not be queued. They keep their old vectors (details in the log).

It rescans every vault in turn, roots and sub-vaults, and it leaves attention weights alone: a muted vault keeps recording, so the rebuild reaches it. This is the gesture the AI & Models page asks for after a change of embedding model.

What a rebuild purges

A rebuild purges only the chronicles a source can re-create: those read from watched files and those read from git history. Curated notes, memories written from the chat and app chronicles have no source to come back from, so they are kept and re-embedded in the background instead. Your source files are never touched.

Vault database names​

The second card, Vault database names: An older vault's database is named after its folder, cut at 64 characters. Two vaults cut to the same name share one database. A new vault gets a short, unique name. The rename gives that short name to older vaults. It counts the vaults, the names cut at 64 characters and the vaults sharing a database. Prepare the rename stages it: The rename happens the next time the app starts. Databases are locked while the app is running. When there is nothing to do: Every vault already has a stable name. Nothing to rename.

Watched folders: live state​

The header's Watched folders button opens Watched folders: live state, with a ⟳ Refresh button.

  • Reading watcher state… while it reads. If the engine is down: DocWatch engine stopped: no folder is being watched., or DocWatch engine failed to start: {error}. Without any watch: No vault has a watched folder. A vault with none says No watched folder declared for this vault.
  • One block per vault, with a live dot. When a catch-up wave runs, a box reports it: Counting candidates…, Awaiting a decision, Catch-up in progress, Catch-up in progress (slowed), with {x} / {y} files, a bar, {rate} files/min, ETA {eta} and {count} error(s).
  • One line per folder: the path, a state badge (⏸ Disabled, ✕ Path not found, ● Watching, ◌ Recovery pending (≤ 60s)), chips for Depth and the extensions, ⏸ {count} deferred (dated in its tooltip) when files wait for your approval, ⚖ auto-approve rule (tooltip Standing rule: {patterns}, quarantine {hours} h), and the last event (its type, the file and the time) or No event this session.

The Import tab​

Three cards bring outside notes in:

  • Obsidian: An Obsidian vault is a folder of .md files. Linked to a vault here, the folder stays where it is. Its notes enter memory, and so do new ones. A Destination vault select and Link a folder….
  • Conversations: An export from ChatGPT, Claude.ai, Gemini, WhatsApp or Telegram. The conversation is read on screen first, then goes into the chosen vault. Open Conversations opens that window.
  • Sovereign Notes: the files of a folder are copied into the Notes window, to be edited there. Open Sovereign Notes opens it.

A last card, Connectors, says Notion, AFFiNE and every notes system are now set up in Settings › Connectors. and offers Open Connectors.

Import from AFFiNE​

The AFFiNE import lives in Settings → Connectors, with Notion and the other notes systems. What follows describes the import itself.

The import reads the AFFiNE workspaces on this machine and writes one Markdown file per document, plus its images, into a folder you pick. Point that folder at a watched one and the documents become memory. Point it anywhere else and you simply get the files.

  • Every workspace found is listed with a checkbox. AFFiNE's own userspaces start unticked: they are its per-account spaces, not the notes anyone means by "my workspace". Nothing is imported that you did not tick.
  • Both a stable install and a canary or beta one are found. AFFiNE keeps a separate data directory per release channel, and a workspace from a non-stable channel is labelled with it.
  • The result names what it wrote, what it could not read, and how many documents were left in AFFiNE's trash.

The import tells two situations apart on purpose: AFFiNE not found for this account. and AFFiNE is installed but holds no workspace yet. They have different next steps, and a status that could not be read is neither.

AFFiNE is only ever read

The database is copied before it is read, and nothing is ever written back. Import is a single press: there is no watcher and no standing rule here.

Page mode only. Edgeless content, frames and canvas layout do not survive the trip to Markdown.

The same reader ships as a standalone command for anyone who wants the files without installing Mnemosyne OS:

npx @mnemosyne_os/affine-reader ./out

It is MIT and its source is in the public repository.

Elsewhere​

Encryption at rest of the vault databases is not on this page: it is on the Backup page. How the chat picks which vaults answer is set from the chat itself and reflected in the attention slider above.

Traps​

  • Attention 0 mutes answering, never recording.
  • Rebuild all, Rescan and Reclassify destroy vectors or spine types and cannot be undone. Assign spines is the reversible alternative.
  • Remove source (×) is immediate, with no confirmation.
  • Emptying a walled vault does not detach its folders. They re-ingest at the next census.
  • Unlocking permanence, or making a provisional vault permanent, is one-way.
  • Deleting a vault needs its name typed. The checkbox erases the folder on disk.