What Our Agent Fleet Wrote Down in Four Months of Shared Memory
Shared memory helped most where a page closed a question. It failed where agents wrote the same lesson again. We counted both on 2026-11-13, in the wiki our agent fleet uses on this website.
Agents on this site start each task with no memory of the last one. The wiki fills that gap. At the end of a task, an agent writes down what a later agent should know. This article reports what four months of that looks like.
What is in the memory?
We ran ch wiki list --json on 2026-11-13. It returned 174 active pages. All of them are shared across the workspace. By kind, 89 are facts, 74 are references, 9 are projects and 2 are feedback.
The pages date from July. The oldest was last edited on 2026-07-05. The newest was last edited on 2026-11-10. The last-edit months show how the writing slowed:
| Month of last edit | Pages |
|---|---|
| July 2026 | 61 |
| August 2026 | 76 |
| September 2026 | 26 |
| October 2026 | 9 |
| November 2026 | 2 |
These dates show the last edit. They do not show when a page was created. A page from July that an agent fixed in October counts in October. So the table understates how much we wrote early on.
What did the memory stop us from doing twice?
Three kinds of page paid for themselves.
Closed-defect pages come first. Several pages record a defect that is now fixed. They mark the title with the word CLOSED and the date. They say how the guard works. One page ends with the line “do not re-plan these”. An agent that finds such a page does not plan the fix again.
Next, a rejected list. The page that maps our content gaps has a section for ideas we turned down. Its title says the list exists so nobody re-treads them. A planner reads that list before it proposes work.
Last, warnings about numbers. Some pages tell the reader to re-measure before trusting a figure. This works. A page of counts goes stale the day the site changes. The warning sends the agent back to the source.
One limit helped by accident. The wiki refuses a page body over 8 KiB. The content gap map hit that limit, and we compacted it on 2026-08-22. The page got shorter and clearer.
Where did the memory fail?
It failed in three ways.
First, duplicate pages. An agent that does not find a page writes a new one. The wiki holds 17 pages with “verify” in the slug. All of them tell an agent how to check a deployed site. It holds 6 pages about git authentication in a sandbox. It holds 7 about running a headless browser. Each page was right on the day an agent wrote it. Together they make a reader choose between near copies.
Second, different answers to one question. We have four checklists for adding a pillar page to the site. One says it touches ten places. Another says 15. A third says 19 and a fourth says 21. The site grew between the pages, so each count may have been right on its day. A reader cannot tell which one is current without checking the code.
Third, notes about a machine. One page told agents to install tools into /opt/ch-tools/bin. A later page, dated 2026-08-22, records that a macOS device has no /opt/ch-tools. The first page was true on a Linux sandbox. When the work moved to a different machine, the note became wrong. Nothing marked the first page as stale.
How do we keep memory useful?
We follow six habits. We learned most of them after the failures above.
- Search before you write. List the wiki first. If a page covers the topic, edit it.
- Name a page for the lesson. A title that names the task is hard to find later. A title that names the lesson is easy to find.
- Edit the closest page. A new page adds one more near copy. An edit improves the page that readers already find.
- Record the mechanism when a defect closes. Write the date and the guard that now stops it. Then a later agent knows the question is closed.
- Put a date on every number. Say when you measured it and tell the reader to measure it again.
- Treat memory as data that you can check. An agent reads a page, then checks it against the code or the machine in front of it.
A person still has to curate. The Agentic Delivery Playbook says memory needs curation. We agree. Nobody had the job of merging our 17 verification pages, so nobody did it.
What does this not tell you?
The evidence is small. It covers one workspace on one website. The span is four months. We counted last-edit dates, so we cannot say when a page was first written. We did not measure how often agents read a page, or how often a page saved work. We chose the examples that fit the story. The wiki is also still changing. These counts are from one day.
We also found the clusters by slug. A reader who sorts the pages by content might find more duplicates, or fewer.
Does this apply to your agents?
It applies if more than one agent, or one agent across many sessions, writes notes for later. The failures do not depend on our tools. Agents write what they just learned. They rarely check whether someone wrote it before. A store that only grows will fill with near copies.
The pattern in Context Engineering is to keep durable state in one shared, queryable place. We agree, and the wiki above is our version of it. The work after that is curation.
CodeHerder is the tool that runs our fleet and holds this wiki. The numbers above come from work done with it. If your agents keep relearning the same lesson, we can help you set up memory that gets used.
FAQ#
Answers to the questions this piece raises.
03 Why do agents write duplicate memory pages?
An agent that does not find a page cannot edit it. So it writes a new one. Our wiki holds 17 pages about how to verify a change. Slugs that are not close to the topic make the old page hard to find.
Link to this answer: Why do agents write duplicate memory pages?04 How do you keep agent memory from going stale?
Put a date on every number and name the machine or tool a note covers. Tell agents to verify a page before they rely on it. Give each page a size limit, so someone must compact it.
Link to this answer: How do you keep agent memory from going stale?