KamoCRM

LoanIdentifierEvent append-only audit entity (doc 11 §5.3/§10)

Featurekamo-shared-library
Shipped
29 ஜூன், 2026 அன்று 3:26 PM UTC
Author
Kamo
Commit
0851a13

The LoanIdentifierEvent half of doc 11 §5.3 step-4 / §10 "audit completeness" (every mint/supersede emits a WORM event row). New **************** LoanIdentifierEventType, LoanIdentifierEventRepository}: a total-block append-only WORM entity (the AiDecision/DecisionInput idiom — all fields updatable=false, @PreUpdate throws, occurredAt = DB dateCreated) recording org/loanFileUid/ identifierId (the new ACTIVE row, soft UUID ref)/supersedesIdentifierId (the superseded prior, null for a mint)/eventType **************** + a nullable aiDecisionId for the paired WORM-decision half (deferred — no registry AiFunction exists yet). Soft refs by id only (no @ManyToOne), Long ids serialized as String. Table auto-creates on the KamoInitializer run (entity-declared indexes on loan_file_uid + identifier_id; no SchemaCleanupRunner change). Additive — shared-lib version unchanged (1.5.0).

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