bd18eefc62
Improvement #9 from BUILD-SYSTEM-IMPROVEMENTS.md. Scans the tail of a failed repo cook output and matches it against ~14 known failure patterns documented in AGENTS.md 'COMPLEX FIX CHECKLIST (v6.0-impl17)'. Each rule emits a structured fix with the relevant build flags, paths, and AGENTS.md reference. Usage: repo cook kf6-kio 2>&1 | tee /tmp/build.log classify-cook-failure.py /tmp/build.log Cuts per-failure diagnosis from 5-10 min of manual pattern-matching to 10-30 seconds. Critical for new contributors. Pure read-only analysis, no build side effects. Also opportunistically references the new audit-patch-idempotency.py from the patch-no-longer-applies rule, tying the two improvements together.