Table of Contents

Interface IAsiBackbonePolicyEvaluator<TContext>

Namespace
AsiBackbone.Core.Evaluation
Assembly
AsiBackbone.Core.dll

Evaluates a framework-neutral context against the active policy structure and composes the result into a governance decision.

public interface IAsiBackbonePolicyEvaluator<in TContext> where TContext : IAsiBackboneConstraintEvaluationContext

Type Parameters

TContext

The framework-neutral evaluation context type.

Remarks

This is the decision step of the governance spine. The host supplies the constraints and context; the evaluator owns the composition loop.

Methods

EvaluateAsync(TContext, CancellationToken)

Evaluates the supplied context and returns the composed governance decision.

ValueTask<GovernanceDecision> EvaluateAsync(TContext context, CancellationToken cancellationToken = default)

Parameters

context TContext

The framework-neutral evaluation context.

cancellationToken CancellationToken

A token that can cancel asynchronous evaluation.

Returns

ValueTask<GovernanceDecision>

The composed governance decision.