Interface IAsiBackboneDecisionPolicy<TContext>
- Namespace
- AsiBackbone.Core.Evaluation
- Assembly
- AsiBackbone.Core.dll
Applies domain- or host-specific decision rules after constraint composition.
public interface IAsiBackboneDecisionPolicy<in TContext> where TContext : IAsiBackboneConstraintEvaluationContext
Type Parameters
TContextThe framework-neutral evaluation context type.
Remarks
Constraints produce allow, deny, warning, or not-applicable results. Outcomes such as deferred, acknowledgment-required, and escalation-recommended depend on risk, policy, and broader context rather than any single constraint, so they are produced by this policy boundary.
Methods
ApplyAsync(TContext, GovernanceDecision, IReadOnlyList<ConstraintEvaluationResult>, CancellationToken)
Applies decision rules to the decision composed from constraint results.
ValueTask<GovernanceDecision> ApplyAsync(TContext context, GovernanceDecision composedDecision, IReadOnlyList<ConstraintEvaluationResult> constraintResults, CancellationToken cancellationToken = default)
Parameters
contextTContextThe framework-neutral evaluation context.
composedDecisionGovernanceDecisionThe decision composed from constraint results.
constraintResultsIReadOnlyList<ConstraintEvaluationResult>The individual constraint results.
cancellationTokenCancellationTokenA token that can cancel asynchronous evaluation.
Returns
- ValueTask<GovernanceDecision>
The final governance decision.