Help · Using Morie
Memory
Explain it once. Morie remembers, and checks it is still true.
Checked against Morie 0.58.0.
- Knowledge, decisions, learnings and rules, saved by you and by chats, for you, the project or one repository.
- What a ticket’s chats learn stays with that ticket until its branch merges into the repository’s default branch; then the knowledge is shared.
- Each item says when it was last confirmed, or 'Not confirmed yet'.
Shop’s shop-api stores prices in cents. You make that a rule once. On #12, a chat learns why saved carts keep their old total; that learning stays with #12 until its work merges.
- Open Memory → Read → Rules, write “Prices are in cents”, choose shop-api and press Add rule.
- Ask the chat on #12 to keep what it learned about saved carts. It stays on #12’s branch, so it is not in Memory → Read → Learnings yet.
- After #12 merges into the repository’s default branch, look under Learnings again. The kept learning is there for later chats.
What goes where
Open Memory from the sidebar. It has three places, and one search box at the top of each.
- Needs you is what only you can settle: the approvals waiting for you, and the changes upkeep proposes that wait for you to accept or drop (decisions upkeep proposes are also sent to the Morie chat). What Memory marked Check is a row only when no run will read it again: under On, Memory reads it again by itself, so it shows here only when no upkeep run will take it up; under Ask it waits here, with the reason under it. Beside it, Since your last look lists each upkeep run and each change a chat or you made since you last had Needs you open.
- Read has a list on the left and what you chose on the right. Rules, Decisions, Learnings and Approvals are lists; the project page and each repository’s root and folder pages are read as pages, with the learnings and decisions of that folder under them. Each says when it was last confirmed and whether it is marked Check.
- Activity shows what happened to Memory, a day at a time. Each upkeep run is one entry: what ran and on which model, what it read, what it applied on its own (with Undo), what it verified or archived, and what is next: under On, when Memory reads again what it could not tell (after the next merge or Tidy; after three tries, the next day and then once a week); under Ask, what it left for you. To settle an entry Memory is still reading again, Confirm or Edit it on its row in Read. A page found out of date is not read again: the next chat that writes its folder replaces it, or Edit page does. Who filters by upkeep, chats, you or notes.
- The search box looks in pages, rules, decisions, learnings, approvals and notes together. A rule’s or a decision’s Why is searched with it: a word found only there shows in the result as Why: …, marked. In Read, kind chips narrow it and More filters adds Scope, Confirmed and Show archived.
- Approvals shows permissions and what they cover. Grant… asks once. Revoke ends a granted approval at once and says Saved · Undo; Delete removes one at once, with Undo on the line above the list. Undo works for a short time and only while the approval is still as you left it; otherwise it says so and changes nothing.
A repository’s pages keep its details close to its code; the project page holds what applies across the project.
Keeping something
Ask a chat to save decisions and learnings. You can write rules and pages yourself in Memory. Edit on a rule opens a box as wide as the list that grows with the rule; ⌘↩ saves and Esc cancels. Archive takes a rule off; Show archived lists archived rules, each with Bring back.
Editing, Undo and changes made meanwhile
Edit opens a rule, a decision, a learning or a page in place. A rule or a decision has a Why under it: the reason, kept beside the text and shown under it in the list. A rule also has its scope as a menu beside the keys: Project or one repository. ⌘↩ saves and Esc cancels. The row then says Saved · Undo for 10 seconds, and Undo puts the old text back. If what you changed has changed again since, Undo says so and puts nothing back. The 10 seconds wait while the pointer or focus is on the line.
Under a rule, the line says who made it and when, and, once it was changed, when and by whom.
If a chat changes the same rule, decision, learning or page while you are editing it, nothing is overwritten. The row shows Theirs and Yours side by side with what each added marked, and you choose: Keep mine (the default) saves your text over theirs, Use theirs drops yours, Edit from theirs opens the editor on their text, and Cancel leaves theirs as it is. Nothing is saved until you choose.
A learning says how it was last confirmed: Verified by a verification agent (with its model, the time and its one-line reason), confirmed by Git, confirmed by Memory upkeep, confirmed by a chat or confirmed by you.
A Base chat can also ask to add a rule, change one or archive one. Each time, a card in the chat shows the whole rule, its scope and why, and nothing changes until you press Allow once. Ticket chats can’t ask. Give it the smallest useful scope: You, the Project, or a named repository or folder. Rules can apply to the project or one repository.
Settings → Memory controls what Morie keeps by itself. Decisions, learnings and repository pages can each be Always, Ask or Off. With Ask, proposed changes wait for you: Accept, Edit or Drop. Turning Memory off does not stop rules reaching chats.
For Decisions, Always means Memory keeps at once each decision a chat saves, and each one Memory upkeep saves while Morie manages Memory itself is On; you can supersede it later, and nothing is asked of you. Ask means each one is suggested to you on the Memory page to Accept, Edit or Drop, with one notification that opens it. Off means none is kept. A decision Memory upkeep draws from a Monday-linked ticket is kept as a learning instead (see Monday-linked tickets below). The tip beside the row says the same in short.
Use Import… to bring existing notes into Memory. Choose the sources to import, or ask for items to be proposed from other notes.
A rules file’s paths line (such as globs: in a Cursor rule) is read entry by entry, and an entry longer than 64 characters is passed over: the file still comes in as a page, for the folder of its next entry or for the repository’s root, and the import’s answer names the file.
A ticket’s Memory
A chat working on a ticket gets shared Memory and that ticket’s own knowledge. What it saves on the ticket’s branch stays there until the branch merges. Memory upkeep can read the incoming ticket’s learnings and keep what the receiving ticket needs. A merge into the repository’s default branch makes the branch’s knowledge shared.
Read shows what every chat gets. What a ticket’s branch has learned appears there once the branch merges.
A chat’s index of Memory (in context.read and memory.index) puts first the items with a path that lies in or above one of its ticket’s claims or one of the first 100 changed files across the ticket’s worktrees: one is the other, or a folder that holds it. So src/cart moves up for a change to src/cart/a.ts, while src/cart/a.ts and src/cart/b.ts do not move each other up. Files past the first 100 do not move an item up. A glob counts by its folder, the part before its first wildcard, so src/cart/*.test.ts counts as src/cart. A glob with no folder, such as **/*.ts, does not move an item up.
Keeping it current
Items and pages say when they were last confirmed, with the repository’s commit where there is one. Not confirmed yet means there is no confirmation recorded.
After a merge, affected knowledge can be marked Check while Memory upkeep reads it against the new code. With Ask, the mark stays for you; under On, Memory keeps checking it. Confirm says it is still true; Edit corrects a learning or page, keeping the earlier text as its history. A decision is superseded when the choice changes. An archived item comes back with Undo while nothing has changed it since; one archived because no chat had read it for a while has Bring back under Show archived, at any time.
A merge marks an item Check when it changed a file in the folder of one of the item’s paths. A glob counts by its folder, the part before its first wildcard, so src/cart/*.test.ts is marked by a change anywhere in src/cart, and a glob with no folder, such as **/*.ts, is marked by every merge into its repository. A negated glob, such as !src/cart/**, is read as the whole repository, so it is marked by every merge too, and in the index it moves nothing up. Upkeep counts the changed lines of a glob’s whole folder, so such an item can make the run larger.
Git can confirm an item by itself when the files and folders it names are still there and nothing under them changed. An item with a glob is never confirmed by Git: Memory upkeep’s chat reads it.
Memory upkeep tidies learnings and pages by itself when a folder has grown and settled. Settings → Memory controls upkeep and re-checking.
Morie manages Memory itself
Settings → Memory has Morie manages Memory itself, On or Ask.
- On (the default): Memory upkeep confirms, archives and tidies by itself, and each change is in Activity with Undo.
- When agents disagree: When two agents disagree about something kept, a third run decides, on the strongest model the agent lists and at its highest effort. If it can't, the item stays marked Check and Memory tries again: on each of its next two runs, then on the first run of the next day, then once a week. Under On it is never left for you, though you can still Confirm or Edit it yourself. With After a merge, check what it touched and Tidy when a scope has grown both off, it is checked again when Memory upkeep next runs. Each run takes up one of these tries, so after Morie has been closed for a while, or after an update, they are spread over the runs that follow. If no stronger setting is known for the agent, the third run uses the same one, and the run's line in Activity says "which ran on the same setting as the first agent".
- The re-check: What the re-check in Tidy, or Run now's full re-check, can't settle goes through the same steps, and so does what a stopped re-check had marked. Under On, an entry that After a merge, check what it touched took and said nothing about goes through them too, as if it had said it could not settle it.
- Ask: what upkeep writes waits for you to Accept, Edit or Drop; what it confirms is listed in Activity with Undo.
Monday-linked tickets. Part of a Monday-linked ticket was written by people outside the project, so Memory upkeep's ticket-done step does three things differently there. A decision it draws from that ticket is kept as a learning: its title starts From synced #12: and its first line says From #12, a Monday-linked ticket; kept as a learning, not a decision. The Learnings row then applies, so with Ask it waits for you and with Off it is not kept. That step never replaces or retires a decision, unless you accept its suggestion under Ask. It writes no page either: not the project page, a repository's page or a folder page. Each page it didn't write has a line of its own in that run's entry in Activity, never under Applied on its own, such as Didn't write the project page: #12 is a Monday-linked ticket, so what it found is kept as learnings., and History shows Memory: page not written. With Ask on the Decisions row, or on Morie manages Memory itself, a decision is suggested to you as before. Import… and a chat's own saves are not changed. From a chat, memory.page there answers Not written: #12 is a Monday-linked ticket, so Memory upkeep keeps what it found as learnings, not in the project page. Save each finding with memory.save., and retiring a decision through memory.confirm answers Not retired: #12 is a Monday-linked ticket, ….
Decisions upkeep proposes are sent to the project's Morie chat, which brings them to you; you accept or drop each on the Memory page.
From a chat
Every chat Morie starts, on Claude Code or Codex, is told how to use Memory. It searches Memory before it plans or decides, with “Follow-up” among its words, and says which follow-ups it found. It is also told:
> What is deferred, promised, made conditional or left open, save before your turn ends: a note on the ticket it concerns, if there is one, and a Memory item (kind project) titled "Follow-up: …" saying what is owed, by whom and what brings it back (a date, a ticket, an event), with the tickets and paths it bears on. A save from a ticket stays with that ticket until its branch merges, and with Ask it waits for the owner; until then the note is what other chats see. Say which follow-ups you found.
For example, on Shop’s ticket #12 you say “once the tax table is in, add the cart limit”. The chat puts that on #12 as a note and saves Follow-up: add the cart limit once the tax table is in (#12). A later chat on #12 finds it by searching for “Follow-up” with its own words. Until #12 merges, chats on other tickets see #12’s note, not the item. When the limit is added, that chat supersedes the follow-up with what was done. In a project that uses no tickets, the Memory item alone is kept.
A chat can’t delete a Memory item. An item that is no longer needed, with nothing to replace it, is superseded by one saying that it no longer applies and why. The old item stays on record as superseded and stops coming up in searches. Until the ticket merges, or while it waits under Ask, other chats still find the old item, not its replacement.
memory.save
- Takes:
kind: user, feedback, project, reference or decision.scope: you, project or repository, withrepositorynaming it.title: one line, at most 300 characters.body: the detail, and for a decision its reason.paths: the files it is about, such assrc/cart/**: up to 25, of which at most 5 are globs, as formemory.search'spaths, in the same glob forms as a claim (Tickets and ticket info, Claims). A glob is at most 64 characters and a plain path 256. Past these, the item is refused with the limit, such as At most 5 globs at once (paths with \ ? [ ] { } or a leading !): give the rest as plain paths or folders, or split them over several calls.*.supersedes: the ids of items it replaces. - Answers: “Kept: Follow-up: add the cart limit once the tax table is in (#12) (mem_…).” From a ticket, it adds “; it is this ticket's knowledge until the branch merges”. With Ask in Settings → Memory: “Saved; it waits for the owner on the Memory page: …”.
- Refused when: “Memory is off in this project, so nothing is kept or given. The owner turns it on in Settings → Memory.” · “A repository item names its repository.” · “Only a repository item names a repository; this one is for the project.” · “No repository named "shop-mobile" in this project. Its repositories: shop-web, shop-api.”
- Then:
memory.readwith the id, to read it back.
memory.search
- Takes:
query: the words, 1 to 200 characters. All words must match, with word endings folded; a rule’s and a decision’s Why are searched with its text. A quoted phrase must match whole, andword*matches a word’s beginning. Orqueries: up to 20 searches in one call. Optional filters:kind,scope,repository,paths,confirmedSince,includeSuperseded,decisionsOnly,match,ticketorbranch(a ticket’s knowledge that is not merged yet), andlimit(20 unless given, at most 100). - Paths:
pathsnarrow by folder. An item is shown when one of its paths lies in or above one of yours (one is the other, or a folder that holds it), and a glob counts by its folder, the part before its first wildcard. A glob with no folder, such as**/*.ts, or a negated glob, such as!src/cart/**, narrows nothing: it is read as the whole repository. - Answers: Items, Pages and Rules, each a list of lines such as “- Follow-up: add the cart limit once the tax table is in (#12) · project · the project · mem_…”, with the matched text under each line and “None.” for a list with no match. An item not yet merged says so, with its ticket. When no item has every word: “No match for all words; showing any-word matches, most words first.”
- Refused when: Memory is off (as above) · “Give query or queries, not both.” · “Nothing to search for: give a word.”
- Then:
memory.readwith an id.
memory.supersede
- Takes:
id: the item to replace.title: the corrected line.body: the corrected detail; without it, the old text stays.paths: without it, the old paths stay. - Answers: as
memory.save. The old item stays on record as superseded; nothing is deleted. - Refused when: Memory is off (as above) · “No memory item with that id in this project.” · “Only a kept item can be superseded; "Follow-up: add the cart limit…" is proposed.” · “"Follow-up: add the cart limit…" already has a replacement waiting.”
- Then:
memory.readwith the new id.
When something is off
- A chat’s learning is missing from Read? It may still be on its ticket’s branch until the ticket merges, or waiting for you to accept it.
- Something is wrong? Correct it with Edit, or Archive it, so later chats do not repeat it.
- An item says Check? Read why, then confirm it only if it is still true.
See also: Tickets and Ticket info · Worktrees