# R-717 red-proof: TestAfterSetupR717_ARestartInsideTheWindowEndsClosed
# mutation in controller/internal/stacks/after_setup.go:
# --- removed
#   	m.mutateAppConfig(name, dir, "after_setup_opening", func(cfg *AppConfig) bool {
#   		if cfg.SetupGate == nil {
#   			return false
#   		}
#   		cfg.SetupGate.NativeLock = NativeLockOpening
#   		return true
#   	})
#   	if c := LoadAppConfig(dir); c == nil || c.SetupGate == nil || c.SetupGate.NativeLock != NativeLockOpening {
# +++ put instead
#   	// RED-PROOF: no "opening" mark before anything opens
#   	if c := LoadAppConfig(dir); c == nil || c.SetupGate == nil {
$ cd controller && go test ./internal/stacks/ -run ^TestAfterSetupR717_ARestartInsideTheWindowEndsClosed$ -count=1 -v
=== RUN   TestAfterSetupR717_ARestartInsideTheWindowEndsClosed
    after_setup_r717_test.go:149: a restart left sign-up OPEN in the app past its window (record at the crash: native="applied")
--- FAIL: TestAfterSetupR717_ARestartInsideTheWindowEndsClosed (0.01s)
FAIL
FAIL	gitea.dooplex.hu/admin/felhom-controller/internal/stacks	0.014s
FAIL
# exit code: 1
