gatelineAPI reference

One artifact that fails the gate's packet contract (R3, #433). The facts a bounce view composes its line from; the view writes the sentence.

interface BounceFact {
    absent: boolean;
    artifact: ArtifactRef;
    contractName: null | string;
    missing: string[];
    path: string;
    unit: "keys" | "sections";
}

Properties

absent: boolean

The artifact is not in the run directory at all; missing is then empty.

artifact: ArtifactRef
contractName: null | string

The contract's own name for the kind (spec, work item), or null.

missing: string[]

Required sections (markdown) or keys (YAML) absent, as the contract spells them.

path: string

Run-relative path: the Address.

unit: "keys" | "sections"

What missing names: a markdown contract's sections, a YAML contract's keys.