Implement steps 1 + 2 of issue #115: turn recorded build failures into
triaged patch suggestions instead of hand-scraping Crow logs.
- add local/failing-builds-classify.R with pure, DB-free helpers to
normalise error_text into a stable fingerprint and classify it against a
seed signature set (removed tbb_stddef.h, RcppParallel bundled TBB,
system libuv link leak), each carrying a fix tier, confidence, and an
auto/human-only flag
- add local/failing-builds-report.R, a read-only entrypoint that queries
single_builds WHERE error_occurred, groups by root cause, classifies
each group, and prints (optionally emits JSON) a triaged report with a
pre-filled registry.json entry for known, safe fix levers only
- keep novel source diffs and unknown signatures routed to human triage,
per the issue guardrails; never write to the DB or the registry
- cover the helpers with local/tests/test-failing-builds-classify.R and
document the workflow in local/patches/README.md