I have a project that worked really well. It has a bunch of libraries, so the .ini file had a lot of libraries.
I put it away for a year, and when I opened it the other day none of the libraries are in the .ini file.
I copied these from another file- they were all somehow deleted:
esp_now
WiFi
FS
ottowinter/ESPAsyncWebServer-esphome@^1.2.7
https://github.com/arduino-libraries/Arduino_JSON.git
https://github.com/adafruit/Adafruit_Sensor.git
https://github.com/adafruit/Adafruit_BME680.git
https://github.com/adafruit/Adafruit_SGP30.git
Adafruit_GFX
https://github.com/adafruit/Adafruit_BusIO.git```