The host's file layer (web/compat/arduino/vfs_api.cpp) passed readdir()'s
"." and ".." entries through openNextFile() and getNextFileName(). No ESP32
file system returns them, so the firmware's directory walkers do not expect
them, and the boot SPIFFS image purge in UITask::begin() queued "/.." as a
folder and walked up out of <data>/spiffs, deleting every *.png and *.jpg it
reached around the data directory (seen: all screenshots in sibling folders
of a scripted run's data dir were gone after the next run). Both entries are
now skipped, as on the device. Checked with a fresh data dir between marker
files: the markers outside survive, a tile image inside spiffs/ is still
purged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>