← All posts

A folder that stays in sync

Last time was about subtraction — cutting the AI. This is where the focus went: into the single most important thing a private cloud can do, and the least exciting to announce. MeshHold now keeps a folder in sync. Point it at a folder on your disk and it stays mirrored across every machine you own.

Two folders kept in two-way sync across devices

Last time was about subtraction — taking the AI back out. This time is where that focus went: into the single most important thing a cloud like this can do, and quite possibly the least exciting to announce. MeshHold now keeps a folder in sync.

A folder that stays in sync

Point MeshHold at a real folder on your disk and attach it to a vault, and it becomes two-way synced: a file you drop into it shows up on every other device you own; a rename, a delete, an emptied directory all carry across; edit the same file in two places at once and you get an honest conflict you can resolve, with the losing copy kept beside it rather than silently thrown away; and you can pull an old version straight back into the folder from its history.

The point is that it works where your files already live — your Documents on a laptop, your camera roll on a phone — rather than making you move everything into some special app directory. Which sounds simple and is not: the phone side alone meant a proper fight with Android's scoped storage (the daemon reads a folder by its path, and modern Android shows a plain path like DCIM/Camera as an empty folder unless you ask for the right access), and with the way Android times out a background job the moment it runs long, so a sync that starts while your screen is off doesn't take the whole app down with it. The unglamorous stuff is most of the work, as ever.

One sync engine underneath

All of it sits on a single reconciliation engine now. Two nodes use the same piece of machinery to agree on a set of things — and that set might be a vault's file catalogue, a chat room's messages, or a folder's contents; it's one engine either way, with one set of rules to get right instead of three.

The catalogue it moves went versions-first at the same time, so a node that doesn't keep a vault's whole history still keeps the current state of every file. And the whole thing is honest about cost, which matters more than it sounds: if nothing changed, nothing moves — not a wasted byte — and a node never downloads something only to discover it didn't need it and throw it away. After this summer's battle to stop a phone bleeding gigabytes in the background, a sync engine that stays quiet when there's nothing to say is the point, not a nicety.

And the agents are gone too

A short, honest footnote. Following last month's decision to take the AI out of the node, the coding-agent integration — Claude, Gemini, OpenCode, Codex — came out as well. It was the last tendril of the AI appliance MeshHold had briefly grown into, and removing it leaves the daemon doing one category of thing and doing it well. If agents come back, they'll return in the same shape as everything else: an opt-in client that points at a tool you run, never a thing baked into every node.

That's the shape of it: a feature so fundamental it's almost embarrassing to announce — "it syncs a folder" — which is exactly how you can tell it was the right thing to spend three weeks on. A private cloud that doesn't keep your folders in sync isn't really one. Now it is. 0.8 is close, and it finally does the core job.


Since the last post

  • Folder sync: attach a real folder on your disk to a vault and it stays two-way synced across your devices — creates, renames, deletes and emptied directories all propagate, conflicts are resolved with the losing copy kept, and a file's history can be restored straight into the folder
  • Phones included: Android support through its scoped-storage and all-files permissions (so the daemon can actually read DCIM), with a periodic sync window that survives the OS's background limits
  • One sync engine: a single reconciliation engine now moves every kind of set — a vault's catalogue, a room's messages, a folder's contents — instead of a separate mechanism per feature
  • Versions-first catalogue: a node that doesn't keep a vault's full history still keeps every file's current state; the old catalogue tables and their separate sync path are gone
  • Quiet by design: unchanged means ~0 bytes on the wire, and a node never downloads data it then discards — no runtime traffic caps, just nothing to send when nothing changed
  • The coding agents removed: Claude, Gemini, OpenCode and Codex came out, completing last month's removal of AI from the node
  • Notices unified: every system notification is now decided in one place, with the per-feature listeners deleted and the UI shells only rendering what they're handed