edc5dae103
Clearing a page's body in git advanced the vault ref past the empty commit, but the persistence store-side empty-guard rejected the empty write (reloading the non-empty DB content) — so Docmost kept the old body while the vault held the empty one, a permanent silent vault<->Docmost divergence that never re-detects. A git-sync write is authoritative and its content IS the vault file, so an empty incoming doc there is a DELIBERATE clear (no transient-glitch empties for a file-sourced write). Allow it (lastUpdatedSource==='git-sync'), mirroring the #251 intentional-clear allowance for the user-signalled source. Verified on stand: a git-side body clear takes the page body 28 -> 0 (page not trashed); previously it stayed 28 (diverged). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>