Codify §4.2 requirement-writer single-live partial-unique backstop

FeatureInitializerService
Shipped
July 2, 2026 at 12:48 AM UTC
Author
Kamo
Commit
b0b5fb2

At most ONE LIVE requirement per (loan_file_uid, img_doc_type_id, party) obligation cell. **************** app-layer idempotency read cannot catch a concurrent double-instantiate (both read zero-live; condition + requirement INSERT to different tables → no CRDB conflict). This partial-unique makes single-live structural. Mirrors **************** DocumentRequirementStatus is @Enumerated(STRING). Idempotent CREATE IF NOT EXISTS.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing