KamoCRM

AI autonomy config + safety-floor resolver (Phase-1 Slice 2)

Featurekamo-shared-library
Ya
26 Juni 2026, 14:36 UTC
Mwandishi
Kamo
Ahadi ya
f5b9113

- AiAutonomyConfig (singleton per LenderProfile; autonomyLevel **************** globalDefaultThreshold DECIMAL(4,3), autoExecuteEnabled) + AutonomyStageOverride (per (profile,stage); stageKey reuses LifecycleStage — no separate PipelineStage enum exists; confidenceThreshold + autoExecuteEnabled). Same config-entity base pattern (manual @Id UUID + @Embedded EmbRecordState); UNIQUE(lender_profile_id) singleton + UNIQUE(profile,stage_key). - AutonomyResolver @Component (ungated, stateless like DecisionGate): effectiveThreshold = max(stageOverride?:global, safetyFloor) — autonomy tunes ONLY the confidence wall and can NEVER lower the non-tunable platform floor (doc 13 §8.7); autoExecuteEnabled override-then-global. The per-tenant source for the gate's confidence wall (wiring deferred). 5 AutonomyResolverTest + 4 LicensingResolverTest green (TDD). Indexes entity-declared. mlos.config already in KamoInitializer scan — re-run creates the 2 new tables.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila kitu kinaingia kwenye tovuti yako mwenyewe. Anza kwenye mpango wa bure na usome ukurasa huu tena katika mwezi mmoja.

Kuwa Huru MileleMtazamo wa bei