← All posts

Blog

Rules beat memory: why your AI keeps sliding back to old habits

Correct an AI once and it remembers. Then it finds 17 old files that do it the other way and goes with the majority. Promote memories into rules.

3 min read

Rules beat memory: why your AI keeps sliding back to old habits

Tell Claude something once and it'll remember. Then it'll find 17 old files that do it the other way, and the 17 files win.

I was talking with a team about building rule sets into their company's second brain, an AI knowledge base over everything they've written. They had already seen the AI drift back to old habits after being corrected. So we talked about why.

When you say something, Claude will remember that in its memory, and then it'll try and do that. But when you try and say, hey, Claude, do this, but there are 17 references that do it the other way, it's going to weigh your memory versus these 17 things and say 17 is better than the one memory.

The one-minute version.

This is part of my series on the three jobs left for developers. This one is about the factory job: owning the machine.

Why the AI outvotes you

From the AI's point of view, this is reasonable. It has one note from you saying "do it this way." It has seventeen documents written by real people over real years, all doing it the old way.

If you were new at a company and saw that, you'd probably follow the seventeen too. The memory looks like an exception. The files look like the standard.

The files are old, though. Your correction is the new standard, and the AI can't know that unless you tell it in a way that carries more weight.

Promote memories into rules

So there's a way to train it that says, look, take the stuff that's in my memory, memorialize it as a rule, and make sure that that rule is reinforced with 100 extra points. So it always beats out the little isms that AI does.

A memory is a note. A rule is an instruction that sits above the source material and tells the AI how to read everything else. When the rule says "always do it this way," the seventeen old files become history instead of precedent.

The 100 extra points means the rule has to win every argument with the files. In practice: put it where the AI reads first, state it plainly, and say it overrides older documents.

Make it a daily habit

So when you say something, pops it in memory, and then at the end of the day or something, we get it sucked into the master rule set that dominates.

That's the loop. During the day, people correct the AI and it stores those corrections. At the end of the day, someone reviews what got stored and promotes the real ones into the master rule set. Throwaway preferences stay as memories. Company standards become rules.

Somebody has to own the rule set

In a knowledge base, the factory is mostly the rule set, and it needs tending every day. That's the factory owner's job.

The tending matters because people still know more than the AI does.

Because you and I are still way smarter than the AI on knowing all this stuff, and we just have to guide and train it.

The AI is very good at reading seventeen files. It has no idea which of them are out of date. That judgment comes from the people who lived through the change, and the rule set is where you write it down.

What to do this week

  1. Find your drift. List three things you've corrected the AI on more than once. Those are your first rules.
  2. Check the source material. For each one, search your shared files for old documents that do it the other way. Count them. That count tells you how hard the AI is being pulled back.
  3. Write the rules plainly. One sentence each. Say that the rule overrides older documents.
  4. Put them where the AI reads first. System instructions, project instructions, or a master rules file at the top of the knowledge base.
  5. Schedule the promotion. Fifteen minutes at the end of the day, or the end of the week, to move real corrections from memory into rules.

If you're building a knowledge base or a software factory and the AI keeps sliding back to old habits, I've worked through this one. Book a call at bry.net and I'll take a look.

What's one thing you've had to correct your AI on three times or more?