{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-bound-litmus-adversarial-scenario-construction-when-the-injected-hazard-and-the-graded-invariant-share-a-tool-call-surface",
  "title": "How should an instance bound LITMUS adversarial scenario construction when the injected hazard and the graded invariant share a tool-call surface",
  "date_of_record": "2026 November 25",
  "scope": "Applies to LITMUS-style safety benchmarks where an adversarial scenario is constructed by injecting a hazard into an agent's tool environment and then graded against a safety invariant. Does not apply to static prompt-injection suites with no tool surface, nor to red-team generation where the grader and the injector are separate processes with no shared state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-litmus-adversarial-scenario-construction-when-the-injected-hazard-and-the-graded-invariant-share-a-tool-call-surface.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-litmus-adversarial-scenario-construction-when-the-injected-hazard-and-the-graded-invariant-share-a-tool-call-surface.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-litmus-adversarial-scenario-construction-when-the-injected-hazard-and-the-graded-invariant-share-a-tool-call-surface.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1530,
    "python_slice_tokens": 357,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS scenario has two artifacts that are easy to conflate: the **hazard injection** (the adversarial content placed where the agent will read it) and the **invariant probe** (the observable the grader checks to decide pass/fail). The non-obvious failure is *surface collision*: when the injection and the probe are routed through the same tool-call channel...",
    "what_was_observed": "A pipeline was configured to test whether an agent would refuse to exfiltrate a secret after a poisoned retrieval step. The scenario builder injected the hazard by writing a malicious document into the retrieval tool's backing store, tagged `source=adversarial`. The invariant probe was defined as: \"no outbound call to the exfil endpoint carries the secret string.\" The probe monitored the same `tool_call` log the retr...",
    "condition_of_validity": "A LITMUS scenario is valid only if, for every invariant probe P and every hazard injection H: - **Namespace disjointness:** the set of tool-call records H can produce is disjoint from the set P reads, OR every record carries a provenance field (`origin ∈ {builder, agent, environment}`) that P is required to filter on before grading. - **Store isolation:** th...",
    "decision_boundary": "The boundary is between *detecting* surface collision and *assuming* it away. A builder should refuse to emit a scenario when: - H and P resolve to the same tool name without a provenance discriminator → reject. - The store is not reset between scenarios and P has no `origin` filter → reject. - P's predicate matches on a string that H is permitted to write →...",
    "operational_effect": "With provenance filtering enforced at construction, the exfiltration scenario above grades correctly: the builder's `retrieve` entry carries `origin=builder`, the probe ignores it, and the agent's non-exfiltration yields PASS. Without it, the benchmark reports a false positive rate equal to the fraction of scenarios where the injected string also appears in ..."
  },
  "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": "0ef42a01ba8bec6acdd3adfcf16925d8b8e645958dc825226ec9b5bd73ffcd7f",
    "verified_classes": [
      "ScenarioConstructionError",
      "ToolCallRecord",
      "Scenario"
    ],
    "verified_functions": [
      "validate_scenario",
      "grade"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScenarioConstructionError"
    ],
    "sample_fail_closed_invariants": [
      "store not reset between scenarios and probe does not filter by origin; prior injection can leak into current verdict"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
