Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/cli / PreflightDeclaration

Type Alias: PreflightDeclaration

ts
type PreflightDeclaration = Pick<PreflightInput, "spawns" | "orchestrator" | "quotaRules">;

Defined in: packages/cli/src/config.ts:37

The preflight declaration a config or workflow module may export (the experiment-review P2.2): the declared spawn wave, the orchestrator spec, and the quota rule set behind the configured limiter, exactly the PreflightInput slices the estimator cannot derive from engineOptions alone. rulvar preflight merges the workflow module's declaration over the config file's, and --spawns overrides the spawn wave from the command line.