D5 raw output, both sides of the alert-edge change, same script and same stack.

== AFTER: image built from 9615352 ("Both alerts were level-triggered...") ==
  ttl edge-a=5 edge-b=5
== phase 1: 10 server errors through edge-a only, source 203.0.113.151 ==
  every response: 502
  2 rows, counts=[3, 6]
== phase 2: 10 through edge-a and 10 through edge-b, same source 203.0.113.152 ==
  4 rows, counts=[3, 3, 6, 6]
  engine bans written for these sources: 0

== BEFORE: image built from f7ced94 (the commit before the fix), via a throwaway
   git worktree at that commit, same run5.sh copied in ==
  ttl edge-a=5 edge-b=5
== phase 1: 10 server errors through edge-a only, source 203.0.113.151 ==
  every response: 502
  8 rows, counts=[3, 4, 5, 6, 7, 8, 9, 10]
== phase 2: 10 through edge-a and 10 through edge-b, same source 203.0.113.152 ==
  16 rows, counts=[3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10]
  engine bans written for these sources: 0

Both runs: StreakThreshold=3, Mode=Enforce, TrustProxyHeaders=true,
OpenWaf:State:RefreshTtlSeconds=5, PostgreSQL 18, nginx answering 502 on /boom.
