MlosGuidelineVersion (WORM) + GuidelineVersionResolver (Phase-2 Slice 7)

Featurekamo-shared-library
Shipped
26 Juni 2026, 19:50 UTC
Author
Kamo
Commit
858f4b8

The immutable effective-dated guideline VERSION — the container eligibility matrices **************** and future guideline rules hang off. Faithful replication of the reviewed Slice-1 MlosRateSheetVersion spine, keyed per product (vs per investor). - MlosGuidelineVersion (mlos_guideline_version): productId FK, revisionLabel, effective_from/until, sequence_no, supersedes_id self-FK, status, source_document_id FK, kb_article_guid + kb_article_version_no (§6.4 KB-prose drift-pin, immutable). App-layer partial-mutability WORM (@PostLoad snapshot + @PreUpdate diff): freezes identity/content, permits only DRAFT->ACTIVE, ACTIVE->SUPERSEDED, ACTIVE->RETIRED + write-once effective_until close. - GuidelineVersionStatus **************** - GuidelineVersionResolver (gated mlos.catalog.enabled): point-in-time window resolution, never latest-row, throws on overlap. Mirrors EffectiveVersionResolver. - 17 tests green (6 GuidelineVersionResolverTest + 11 **************** KamoInitializer adds ux_guideline_version_active partial-unique (one open ACTIVE per org+product).

All changes

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei