How Cultivate writes to a vault
Obsidian does the writing
Adding a card, changing one, ticking it off and removing it all go through Obsidian’s Local REST API plugin, so the app that owns your notes makes the change.
Changing a card Cultivate hasn’t touched before adds a short marker to the end of its line, so it can find the card again.
Obsidian closed is the easy case
That matters only while Obsidian has the vault open: its Kanban plugin rewrites a whole board from memory whenever anything changes, and would overwrite you. With the vault closed, nobody is holding the files, so Cultivate simply writes them: no plugin, no port, nothing to install.
It checks two things before it does. Where it can’t write, it says so over the list and turns the writing off, rather than letting you type into something that will refuse it.
Reordering
Putting a card at a chosen place is the one thing nothing in Obsidian offers. So Cultivate has to write the file itself, and it asks first: turn on Reordering in Settings → Obsidian.
- With it on, a drag within a lane, ⌘↑ and ⌘↓ work.
- It’s safest with the board closed in Obsidian, since Kanban can replace a reordering from what it holds in memory.
- Cultivate refuses to write a board that changed since it read it.
On a Kanban board the order and the lane are the same line in the same file, so moving across a lane and moving up one are a single change.
Several vaults, no port wrangling
Every vault’s Local REST API plugin listens at the same address on your Mac, called a port, and only one of them can have it. With two vaults open in Obsidian, the second can’t be reached. Nothing looks wrong: the vault is open and the plugin is installed and on, but Cultivate can’t change anything in it.
Cultivate handles this in three ways, in order of how little they ask of you:
- It finds your vault. If you’ve moved a vault’s plugin to another port, Cultivate finds it there. There’s nothing to set up.
- It refuses the wrong vault. Before it sends anything, Cultivate checks which vault is answering, by the certificate that vault keeps. If it’s not the vault you’re working in, Cultivate doesn’t touch it, so a board can’t land in the wrong vault.
- It offers to give a shut-out vault a port of its own. It asks first, says what it will change, and changes nothing else. The new port takes effect the next time you open that vault in Obsidian.
Or close the vault in Obsidian: Cultivate then writes the files itself, with no plugin and no port. The plugin is needed only for a vault you have open in Obsidian right now.
Reading it again
Cultivate picks up changes you make in Obsidian on its next read. An open list re-reads whole when its app changes, including headings added, renamed or removed elsewhere.
Cultivate is not created by, affiliated with, or supported by Obsidian.