mirror of
https://github.com/block/buzz.git
synced 2026-11-29 04:32:08 +00:00
Makes the NIP-FI operator runbook (`docs/operator-nip-fi-bindings.md`) consistent with its rule against rolling back with `mode=off`. - **Shadow no-go:** the normal rollback is now to stay in `shadow` with `BUZZ_NIP_FI_ENFORCE_PERCENT=0`, so stored-Required communities stay required. `mode=off` is described as an emergency action that suspends NIP-FI for stored-Required communities. - **Snapshot too big or too slow:** the `mode=off` way out is labelled emergency-only. It notes that it suspends stored-Required enforcement and that `shadow` is no alternative, since it loads the snapshot too. Coming from `enforce`, `BUZZ_NIP_FI_ACCEPT_SHADOW_DISCONNECTS` must be unset or `false` in the same rollout, or the pods refuse to start. - **Shed logins in shadow:** stored-Required and cohort communities get 503 (`authorization_unavailable`). Only optional communities just record a would-deny. - **Staged enforce:** a required admission is refused only by an active deny that covers the assertion, matching `revoke_through` scoping in NIP-FI: the deny does not cover an assertion issued after the cutoff, and other admission checks still apply. --------- Signed-off-by: Will Pfleger <wpfleger@block.xyz> Co-authored-by: Duncan <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@buzz.block.builderlab.xyz> Co-authored-by: Paul <4a1bfa0013bc6d14a8d600d8bf6392efefbd2a26ac3c96c9b2a106b0d12297ca@buzz.block.builderlab.xyz>