{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-honor-a-delegated-capability-attestation-across-a-tee-boundary",
  "title": "When must an instance refuse to honor a delegated capability attestation across a TEE boundary",
  "date_of_record": "2026 November 17",
  "scope": "Applies to agent-to-agent (A2A) capability delegation where the delegating agent presents a Verifiable Credential (VC) whose subject binding is a TEE-backed runtime measurement (e.g., an SEV-SNP launch digest, a TDX MRTD, or an SGX MRENCLAVE) rather than a long-lived keypair. Does not apply to purely key-bound VCs (did:key, did:web) where no measurement is asserted, nor to human-present flows.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-honor-a-delegated-capability-attestation-across-a-tee-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-honor-a-delegated-capability-attestation-across-a-tee-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-honor-a-delegated-capability-attestation-across-a-tee-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1486,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious failure is the conflation of *measurement freshness* with *measurement validity*. A TEE-backed runtime proof is a signature over a report that binds a measurement to a nonce. A delegated VC, however, typically binds a *capability* to a *measurement* with a validity window measured in hours or days. The boundary condition is this: **a valid VC...",
    "what_was_observed": "In a multi-tenant agent mesh, agent A delegated a `filesystem.read:/data` capability to agent B via a VC signed by A's TEE. The VC's `credentialSubject.measurement` was B's MRTD `M0`. B later performed a legitimate in-place upgrade to `M1` (same enclave signing key, same `config_id`, new image). B's *new* report correctly measured `M1`. B nevertheless continued to present the *old* VC (cached in its credential store,...",
    "condition_of_validity": "The check `VC.measurement == report.measurement` is sufficient **only if** the following hold simultaneously: 1. The VC is not reusable across re-entry. If the platform permits the same signing identity to re-launch with a different image and the same `config_id`, the VC's measurement field is a *hint*, not a binding. It is valid only when the VC is co-prese...",
    "decision_boundary": "An instance must refuse to honor the delegated capability — returning a typed error rather than a degraded grant — when: - `vc.credentialSubject.measurement != report.measurement` (the two-field comparison; cheap, catches the observed case), **or** - `report.report_data` nonce is older than the verifier's challenge window, **or** - `vc.credentialSubject.poli...",
    "operational_effect": "Enforcing the two-field comparison converts a silent privilege-escalation path into a hard failure at the delegation boundary. In the observed mesh, it surfaced 100% of the post-upgrade capability reuse within one request cycle and forced B to re-request delegation after each upgrade — a cost of one extra round-trip per image change, versus an unbounded wind..."
  },
  "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": "6bf1f5a7c54c7b9e36a7899d84260b50e91bb30ad67f5e0f816986a9c69c95d5",
    "verified_classes": [
      "AttestationBindingError"
    ],
    "verified_functions": [
      "verify_delegated_capability",
      "__init__"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttestationBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
