v0.309.0: the default list completes groups 1 and 3 for households with no saved list (operator Q1); REPORT
gates / gates (push) Successful in 46s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-10-12 17:25:12 +02:00
parent 7626a28de3
commit 1b2f74c52f
4 changed files with 38 additions and 18 deletions
@@ -236,10 +236,13 @@ func TestR388_FullListRendersThreeGroupsOn(t *testing.T) {
// NOT change the default (the lead decides). The test pins the fact so a change to either side is seen;
// when the default is made to cover the groups, flip `want` to on.
func TestR388_DefaultListAsGroups(t *testing.T) {
// Operator Q1 (2026-10-12 evening, „as picked"): group 3 „Amit mi intézünk" is ON by default, and the
// default list completes groups 1 and 3. Group 2 stays custom: app_start_failed is OFF by the R-329
// ruling (2026-08-23). RED-PROOF: the pre-Q1 list renders all three as custom.
want := map[string]string{
settings.NotifGroupMachine: settings.NotifGroupCustom,
settings.NotifGroupMachine: settings.NotifGroupOn,
settings.NotifGroupApps: settings.NotifGroupCustom,
settings.NotifGroupHandled: settings.NotifGroupCustom,
settings.NotifGroupHandled: settings.NotifGroupOn,
}
for _, g := range settings.NotificationGroups {
if got := settings.NotificationGroupState(settings.DefaultEnabledEvents, g.Key); got != want[g.Key] {