All work

Case study · Knowledge base

A knowledge base every AI can read

A notes vault on my own server that every AI I use reads from: who I am, what the rules are and where each project stands. Ideas, conversations and decisions flow in automatically and get organised once a day. A home dashboard built to my brief shows the whole picture on my phone and laptop.

My role
Requirements and decisions
Built by
Codex, Claude Code and Claude
When
Oct to Nov 2026
Tools
Obsidian, a custom home plugin, a cloud server, Git

This is the other half of the same system as the multi-AI case study. That one covers how the AIs pass work to each other. This one covers the knowledge base they share and the home page I open every day.

The problem

I wanted AI to remember what I had told it, and not just one AI. So I keep my knowledge on my own server, in an Obsidian vault split into six areas. Whichever AI I'm using reads the same content.

I first set it up in Notion on 11 Oct 2026 and moved it to Obsidian the next day. Obsidian lets me customise much more, the app itself is free, and the data stays with me.

By mid-November the goal was clear: a long-term memory that stays useful. Entries should be useful rather than detailed, and the whole thing should keep time, admin and token costs down.

My role and decisions

I set the requirements and made these calls. The AIs did the coding and the organising.

  • Upgrade the dashboard I already used into the official home page, instead of building a bare Markdown page.

  • After reviewing the old home page: split it into Overview and Analytics, move the charts onto one page, remove the large input box, and keep my original whale avatar. I supplied the original image.

  • 21–22 Oct

    Approved installing home version 0.2.6, limited to the agreed changes, then tested the new features on my iPhone myself and signed them off.

  • Asked for an audit of the whole knowledge base, and for the 8 problems it found to be fixed one by one.

  • Changed processing from hourly to once a day, because hourly runs created too much work.

  • Rule files keep only the rules in force, with no contradictions between them. Older versions are archived separately.

  • Removed the rule that stopped publishing whenever a file disappeared, and the cap on snapshot storage. The aim is to keep it running with less maintenance.

  • Moved the daily processing to Claude on the server instead of waiting on another provider's quota. I approved the install and did the sign-in myself.

  • My voice-notes app, ideaShell (闪念贝壳), handles ideas and recordings. Stable facts, preferences, goals and decisions go only into the knowledge base.

  • When a decision, preference or lesson comes up in a conversation, the AI saves it to the inbox straight away, without waiting to be asked.

  • New memories should take effect automatically instead of waiting for my approval, and items under review should take effect after 14 days if nothing contradicts them.

How it works

The code, tests, deployment and organising were done by AI. Here is how the pieces fit together.

How knowledge flows in

  1. Sources
    • Voice notesabout every 30 minutes
    • AI coding sessionsevery 3 hours
    • Phone chatssaved on the spot
  2. InboxEverything lands here first
  3. Daily run, 00:30Drafts changes, validates them, then writes
  4. Pages
    • Memory
    • Decisions
    • Projects
  5. Read by every AI
    • Search index
    • Handoff card
    • Private, signed-in connector
Everything goes through the inbox and is organised once a day, so the AIs work from one shared source.

Collect

Voice notes are pulled in about every 30 minutes, AI coding sessions on my laptop are captured every 3 hours, and decisions from phone chats are saved on the spot.

Organise

At 00:30 every day the server reads what's new in the inbox, drafts changes, validates them and writes them into the memory, decision and project pages. Maintenance runs every Sunday.

Trust labels

Each memory is marked Confirmed, Needs Review or Superseded, with a date and a source. Unknowns are written as UNKNOWN. Nothing is filled with zeros or made up, and a replaced decision stays on file with a note saying what replaced it.

Decision log

Every decision gets an ID, with the date, my original words, the reasons, the alternatives and its status. By 16 Nov the numbering had reached 37.

Search and handoff

All notes go into a search index that can be rebuilt at any time. A full knowledge index and a one-page handoff card are generated automatically.

Data protection

A copy before every write, a recoverable trash, weekly snapshots and Git history every 30 minutes. There is no permanent delete.

AI access

A private connector that requires signing in, so AI on my phone and on the web can read and write the same vault.

Home dashboard

An Obsidian plugin with two pages, Overview and Analytics. It shows knowledge growth, recent notes and open work. Each project's status lives only on that project's own page, and the home page reads it from there instead of keeping a second copy.

The home dashboard, as a schematic

A schematic with placeholder content. The real dashboard shows my own notes, so it isn't pictured here. The whale is a stand-in for my avatar.

Results

426notes in the search index on 15 Nov 2026
424/424files restored in an isolated restore drill
439files matched one by one between server and laptop
130local tests passing for the home plugin
  • 426 notes were in the search index (15 Nov 2026).
  • The weekly snapshot held 461 files. A sample restore passed and the weekly scan found 0 errors (15 Nov).
  • An isolated restore drill brought back all 424 files (10 Nov).
  • An off-site restore drill brought back 430 files from GitHub, 429 of them identical (15 Nov).
  • The server vault and my laptop's copy matched file by file, 439 files in all (15 Nov).
  • The home plugin had 130 local tests passing, and the installed version, 0.3.1, matched the repository source (15 Nov).
  • The home dashboard passed the agreed checks on both my laptop and my iPhone (22 Oct).
  • The main rules file went from 14 KB to 7 sections of rules in force, with older versions archived (14 Nov).

What didn't work, and what I learned

What didn't work

  • Search used to be weak. The 15 Nov audit found it only matched whole phrases, so a two-word search found nothing. Notes from 18 Nov say multi-keyword search has shipped. I haven't re-tested it here.
  • Memory was incomplete. By 15 Nov there were only 10 core memory entries, and the memories kept inside each AI account hadn't been brought in. A batch was imported later and marked Needs Review.
  • Automatic activation isn't live yet. The 14-day rule hadn't been built as of 17 Nov.
  • Processing stopped for three days. From 12 Nov it was waiting on an executor that couldn't be reached. On 14 Nov it moved to a daily run with a different setup, and it recovered.
  • The AI broke it once. On 15 Nov, while trimming a status page, it moved two sections that a program reads. The 06:18 run failed. It was fixed and re-run successfully at 08:19.
  • There is only one server. The content has an off-site copy, but rebuilding the whole machine hasn't been rehearsed, and my laptop has no system backup.
  • I don't like how it looks. The home page works, but it's plain, like a bare-bones website from around 2000, and sometimes I don't feel like opening it. The folder structure has become messy too.

What I took from it

  • Before moving content, check which sections a program depends on. That rule was written down after the 15 Nov failure.
  • My standard is that it keeps running with little maintenance. Moving to a daily run on the server is what got processing going again.
  • Looks matter for a tool I open every day. Next I want to make the vault visual and tidy its folders, as a project of its own.