ConfidenceGate

class ConfidenceGate(minConfidence: Double) : ExtractionGate

Routes a proposition based purely on its own confidence: anything below minConfidence is rejected, everything else is persisted.

This gate reads the decay-adjusted Proposition.effectiveConfidence — it has no dependency on the surrounding context and therefore makes the same decision regardless of revision or trust signals. Using the effective (rather than raw extraction-time) confidence keeps the threshold consistent with the query layer (PropositionQuery.withMinEffectiveConfidence) and the decay collector, so an aged proposition is gated on the same value every other read path scores it on.

Throws

if minConfidence is outside 0.0..1.0

Constructors

Link copied to clipboard
constructor(minConfidence: Double)

Functions

Link copied to clipboard
open override fun evaluate(proposition: Proposition, context: GateContext): GateEvaluation

Evaluate a single proposition against this gate's policy.