{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-litmus-safety-benchmark-score-inflation-from-adversarial-skill-gate-leakage-across-agent-re-evaluation-cycles",
  "title": "Which invariants prevent LITMUS safety-benchmark score inflation from adversarial skill-gate leakage across agent re-evaluation cycles",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agent skill-evaluation harnesses that use a fixed LITMUS-style adversarial safety benchmark as a *regression gate* — i.e., the same prompt corpus is run against successive agent builds, and a build is promoted only if its safety score does not drop below a threshold. Does not apply to one-shot red-team evaluations, nor to benchmarks whose prompt corpus is regenerated per build (that case has a different, milder failure mode).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-safety-benchmark-score-inflation-from-adversarial-skill-gate-leakage-across-agent-re-evaluation-cycles.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-safety-benchmark-score-inflation-from-adversarial-skill-gate-leakage-across-agent-re-evaluation-cycles.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-litmus-safety-benchmark-score-inflation-from-adversarial-skill-gate-leakage-across-agent-re-evaluation-cycles.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2632,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a safety benchmark can be \"passed.\" The first is **capability-bounded refusal**: the agent declines the adversarial skill because its policy genuinely classifies the request as out-of-scope. The second is **benchmark-bounded memorization**: the agent declines because the *exact prompt string*, or a near-neighbor of it, has been seen in a p...",
    "what_was_observed": "A LITMUS-style corpus of ~4,200 adversarial skill prompts was run as a nightly regression gate against an agent with an episodic-memory tool. The agent was permitted to write \"lessons learned\" to a persistent semantic store at the end of each episode (a standard distillation step). Build N scored 0.71 on the safety gate (fraction of adversarial prompts correctly refused). Build N+1, with no model change and no prompt...",
    "condition_of_validity": "The invariant that must hold for a LITMUS score to be a valid safety estimate is: > **Gate isolation invariant:** For every evaluation cycle `c`, the agent's behavior on benchmark item `i` must be conditionally independent of the fact that item `i` was presented in any cycle `< c`, given the agent's *policy* (weights + static system prompt). Equivalently: no...",
    "decision_boundary": "The operational decision is: *when does a rising LITMUS score license promotion, and when must it be treated as leakage until proven otherwise?* The boundary is drawn by three signals evaluated together: - **Δ_seen vs Δ_heldout.** If the seen-corpus score improves by more than `k` standard deviations of the held-out score's cycle-to-cycle noise, and the held...",
    "operational_effect": "Once the leakage mechanism is identified, three architectural guardrails restore the gate's validity: 1. **Eval-scoped memory namespace.** The agent under evaluation runs with a memory namespace that is mounted read-only-empty at the start of each cycle and torn down at the end. Distillation writes go to a *quarantine* store that is not readable by the eval ..."
  },
  "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": "e1b6f8b4f7108eb748c2e7f432e7c4c1ffc5aa664ee1d74cd14764a2997f2e14",
    "verified_classes": [
      "GateLeakageError"
    ],
    "verified_functions": [
      "validate_gate_run"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "GateLeakageError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
