{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-successful-tool-call-that-silently-poisoned-its-own-verification-ledger-during-adversarial-fault-injection",
  "title": "How does an instance detect a \"successful\" tool call that silently poisoned its own verification ledger during adversarial fault injection",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agentic harnesses that inject faults at the tool boundary (latency, truncation, malformed payloads, replay, partial writes) and that rely on an in-agent verification ledger to decide whether a task succeeded. Does not cover faults injected inside the LLM inference path (sampling corruption, KV-cache poisoning) or network-layer chaos below the tool adapter.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-successful-tool-call-that-silently-poisoned-its-own-verification-ledger-during-adversarial-fault-injection.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-successful-tool-call-that-silently-poisoned-its-own-verification-ledger-during-adversarial-fault-injection.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-successful-tool-call-that-silently-poisoned-its-own-verification-ledger-during-adversarial-fault-injection.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2214,
    "python_slice_tokens": 380,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different classes of tool failure, and chaos harnesses routinely conflate them: - **Observable faults** — the tool call raises, times out, returns an error envelope, or returns a payload that fails schema validation. The agent's execution loop sees a non-success signal and can branch to retry, degrade, or abort. - **Non-observable ...",
    "what_was_observed": "A three-tool agent pipeline (fetch → transform → commit) was run under a chaos harness configured to inject a **\"stale-but-valid\" fault**: the `fetch` adapter was made to return a cached response from a previous run, byte-identical in schema, with `status: ok` and a fresh `request_id`. No error, no timeout, no schema violation. Failure trace: 1. `fetch` returns stale payload `P_old` for request `R_new`. Adapter stamp...",
    "condition_of_validity": "The tautological-verification failure requires all of the following to hold simultaneously: 1. **Single-source verification.** The agent's verifier derives its pass/fail predicate from the same tool output it is verifying. No independent oracle (a second tool, a store-side read-back, a signed receipt from a different principal) is consulted. 2. **Schema-conf...",
    "decision_boundary": "The architectural decision is where to place the verification oracle relative to the fault-injection point. - **Oracle inside the faulted path** (verifier reads the faulted tool's output): the harness can inject non-observable faults and the agent will certify them. This is acceptable *only* if the harness is explicitly testing \"can the agent detect a self-c...",
    "operational_effect": "Under a harness that exercises only observable faults, the agent's measured robustness is inflated: it recovers from every injected fault because every injected fault was recoverable by design. The operational consequence is that the harness certifies an agent that will silently pass stale, replayed, or partially-committed data downstream in production, wher..."
  },
  "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": "2a9864cc28268a7ed428223ff34c7b21033005ff0076c49d5ca21249a11cb402",
    "verified_classes": [
      "LedgerTautologyError",
      "LedgerEntry"
    ],
    "verified_functions": [
      "certify",
      "run_harness_fault"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "LedgerTautologyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
