Analyze and reorganize
One flow: simple plan → wait for explicit yes → execute → undo from the log.
0. Plan first (required)
Carlos’s rule: “dime tu plan y luego te confirmo.”
Before any mv, mkdir that changes the tree, rename, or copy:
- Write a very simple plan: what moves, from where, to where, what stays, how to undo.
- Stop. Do not run.
- Only after an explicit yes execute with
mv -n. - If they change the plan, rewrite the short plan and wait again.
NEVER DELETE ANYTHING. Do not overwrite an existing destination.
Logs in LOG/ at the disk root (BOTSI-undo-log.jsonl). Never move LOG to para borrar.
Look inside folders before grouping by name. First level first. mv -n one at a time. If destination exists, stop.