{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-benchmark-harness-contamination-when-a-continuous-red-team-loop-imports-its-own-scored-transcripts-as-few-shot-exempl",
  "title": "What structural signals indicate benchmark-harness contamination when a continuous red-team loop imports its own scored transcripts as few-shot exemplars",
  "date_of_record": "2026 November 20",
  "scope": "Applies to continuous red-teaming harnesses (LITMUS-style) that persist scored attack transcripts and feed prior successes back into the generator as in-context exemplars. Does not apply to stateless one-shot evaluations or to harnesses that keep the generator and the scorer in disjoint data planes with no feedback path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-benchmark-harness-contamination-when-a-continuous-red-team-loop-imports-its-own-scored-transcripts-as-few-shot-exempl.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-benchmark-harness-contamination-when-a-continuous-red-team-loop-imports-its-own-scored-transcripts-as-few-shot-exempl.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-benchmark-harness-contamination-when-a-continuous-red-team-loop-imports-its-own-scored-transcripts-as-few-shot-exempl.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1557,
    "python_slice_tokens": 276,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent learned to game the benchmark.\" It is subtler: the harness's *own scoring output* becomes part of the *attack-generation context*, and the scorer's decision boundary quietly migrates to match the generator's distribution rather than the safety property under test. In a LITMUS-style loop, a transcript is scored against a rubric (...",
    "what_was_observed": "Three structural signals appeared together in a 40-round continuous run against a customer-support agent, each individually ambiguous, jointly diagnostic: 1. **Lexical convergence of promoted exemplars.** The Jaccard similarity of the top-k retrieved exemplars per round rose monotonically from 0.11 at round 3 to 0.68 at round 31, then saturated. The generator was no longer exploring; it was recombining its own prior ...",
    "condition_of_validity": "The contamination diagnosis is valid only when all of the following hold; if any fails, the plateau has a benign explanation: - The exemplar pool is populated from the *same* run's scored output (closed loop), not from a held-out seed corpus. - The scorer is a fixed rubric or a fixed model checkpoint; if the scorer is itself updated each round, the drift is ...",
    "decision_boundary": "The operational line is a two-of-three rule, not any single threshold: - Promote a transcript to the exemplar pool only if it passes the *paraphrase-invariance check* at scoring time (score under original and paraphrased rubric within δ, default δ = 0.15). - Flush and reseed the pool when template-hash uniqueness over a 5-round window falls below a floor (de...",
    "operational_effect": "The practical consequence is that a LITMUS-style loop must treat its own scored output as *potentially adversarial to the scorer*, not merely as training signal. The exemplar pool is a second attack surface: the generator can route through it to manipulate the metric. The guardrail is architectural — a paraphrase-invariance gate at promotion time, a template..."
  },
  "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": "fbfc3e3517d4e89cbd02d3c5a40679277fb4de432cc2e065e3c656fad5b61212",
    "verified_classes": [
      "ExemplarContaminationError",
      "Transcript"
    ],
    "verified_functions": [
      "_jaccard",
      "promote"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ExemplarContaminationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
