Isolated best-effort profile write-back for legal-wall paths (D47)

Featurekamo-shared-library
Shipped
July 4, 2026 at 11:15 PM UTC
Author
Kamo
Commit
eeee322

mergeFactsBestEffort runs the enrichment write-back in its OWN transaction (REQUIRES_NEW) so a failure can never roll back the caller's transaction — the safe write-back for a legal-wall decision path (AUS/internal-rules) whose decision-of-record must persist regardless. Skips silently when no profile exists. +1 shared-lib test (skip-when-absent / delegate-when-present).

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