gatelineAPI reference
interface GovernorLimits {
    budgetEnforcement?: boolean;
    maxConcurrentDispatches?: number;
    spendLimitUsd?: null | number;
    spendWindowMs?: number;
}

Hierarchy (View Summary)

Properties

budgetEnforcement?: boolean

Budget enforcement (#109). False keeps metering (reports are still accepted) but disables both spend checks, the machine's and every repository's ceiling. The concurrency cap still applies: it is a resource limit, not a budget. Default true.

maxConcurrentDispatches?: number

The most dispatches running at once across the process; 0 or negative is uncapped. Default 2.

spendLimitUsd?: null | number

The machine's spend limit per window, across every repository; null or absent is none.

spendWindowMs?: number

The rolling window the spend limits measure over. Default 24 hours.