# Notes

Notes are plain text that you write, kept by Moontors on your computer, never in your project's
files. There are three, side by side: one for every project and session, one for the project in
focus, and one for the session in focus. They're yours alone: the agents never read them. The
transcript's own notes, the light rows it shows, are something else (see
[Notes, footers and replies](/docs/sessions-notes/)).

## Opening it

**Notes**, at the window's right edge, opens them over the board, as Files, Git and Terminal do (see
[The layout](/docs/window/#the-layout)). The same button closes them, and so do the view's X
button and Escape, saving what you typed. Unlike those, Notes opens with nothing in focus too,
showing the global note alone.

On your phone, a session's **Notes** opens its three notes, and the board's opens the global note
alone, so a project's **No session** note is on your computer alone (see
[Notes on the phone](/docs/phone/#notes)).

## The three notes

- **Global**: one note on every project and every session.
- **Project**: the focused project's note. A worktree session's project is the project it was
  started from, so the project's folder and every worktree of it share one note. A project's notes
  are never deleted: removing a project keeps them, and adding its folder again brings them back.
- **Session**: the focused session's own note. It stays while the session is archived, and goes
  when the session is deleted. With a project in focus and no session, this column is **No
  session**: a note of the project's own for then.

Drag the line between two columns to widen one and narrow the other: the third column stays as it
is. Their widths are kept for each project, and each column starts at a third.

## Saving

Each note saves itself a moment after you stop typing, and again when you leave its column or close
Notes, so nothing you type is lost. While Moontors' background service can't be reached, the column
says why, and what you typed is saved once it's back, even if you closed Notes meanwhile. A note
that couldn't be read can't be typed in until it's read. A note holds up to 200,000 characters: past
that its column says it's full and keeps what you typed, and saves again once it's shorter.

## On another device

Your paired phone shows each change as it's saved, and the window shows the phone's (see
[The phone](/docs/phone/)). A note you're typing in is never changed under your cursor: another
device's change shows once you leave the column. If the note was changed on another device while you
were typing in it, its column says **Changed on another device since you began typing**, and saves
nothing until you choose: **Keep mine** saves your text over theirs, and **Take theirs** puts theirs
in its place. If you close Notes before you choose, the note asks again, with what you typed, the
next time you open it. That lasts only while the window stays open: once it's closed or reloaded,
the note keeps theirs, and what you typed isn't saved.