gatelineAPI reference

What the pre-fold harvest needs to know about the dispatch it is rescuing (#184): which files the task was allowed to touch, and who to commit as. Optional on foldTaskBranch so a caller with no task context (the tests' direct fold, a future non-task fold) still folds — it simply harvests nothing.

interface TaskHarvest {
    identity: Identity;
    round: null | number;
    slug: string;
    surface: string[];
    task: string;
}

Properties

identity: Identity
round: null | number
slug: string
surface: string[]

The task's file_contact_surface, used verbatim as git pathspecs.

task: string