Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / AdmitRejectReason

Type Alias: AdmitRejectReason

ts
type AdmitRejectReason = 
  | {
  code:   | "depth"
     | "quota"
     | "budget"
     | "lifetime"
     | "termination_exhausted"
     | "ladder_exceeds_frozen"
     | "lineage_exhausted"
     | "lineage_busy";
}
  | {
  code: "osc_guard";
  oscillationCount: number;
  spawnKey: SpawnKey;
};

Defined in: packages/core/src/orchestrator/admission.ts:93

The merged reject-code set.