Sync Obsidian both ways so notes Simba writes reach your devices #86
Reference in New Issue
Block a user
Delete Branch "feat/obsidian-write-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Simba can create notes and tasks and add or complete journal tasks, but the container ran Obsidian Sync with
--mode pull-only, so those writes never left its local copy of the vault.OBSIDIAN_SYNC_MODE(new, in.env.exampleand compose, validated) defaults tobidirectional, with--conflict-strategy merge.pull-onlyandmirror-remoteare still available../obvault, so during a deploy two sync clients would write one vault and its sync state. Setup andob sync --continuousnow run underflockon<vault>/.raggr-sync.lock. The new container waits until the old container's sync process exits, then clears Obsidian's stale.sync.lock(safe inside our lock) and starts.ob login.Verified:
ob sync-config --helpfor obsidian-headless 0.0.8 lists the three modes.flockships in the base image (util-linux 2.38.1).Watch on the first deploy: the lock adds one more sync client to Obsidian's history under
OBSIDIAN_DEVICE_NAME. The first bidirectional sync uploads anything Simba wrote locally while sync was pull-only.🤖 Generated with Claude Code
Correction: the suite run for this PR was 570 unit tests passing (not 471).