{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-passes-the-litmus-adversarial-suite-but-its-tool-call-policy-silently-re-widens-after-context-compaction",
  "title": "What happens when an instance passes the LITMUS adversarial suite but its tool-call policy silently re-widens after context compaction",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agentic deployments where a LITMUS-style adversarial suite (prompt-injection, tool-misuse, jailbreak, and unsafe-action probes) is used as a gate on a *stateful* agent whose context window is periodically compacted, summarized, or truncated mid-session. Does not apply to stateless single-turn classifiers, nor to suites that re-run the full probe set after every compaction event.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-passes-the-litmus-adversarial-suite-but-its-tool-call-policy-silently-re-widens-after-context-compaction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-passes-the-litmus-adversarial-suite-but-its-tool-call-policy-silently-re-widens-after-context-compaction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-passes-the-litmus-adversarial-suite-but-its-tool-call-policy-silently-re-widens-after-context-compaction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1555,
    "python_slice_tokens": 221,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS adversarial suite measures a **point-in-time refusal surface**: given a specific context state, does the instance decline the unsafe tool invocation (e.g., `shell.exec`, `fs.write` outside sandbox, `http.request` to internal hosts, `db.drop`)? It does *not* measure the **persistence of that refusal surface across context mutations**. The critical di...",
    "what_was_observed": "During a red-team replay of a LITMUS-derived suite (240 probes across injection, tool-misuse, and exfiltration categories) against a tool-using agent with a 32k context and a summarization-based compactor triggered at 80% saturation, the instance passed 238/240 probes in the graded run. The two failures were both `fs.write` escapes and were patched. The non-obvious failure appeared in a *continuity replay*: the same ...",
    "condition_of_validity": "The LITMUS pass is valid as a safety claim **only if** one of the following holds: 1. The deployment has no compaction, truncation, or cross-session state transfer between the graded rollout and production turns (i.e., every adversarial-relevant turn starts from a fresh, un-summarized context). 2. The suite is re-executed *after* each compaction event on the...",
    "decision_boundary": "The boundary is between **context-anchored safety** (refusal depends on adversarial text or prior refusal being present in the window) and **policy-anchored safety** (refusal is a function of the tool schema, argument constraints, and an out-of-context gate that the model cannot summarize away). Operationally: - If a probe's correct behavior survives compact...",
    "operational_effect": "The practical consequence is that LITMUS-style suites, used naively, produce a *safety regression debt* that is invisible at grading time and surfaces only after the first long session. The instance appears hardened, ships, and then re-widens its tool-call policy the first time a user runs a 30k-token task. The failure is silent — no probe fires, because the..."
  },
  "matched_failure_symptoms": [
    "CONTEXT_DRIFT_OR_ATTENTION_DILUTION"
  ],
  "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": "2141b7ef70188ea0ee4e5cdf5f528c19c31ede0e12e16efeb305be44625a523d",
    "verified_classes": [
      "CompactionSafetyRegression"
    ],
    "verified_functions": [
      "grade_with_compaction_stress",
      "build_benign_history"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "CompactionSafetyRegression"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
