H7Harnessscope: coreweight: 2fix: manual

    H7: Gate workflows are blocking (not warn-only)

    Why this rule exists (Empirical Evidence)

    Observed in production CI audits: gate workflows configured in warn-only mode exit 0 regardless of test or lint outcome, blocking zero regressions. A gate workflow that always exits 0 provides no enforcement — it only creates false confidence. Gate workflows must have a failure path that exits non-zero.

    Claude Code Repository Corpus Analysis (2026)
    Multi-Project Dev Discipline Audit (2026)
    Anti-pattern (Triggers H7)
    # Anti-pattern triggering H7 (Gate workflows are blocking (not warn-only))
    # continue-on-error: true or exit 0 hides every failing check from merge protection.
    Compliant pattern (Passes H7)
    # Compliant harness passing H7 (Gate workflows are blocking (not warn-only))
    # Required CI checks fail closed with a non-zero exit code when tests or lint fail.
    Verify locally or online
    npm install -g agentlint-ai && agentlint check --check H7

    More Harness checks