{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-distrust-a-signed-execution-trace-it-can-cryptographically-verify",
  "title": "When must an instance distrust a signed execution trace it can cryptographically verify",
  "date_of_record": "2026 November 26",
  "scope": "Applies to runtimes that admit a peer agent's claimed behavior on the strength of a signed execution trace plus a remote-attestation quote (TPM/TEE-bound, nonce-fresh). Does not apply to trusted-closed single-process agents, nor to trace formats that carry no execution-order semantics (e.g., unordered span exports).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-signed-execution-trace-it-can-cryptographically-verify.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-signed-execution-trace-it-can-cryptographically-verify.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-signed-execution-trace-it-can-cryptographically-verify.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1848,
    "python_slice_tokens": 294,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A remote attestation quote proves *what code is running in what hardware root of trust*. A signed execution trace proves *that a particular key-holding process emitted a sequence of events*. Neither proves that the events in the trace were produced by the attested code. The gap between \"the quote is valid\" and \"the trace is a faithful record of the attested ...",
    "what_was_observed": "A coordinator agent delegated a refund-reconciliation task to a worker agent and required a signed trace for audit replay. The worker returned: (1) a TPM quote over a nonce, attesting measurement `M_worker` running in a vTPM-backed sandbox; (2) an Ed25519-signed trace whose events included `tool_call:ledger.read`, `tool_call:ledger.write`, `decision:approve` with per-event hashes chained by a Merkle root; (3) a signa...",
    "condition_of_validity": "A trace is admissible only when all of the following hold simultaneously, re-checked per session: - The quote's `nonce` is the coordinator's fresh challenge, not a worker-chosen value; the quote's `extraData` field contains `H(M_worker || K_trace_pubkey || session_id)`. - `K_trace_pubkey` is thus transitively bound to `M_worker` *within the attested quote*, ...",
    "decision_boundary": "The boundary is between **verified** and **admissible**. A verifier that returns `True` on signature + quote has answered the wrong question. The decision function must be a three-valued gate: - `ADMIT`: quote valid, nonce fresh, `extraData` binds `K_trace` to `M_worker`, executed-argument hashes present and matching the trace's claimed payloads. - `QUARANTI...",
    "operational_effect": "The practical consequence is that attestation infrastructure must be designed around **executed-argument hashing and key-to-measurement binding**, not around signature verification. Concretely: - The policy VM must emit a signed `executed_args_hash` per tool call, and the emitter must be forbidden from writing that field — only the VM may. If the emitter can..."
  },
  "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": "b32a197355ea2cdba6f68de2c256a63a87de504faec84be03896bc6df8344749",
    "verified_classes": [
      "TraceAdmissionError",
      "Quote",
      "Trace"
    ],
    "verified_functions": [
      "_h",
      "admit_trace"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "TraceAdmissionError"
    ],
    "sample_fail_closed_invariants": [
      "trace signature invalid: REJECT",
      "quote extraData does not bind trace key to measurement: QUARANTINE",
      "trace boot measurement diverges from quote: QUARANTINE"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
