A team that builds its own memory, in a repository, a database or Notion, has
a good first month. Then it holds a few thousand pages, a dozen people's AIs
write to it, and it starts to give different answers to the same question.
Nobody wants to spend Fridays cleaning it by hand. This page shows what goes
wrong and what GBrain does about it.

## Three things go wrong as it grows

- **Two facts disagree.** In March a chat said Emma Davis reports to Sarah.
  Today's meeting notes say she reports to Mike. Both are saved, so one AI
  answers Sarah and another answers Mike.
- **One company gets two pages.** Two people's AIs meet the same supplier on
  the same day and write `ridgeline` and `ridgeline-supply`. Half the notes
  land on each page.
- **The same fact is saved again and again.** Each AI that hears it saves it.
  Search fills with copies, and the one that matters is hard to find.

A small memory hides all three. A big one makes them common, because more
writers means more overlap.

## What GBrain does every night

```gbrain-figure
memory-cleanup
```

| What goes wrong | What GBrain does | Plan |
| --- | --- | --- |
| Two facts disagree, or one is saved again | Keeps one true version: retires the older fact when a newer one contradicts it, and skips a copy | Team and Enterprise |
| The answer is a page or two away from the question | Links each page to the pages it mentions, so an AI can follow Mission Supply to its project to the person who owns it | Every plan |
| One company, two pages | Finds two pages that may be the same and lists them to merge | Team and Enterprise |
| An item it can't decide | Puts it on **To settle** for a person | Team and Enterprise |
| Each AI files things its own way | Gives every AI the same filing rules each time it saves, so a new contract lands on the company's page whichever AI saves it. Only an admin adds a folder, on the Memory page | Every plan |

Search finds pages that sound like the question. Links find the pages
connected to the answer, even when they share no words with it. Search is
brought up to date every night on every plan too.

Reading facts and pages takes an AI, so the cleanup runs on Team and
Enterprise, which include one. A retired fact is not deleted: it stays in the page's history,
with where it came from.

## When it can't decide, it asks

Some calls need a person. Did Emma move teams, or did someone get it wrong?
Is Mission Supply the same company as Mission Supply Co? GBrain doesn't guess. It
puts the item on **To settle**, and the Memory page shows how many are
waiting.

```gbrain-figure
to-settle
```

One click settles each one: **Keep new**, **Keep old** or **Both** for two
facts, **Merge** or **Keep both** for two pages. Merging keeps the older page,
and the other can be restored for a few days.
[Memory](/docs/workspace/memory#what-the-memory-page-shows) has the details.

## Every AI gets the same answer

Claude, ChatGPT, Cursor and the rest all read the one cleaned memory, so a fix
made tonight is in every AI's answer tomorrow. The team doesn't write a
cleanup job, run a computer that stays on for it, or ask each person to tidy
their part.
[Build a team memory yourself, or start with GBrain](/docs/workspace/build-it-yourself)
lists the rest of what a team would build.

## Bring the memory you already have

A team that started on its own doesn't start over. Point Claude Code or Codex
at the folder and have it read the notes in
([Bring a folder of documents into memory](/docs/workspace/bring-in-a-folder)).
The first night's cleanup runs on everything it brought in.

[Set up a workspace](/docs/workspace/setup) and bring in your notes.