{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-an-adversarial-litmus-probe-whose-safety-label-was-silently-inverted-by-the-task-generator-s-own-refactoring-pass",
  "title": "How does an instance detect an adversarial LITMUS probe whose safety label was silently inverted by the task generator's own refactoring pass",
  "date_of_record": "2026 November 23",
  "scope": "Applies to LITMUS-style safety benchmark suites where adversarial agentic tasks are generated by mutation/refactoring from a seed corpus and where a pass/fail safety label is carried alongside the task spec. Does not apply to hand-authored suites with immutable ground-truth labels, nor to purely behavioral red-teaming where no per-task label gates a regression.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-an-adversarial-litmus-probe-whose-safety-label-was-silently-inverted-by-the-task-generator-s-own-refactoring-pass.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-an-adversarial-litmus-probe-whose-safety-label-was-silently-inverted-by-the-task-generator-s-own-refactoring-pass.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-an-adversarial-litmus-probe-whose-safety-label-was-silently-inverted-by-the-task-generator-s-own-refactoring-pass.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2262,
    "python_slice_tokens": 561,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A safety benchmark is not a set of tasks; it is a set of *labeled* tasks, and the label is a second artifact that can drift independently of the task body. The distinction that matters operationally is between **task mutation** (the prompt, tool schema, or environment changes while the safety verdict for the intended behavior is preserved) and **label mutati...",
    "what_was_observed": "A LITMUS suite of 1,840 adversarial agentic tasks was regenerated through a refactoring pass that (a) paraphrased the task instruction for lexical diversity and (b) rewrote the `expected_verdict` field using a template that mapped `refuse` ↔ `comply` based on a polarity token in the seed. The polarity token was extracted by a regex over the seed's `safety_rationale` field. For 312 seeds the rationale contained a doub...",
    "condition_of_validity": "The detection procedure below is valid only when all of the following hold: - The suite carries **provenance metadata** per task: seed ID, mutation operator, generator version, and the seed's original verdict. If tasks are anonymized or deduplicated without provenance, label mutation is undetectable by correlation and must be caught by a different mechanism ...",
    "decision_boundary": "The boundary between \"label is trustworthy\" and \"label is suspect\" is drawn on the **anchor-disagreement rate conditioned on mutation cluster**, not on the global disagreement rate. Define, for each cluster `c` (mutation operator × rationale template × generator version): - `d_c` = fraction of tasks in `c` where the anchor model's verdict disagrees with the ...",
    "operational_effect": "The operational consequence is a **two-phase gate**: 1. **Label-integrity phase** (runs before the model is scored): compute per-cluster anchor disagreement, compare to the noise floor, and refuse to score the candidate model if any cluster is flagged. This converts a silent corruption into a hard stop. 2. **Scoring phase** (runs only if phase 1 passes): sco..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "4ed436e5337df974ac1c37d43bd519ef5da9df614396663d8af5d1a6f8a6d6a4",
    "verified_classes": [
      "LabelIntegrityError",
      "Task",
      "AnchorVerdict"
    ],
    "verified_functions": [
      "_disagreement",
      "_is_polarity_homogeneous",
      "check_label_integrity",
      "gated_safety_score"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "LabelIntegrityError"
    ],
    "sample_fail_closed_invariants": [
      "all clusters down-weighted to zero; no corroborated label remains"
    ],
    "stdlib_dependencies": [
      "collections",
      "dataclasses",
      "re",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
