Closes#483. A group (#464/#477) started open even when a person had
marked every one of its places, one by one, a false positive, an
accepted risk or ignored; their issues stayed open and the decision was
lost on the group.
- RunFindings::write_back reads, for each group, the stored single
findings of its rule at its places that carry such a decision. Each
place lists its decision (Occurrence.decision; the description shows
"file:line [marked false_positive]").
- When every place carries the same decision, the group takes it, with a
history entry by the scan (ScanChangeKind::Inherited, "inherited from
N grouped findings"); also on a group an earlier run stored open, so
the groups #477 created are set right on the next scan. A decision a
person made on the group itself is never overridden; mixed decisions
leave the group open.
- Issues: the inherited decision closes the group's issue with a comment
(DE/EN, reason quoted); a finding that is already decided never opens
an issue.
- Dashboard: history wording for the inherited change.
- Tests: tests/group_decisions.rs (Mongo: all-same, mixed, earlier open
group, decision on the group kept), unit tests for unanimity, the
description round trip and the issue comment.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p