itstauf
The Compounding BrainChapter 10 of 12Reading time: 6 min

The map

Illustration: The robot kneels on a wooden floor unrolling a large architectural plan of a building, with lime string pinned between rooms to show connections. Two rooms on the plan are drawn as solid sealed boxes. The filing cabinet stands nearby with a rolled map pinned to its side.
Act III, scene 10. The map

The failure the map exists to prevent

The doors from the last chapter keep the wrong people out. They do nothing about the files themselves drifting apart.

Here is the failure the map exists to prevent. It is a shape, not one dated incident, and it is the shape my brain warned me about in its own words.

A brain made of plain files is easy to hold in your head... for a while. Past a few hundred files, two things can happen that you cannot see from the inside.

The first is quiet. An agent loads a file, trusts it, and acts on it. The file looks fine: well written, dated, sure of itself. But nothing points to it any more. The thing it described has moved on, the newer version lives somewhere else, and this one was left behind. The agent has no way to know it is reading a ghost.

The second is louder, but only later. A rule changes, for a good reason. The other files that lean on that rule keep saying the old thing. No error. No warning. Just a brain that now disagrees with itself, waiting for an agent to pick the wrong side.

My brain wrote the lesson down about itself: "A document describing a control drifts from the control, silently and in both directions."

In a small brain, I am the index. I know what cites what because I wrote it last week. Past a certain size, I am not, and grep only tells me where a word appears. It does not tell me what depends on what.

The hire had a desk, keys and rules. It needed a map of the building.

The idea

The map is a way to navigate, not a source of truth.

Every file in the brain already says what it leans on. It cites other files by name, links to them, quotes their paths. Those references are a network that nobody ever draws. The map draws it.

Then I can ask the one question that matters before an edit: if I change this, what else moves?

How it works

The map reads the brain and collects every reference one file makes to another. It does not guess and it does not ask an AI to infer connections. If a file names another file, that is a line on the map. If it does not, there is no line. Every connection on the map was written down by someone.

That gives three uses, and one protection.

Ripple. Before I change a rule, I ask the map what points to it, and what points to those. One step out shows the files that cite it directly. Two steps out shows the ripple. Then I go and read those files, because the map tells me where to look, not what they say.

Change the centre, read both rings. Made-up example. One rule sits at the centre. A first ring of files cite it directly: a critic check, a draft skill and a learning. A second, fainter ring of files cite those: a weekly report, a proposal skill, voice notes and a case-study draft. Other files outside the ripple are greyed out. Before changing the centre, read both rings.
Before I change a rule, I read the files that cite it and the files that cite those. Made-up example.
Tap to enlarge
Change the centre, read both rings. Made-up example. One rule sits at the centre. A first ring of files cite it directly: a critic check, a draft skill and a learning. A second, fainter ring of files cite those: a weekly report, a proposal skill, voice notes and a case-study draft. Other files outside the ripple are greyed out. Before changing the centre, read both rings.

Before I change a rule, I read the files that cite it and the files that cite those. Made-up example.

Orphans. Files with nothing pointing to them get listed. An orphan is not automatically junk. It might be a starting point, or something used by habit. But it is a file an agent could trust without anyone checking whether it still holds. So it gets looked at.

Broken paths. A reference to a file that no longer exists shows up as a break. Those are the easiest drift to catch, and the most embarrassing to miss.

The private zones. This is the part I cared about most. Some folders hold client work, raw recordings and drafts. The map never reads inside them. If a file points into one of those folders, the whole folder collapses into a single closed box on the map. So the map can never draw a line between two confidential areas. It cannot join client room A to client room B, because it has never been inside either.

     instructions ──────► rule: "ask before naming"
                               ▲        ▲        ▲
                               │        │        │
                     critic check   draft skill   a learning  
                                        │
                                        ▼
                               ┌──────────────────┐
                               │ [client work]    │  a zone: one closed box,
                               │  never opened    │  never read, never joined
                               └──────────────────┘

     orphan:  old-pricing-note.md   (nothing points here. Look before trusting.)
     broken:  skills/send-recap.md ──► wiki/recap-template.md  (missing)

The map rebuilds itself when the brain has changed since it was last drawn, so it does not go stale the way the files it watches can.

What I learned the hard way

Validate the detector before you act on what it flagged. My brain wrote that lesson about itself. A map that lists a file as an orphan is a detector, and detectors are wrong in specific ways. An orphan only means nothing in the brain links to it. It does not mean nobody uses it. Treating the orphan list as a delete list would be the fastest way to break something.

An orphan list is a reading list. Made-up example. The detector flags three files as orphans, with nothing linking to them: start-here.md, call-checklist.md and old-pricing-note.md. Read one by one, they mean different things: a starting point, keep it; used by habit, link it; stale, retire it. Three flagged, only one to retire.
Three files flagged as orphans, and only one of them should go. Made-up example.
Tap to enlarge
An orphan list is a reading list. Made-up example. The detector flags three files as orphans, with nothing linking to them: start-here.md, call-checklist.md and old-pricing-note.md. Read one by one, they mean different things: a starting point, keep it; used by habit, link it; stale, retire it. Three flagged, only one to retire.

Three files flagged as orphans, and only one of them should go. Made-up example.

The busiest file lies to you. My main learnings file links to almost everything. Walk two steps out through it and you get half the brain back, which is the same as getting nothing. So I read the neighbours of the busiest files selectively, instead of trusting the full list.

Try it

brain-mapAsk "what does changing this file ripple into?" and find the stale and broken links before an agent trusts them.Open the repo

The honest limit

The map only knows what is written down as a reference. A file that discusses an idea without citing the file it came from is invisible to it, so plain search is still the fallback for concepts. And it is a map of links, not a search engine: it will not find the answer to a question, only where to start looking.

Read this next

One question the map cannot answer: is this file still true today? The next chapter starts with what happened when nobody asked it.

Next... What still breaks, the honest page. Or go back to One brain, many doors, which the map's private zones are built to respect.

Brain Builders

Building one of these? You don't have to do it alone.

Join Brain Builders