Files
felhom.eu/documentation/audits/signup-lock-2026-09-29/redproofs/RP25.txt
T

10 lines
646 B
Plaintext

# RP25 — the gate opening sets the app's own switch
# mutation in internal/stacks/setup_gate.go:
# - '\tif st.Meta.AfterSetup != nil {\n\t\tm.goNativeLock(name, true, "the gate opened ("+by+")")'
# + '\tif false && st.Meta.AfterSetup != nil { // RED-PROOF RP25\n\t\tm.goNativeLock(name, true, "the gate opened ("+by+")")'
# go test -run ^TestAfterSetup_TheGateOpeningSetsTheAppsOwnSwitch$ ./internal/stacks
# verdict: RED (assertion)
=== RUN TestAfterSetup_TheGateOpeningSetsTheAppsOwnSwitch
after_setup_test.go:59: the app's own switch was not set: env="" starts=0
--- FAIL: TestAfterSetup_TheGateOpeningSetsTheAppsOwnSwitch (0.01s)