BaCheWork and records of a photonics research workhorse
Language

Making AI able to find things again: managing memory with Markdown and folders

How the memory system I share with my AI assistant works: files are the single source of truth, routing decides what to look at first, the index only nominates candidates, and answers are found by following the trail.

Read the overview first, then the source-of-truth layer, the routing layer, and the index and search, in whatever order interests you. If you just want a quick pass, go straight to the last article, the slide-deck version.

Chapters5

  1. Part 1 · Essay · About 5 min read

    Getting AI to find things again: Markdown files and folders as the core of memory

    The memory system I share with my AI assistant: the files are the only truth, routing decides what to look at first, indexes only nominate candidates, and every answer is read back from the files.

  2. Part 2 · Essay · About 5 min read

    Truth layer: one thing per file, and folders are the categories

    How to write memory cards, lesson cards, the project register, and decision logs so that both AI and people can find them again: one home per fact, small cards, append-only.

  3. Part 3 · Essay · About 5 min read

    Routing layer: what AI reads at the start, and what it reads only when it hits something

    Always-loaded content stays under 73 KB; the rest is read only as needed: the opening summary, rules that load when a file is touched, the lookup tables, and an automatic search when “last time” comes up.

  4. Part 4 · Essay · About 5 min read

    Indexes and trail search: indexes only nominate, answers come from files

    Questions take the cheapest route first, and federated search is used only when the trail breaks. Every index can be deleted and rebuilt; SQLite is used only on the side.

  5. Part 5 · Essay · About 4 min read

    Slide version: the whole AI memory system at a glance

    Thirteen hand-drawn slides, from “why AI forgets” to the four-layer architecture, follow-the-trail search, and SQLite's real role; the details are in four articles in the same series.