D2Deep (Opt-In AI)scope: extendedweight: 1fix: manual

    D2: Dead-weight rules

    Why this rule exists (Empirical Evidence)

    Deletion test: 'Follow coding conventions' deleted because model already does this. Four conditions must hold: model can't self-derive, prevents real failure, has decision boundary, doesn't create worse edge cases.

    Anthropic Claude Code System Prompt Evolution (2026)Source
    Anti-pattern (Triggers D2)
    # Anti-pattern triggering D2 (Dead-weight rules)
    # Rule or repository configuration violates this check without verification.
    Compliant pattern (Passes D2)
    # Compliant harness passing D2 (Dead-weight rules)
    # Concrete, verifiable repository configuration backed by anthropic-265.
    Verify locally or online
    npm install -g agentlint-ai && agentlint check --check D2

    More Deep (Opt-In AI) checks