import { type ResolvedConfig } from "../types.js"; import { type Parsed } from "../util.js"; import type { BacklogFinding } from "../backlog/lib.js"; /** * The walk order: routes ruled fully fixed first (regressions surface every * run), then routes with open findings (worst first, then config order), then * the rest in config order. Exported for the tests; pure. * * The fixed band's admission rule is "everything has been fixed": at least one * fixed AI finding, and nothing open or blocked on the route. Open work walks * with the open band; blocked work is a person's, and a route walking first on * its account would stop every run at the same un-dispatchable issue. */ export declare function orderStops(stops: { target: string; route: string; }[], findings: readonly Pick[]): { target: string; route: string; }[]; export declare function firstIssue(parsed: Parsed, pre: ResolvedConfig): Promise;