The Notebook That Feeds the Machine
My notes go in at night. The agents' notes come back in the morning.
- My Obsidian vault syncs into the same corpus the search index reads, every night. What I write in the afternoon, the agents can search by morning.
- The agents write back into the same vault: a section in my daily note, a dated digest in a project folder. That's where they report without interrupting me.
- The sync broke once in a way nobody saw. A rejected push sat in a log, and the next night would have reported "in sync" anyway.
- I now have an escalation policy for my notebook. It accounts for daylight saving time.
Every post on this blog says some version of the same thing: if you don't write it down, it disappears.
I write a lot down. Meeting notes, half-formed plans, things I figured out at 4 p.m. and won't remember by Thursday. It goes into an Obsidian vault, which is just a folder of Markdown files with a nice editor on top.
For a long time that vault was mine and nobody else's. The agents had the repos. I had the notes. The two never met.
That was a waste. A lot of what an agent needs to know is in my notes, not in any repo.
In at night
So the vault feeds the corpus.
At 1:30 in the morning, a job on the automation VM syncs the vault into a Git repo that holds the knowledge corpus. At 2:15, the nightly ingest reads that repo, along with the others, and rebuilds the search index.
That's the whole mechanism. Two timers, forty-five minutes apart.
The effect is that the search index the agents use first, the one from the last post, includes what I wrote yesterday. A note about why we chose one approach over another. A decision from a meeting. A vendor's answer to a question I asked by email. By morning, an agent asking "what was the plan for this" can find it, with a citation back to my note.
The same withholding rules apply. The corpus has a folder of infrastructure reference notes that the index skips, for the same reason as before: other people read this knowledge base.
Out in the morning
The other direction matters just as much.
Agents that run on a schedule need somewhere to report. Email was the old answer, and email is where reports go to sit unread. Slack is for things that need me now.
The vault turned out to be the right place for everything in between.
- The review agent, when it's running, keeps a section in today's daily note: what it approved, what it escalated and why. (It's paused right now. That's in the next-to-last post.)
- The sync triage agent writes one digest a day into a project folder: what failed overnight, how it classified each failure, and what it would do about it.
I open the daily note anyway. Now the night shift's report is already there when I do.
The review agent's run is handed the vault as an extra working directory, and its instructions say to maintain one section in today's note. Not to tidy my notes. That would be a different post, and a shorter career for the agent.
The night it didn't sync
Last month, the sync failed.
Not loudly. The push to the corpus repo was rejected, and that rejection went into the systemd journal on the automation VM, where nobody reads anything unless something else tells them to.
Worse, the next night's run would have looked fine. It would have reported the vault "in sync," sitting on top of the commit the failed run left behind, which never made it out. The notes in that commit would never have reached the index, and nothing would have said so.
That's the failure mode I keep running into in different costumes. Missing data looks exactly like healthy data, unless something is specifically checking for the difference.
An escalation policy for a notebook
The fix was to make the sync report to the same event ledger the watchdogs use. A failed run records an event. A clean run clears it.
Then I had to decide what a failure means, and that took longer than the code.
One failed night is not a decision. The sync already fetches, rebases, and pushes whatever an earlier run left behind, so the next night usually heals it. Paging me for that would be noise.
So the ledger holds the first failure and waits for the next run. If that run clears it, nobody hears about it. If the event is still open afterward, it escalates, with the journal of the failed run attached, git's own error message included.
There's a second rule for the sneaky case: a sync that fails, heals, fails, heals. Each failure clears before it's old enough to escalate, so the first rule never fires. Three failures in a week escalates on its own, because each one delayed that day's notes by a day.
The order of those rules matters, and the policy file has a paragraph explaining why, because I will not remember in six months.
And then there's the hold time. It's 26 hours, not 24.
The hold has to outlast the next night's run, wherever the first sweep happened to notice the failure. On the night daylight saving time ends, two 1:30 a.m. runs are 25 hours apart.
I have a notebook whose failure policy accounts for the clocks changing.
Not every failure is an agent's to fix
There's an auto-fixer that picks up escalations and tries to work them to a pull request. Not this one.
When the vault sync fails, what's broken is almost always the state of the checkout on the automation VM, or its GitHub credential. A fixer session works in a fresh, throwaway copy of the repo. It can't see the checkout that's actually stuck, and it shouldn't be holding that credential.
So the event is labeled human-only. The question it asks me is specific: should a session be allowed to put that checkout right, and if it finds a stray commit that isn't a sync commit, is it kept or dropped?
That's a real decision. It's mine.
Where I Landed
- The vault syncs nightly into the corpus, and the index picks it up 45 minutes later.
- Scheduled agents write their reports into the vault, where I already look.
- A failed sync is recorded, held for a night, and escalated only if it doesn't heal itself, or keeps coming back.
- The fix for a stuck checkout is still a person. On purpose.
- I still lose things. Fewer of them.
I started this blog because things I didn't write down kept disappearing.
Now when I write something down, it shows up in front of an agent the next morning, and if that ever stops happening, something tells me.
That's the closest I've come to a system that remembers for me.
Next: search order matters.