• Map a severity to the CLI exit code per the catalogue's binding contract (RULE_CATALOGUE.md §Severity meanings).

    • critical → 1 (fails CI)
    • important → 0 (warning summary only)
    • nice-to-have → 0 (info note)

    The CLI takes the max across all findings: any critical → 1, else 0.

    Parameters

    Returns 0 | 1