Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / AdmissionRequest

Interface: AdmissionRequest

Defined in: packages/core/src/l0/spi/admission.ts:57

Properties

PropertyTypeDescriptionDefined in
emergency?booleanHost-flagged emergency work; admitted from the reserve fraction.packages/core/src/l0/spi/admission.ts:81
generationstringThe unit's incarnation token (RunMeta.genesis, typically).packages/core/src/l0/spi/admission.ts:61
reservationAdmissionReservation-packages/core/src/l0/spi/admission.ts:79
resolvedTenant?stringThe RESOLVED effective tenant, computed by exactly the tenantFrom resolution the limiter request uses: the engine-configured tenant by default, the scope's under quota.tenantFrom: 'scope'. Carried as its own field so the two seams debit the SAME identity.packages/core/src/l0/spi/admission.ts:68
scope?AdmissionScopeDimensions-packages/core/src/l0/spi/admission.ts:76
tenantFromScope?booleanTrue when the deployment declared tenantFrom: 'scope', the one configuration in which a disagreement between resolvedTenant and scope.tenant has a documented meaning; outside it the disagreement refuses typed (RFC section 4.1, item 1).packages/core/src/l0/spi/admission.ts:75
unitIdstringCaller-minted unit identity: the run id, typically.packages/core/src/l0/spi/admission.ts:59
weight?numberFairness weight of the member; positive, default 1.packages/core/src/l0/spi/admission.ts:78