Table of Contents

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

TContext

The 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

context TContext

The framework-neutral evaluation context.

composedDecision GovernanceDecision

The decision composed from constraint results.

constraintResults IReadOnlyList<ConstraintEvaluationResult>

The individual constraint results.

cancellationToken CancellationToken

A token that can cancel asynchronous evaluation.

Returns

ValueTask<GovernanceDecision>

The final governance decision.