Rulvar API reference / @rulvar/core / ExecutionScope
Interface: ExecutionScope
Defined in: packages/core/src/engine/engine.ts:842
The bounded execution scope of one run (RV4007, the fifth comparison experiment's P0.4): WHO this run executes for, as the host names it. The library CARRIES the scope without loss (RunMeta, a genesis journal decision, the invoice header, the export bundle via its meta) and asserts identity on resume; it never interprets it. Tenancy semantics, entitlement, and isolation policy are host decisions: this is an attribution envelope, not IAM.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
account? | string | The billing account within the tenant. | packages/core/src/engine/engine.ts:846 |
legalDomain? | string | The governing legal domain (RV4205, the sixth comparison experiment's P0.2): host-defined vocabulary (a jurisdiction, a regulatory regime), the first of the three named dimensions the experiment's question bound to routing and audit. | packages/core/src/engine/engine.ts:855 |
project? | string | The project or workload name. | packages/core/src/engine/engine.ts:848 |
providerAccount? | string | The provider-side billing account identity, host-defined (RV4205). | packages/core/src/engine/engine.ts:859 |
region? | string | The deployment or data-residency region, host-defined (RV4205). | packages/core/src/engine/engine.ts:857 |
sponsor? | string | The sponsoring principal of the work (RV4408, the seventh comparison experiment's benchmark domain): the party on whose behalf and at whose expense the run executes, distinct from the OWNING tenant and the BILLING account. The Aster adjudication shape is the motivating example: a network operator (tenant) adjudicates a trial financed by a study sponsor, and the sponsor identity must ride attribution, the invoice header, and the regulated posture hash without being conflated with billing. Host-defined vocabulary, like every dimension here. | packages/core/src/engine/engine.ts:871 |
tenant? | string | The owning tenant or organization, host-defined. | packages/core/src/engine/engine.ts:844 |