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
+8
View File
@@ -664,6 +664,14 @@ var DefaultEnabledEvents = []string{
"app_update_held",
// v0.269.0 (`09` §3 decision 28): the box stopped an app that kept crashing / ran out of memory.
"app_stopped_unhealthy",
// v0.309.0 (R-388 slice 1, operator Q1 2026-10-12): the default completes the page's groups 1 and 3
// („A gépem és a meghajtóim", „Amit mi intézünk" — on by default). Only households with NO saved list
// follow this; no saved choice is changed and nothing is seeded into stored prefs.
// Pinned by TestR388_DefaultListAsGroups.
"storage_reconnected",
"backup_integrity_failed",
"crossdrive_failed",
"health_recovered",
}
// PendingEvent is an event queued for the next Hub push cycle.
@@ -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] {