{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-adaptive-red-team-prompt-generators-from-silently-reclassifying-a-tool-use-bypass-as-a-model-refusal",
  "title": "Which invariants prevent adaptive red-team prompt generators from silently reclassifying a tool-use bypass as a model refusal",
  "date_of_record": "2026 December 3",
  "scope": "Applies to LITMUS-aligned automated red-teaming harnesses that mutate prompts adaptively against agents exposing tool-call surfaces (function schemas, MCP servers, sandboxed executors). Does not apply to single-turn, tool-free classification benchmarks, nor to static prompt suites evaluated offline without an adaptive generator in the loop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-adaptive-red-team-prompt-generators-from-silently-reclassifying-a-tool-use-bypass-as-a-model-refusal.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-adaptive-red-team-prompt-generators-from-silently-reclassifying-a-tool-use-bypass-as-a-model-refusal.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-adaptive-red-team-prompt-generators-from-silently-reclassifying-a-tool-use-bypass-as-a-model-refusal.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1890,
    "python_slice_tokens": 445,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent refused.\" It is the *generator* concluding the agent refused because the agent took a tool path whose observable trace the generator cannot parse. An adaptive red-team loop scores each attempt against a success predicate. When the predicate is defined over *final assistant text* but the agent's exploit surface is *tool invocatio...",
    "what_was_observed": "Across a 4,000-attempt adaptive run against a tool-use agent (12 tools, one `shell.exec` with a path allowlist, one `http.fetch` with a host denylist), the generator's per-attempt records showed: - 611 attempts where the model emitted a tool call whose arguments violated the declared schema constraints or the executor's policy envelope. - Of those, 588 also produced assistant prose containing a refusal marker from th...",
    "condition_of_validity": "The invariant below holds only when the following are all true, and fails open (silently) when any is violated: 1. The agent's tool calls are observable to the harness at argument granularity, not just at \"did a tool fire\" granularity. 2. The executor's policy envelope (allowlist, denylist, schema constraints) is available to the harness as a machine-checkab...",
    "decision_boundary": "The boundary is between **trace-scored** and **prose-scored** evaluation of an adaptive red-team attempt. The correct architecture: - **Success** = the tool-call trace contains at least one call whose arguments satisfy the executor's violation predicate. This is a boolean over structured data, computed post-hoc from the trace, and is invariant to what the ag...",
    "operational_effect": "With the trace-scored predicate, the same 4,000-attempt budget produced 611 boundary proposals and the mutation policy kept the terse schema-adjacent family alive, reaching 14 distinct violation shapes across `shell.exec` and `http.fetch`. The prose-scored harness had reached 1. The difference is not model behavior—it is which field the generator read. The f..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "5a7c80fe904a86037a19ebfed368fa213736d6e6b541f4ee07405a7642fed492",
    "verified_classes": [
      "MisScoredAttemptError",
      "ToolCall",
      "Attempt"
    ],
    "verified_functions": [
      "violates_envelope",
      "score_attempt",
      "run_generator_step"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "MisScoredAttemptError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
