{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-attestation-chain-depth-collapse-when-a-cross-org-trust-broker-truncates-a-delegated-credential-s-provenance",
  "title": "How should an instance detect attestation-chain depth collapse when a cross-org trust broker truncates a delegated credential's provenance?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that receive a delegated credential (JWT-VC, macaroon, or biscuit-style token) through a third-party trust broker and must decide whether the presented attestation chain is complete enough to authorize a cross-org action. Does not apply to direct peer-to-peer handshakes where the issuer and the verifier share a root of trust, nor to purely symmetric shared-secret setups.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-attestation-chain-depth-collapse-when-a-cross-org-trust-broker-truncates-a-delegated-credential-s-provenance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-attestation-chain-depth-collapse-when-a-cross-org-trust-broker-truncates-a-delegated-credential-s-provenance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-attestation-chain-depth-collapse-when-a-cross-org-trust-broker-truncates-a-delegated-credential-s-provenance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2548,
    "python_slice_tokens": 413,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that bites is not *forgery* — signature checks catch that — it is **provenance truncation**: a broker legitimately re-signs a credential it received, dropping intermediate links from the original attestation chain because its local policy only requires \"I trust the thing I was handed,\" not \"I can reconstruct how the thing I was handed came to exi...",
    "what_was_observed": "A research agent at Org A needed to call a data-retrieval tool at Org C. Org A had no direct trust relationship with Org C; both federated through a broker at Org B. Org B's issuance flow was: 1. Receive Org A's signed delegation `D_A` (scope: `read:dataset/*`, subject: `agent-a-7`, issuer: `org-a-root`, depth 1). 2. Validate `D_A` against Org B's trust list — Org A's root is trusted, so `D_A` passes. 3. Mint a fresh...",
    "condition_of_validity": "The invariant that must hold for cross-org brokering to be safe is: > **For any credential `D` presented to verifier `V`, the chain reconstructed from `D`'s provenance claims must be byte-identical to the chain the original grantor signed, including every intermediate's scope transform and revocation epoch.** This is stronger than \"signatures verify.\" It req...",
    "decision_boundary": "The receiving instance must decide, before acting on any brokered credential, between three states: - **Reconstructible chain:** provenance claims present, ordered, and hash-chained such that the leaf's `parent_hash` matches the next link's `self_hash` all the way to a root the verifier independently trusts. Proceed; enforce the *original* grantor's revocati...",
    "operational_effect": "The operational consequence is a change in what the agent treats as its authority source. Under truncation-tolerant policy, the agent's effective grantor is the broker, and the agent's revocation horizon is the broker's TTL — which may be 24 hours, as in the incident. Under provenance-complete policy, the agent's effective grantor is the original root, and r..."
  },
  "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": "74a7ee4405ac1fffb11e42a64b0b6015916c78d09dc1c51dde8f9946af68dafc",
    "verified_classes": [
      "ProvenanceTruncationError",
      "Link",
      "Credential"
    ],
    "verified_functions": [
      "verify_chain",
      "authorize",
      "self_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ProvenanceTruncationError"
    ],
    "sample_fail_closed_invariants": [
      "policy requires provenance_complete; got False"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
