- name: request-db-cleanup
  where: "database.py"
  ensure: >-
    close_db must close a database connection removed from g, and init_app must register close_db as teardown_appcontext.

- name: webhook-receipt-gates-side-effect
  where: "webhooks.py"
  ensure: >-
    If the unique webhook receipt insert returns no row, apply_paid_event must return before changing any order.
