I just did something my AI agents couldn't
Описание и применение
Автор пытался перенести файлы проекта ESP‑IDF в папку components, но AI‑инструменты не смогли корректно обновить пути включения и CMake‑зависимости. После ручного исправления REQUIRES‑строк проект собрался успешно.
Задача
Automating the organization of an ESP-IDF project into a components folder failed when relying solely on AI tools.
Результат
Manual inspection of include paths and CMake REQUIRES entries resolved build errors that AI tools could not detect.
Рабочий процесс
- 1. Copied project files using ReptClip.
- 2. Asked Gemini (various free/paid versions) to suggest files to move and new code.
- 3. Followed AI instructions blindly, resulting in widespread syntax errors.
- 4. Repeated the process with Gemini Pro, Gemini Flash Extended, Gemini Pro Extended, DeepSeek v4 Flash, DeepSeek v4 Pro, and GitHub Copilot, all failing to resolve errors.
- 5. Took a break, then returned with a new plan: manually edit #include lines and CMakeLists.txt.
- 6. Identified that incorrect REQUIRES/PRIV_REQUIRES names caused header resolution failures.
- 7. Searched Google for the correct REQUIRES entry, updated the line, and rebuilt successfully.
Доказательства
I realized right away that the #include paths were the real issue.
Adding those fixed a few headers, but some specific headers still failed.
- Дата записи: 2026-09-17T05:45:33.391Z