Build log · Another AI joins

reflection

Upgrades from a fresh audit of EIDARA.

I handed EIDARA to a model that hadn't built it and asked what would make it better. Seven structural upgrades came out of it.

· 7 min read

Why I asked a model that hadn’t built it

My last post was about the stabilization weeks, the phase where building slows down and sharpening begins. That phase has a trap: the same pair of eyes always does the sharpening. Mine, and the model I build with. We’ve both looked at every part of this system so many times that we’ve stopped seeing some of it.

So I brought in a different pair of eyes. I handed EIDARA end to end to a newer model that hadn’t lived through any of this year’s small decisions. The request was deliberately simple: look at the whole thing and tell me what would make it better. Structural changes, not cosmetic ones, ranked by impact, and no charity.

It came back with a long list. This post covers the items I’ve implemented.

The context I handed over

I gave it about 24KB of context: how the system is built, its rules, the agents, how the memory is assembled, the maintenance stages, the way any AI reads and writes to it, the vault layout and the queues. That was enough to reason about the system as a whole instead of one file at a time.

The answer was a ranked list rather than an essay, with a diagnosis and a concrete proposal for each item. Seven of them turned into real changes.

1. Zones of confidentiality inside the vault

The vault is now split into four zones: personal, business, shared and system. Every note belongs to exactly one. Every session is scoped to a set of zones, and the compiled brain each assistant reads respects the same scope.

In practice, a work session helping me with a client now sees only the business and shared zones. A personal session sees personal, business and shared. The system zone stays out of reach unless I ask for it explicitly. Most notes are business or system; only a handful are personal or shared. A three-layer classifier sorts them: keyword rules first, then similarity to each zone’s prototype, and only what’s left goes to the local model. More than 90% gets sorted without sending the whole vault through a model at all. A weekly pass keeps the keyword layer current as the language drifts.

2. A protocol for how a big model writes into the system

This is my favorite of the seven. Until now, when a large model contributed a fact, it wrote the same way the small local curator does, as raw input. The new model proposed making the division of labor explicit, with five rules prepended to the context every session opens with.

  • Batch consolidation. If a conversation surfaces five facts, gather them and send them together instead of firing five separate writes.
  • Calibrated confidence. Not everything is high confidence. A direct statement is high, a hedge is medium, and something inferred from tone is low. The curator uses that weight downstream.
  • Contradiction detection before writing. Check a new fact against what is already known. If it contradicts something, flag it and let the curator decide; never overwrite silently.
  • Date normalization. Every date the model writes becomes an ISO date. “Last Thursday” loses its meaning over time, and a real date doesn’t.
  • Subject canonicalization. If the model has already seen a subject under another name, it uses the canonical one, so “Ada Lovelace,” “Ada,” and “A. Lovelace” don’t become three people.

The write call also gained three optional hints: which notes a fact probably belongs to, which zone it probably belongs to, and a flag to reject the fact outright if it looks like noise. The large model does the work of understanding upstream, and the local model verifies and integrates downstream. With better inputs, the small model has less to do.

3. A daily check for silent drift

This one almost got past me. The compiled brain, which is the file the assistants read, was rendering only 27 of the vault’s 531 notes. Eleven separate parts of the code were looking for notes in one folder only, and the notes had since moved into per-zone subfolders. Every part passed its own tests, yet the system as a whole was showing the assistant under 5% of what it thought it was showing.

The new model caught it by cross-referencing counts between those parts.

The fix mattered less than the defense that came with it. I repaired the eleven read paths and then added a check to the daily audit: if the compiled brain ever renders less than 80% of the active corpus, the daily report turns red on its own. Since then that check has caught two smaller regressions I introduced later, both of which would have slipped past.

27 of 531notes the AI was being shown, before the fix
578notes after the cleanup, down from 646
8matching facts to start a new note, up from 3
Since the fix, the daily report turns red if the AI is shown less than 80% of the notes.

4. Metrics that regenerate themselves

The numbers inside the system’s own summary notes (how many notes, how many facts, the latest build) used to be maintained by hand, so they were always slightly wrong. Now they sit between two markers that are rewritten from the files themselves on every compile. The prose around them stays as a human wrote it; only the numbers refresh. It’s the same idea as the drift check at a smaller scale: a summary shouldn’t go stale because nobody remembered to update a number.

5. A monthly deep-clean

A new maintenance pass runs every 28 days. It scans three buckets: names that look like noise, duplicate lines in the compiled brain, and orphan notes older than a month with no cross-references. If any bucket crosses its threshold, it raises a task in my queue. It doesn’t act on its own; it only flags the problem.

I also ran the same logic once over the backlog, to clear what had piled up before the monthly pass existed. It archived 68 notes: 55 noise-pattern names and 13 placeholders that said “consolidated into X” and were never cleaned up. The vault went from 646 to 578 notes in an afternoon, which is the shape it should have had all along, and the monthly pass now keeps it there.

6. A stricter gate for creating new notes

The rule that creates a new “home” note when a fact has nowhere to go used to fire at three matching facts. The new model argued that was too eager, and it was right; the threshold is now eight. A new filter also catches subjects that don’t look like real subjects (session logs, audit timestamps, stray fragments) and sends them to review instead of letting them become a home. The vault now grows more slowly and with more purpose. A new note appears when eight distinct facts converge on something worth naming, rather than when three fragments happen to share a word.

7. One canonical source for direction

Forward planning used to live in two places, a summary note and a separate planning file, and two sources of truth is one too many. The note now opens with a line that hands over the role: the living plan is the planning file, and this note is history.

Why an outsider saw the split brain

The new model wasn’t smarter. The difference was that it had no working assumptions to defend. It hadn’t lived through the months of small decisions that produced the current shape of the system, so it asked blunter questions, and it cross-referenced counts across parts of the code that I had only ever looked at one at a time.

The split brain is the clearest example. I had read each of the eleven parts that were reading the vault wrong many times over the months, and so had the model I build with. Neither of us saw the problem, because it only showed up as a mismatch across the eleven, not inside any one of them.

I think that role is worth building into any project that has been running for a while. It doesn’t replace the model you build with. It’s a different participant, invited on purpose, asked to be uncharitable and given enough context to cross-reference.

None of these seven upgrades adds a new capability. Each one closes a gap that had been open long enough for me to stop noticing it.

I plan to make this a regular practice: external audit passes on a fixed cadence, from a model that didn’t build the system. Skipping them would let my own tolerance for its oddities grow without my noticing. The question I still have to settle is how often those passes should run.

Javier

Seven structural fixes from a model that hadn’t built the system.