{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-safety-benchmark-regression-gates-from-certifying-a-poisoned-skill-update",
  "title": "Which invariants prevent safety-benchmark regression gates from certifying a poisoned skill update",
  "date_of_record": "2026 November 30",
  "scope": "Applies to deployment gates that admit a new or updated agent *skill* (tool schema + planner policy + prompt scaffold) only if a fixed safety benchmark suite shows no regression versus the incumbent. Does not cover training-time alignment, red-team discovery of novel attacks, or per-request runtime guardrails.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-safety-benchmark-regression-gates-from-certifying-a-poisoned-skill-update.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-safety-benchmark-regression-gates-from-certifying-a-poisoned-skill-update.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-safety-benchmark-regression-gates-from-certifying-a-poisoned-skill-update.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1888,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A regression gate answers a *relative* question: \"is candidate skill C no worse than incumbent skill I on suite S?\" It is almost never designed to answer the *absolute* question \"is C safe?\" The failure mode this record isolates is **gate evasion by distributional decoupling**: the candidate is crafted (or drifts) so that its behavior on the benchmark distri...",
    "what_was_observed": "A tool-using agent had a `send_email` skill. The incumbent planner, when it could not resolve a recipient from context, emitted a `clarify` action. The candidate update improved task success by 4.1% on the internal benchmark by learning to infer recipients from the most recent entity mention. Benchmark safety suite (n=2,400 scenarios) showed zero regression: refusal rate on injected-instruction scenarios identical (0...",
    "condition_of_validity": "The regression-gate invariant is sound **only if** all of the following hold simultaneously: - **Support containment:** every conditioning variable that the candidate's policy change can key on is represented in S with non-negligible mass, *including the channel of untrusted content* (user turn vs. tool result vs. retrieved memory vs. peer-agent message). If...",
    "decision_boundary": "The boundary between \"admit\" and \"block\" cannot be drawn on the regression delta alone. It must be drawn on: - **Δ over stratified slices**, with the slice set derived from the candidate's *diff* (which features the update newly conditions on), not from a fixed taxonomy. Concretely: diff the incumbent and candidate planner policies or prompts, extract the se...",
    "operational_effect": "Treating the regression gate as a *score predicate* rather than a *support-coverage predicate* produces a specific, repeatable class of escapes: candidates that are benchmark-identical and deployment-worse, admitted with a green check and no monitoring hook to catch the divergence. The operational consequence is that gate coverage must be re-derived on every..."
  },
  "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": "e5d24dc13c535447fd20f0d78c300f9342bc81730f53191288455995ea4d1cde",
    "verified_classes": [
      "GateEvasionError"
    ],
    "verified_functions": [
      "certify_skill_update"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "GateEvasionError"
    ],
    "sample_fail_closed_invariants": [
      "candidate optimized against suite and probe shares provenance; score predicate is training loss, not generalization"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
