The dedup loop only inserted first-seen findings; re-scans skipped existing fingerprints, so control_refs recomputed by the mapping passes were discarded. A finding first seen before control mapping was enabled/tuned never gained its mappings without a delete + re-add.
Fix: existing findings whose re-scan produced non-emptycontrol_refs are now updated in place ($set control_refs). Guarded on non-empty so a run where mapping didn't happen (breakpilot unreachable) can't wipe existing refs. New-finding insert path unchanged.
Green locally (clippy -D warnings, fmt, full suite).
The dedup loop only **inserted** first-seen findings; re-scans skipped existing fingerprints, so `control_refs` recomputed by the mapping passes were discarded. A finding first seen *before* control mapping was enabled/tuned never gained its mappings without a delete + re-add.
Fix: existing findings whose re-scan produced **non-empty** `control_refs` are now updated in place (`$set control_refs`). Guarded on non-empty so a run where mapping didn't happen (breakpilot unreachable) can't wipe existing refs. New-finding insert path unchanged.
Green locally (clippy -D warnings, fmt, full suite).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The dedup loop only inserted first-seen findings; re-scans skipped existing
fingerprints entirely, so control_refs (re)computed by the mapping passes were
discarded. A finding first seen before control mapping was enabled/tuned would
therefore never gain its control mappings without being deleted + re-added.
Now: existing findings whose re-scan produced non-empty control_refs get updated
in place ($set control_refs). Guarded on non-empty so a run where mapping didn't
run (breakpilot unreachable) can't wipe existing refs. New findings unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sharang
merged commit 5bdc35ee92 into main2026-07-22 12:24:37 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The dedup loop only inserted first-seen findings; re-scans skipped existing fingerprints, so
control_refsrecomputed by the mapping passes were discarded. A finding first seen before control mapping was enabled/tuned never gained its mappings without a delete + re-add.Fix: existing findings whose re-scan produced non-empty
control_refsare now updated in place ($set control_refs). Guarded on non-empty so a run where mapping didn't happen (breakpilot unreachable) can't wipe existing refs. New-finding insert path unchanged.Green locally (clippy -D warnings, fmt, full suite).
🤖 Generated with Claude Code