KamoCRM

Market-scoped lender profile, config rules, relevance and concurrency (MS phase A)

Featurekamo-shared-library
Shipped
November 14, 2026 at 8:08 PM UTC
Author
Kamo
Commit
9b386ef

- **************** THE profile = the org's one ACTIVE mortgage market's, deterministic (oldest market first). **************** and MortgageProviderResolver use it; archived / re-typed markets drop out of resolution. - MlosProfileProvisioner: one home for the profile + singleton defaults (SI auto-execute OFF); called from ensureMortgageMarket in the same transaction. - MlosProfileRules: the full cross-field rule set with stable codes, fields and touched domains (broker, correspondent, TPO, servicing, capital markets, government approvals) + blocking(snapshot, touched). - BusinessTypeDefaults (type-appropriate answers, companion lifts, plain kinds), MortgageCardRelevance (SHOWN / NARROW / NOT_USED per /settings/mortgage card), PolicyVersions (in force / scheduled / withdrawn). - ProfileSnapshot + pure **************** for dry-runs. - @Version row_version on the lender profile and every config row; change log gains before_json, area, how, undo_of, no_undo, actor_kind, record_label, approved_by_member_id; **************** MlosConfigPendingChange (two-person approval). DDL applied by hand 2026-11-14.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing