mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
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