gatelineAPI reference

Everything the sweep decision needs, gathered from committed files.

interface SweepFacts {
    entry: ScheduleEntry;
    estimateUsd: number;
    lastSweptAt: null | string;
    now: Date;
    openSweep: null | string;
    slugTaken: boolean;
}

Properties

estimateUsd: number

Registry pre-flight estimate for the role.

lastSweptAt: null | string

at of the newest merged sweep marker for this role, ISO; null when none.

now: Date
openSweep: null | string

Branch name of an unmerged sweep for this role, when one exists.

slugTaken: boolean

run/- already exists (merged same day, or another instance won).