What problem does it solve?
It helps you diagnose OpenHarmony build failures by extracting the latest error block into last_error.log and then mapping common error patterns to concrete, file-specific remediation steps.
Core Features & Use Cases
- Latest log extraction workflow: Ensures analysis is based only on out/<product>/last_error.log (or out/sdk/last_error.log for SDK builds), avoiding stale errors from older logs.
- Error pattern classification: Categorizes failures into linker errors (undefined symbols), compiler errors (CXX/CC), and build system (GN/Ninja) issues.
- Historical case matching: Recommends fixes using the skill’s curated examples (e.g., missing .cpp in BUILD.gn/ace_core_ng_source_set, ACE_FORCE_EXPORT + libace.map export gaps, forward declaration/incomplete type issues).
- Use Case: You just hit a SOLINK “undefined symbol” during ace_engine build and need to know whether the missing fix is adding sources to the correct BUILD.gn location, exporting symbols, or addressing template/visibility rules.
Quick Start
Provide your AI request as: Analyze last_error.log and recommend the exact code/build-system changes needed to fix the OpenHarmony build error without modifying files automatically.