KamoCRM

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

Featurekamo-shared-library
Shipped
26 ஜூன், 2026 அன்று 2:36 PM UTC
Author
Kamo
Commit
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.

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