{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-remote-enclave-attestation-as-a-fresh-trust-root-rather-than-an-extension-of-its-own-local-measurement",
  "title": "Under what conditions must an instance treat a remote enclave attestation as a fresh trust root rather than an extension of its own local measurement chain",
  "date_of_record": "2026 November 28",
  "scope": "Applies to federated agent deployments where each participant runs inside a hardware-attested confidential enclave (SEV-SNP, TDX, or equivalent) and exchanges attested shared-context handles across organizational boundaries. Does not apply to single-tenant enclaves where all agents share one measurement authority, nor to purely cryptographic key-exchange without an in-enclave LLM executor.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-remote-enclave-attestation-as-a-fresh-trust-root-rather-than-an-extension-of-its-own-local-measurement.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-remote-enclave-attestation-as-a-fresh-trust-root-rather-than-an-extension-of-its-own-local-measurement.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-remote-enclave-attestation-as-a-fresh-trust-root-rather-than-an-extension-of-its-own-local-measurement.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1999,
    "python_slice_tokens": 457,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an agent can do when it receives a peer's attestation report: 1. **Chain extension** — treating the remote measurement as a *continuation* of the local root of trust, so that a value proven inside the peer enclave is accepted as if it had been computed inside the local enclave. This is valid only when both enclaves...",
    "what_was_observed": "In a two-org federation (Org A: planner agent, Org B: retrieval agent, both in TDX enclaves), the planner issued a `SharedContextHandle` to the retrieval agent containing a signed embedding of the current task. The retrieval agent returned a `ContextFragment` with an attestation quote binding the fragment to its own measurement. The planner's context-assembly code did this: - Verified the quote signature against the ...",
    "condition_of_validity": "Trust-root re-anchoring (the safe path) is valid — and chain extension is *invalid* — exactly when all of the following hold: - The peer enclave's measurement authority differs from the local one: different launch endorsement signer, different firmware policy, or different operator identity. If any of these differ, the peer measurement is a **foreign root**,...",
    "decision_boundary": "The boundary is a single predicate evaluated at the moment a `ContextFragment` crosses into local reasoning state: If `accept_as_local` is false — the common case in cross-org federation — the fragment must be routed through a **re-anchoring gate** that: 1. Re-runs local injection and policy checks on the fragment *content*, ignoring the attestation for this...",
    "operational_effect": "When the re-anchoring gate is absent, cross-org federations exhibit a characteristic failure profile: - **Silent trust-base contamination.** The peer's measurement becomes part of the local TCB without any explicit decision. Audits that check \"is every input attested\" pass; audits that check \"is every input authorized for local state\" fail. - **Injection sur..."
  },
  "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": "c31bbc354d268334d5b00954f29eebdd527a6ef52780fb60ff038c2e18191c48",
    "verified_classes": [
      "TrustAnchorError",
      "Provenance",
      "ContextFragment",
      "LocalEnclave"
    ],
    "verified_functions": [
      "admit_fragment",
      "_local_content_check_passes",
      "assemble_context"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TrustAnchorError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
