/** * manifest coverage * * Analyzes conformance and unit test results to report which commands, guards, * policies, and constraint branches have been exercised. Produces a coverage * summary with uncovered paths highlighted. * * Integrates with the governance audit suite to enforce minimum coverage * thresholds via --min-coverage and --strict. * * Coverage categories: * commands — Entity.command pairs defined in IR * guards — Per-command guard expressions * policies — Named authorization policies * constraints — Constraint branches (by code + severity) */ export interface CoverablePath { category: 'command' | 'guard' | 'policy' | 'constraint'; id: string; entity?: string; detail?: string; covered: boolean; } export interface CoverageSummary { total: number; covered: number; uncovered: number; percentage: number; } export interface CoverageCategory { name: string; summary: CoverageSummary; paths: CoverablePath[]; } export interface CoverageResult { overall: CoverageSummary; categories: CoverageCategory[]; uncoveredPaths: CoverablePath[]; } export interface CoverageOptions { /** Path to compiled IR JSON file. */ ir?: string; /** Source .manifest file to compile (alternative to --ir). */ source?: string; /** Root directory to scan for test files. */ root?: string; /** Output format. */ format?: 'text' | 'json'; /** Minimum overall coverage percentage to pass. */ minCoverage?: number; /** Exit non-zero when below threshold. */ strict?: boolean; } export declare function coverageCommand(options?: CoverageOptions): Promise; //# sourceMappingURL=coverage.d.ts.map