W11Workabilityscope: coreweight: 2fix: auto

    W11: feat/fix commits paired with test commits (test-required gate)

    Why this rule exists (Empirical Evidence)

    Production CI audits show commit-type gating (requiring test coverage when feat/ or fix/ commits land in a PR) prevents untested features from merging silently. File-change heuristics have high false positives; commit-subject or test-diff gating with an explicit opt-out checkbox is precise and reproducible via .github/workflows/test-required.yml.

    Multi-Project Dev Discipline Audit (2026)
    Anti-pattern (Triggers W11)
    # Anti-pattern triggering W11 (feat/fix commits paired with test commits (test-required gate))
    # Feature and bug-fix PRs merge without any test changes or verification check.
    Compliant pattern (Passes W11)
    # Compliant harness passing W11 (feat/fix commits paired with test commits (test-required gate))
    # Blocking CI workflow ensures feat/fix PRs include matching tests unless explicitly justified.
    Verify locally or online
    npm install -g agentlint-ai && agentlint check --check W11

    More Workability checks