Files
skillshare/internal/sync
Willie 899b52a78e fix(extras): keep block edits and placement straight across mode changes
Four gaps in the managed-block modes, found by Codex review of #451:

- Switching a block target to symlink or copy recorded the restore point
  from the file as it stood, block included, so restoring the target
  later brought back instructions the user had removed. The restore
  point now strips this extra's block, as it already stripped its
  import line.
- Detaching a target whose block had been edited by hand dropped the
  edit outright. The edited file is now kept as a drift backup first,
  as an edited copy or link is.
- Fences were only tracked outside a block, so a source that quoted a
  marker in a fenced example produced a target that read as damaged on
  the next sync. Fences are tracked inside the block body too.
- Changing a synced target between prepend and append left the block
  where the old mode had put it, since body and hash still matched. A
  block in the other mode's place is moved.

Refs #436
2026-10-07 00:13:50 +08:00
..