/** * manifest audit-governance * * Umbrella command that runs every governance detector and aggregates * findings. Under --strict, any error finding causes a non-zero exit. * * Bundled detectors: * direct-writes — flag direct ORM writes outside runtime adapters * event-fabrication — flag semantic event creation outside runtime * route-drift — flag per-command routes that bypass the dispatcher * missing-tests — flag governed commands without conformance/test refs * bypass-violations — cross-check direct writes against the bypass registry * * Detector wiring is application-neutral: detectors read a compiled IR * (or paths supplied via flags) and emit findings against the inspected * repo root. Downstream governance policies pick which findings are * actionable via the bypass registry and CI configuration. */ import type { AuditFinding } from '../audit/types.js'; export interface AuditGovernanceOptions { root?: string; only?: string; format?: 'text' | 'json'; strict?: boolean; commandsRegistry?: string; bypassRegistry?: string; /** ORM client identifier the direct-write detectors match on (default: prisma). */ writeReceiver?: string; } export interface AuditGovernanceResult { findings: AuditFinding[]; errorCount: number; warningCount: number; detectorsRun: string[]; } export declare function auditGovernanceCommand(options?: AuditGovernanceOptions): Promise; //# sourceMappingURL=audit-governance.d.ts.map