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
TContextThe 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
contextTContextThe framework-neutral evaluation context.
cancellationTokenCancellationTokenA token that can cancel asynchronous evaluation.
Returns
- ValueTask<GovernanceDecision>
The composed governance decision.