# What goes in the vault, and how do I publish something from it?

**The vault is where whole things are kept: notes, write-ups, reports and saved files, stored as real files on your computer, searchable by what's inside them, linked to everything they relate to, and organised by project and folder. Memory holds short facts; the vault holds the thing itself. Any vault item can be published to a public link in one step, and taken down just as easily.**

---

## What makes it different

| what it does | the primitive behind it | what that buys you |
|---|---|---|
| **The whole thing, never a summary** | Agents are told to vault the full content of anything you'll want back, not a précis | You get back what was made, not a shortened memory of it |
| **Real files, searchable inside** | Notes are Markdown or HTML files; saved documents are copies with their text extracted when saved (images are described) | Search finds what's *in* a PDF or a picture, not just its file name |
| **Connected, not filed away** | Vault items link to plans, cards, memories and other items | Opening a report shows what it's **Connected to** |
| **Files are the truth** | The search index is rebuilt from the files, re-reading only the ones that changed | Edit a vault file with any app and Irene's search keeps up |
| **One step to a public link** | Publishing turns a note into a web page, or offers any other file as a download | Share a report without exporting, uploading or hosting anything |

---

## How it works

### What goes in

| kind | for example |
|---|---|
| **notes** (Markdown or HTML) | a write-up, a decision, a runbook, research findings |
| **saved files** | PDFs, Word, PowerPoint and Excel files, CSV, images, audio and video |

Agents vault things on their own when they're worth having back: an answer that took many steps, a finished document, a research result. You can ask too: "save this to the vault", or `/remember` something with a body.

Each item has a title, tags, a project and a folder. Files over 200 MB aren't copied in.

### Search

Titles, tags and full text are indexed for fast search on your computer. A document's text is pulled out the moment it's saved. **Why at save time:** otherwise the first search after saving would silently miss what's inside it.

### Links

Agents connect vault items to the work around them with typed links (*derived from*, *references*, *completes*…). The item's page lists everything it's **Connected to**, and the Chronicle Graph shows the same links as a map.

### Always include

A note can be marked **always include** for its project, so every chat in that project starts with it (up to about 1,500 tokens per note and 4,000 in total; longer ones are trimmed with a pointer to the full note). Use it for house rules or a client brief every chat should know.

### Publishing

Ask Irene to publish a vault item:
- **a note** (Markdown or HTML) becomes a **web page**
- **any other file** becomes a **download**

The item is uploaded to Irene's site host and gets a link that **anyone who has it can open**. The link is saved on the item, so Irene can find it again, and the Vault shows it as **Published**.

**Unpublishing** takes the page or file down and clears the link. Your vault copy stays as it was.

**Why publishing lives on the vault item:** the thing you share is the thing you keep. Edits and the link stay together.

---

## Where you see it

**Chronicle → Vault:**
- a tree of projects (with item counts), folders and **Unfiled**, 50 items per page with **Show more**
- **Search inside files…**
- an item shows its title, kind, where it came from, when it was updated, where it lives, a **Published** link if it has one, and **Connected to**
- **Show in folder** (**Show in Finder** on a Mac, **Show in Explorer** on Windows), plus **Open in its app** or **Download a copy**
- projects: **New project**, **Rename**, **Archive**, **Unarchive**, **Archived · N**

Files live in `~/.irene/projects/<project>/`.

---

## Approvals

- **Saving, editing and deleting** vault items always ask you, even in auto mode.
- **Publishing and unpublishing** count as *sending*: they ask in manual mode, and in auto mode they go to the judge, which only lets them through if you asked for exactly that.

---

## Privacy

- **Everything in the vault stays on your computer** until you publish it.
- **A published item is public to anyone with the link.** Don't publish anything with passwords, keys or personal data in it.
- Saving an image asks a model to describe it so it can be searched.

---

## What it costs

- Storing, indexing and searching: free, on your computer.
- Publishing puts the item on Irene's site host → [Site](https://mycelen.com/manual/reference/toolkits/site).

---

## Limits

- **Published items are capped at 50 MB.**
- **Files over 200 MB** aren't copied into the vault.
- **No publish button on the Vault screen yet.** Ask Irene to publish or unpublish.

---

## Related

- [Chronicle](https://mycelen.com/manual/reference/memory-and-work/chronicle) · [Memory](https://mycelen.com/manual/reference/memory-and-work/memory) · [Site](https://mycelen.com/manual/reference/toolkits/site) · [Chronicle toolkit](https://mycelen.com/manual/reference/toolkits/chronicle)

[Ask Irene about this]
