/** * red-lines-service — main entry. Orchestrates the three tree scanners, * the classifier, and the backing detector, then assembles the final * RedLineAudit envelope. * * Pipeline (per openspec/changes/2026-06-11-l2-1-redlines-audit/design.md): * 1. Run all 3 scanners in parallel (skills, rules, openspec) * 2. Classifier turns MarkdownLine[] into RedLineEntry[] * 3. Backing detector re-classifies each entry (cli-backed vs partial vs prose-only) * 4. Tally + return RedLineAudit * * Sub-agent-sid enforcer (Task 2) is also invoked here: it dogfoods Slice 0.5 * sid-naming-guard and adds any invalid sids as warnings. */ import type { RedLineAudit, ScanWarning } from './types.js'; export interface RedLinesServiceInput { readonly projectRoot: string; } export interface RedLinesServiceResult { readonly audit: RedLineAudit; readonly warnings: readonly ScanWarning[]; } export declare function runRedLinesAudit(input: RedLinesServiceInput): RedLinesServiceResult;