{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-verifiable-credential-trust-chains-from-silently-widening-scope-across-federated-agent-runtimes",
  "title": "Which invariants prevent verifiable-credential trust chains from silently widening scope across federated agent runtimes",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-agent systems where an agent in org A delegates a subtask to an agent in org B using DID-rooted verifiable credentials (VCs) and delegated warrants, and where the receiving runtime caches or re-presents credentials. Does not apply to single-tenant deployments, symmetric-key service meshes, or stateless RPC where no credential is carried past the first hop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-verifiable-credential-trust-chains-from-silently-widening-scope-across-federated-agent-runtimes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-verifiable-credential-trust-chains-from-silently-widening-scope-across-federated-agent-runtimes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-verifiable-credential-trust-chains-from-silently-widening-scope-across-federated-agent-runtimes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1840,
    "python_slice_tokens": 345,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A verifiable credential proves *who issued it* and *what it asserted at issuance time*. It does not prove *what the bearer is currently authorized to do* in the verifier's namespace. Federated trust fails not because signatures break, but because the verifier conflates three distinct predicates that a VC chain silently collapses into one: 1. **Provenance** —...",
    "what_was_observed": "In a two-org federation (Agent `planner-A` in org A, Agent `executor-B` in org B), `planner-A` held a root warrant from its own org CA granting `{read:repo/**, write:repo/feature-*}`. To delegate a sub-task, `planner-A` minted a derived VC for `executor-B` with scope `{read:repo/feature-42, write:repo/feature-42}` — a correct attenuation. `executor-B` then needed a third agent, `auditor-C` (org C, a transitive peer),...",
    "condition_of_validity": "The federated trust chain is sound only when all four of the following hold simultaneously at the *verifier*: - **Chain reconstruction**: the verifier rebuilds the delegation DAG from `credentialSubject.id` → `issuer` edges and rejects any credential whose parent is absent from the presentation. A flat bag is insufficient. - **Subset enforcement**: for every...",
    "decision_boundary": "The operational fork is: **does the verifier treat the presentation as a set (union semantics) or as a graph (path-intersection semantics)?** - Set semantics are correct only when every credential in the presentation is issued *directly* to the acting DID by a trusted root, with no intermediate delegation. In that case union = intersection and the distinctio...",
    "operational_effect": "The observable consequences of missing this boundary: - **Silent privilege escalation across org lines.** The escalation is *not* flagged by any signature check, so it survives audit logs that record only `verified: true`. Post-incident forensics must replay the delegation graph, which most runtimes do not persist. - **Replay amplification.** A cached root w..."
  },
  "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": "e2e2e3ae927c803b677df15e554d2372a05b29feda7c2dec4d9e36eb20de82e9",
    "verified_classes": [
      "AttenuationViolation",
      "Credential"
    ],
    "verified_functions": [
      "compute_effective_scope"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttenuationViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
