wikidb.tracker.gate

wikidb.tracker

gate(ctx, key, fields) -> passed, err, which

Run every gate a field change must pass

which names the gate that refused: tie, epic or review. Only a review refusal is waivable, so a caller offers close -f for that one alone. The gates that cannot be waived run first, so a waivable refusal never hides one that is not.