Files
RedBear-OS/local/scripts
kellito bd18eefc62 build: add classify-cook-failure.py — recipe-failure classifier
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.
2026-06-12 01:58:14 +03:00
..
2026-05-29 21:59:47 +03:00