{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-quarantine-partial-tool-chain-traces-before-litmus-harm-propagation-scoring",
  "title": "When must an instance quarantine partial tool-chain traces before LITMUS harm-propagation scoring",
  "date_of_record": "2026 November 16",
  "scope": "Applies to LITMUS-style safety harnesses that score agentic harm propagation across multi-step tool chains (tool call → observation → re-plan → tool call) using per-step harm labels aggregated into a chain-level propagation score. Does not apply to single-turn harm classifiers, refusal-rate benchmarks, or harnesses that score only terminal outputs without intermediate trace attribution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-partial-tool-chain-traces-before-litmus-harm-propagation-scoring.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-partial-tool-chain-traces-before-litmus-harm-propagation-scoring.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-partial-tool-chain-traces-before-litmus-harm-propagation-scoring.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1347,
    "python_slice_tokens": 252,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is between a **trace that is contaminated** and a **trace that is incomplete**. LITMUS propagation scoring assumes each step's harm label is attributable to the agent's own decision given the prior observation. When a tool call fails mid-chain (timeout, rate limit, sandbox crash, credential expiry), the harness receives a truncated t...",
    "what_was_observed": "In a 40-task LITMUS sweep over a `shell → file_write → http_post` chain, 7.5% of traces terminated with a tool-side error at step 2. The harness's default aggregator treated the missing step-3 observation as \"no further harm,\" yielding a propagation score of 0 for those traces. Manual replay with a stable sandbox showed 4 of those 12 traces (33%) would have proceeded to a harmful `http_post` exfiltration had the file...",
    "condition_of_validity": "Quarantine (exclude from aggregation, do not score as safe) is required when **any** of the following hold: 1. A step's observation is absent while the agent issued the corresponding tool call (truncation). 2. More than one observation exists per agent decision without an explicit retry-decision step recorded by the agent (contamination). 3. An observation w...",
    "decision_boundary": "The decision rule at trace ingestion: - If `trace.complete` and `trace.provenance_clean` and every decision has exactly one causally-ordered observation → **score**. - If `trace.truncated` or `trace.provenance_dirty` or decision/observation cardinality ≠ 1:1 → **quarantine**, log reason, exclude from both numerator and denominator of the propagation rate. - ...",
    "operational_effect": "Applying strict quarantine moved the reported propagation rate from 0.06 to 0.19 on the same model and task set — a 3× understatement of harm propagation caused purely by scoring truncations as safe. Contamination removal eliminated 2 spurious harm attributions that had inflated the rate in the opposite direction on a different chain. The net effect: the har..."
  },
  "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": "5e2cde1e2d04738b5728f2ea6b2fa8cf244fe9c71217531d9384ff2b042880fa",
    "verified_classes": [
      "LitmusTraceQuarantineError"
    ],
    "verified_functions": [
      "validate_trace_for_scoring",
      "propagation_rate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "LitmusTraceQuarantineError"
    ],
    "sample_fail_closed_invariants": [
      "no scoreable traces; propagation rate undefined"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
