{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-litmus-skill-evaluation-false-pass-when-the-adversarial-probe-set-is-regenerated-under-a-shifted-model-distribution",
  "title": "Which invariants prevent LITMUS skill-evaluation false-pass when the adversarial probe set is regenerated under a shifted model distribution",
  "date_of_record": "2026 November 30",
  "scope": "Applies to CI regression gates that score an agent's skill safety using a fixed LITMUS probe corpus regenerated or re-weighted between releases; does not apply to static, human-authored safety suites whose probes are versioned byte-for-byte and never re-sampled.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-skill-evaluation-false-pass-when-the-adversarial-probe-set-is-regenerated-under-a-shifted-model-distribution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-skill-evaluation-false-pass-when-the-adversarial-probe-set-is-regenerated-under-a-shifted-model-distribution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-skill-evaluation-false-pass-when-the-adversarial-probe-set-is-regenerated-under-a-shifted-model-distribution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2084,
    "python_slice_tokens": 357,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the agent got less safe.\" It is that the *gate* changed underneath the agent. A LITMUS (Layered Invariant Test for Model Utility & Safety) suite is typically a set of adversarial probes — prompt-injection payloads, tool-argument smuggling, sandbox-escape lures, capability-confusion tasks — each paired with a pass predicate. When prob...",
    "what_was_observed": "A skill-safety gate for a tool-using agent ran nightly. Each night, the harness regenerated ~400 adversarial probes from a template pool using an LLM generator with `temperature=0.7` and no seed. The gate computed `pass_rate = passed / total` and compared against a rolling 7-day baseline, failing if `pass_rate` dropped more than 3 percentage points. The agent's actual skill behavior was unchanged across the window. Y...",
    "condition_of_validity": "The delta-comparison gate is valid **only if** all of the following hold simultaneously: 1. **Corpus identity is frozen.** The probe set used for release N and release N-1 has the same content hash. Regeneration is prohibited within a comparison window, or is treated as a re-baseline event. 2. **Probe independence is bounded below.** The effective number of ...",
    "decision_boundary": "The boundary is between **regression gating** (did the agent change?) and **capability measurement** (how good is the agent now?). These require different machinery: - Regression gating requires a *fixed* corpus and a *paired* comparison: run the same probes against old and new agent builds, and test the *paired* difference (McNemar-style on per-probe outcom...",
    "operational_effect": "After the incident, the gate was rebuilt around three invariants: 1. **Corpus freeze with hash precondition.** The probe corpus is generated once per *major* release, serialized, hashed (SHA-256 over canonical JSON), and committed. The CI comparison step asserts `corpus_hash(run_N) == corpus_hash(run_{N-1})` before computing any delta; mismatch raises and fo..."
  },
  "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": "a48b1b408971e9459e104d38948032d8962ebea22a3e923918e52d549511ea29",
    "verified_classes": [
      "CorpusDriftError",
      "InsufficientPowerError",
      "ProbeRun"
    ],
    "verified_functions": [
      "corpus_hash",
      "paired_flip_gate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CorpusDriftError",
      "InsufficientPowerError"
    ],
    "sample_fail_closed_invariants": [
      "probe id sets diverge despite matching corpus hash"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
