Wire license-aware assignment into DecisionSpine (Slice 2b-ii)

Featurekamo-shared-library
Shipped
June 26, 2026 at 1:45 PM UTC
Author
Kamo
Commit
2719aa9

DecisionSpine.record() now stamps StewardTask.assignedMemberId from the StewardAssigner when a routed decision carries the loan's jurisdiction: - DecisionRequest gains optional subjectStateCode (ISO-3166-2) + actType (LicensedActType). When both present AND a StewardAssigner bean exists (mlos.legal.enabled), the routed task is assigned to a steward licensed in that state for that act; otherwise it opens unassigned (a steward claims it). - StewardAssigner injected as an OPTIONAL Docstor via ObjectProvider, so a spine running without mlos.legal.enabled is unaffected. Back-compat 6-arg constructor retained — the 4 existing DecisionSpineTest pass unchanged. 29 mlos tests green (DecisionSpine 5, StewardAssigner 5, LegalRegistry 9, ComplianceTimer 10). Code-only — no schema change, no KamoInitializer run.

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