{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-cross-org-agent-trust-federation-from-silently-degrading-when-a-verifiable-presentation-s-credential-subject-diverges-from-th",
  "title": "Which invariants prevent cross-org agent trust federation from silently degrading when a verifiable presentation's credential subject diverges from the signed manifest that authorized it",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any multi-org agent federation where an agent presents a signed manifest (capability + identity claims) and a verifiable presentation (VP) of credentials issued by third parties, and a relying-party agent authorizes tool calls based on the conjunction. Does not apply to single-org deployments where the manifest issuer and the relying party share a trust root, nor to purely symmetric mTLS-only peer authentication without credential exchange.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-agent-trust-federation-from-silently-degrading-when-a-verifiable-presentation-s-credential-subject-diverges-from-th.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-agent-trust-federation-from-silently-degrading-when-a-verifiable-presentation-s-credential-subject-diverges-from-th.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-agent-trust-federation-from-silently-degrading-when-a-verifiable-presentation-s-credential-subject-diverges-from-th.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2357,
    "python_slice_tokens": 418,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"bad signature\" and not \"expired credential.\" Those are caught. The failure is **subject binding divergence**: the VP cryptographically verifies, every credential inside it verifies, the manifest signature verifies — and yet the entity the credentials describe is *not* the entity the manifest authorizes to act. Three independent verificati...",
    "what_was_observed": "A relying-party agent (`RP`) in org B received a tool-invocation request from an agent claiming to be `agent:acme:invoice-bot`. The request carried: - A manifest `M`, signed by Acme's federation key, declaring `agent.id = agent:acme:invoice-bot` and `capabilities = [\"payments.read\", \"invoices.write\"]`. - A VP `P` containing a credential `C` issued by a shared KYC provider, with `credentialSubject.id = did:web:acme.ex...",
    "condition_of_validity": "The invariant that must hold for federation to be sound: > For every credential `C` in presentation `P`, there must exist a **subject-binding witness** `W` such that `W` cryptographically links `C.credentialSubject.id` to `M.agent.id`, and `W` is either (a) the equality `C.credentialSubject.id == M.agent.id`, or (b) a signed delegation credential `D` where `...",
    "decision_boundary": "The boundary between \"authorized delegation\" and \"laundering\" is not the presence of a subject mismatch — it is the presence of a **complete, scoped, temporally-valid, revocation-checked delegation chain** from the credential subject to the manifest agent. Operationally, the decision procedure is: - If `C.credentialSubject.id == M.agent.id`: accept (equality...",
    "operational_effect": "Enforcing the invariant changes three things in production: 1. **Latency.** Delegation-chain walking adds a graph traversal per credential, plus revocation lookups per hop. In observed deployments this added 40–120ms to authorization when chains were 2–3 hops, and unbounded latency when chains were cyclic (a misconfigured issuer created a `A→B→A` delegation ..."
  },
  "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": "a84e943b4334b3b7515410bd7edef1a2ee59d9e10b06d7f12590e0e5b4719e49",
    "verified_classes": [
      "SubjectBindingError",
      "Delegation",
      "Credential",
      "Manifest"
    ],
    "verified_functions": [
      "verify_subject_binding",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "SubjectBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
