fix(local): route multi-signature packages to human triage in the proposer #119

Merged
pat-s merged 1 commit from t3code/fix-ambiguous-proposals into main 2026-07-14 17:11:55 +00:00

2026-07-14

fix(local): route multi-signature packages to human triage in the proposer
A package whose failing builds match more than one auto-proposable signature
(e.g. some logs hit `tbb-stddef-removed` and others `rcppparallel-bundled-tbb`)
produced two candidate registry entries with the same package/platforms/versions
key, so the candidate set failed `validate-patches.R` with "ambiguous duplicate
entries" and the whole proposer run aborted.

Add a pure `dedupe_candidates()` that keeps a package only when it maps to a
single signature and routes genuinely ambiguous packages (conflicting fix tiers)
to human triage instead of guessing between them. The proposer prints the
skipped packages and proceeds with the unambiguous candidates.
2026-07-14 17:11:02 +00:00