/** * Adjudicating a whole issue at once. * * A ruling is about the root cause, and the root cause is the issue: ruling * one fingerprint by-design while its twelve siblings stay open leaves the * issue reopening forever, which is how a chrome defect across many routes, * form factors and schemes could never settle. The fan-out applies the same * per-finding transition the CLI has always offered, so nothing about a * finding's own record changes shape; what is new is the durable half on the * issue itself, which is what lets a sibling that does not exist yet arrive * already ruled. */ import type { Backlog, FindingStatus, IssueRecord } from "./lib.js"; import { clusterKeyOf } from "../fix/cluster.js"; export declare function setIssueStatus(backlog: Backlog, issueId: string, status: FindingStatus, opts: { reason?: string; commit?: string; runId: string; now: string; }): { record: IssueRecord; fingerprints: string[]; }; /** * The issue-level ruling an incoming finding inherits, if any: the record * whose cluster key it would land under, when that issue was ruled by-design * as a whole. */ export declare function inheritedByDesign(backlog: Backlog, f: Parameters[0]): { issue: IssueRecord; reason: string; } | undefined;