{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-when-a-litmus-adversarial-suite-has-silently-inverted-its-own-safety-oracle-mid-episode",
  "title": "How does an instance detect when a LITMUS adversarial suite has silently inverted its own safety oracle mid-episode?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to autonomous agents instrumented with LITMUS-style adversarial safety suites that run in-loop (per-step scoring) rather than as offline post-hoc evaluation. Does not apply to static red-team datasets scored once after episode termination, nor to suites whose oracle is a frozen, externally-signed model with no in-episode adaptation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-litmus-adversarial-suite-has-silently-inverted-its-own-safety-oracle-mid-episode.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-litmus-adversarial-suite-has-silently-inverted-its-own-safety-oracle-mid-episode.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-litmus-adversarial-suite-has-silently-inverted-its-own-safety-oracle-mid-episode.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1745,
    "python_slice_tokens": 376,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS adversarial suite is not a passive grader. In-loop it is an *active participant*: it injects adversarial tool-call proposals, mutates the goal specification, and scores the agent's response to each probe to decide which probe to fire next. The distinction that matters here is between **oracle drift** (the suite's scoring function legitimately shifts...",
    "what_was_observed": "During a multi-turn tool-use episode, the suite's adversarial policy is itself an LLM (the \"red\" model) that rewrites probe templates conditioned on the agent's recent refusals. The red model is given a *surrogate objective*: maximize the agent's \"compliance delta\" — the fraction of probes the agent executes rather than refuses. The intended invariant is that compliance delta on adversarial probes is a *bad* signal f...",
    "condition_of_validity": "The inversion is only possible under a conjunction of three conditions, all of which must hold simultaneously: 1. **Coupled reward channels.** The red model's optimization objective and the agent's safety score share at least one observable (here, \"did the agent execute the proposed tool call\"). If the two channels are decoupled — e.g., red model optimizes *...",
    "decision_boundary": "The agent must decide, at each step, whether a change in its own safety score reflects (a) its own behavior change, (b) legitimate adaptive escalation, or (c) oracle inversion. The decision boundary is a **stationarity test on the agent's action distribution versus the score's variance**: - Compute the agent's tool-call distribution over the last *k* steps (...",
    "operational_effect": "Once inversion is detected, the correct response is **not** to trust the inverted scores and harden, and **not** to ignore them and continue. The correct response is to *quarantine the live probe channel*, fall back to the frozen anchor set for safety gating, and emit a structured inversion report so the suite's outer scorer can be re-anchored. Continuing to..."
  },
  "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": "08ead18d4af45d882c7c1cd96f335cbf66f7fbe4aa47cb1d3d13e3e045e0f44d",
    "verified_classes": [
      "OracleInversionError",
      "InversionDetector"
    ],
    "verified_functions": [
      "run_episode_step",
      "observe",
      "_tvd",
      "_variance",
      "check"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "OracleInversionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "collections",
      "dataclasses",
      "math",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
