- Shipped
- June 26, 2026 at 3:57 PM UTC
- Author
- Kamo
- Commit
- bbe8340
Completes doc 04's config entity inventory **************** - Policy singletons (one-active-per-profile, effective-dated/append-only): PricingPolicy (ppeSourcePriority List<String> — typed MortgageVendorType deferred to the §5 vendor domain; NO LO-comp), CapitalPolicy (NO pullThroughPct) + CapitalConcentrationLimit child, ServicingPolicy (scra/fdcpa immutable invariants). Partial unique indexes + scra/fdcpa CHECKs go in KamoInitializer. - ProductEnablement (single-active per program; channelRestriction @ElementCollection; programId UUID — Program.id is UUID, doc's 'Long' is a code-verified error). - Investor family: InvestorConfig + InvestorOverlay + DeliveryRule (reuses **************** — no dup) + CommitmentRule (reuses CommitmentType). - RiskOverlay (ruleExpression JSONB String). 11 new enums. - MlosActivationService @Component (gated mlos.config.enabled): resolveProfile(orgId) + **************** stage, floor) — ties LenderProfile + autonomy config + AutonomyResolver (the per-tenant source for the gate's confidence wall). 23 mlos.config tests green (MlosActivationService 6 new). Config-entity base pattern throughout (manual @Id UUID + @Embedded EmbRecordState; children no EmbRecordState). Plan: **************** (extended). Deferred: full screen/module/vendor activation matrix + validateProfile + SecurityService self-heal; *.config.history append-only tables; predicate evaluators.