/** * The operator-facing report for hidden-Unicode findings in instruction files. * * Its own module because two hooks render it — the SessionStart scan of the * files that load at launch, and the InstructionsLoaded scan of every file * loaded after that — and a second copy would drift in exactly the way that * matters: the framing that keeps a decoded payload from reading as an * instruction (see decodeRun's `untrusted data` prefix) is part of the report, * not decoration on it. */ /** * @param {Array<{ * file: string, * findings: Array<{ line: number | null, charCount: number, method: string, decoded: string }>, * }>} allFindings * @returns {string} */ export function formatReport(allFindings: Array<{ file: string; findings: Array<{ line: number | null; charCount: number; method: string; decoded: string; }>; }>): string;