package com.correx.core.risk

import com.correx.core.events.risk.RiskAction
import com.correx.core.events.risk.RiskLevel
import com.correx.core.events.risk.RiskSummary

/**
 * No-op implementation of [RiskAssessor] used during deterministic replay.
 * Replay reconstructs approval decisions from the event log (ApprovalGrantedEvent /
 * ApprovalDeniedEvent) — live risk assessment must never run on the replay path.
 */
class NoOpRiskAssessor : RiskAssessor {
    override fun assess(context: RiskContext): RiskSummary = RiskSummary(
        level = RiskLevel.LOW,
        signals = emptyList(),
        recommendedAction = RiskAction.PROCEED,
        rationale = emptyList(),
    )
}
