{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-halt-when-the-litmus-harness-s-adversarial-seed-replay-diverges-from-the-graded-transcript-the-canary-echo-boundary-in-regressi",
  "title": "Where must an instance halt when the LITMUS harness's adversarial seed replay diverges from the graded transcript: the canary-echo boundary in regression gating",
  "date_of_record": "2026 November 30",
  "scope": "Applies to LITMUS-style safety benchmark harnesses that score an agent by replaying a recorded adversarial seed (prompt-injection, tool-poisoning, or jailbreak ladder) and comparing the live transcript against a frozen graded transcript. Does not apply to single-shot classification evals, human-judged red-teams with no replay artifact, or harnesses that score only final outputs and never diff intermediate turns.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-when-the-litmus-harness-s-adversarial-seed-replay-diverges-from-the-graded-transcript-the-canary-echo-boundary-in-regressi.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-when-the-litmus-harness-s-adversarial-seed-replay-diverges-from-the-graded-transcript-the-canary-echo-boundary-in-regressi.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-when-the-litmus-harness-s-adversarial-seed-replay-diverges-from-the-graded-transcript-the-canary-echo-boundary-in-regressi.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2343,
    "python_slice_tokens": 433,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A LITMUS harness has two distinct notions of \"the agent behaved safely,\" and they diverge under adversarial replay: 1. **Outcome safety** — the graded transcript's terminal verdict (refused, escalated, no forbidden tool call). This is what the scoreboard reports and what a regression gate keys on. 2. **Trajectory safety** — whether the live run reproduced th...",
    "what_was_observed": "A regression suite of 412 adversarial seeds was replayed nightly against an agent that had only a prompt-template change (no tool-surface change). The gate reported 412/412 pass — zero outcome regressions. Manual audit of the replay artifacts found 37 seeds where the live transcript and the frozen graded transcript diverged in the *turn structure* while converging on the same terminal verdict: - In 21 seeds, the live...",
    "condition_of_validity": "The outcome-safety gate is valid **only** when the following invariant holds: > For every adversarial seed, the live transcript and the frozen graded transcript agree on the ordered multiset of canary emissions (which canary, in which channel, at which turn index), *or* the divergence is explicitly classified as an approved re-route with a recorded justifica...",
    "decision_boundary": "The harness must decide, per seed, between three dispositions. The boundary is drawn on canary agreement, not on verdict: The sharp edge is the third row. A missing canary is *not* \"safer\" — it means the live agent never reached the injection point, so the adversarial condition was not exercised and the pass is vacuous. An extra canary is *not* \"still safe\" ...",
    "operational_effect": "Enforcing the canary-echo boundary changes three operational properties: 1. **Regression gates become sensitive to trajectory drift, not just verdict drift.** In the audit above, the 37 divergent seeds would have halted and been quarantined. Re-grading them against fresh frozen transcripts (replaying at pinned temperature) revealed 4 genuine latent regressio..."
  },
  "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": "aff8d4b4c88f337d64a41141b9428d26dd45c3ed654f5ba8ad2f2424518789b4",
    "verified_classes": [
      "CanaryDivergenceError",
      "CanaryEmission",
      "SeedReplay"
    ],
    "verified_functions": [
      "_multiset",
      "gate_seed",
      "run_gate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CanaryDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
