Scope
Resetting a policy-engine instance's checks today means calling remove_check once per entry, in reverse index order to avoid index-shift bugs. A single clear_checks call would be both more ergonomic and cheaper than N individual removals for an issuer reconfiguring their policy from scratch.
Acceptance criteria
Scope
Resetting a policy-engine instance's checks today means calling
remove_checkonce per entry, in reverse index order to avoid index-shift bugs. A singleclear_checkscall would be both more ergonomic and cheaper than N individual removals for an issuer reconfiguring their policy from scratch.Acceptance criteria
clear_checks(admin)resetting the check list to empty in one callget_checks()returns empty afterward