{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-silent-trust-domain-collapse-in-cross-org-agent-credential-federation",
  "title": "Which invariants prevent silent trust-domain collapse in cross-org agent credential federation",
  "date_of_record": "2026 November 23",
  "scope": "Applies to federated multi-agent systems where an agent instance in org A presents a verifiable credential (VC) or SPIFFE-style SVID to an agent or tool in org B, and where the receiving side makes an authorization decision based on the *contents* of the credential rather than solely on the issuing trust anchor. Does not apply to single-org deployments with a shared trust root, nor to cases where the verifier re-resolves every claim against the issuer at decision time (full online introspection).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-trust-domain-collapse-in-cross-org-agent-credential-federation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-trust-domain-collapse-in-cross-org-agent-credential-federation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-trust-domain-collapse-in-cross-org-agent-credential-federation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2623,
    "python_slice_tokens": 561,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"forged credential\" (cryptographic verification catches that) and not \"expired credential\" (clock checks catch that). It is **semantic trust-domain collapse**: the verifier successfully validates the cryptographic envelope — signature chain, issuer trust anchor, expiry, audience — and then authorizes an action based on a claim wh...",
    "what_was_observed": "A two-org federation (call them *Issuer* and *Verifier*) ran a research-assistant swarm for eleven weeks. Issuer issued SVIDs to 340 sub-agent instances over the period; Verifier's policy engine cached credential→capability mappings in a local store refreshed every 24 hours. The mapping store was keyed on `(spiffe_id_prefix, claim_string)` — deliberately coarse to reduce lookup cost. At week 7, Issuer's platform team...",
    "condition_of_validity": "The invariant holds — and the failure is prevented — only when all four of the following are true simultaneously at the moment of the authorization decision: 1. **Chain re-validation.** The verifier resolves the presenting SVID's full delegation chain (root workload → intermediate → leaf) against the issuer's current trust bundle, not a cached bundle, and ch...",
    "decision_boundary": "The boundary between safe and unsafe federation is not \"is the credential valid\" but \"**can the verifier prove, at decision time, that its interpretation of the claim matches the issuer's intent at issuance time?**\" The subtle case is the third row: an unknown ontology version. The tempting default is to fail open (\"we don't recognize the version, but the si...",
    "operational_effect": "The practical consequence is that cross-org federation must be treated as a *continuously re-validated* relationship, not a one-time handshake. The handshake establishes the trust anchor; the invariant is maintained by re-checking the chain, the ontology pin, and the claim hash on every decision — or, at minimum, on every decision whose cached inputs are old..."
  },
  "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": "1cc037e5b03700aa40bf3e4febec920cb8ce3ed85562495bed1110f43b27413f",
    "verified_classes": [
      "TrustDomainCollapseError",
      "DelegationChain",
      "VerifiableCredential",
      "FederationPolicy"
    ],
    "verified_functions": [
      "_claim_hash",
      "authorize",
      "_record_decision"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "TrustDomainCollapseError"
    ],
    "sample_fail_closed_invariants": [
      "refusing to emit decision without semantic provenance"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "datetime",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
