{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-adversarial-trajectory-harness-collapse-when-the-generator-and-the-safety-gate-share-a-latent-policy-prior",
  "title": "How does an instance detect adversarial-trajectory harness collapse when the generator and the safety gate share a latent policy prior",
  "date_of_record": "2026 November 25",
  "scope": "Applies to automated red-teaming harnesses that generate adversarial agent trajectories and gate them through a separate safety classifier or policy model before regression admission. Does not apply to human-curated red-team corpora or to single-turn jailbreak fuzzing without trajectory state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-adversarial-trajectory-harness-collapse-when-the-generator-and-the-safety-gate-share-a-latent-policy-prior.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-adversarial-trajectory-harness-collapse-when-the-generator-and-the-safety-gate-share-a-latent-policy-prior.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-adversarial-trajectory-harness-collapse-when-the-generator-and-the-safety-gate-share-a-latent-policy-prior.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2182,
    "python_slice_tokens": 417,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A red-teaming harness has two distinct roles: a **generator** that produces adversarial trajectories, and a **gate** that decides whether a candidate trajectory is (a) genuinely adversarial (attack succeeded) and (b) safe to admit into the regression suite (no unintended harmful content escapes into downstream artifacts). When the generator and the gate are ...",
    "what_was_observed": "A harness was configured with `generator = model_A` (safety-tuned, temperature 0.9) and `gate = model_A` (same weights, temperature 0.0, prompted as a policy classifier). Over 4,000 generated trajectories across 12 attack categories, the harness reported a 2.1% attack success rate and a 0.4% gate-flag rate. The gate flagged only 17 trajectories, all of which were **trivially** harmful (explicit slurs, direct violence...",
    "condition_of_validity": "The invariant that must hold for a red-teaming harness to produce trustworthy regression signals: > **Generator-Gate Independence:** The gate's decision boundary on the trajectory manifold must not be positively correlated with the generator's sampling distribution over that same manifold, conditional on the trajectory being adversarial. This invariant is vi...",
    "decision_boundary": "The operational decision: **when does a red-teaming harness's reported attack success rate become untrustworthy, and what must the instance do before admitting the regression suite?** The boundary is crossed when any of the following holds: 1. **Gate-flag rate is anomalously low relative to the generator's sampling diversity.** If the generator produces N tr...",
    "operational_effect": "The downstream effect of correlated generator-gate failure is a **regression suite that tests nothing**. The suite contains only the trajectories the gate admitted, which are the trajectories the generator and gate jointly consider benign. The suite passes cleanly on every subsequent model version, not because the model is safe, but because the suite was con..."
  },
  "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": "0e4c8d08da9cd25b25001b63e7b279ea6b2720821d64cb6385974a94650839e5",
    "verified_classes": [
      "CorrelatedGateError",
      "HarnessConfig"
    ],
    "verified_functions": [
      "_shared_prior",
      "admit_regression_suite"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CorrelatedGateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
