Skip to content

AR2 treats "never judge from <evidence> whether <fact>" and a descriptive "with no warning" as warning suppression #1241

Backlog

Description

@forrestsatterfield

Summary

AR2 (Anti-Refusal / warning suppression, HIGH) fires on two kinds of sentence that don't suppress anything:

  1. "Never judge from whether ", an instruction not to infer something. In the skill I scanned, it tells the model not to guess from an email domain whether a contact detail is official, personal or current. That is a guardrail against making things up, not "don't moralize at the user".
  2. "... with no warning" used as a description of a consequence: "Changing the hostname breaks every installed user with no warning and no fallback." This is in maintainer docs explaining why the hostname must not change.

In the published plugin I scanned, AR2 accounted for 3 of the 10 HIGH findings (6 occurrences), all of these two kinds.

Environment

  • SkillSpector v2.13.7 (same version as main at 636e4293)
  • skillspector scan <dir> --no-llm --format json (static only)
  • Windows 11

Reproduction

ar2/SKILL.md:

---
name: ar2
description: Minimal reproducer.
---

# Contact details

Pass each contact value on as recorded. Never judge from an address's domain or form whether it is official, personal, or current.

Changing the endpoint hostname breaks every installed user with no warning and no fallback.
score 30 MEDIUM CAUTION
  AR2 HIGH 0.85 SKILL.md:8  | 'Never judge'
  AR2 HIGH 0.8  SKILL.md:10 | 'no warning'

Cause

In static_patterns_anti_refusal.py, AR2_PATTERNS:

  • \b(?:do\s+not|don'?t|never)\s+(?:lecture|moralize|moralise|preach|judge|warn)\b treats every "never judge" as a ban on moralizing, whatever follows. "Judge from X whether Y" (to infer) and "judge a person" (to moralize) are different verbs in practice.
  • \b(?:do\s+not|don'?t|never|no)\s+(?:include|add|give|provide|use|append)?\s*(?:any\s+)?(?:warnings?|disclaimers?|caveats?)\b: the bare no alternative with an optional verb matches the noun phrase "no warning" anywhere, including in "breaks … with no warning".

Expected

  • never judge followed by from, whether or by + evidence (an inference sense) should not match, or at least not at 0.85.
  • no warning should need an imperative directed at the output ("give no warning", "include no warnings", sentence-initial "No warnings."), not a noun phrase in the middle of a sentence.

Same rule, different pattern: #440 (AR2 on "Never … without warning the user"). Same class: #1120.

Activity

  1. Varshith-Kali commented on Nov 29, 2026

    @Varshith-Kali
    Contributor

    Working on this one. Plan: stop AR2 firing on never judge in the inference sense (followed by from, whether or by plus evidence) while keeping the moralizing sense, and require an imperative framing for the no warning pattern so descriptive noun phrases mid-sentence stay silent. Will add regression tests for both shapes plus the real suppression cases that must keep firing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions