H5Harnessscope: coreweight: 1fix: manual

    H5: Env deny coverage complete

    Why this rule exists (Empirical Evidence)

    Corpus analysis: 88 repos deny Read(./.env), but only 78 cover .env.* variants (.env.local, .env.production). Partial deny creates false sense of security — the most sensitive env file variants remain readable.

    Claude Code Repository Corpus Analysis (2026)
    Anti-pattern (Triggers H5)
    # Anti-pattern triggering H5 (Env deny coverage complete)
    # Rule or repository configuration violates this check without verification.
    Compliant pattern (Passes H5)
    # Compliant harness passing H5 (Env deny coverage complete)
    # Concrete, verifiable repository configuration backed by corpus-4533.
    Verify locally or online
    npm install -g agentlint-ai && agentlint check --check H5

    More Harness checks