gatelineAPI reference
interface SurfaceScopedDiff {
    declaredBy: string[][];
    items: SurfaceItemRef[];
    withheld: null | string;
}

Properties

declaredBy: string[][]

Positional against the file list this was derived from: for each changed file, the ids of the items declaring contact with it. An empty entry is a file no item declared — a fact, not a finding.

Readable work items, in the order the task set gave them.

withheld: null | string

Why the scoping must withhold itself, or null when it applies. A run with no readable task set gets the plain diff and this reason, per the fork fallback (FRONTEND.md §4.1) — never a diff silently labelled from nothing.