// Quality Intelligence validation finding (Epic #270, Issue #277).
//
// A validation finding is the output of any QI validator stage: deterministic logic
// checks, faithfulness vs source atoms, semantic equivalence, mutation testing, policy
// gates, or a human reviewer rejection. Findings are the inputs to review governance
// (#282) and to the audit summary (this package).
//
// `summary` is a non-secret single-sentence description. Validators MUST redact before
// constructing the summary; the contract surface assumes redaction has already happened.
export const QUALITY_INTELLIGENCE_VALIDATION_FINDING_KINDS = [
    "logic-defect",
    "faithfulness-defect",
    "semantic-defect",
    "mutation-defect",
    "policy-violation",
    "manual-rejection",
    "coverage-gap",
    "test-quality",
];
export const QUALITY_INTELLIGENCE_SEVERITIES = [
    "critical",
    "high",
    "medium",
    "low",
];
/**
 * Total ordering on severity, highest-first. `critical` < `high` < `medium` < `low`
 * in this ordering (lower number = more severe). Pure; used by callers that need to
 * sort or threshold findings.
 */
export const QUALITY_INTELLIGENCE_SEVERITY_RANK = Object.freeze({
    critical: 0,
    high: 1,
    medium: 2,
    low: 3,
});
