supervisionPolicy method

SupervisionPolicy supervisionPolicy(
  1. StepArgs args
)

This capability's per-kind supervision declaration.

PURE and side-effect-free: no tree lookups, no I/O. The engine-private host calls it OFF build, after a failure is reported, to select the schedule for the reported CapabilityFailureKind. The default inherits the owning Circuit's backoff/budget, so an existing capability needs no change.

args carries the step's params, so ONE capability declares DIFFERENT policies for different seats/lanes without a global cap.

Implementation

SupervisionPolicy supervisionPolicy(StepArgs args) =>
    const SupervisionPolicy.inherit();