Architecture Notes

Leaving the sync — and the system by the numbers

· 5 min read · Martin Kallenbach

In March a sync service held my AI OS together. In October I switched it off. The last story of the series; the ten lessons follow in post 12.

On the evening of 8 October 2026 Claude checked my machines and added one line to the top of the cutover runbook: “Obsidian Sync is off on every host.” My laptop had been exchanging notes through git since the day before.

In March, in ADR-001 from post 2, I had written the opposite: the machines would not call each other, and “Obsidian Sync is the integration layer”.

Half a year of glue

It worked, except that nothing travelled while the laptop slept. In early August the sync client on Bespin* hung for three days without a word. On 5 October my focus for the day reached my home page only after the laptop woke at 12:37. That evening I made it a rule: everything that works, works independent of the sync.

The cutover

On 3 October I chose git plus a reader of my own (post 10), and ended the planned week of parallel running early, on 7 October.

The transport is git with Yavin*, the home server, as the hub. Each client commits, merges the hub’s latest state and pushes the result as its own branch; the hub merges every branch into the live vault under one lock. Bespin* gave up its working copy; it keeps an off-site copy of the history, and since 10 October a read-only copy for the standby reader.

Before and after 8 October: a service in the middle, then one hub.
Before and after 8 October: a service in the middle, then one hub.

What went wrong on the way

The first test exchange, on 7 October, conflicted at once: another session was editing a note while Sync still ran on the same folder, and git kept the older line. Claude, which had run the test, restored the newer line on both machines within two minutes; nothing was lost. Since then each machine switches in one step and never runs both. I know this from the runbook, not from memory.

Coordinate the writes, not the sessions

On 4 October, after I complained that parallel sessions kept messing things up, Claude counted: since early July, two or more had overlapped within ten minutes on sixty of seventy-six days with interactive sessions. The recorded damage was mostly near-misses and wrong status reports. The only real lock was the write lease on my ledger database, built after a July day with 32 writers.

Instead of more locks, four rules: an unattended run names the notes it will write and queues itself if another has claimed them; a shared note is changed only by patching a fresh read; one session per code repository on the home server; nothing unattended starts around the nightly task clean-up.

The system by the numbers

As of 10 October 2026: three machines; 101 scheduled jobs (67 on Yavin*, 21 on Bespin*, 13 on Falcon*, my laptop); nine containers and a 3 TB storage pool on the home server; 48 code repositories with 1,813 commits since March; 32 skills in three plugins; seven MCP servers in the desktop app, at least two built by me; 7,364 Markdown notes, 232 of them journal pages; 3,268 archived Claude sessions; a rulebook of 379 lines (398 before a tidy on 12 October). The 101 include every timer, cron entry and launchd job (the Mac’s scheduler); post 3’s 67, of 31 August, was a narrower count, without user timers and all cron entries.

The system by the numbers, as counted on 10 October 2026.
The system by the numbers, as counted on 10 October 2026.

The pattern

Independence from any single device or service; coordinate the writes, not the sessions. The system no longer stops when the laptop sleeps.

The same assistant wrote many of this series’ failures, most of the reviews that found them, and much of the code that now constrains it. The fix that held was never “be more careful”; it was a check, a hook or a refusal.

Not solved: nothing locks a note, and the four rules are prose each session must read. My Obsidian edits on the laptop still wait for it to wake. And the rulebook keeps growing back.

Eleven posts later

This series followed one system from four inboxes in February to three machines in October. Tiago Forte and Nick Milo taught me much of the groundwork; why the system exists is in The Intentional Living Engine. If you are building your own, tell me how: martin@bilboconsult.com or LinkedIn.

Part 11 of twelve in the series on how I built my AI OS. Start with the preface.

Next: the ten lessons for builders, collected in one place.

* Host names are changed (here: Falcon, Yavin and Bespin). The real ones come from a different saga.


Appendix — for builders

  • Ask what happens to your integration layer when one machine is off. Mine assumed every machine was awake.
  • Decide the conflict rule before the first conflict. Mine: the hub’s version stays, and the other is kept beside it under a name the system ignores; the daily journal, appended to by several machines, keeps both lines.
  • Guard against the empty folder. Refuse a commit that deletes hundreds of files, and do nothing when a known file is missing.
  • Give every client a heartbeat. Silence was the failure the sync never reported.
  • What I considered instead: Obsidian everywhere over git (fewest changes, but git and conflicts on the phone), tasks in a database (no half-failed writes, but every task skill rewritten), and the sync with a watchdog (nothing to build, but a service in the middle and a month of history). I chose git with one hub for full history, a record of what automation changed, and no dependence on one device or service.

Also published on Kalli Family.