mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 15:26:17 +00:00
- page_tree shows orphans and parent cycles (from concurrent moves) as roots; descendants CTE and move_block ancestor walk are cycle-safe - title conflicts compare titles only (not aliases), journals keep their title, and loser suffixes use the random id tail so they cannot collide - aliases get an HLC and tombstones (last-writer-wins) - remote page deletes cascade to blocks; LastChildOf validates the parent - reject empty and date-shaped titles on create/rename; ensure_page redirects dates to journals; rename rewrites refs inside block properties - single-row writes run inside savepoints; invalid remote asset hashes are ignored and never reach blob paths; HLC counter cannot overflow its width - busy_timeout for multi-connection use; schema v2 migration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>