W3Workabilityscope: coreweight: 2fix: guided

    W3: Tests exist and are non-empty

    Why this rule exists (Empirical Evidence)

    Real-world audit found a project with 'uv run pytest' in CI but 0 test files. CI always 'passed' because there was nothing to fail. Empty-shell CI creates false confidence.

    Multi-Project Dev Discipline Audit (2026)
    Anti-pattern (Triggers W3)
    # Anti-pattern triggering W3 (Tests exist and are non-empty)
    # Rule or repository configuration violates this check without verification.
    Compliant pattern (Passes W3)
    # Compliant harness passing W3 (Tests exist and are non-empty)
    # Concrete, verifiable repository configuration backed by practical-audit.
    Verify locally or online
    npm install -g agentlint-ai && agentlint check --check W3

    More Workability checks