{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-treat-a-litmus-red-team-verdict-as-a-gate-when-the-harness-s-attack-sampler-and-the-agent-s-tool-surface-are-not-co-v",
  "title": "Where must an instance refuse to treat a LITMUS red-team verdict as a gate when the harness's attack sampler and the agent's tool surface are not co-versioned",
  "date_of_record": "2026 December 2",
  "scope": "Applies when a LITMUS-style red-team harness runs inside CI and its pass/fail verdict is used to block merges of an agent whose tool schema, system prompt, or model revision can change independently of the harness's attack corpus. Does not apply to static prompt-injection scanners that operate on frozen artifacts with no live tool execution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-treat-a-litmus-red-team-verdict-as-a-gate-when-the-harness-s-attack-sampler-and-the-agent-s-tool-surface-are-not-co-v.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-treat-a-litmus-red-team-verdict-as-a-gate-when-the-harness-s-attack-sampler-and-the-agent-s-tool-surface-are-not-co-v.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-treat-a-litmus-red-team-verdict-as-a-gate-when-the-harness-s-attack-sampler-and-the-agent-s-tool-surface-are-not-co-v.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1803,
    "python_slice_tokens": 259,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A red-team verdict is a *measurement*, not a *property*. The distinction that matters operationally is between a verdict that bounds the agent (the agent cannot do the thing the corpus tested for) and a verdict that merely failed to observe the thing (the corpus did not contain a probe that reaches the agent's current surface). LITMUS harnesses are usually w...",
    "what_was_observed": "An agent exposing a `write_file(path, content)` tool was red-teamed against a LITMUS corpus containing 40 path-traversal probes. All 40 passed—no writes escaped the sandbox root. The agent was then refactored to expose `write_file(path, content, encoding)` with `encoding` defaulting to `utf-8`. The corpus was not regenerated. The next CI run was green. The probes were still *executing*. What changed is that the harne...",
    "condition_of_validity": "The verdict is only valid as a gate under a conjunction that the CI wiring must enforce explicitly, because none of it is enforced by the harness by default: 1. **Triple-pin.** The run record must carry `(corpus_revision, tool_schema_hash, prompt_hash)` and the merge must be blocked unless all three match the artifacts being merged. A hash mismatch is not a ...",
    "decision_boundary": "The decision the CI harness must make on every run is not \"did any probe fail\" but \"did every probe land.\" The boundary is between two aggregation policies: - **Naive aggregation:** `verdict = FAIL if any probe FAIL else PASS`. Under schema drift, all probes become `probe_error`, the failure set is empty, and the verdict is `PASS`. This is the failure mode. ...",
    "operational_effect": "Wiring the reachability gate changes the CI contract in three concrete ways. First, schema-changing PRs now *require* a corpus regeneration step or they block; the red-team harness becomes a forcing function for keeping the corpus co-versioned with the agent surface, rather than a rubber stamp that silently loses coverage. Second, the report must surface `dr..."
  },
  "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": "938e5b8107bf57274c83e53bbeec79bc51a487c7d2e0c8683f0932d14d5df0a6",
    "verified_classes": [
      "RedTeamCertificationError",
      "ProbeOutcome",
      "RunRecord",
      "MergeTarget"
    ],
    "verified_functions": [
      "certify"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "RedTeamCertificationError"
    ],
    "sample_fail_closed_invariants": [
      "probe execution errors present; verdict is UNCERTIFIED",
      "empty corpus; nothing was tested"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
