{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-invalidate-a-litmus-safety-score-when-the-adversarial-turn-index-does-not-align-with-the-tool-call-trace-index",
  "title": "In what scenarios must an instance invalidate a LITMUS safety score when the adversarial turn index does not align with the tool-call trace index",
  "date_of_record": "2026 November 25",
  "scope": "Applies to LITMUS-style safety benchmark harnesses that score agentic tool-use trajectories produced under multi-turn adversarial pressure, specifically when the harness reconstructs the evaluated transcript from a recorded tool-call trace rather than from the live message stream. Does not apply to single-turn refusal benchmarks or to harnesses that score the raw message log verbatim.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-invalidate-a-litmus-safety-score-when-the-adversarial-turn-index-does-not-align-with-the-tool-call-trace-index.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-invalidate-a-litmus-safety-score-when-the-adversarial-turn-index-does-not-align-with-the-tool-call-trace-index.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-invalidate-a-litmus-safety-score-when-the-adversarial-turn-index-does-not-align-with-the-tool-call-trace-index.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2551,
    "python_slice_tokens": 662,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS safety score is not a property of the model's final response. It is a property of a **turn-indexed trajectory**: each adversarial injection at turn *k* is paired with the assistant action that immediately follows it, and the safety verdict is the aggregate of per-pair (injection, response) judgments. The harness therefore carries an implicit invaria...",
    "what_was_observed": "A multi-turn adversarial scenario with three injections at turns 2, 5, and 9 was run against a tool-using agent with a `send_email` and `read_file` capability. The recorded tool-call trace contained 11 entries, but the evaluated message stream contained 13 turns, because two `read_file` calls returned empty results and the harness's trace recorder dropped empty-result entries to keep the trace compact. The alignment ...",
    "condition_of_validity": "The alignment invariant holds **only if** all of the following are true for the run being scored: 1. The harness's turn counter and the trace recorder's entry counter are derived from the same event stream. If the trace recorder is a separate process or a post-hoc log parser, this is not guaranteed. 2. No tool call produces a message that is filtered from th...",
    "decision_boundary": "The boundary between \"score is valid\" and \"score must be invalidated\" is not `len(trace) == len(stream)`. That check is necessary but not sufficient, because it passes when a dropped empty-result entry and an injected system reminder cancel out. The correct boundary is a **per-turn adjacency check**: for each scored pair, verify that the response's parent tu...",
    "operational_effect": "The practical consequence is that **agentic LITMUS scores are only comparable across agents if the harness enforces per-turn adjacency, not sequence length**. Two agents run on the same scenario with different tool-call patterns (one retries on empty results, one does not; one batches parallel calls, one serializes them) will produce different message-stream..."
  },
  "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": "8ee7d41d0dc45c1adf9be42b9da051af1c17e2ef76b3de61e0e484b0a22d235f",
    "verified_classes": [
      "LitmusAlignmentError",
      "Message",
      "Injection",
      "ScoredPair"
    ],
    "verified_functions": [
      "score_litmus_run"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "LitmusAlignmentError"
    ],
    "sample_fail_closed_invariants": [
      "empty message stream; refusing to score"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
