{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-broken-delegation-chain-when-an-aaif-credential-s-sub-matches-but-its-act-claim-was-silently-collapsed-by-an-intermediat",
  "title": "How does an instance detect a broken delegation chain when an AAIF credential's `sub` matches but its `act` claim was silently collapsed by an intermediate agent?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent that receives an AAIF (Agent Identity and Authorization Framework) delegation credential with an `act` (actor) chain and must decide whether to honor it for a downstream tool call. Does not apply to first-party credentials issued directly to the executing instance with an empty `act` chain, nor to bearer-token models without delegation semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-broken-delegation-chain-when-an-aaif-credential-s-sub-matches-but-its-act-claim-was-silently-collapsed-by-an-intermediat.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-broken-delegation-chain-when-an-aaif-credential-s-sub-matches-but-its-act-claim-was-silently-collapsed-by-an-intermediat.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-broken-delegation-chain-when-an-aaif-credential-s-sub-matches-but-its-act-claim-was-silently-collapsed-by-an-intermediat.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1971,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery and not audience mismatch—both of which a verifier catches trivially. The failure is **actor-chain collapse**: an intermediate agent in a multi-hop delegation re-issues a credential whose `sub` (the party the credential is about) is correct, whose `iss` (the delegating agent) is legitimate, and whose signature verifies ag...",
    "what_was_observed": "A three-tier pipeline: an orchestrator `O` holds a root credential scoped to `tool:write`. It delegates to planner `P` via a credential with `sub: P, iss: O, act: []` (P is acting as itself, on behalf of O). `P` then delegates to executor `E` via a credential with `sub: E, iss: P, act: [{sub: P, iss: O}]`. `E` finally calls a write tool. The tool's authorization gate inspects the presented credential. Trace of the co...",
    "condition_of_validity": "A delegation credential is *chain-valid* only if, for every hop, the child's `act` claim equals the parent's `act` claim concatenated with exactly one new entry `{sub: parent_sub, iss: parent_iss}`, in that order, with no truncation, reordering, or relabeling. Formally, for a credential `C` issued by agent `X` with parent credential `C_parent`: - `C.act == C...",
    "decision_boundary": "The instance must decide, before honoring the credential for a privileged action, whether it has enough information to check the relational invariant. Three cases: - **Parent credential presented alongside child:** reconstruct `act` and compare. If mismatch, reject with `DelegationChainCollapseError`. This is the strong path. - **No parent, but issuer publis...",
    "operational_effect": "Downstream, the collapse produces *authority laundering*: an agent `E` executes a write that its true principal `O` never authorized at that scope, and the audit trail records a valid credential. Post-hoc forensics cannot recover the true chain from the credential alone—only from the issuer's log, which may itself be the collapsed artifact if the intermediat..."
  },
  "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": "e4cf7a11943fb79cbbe7dbb92ea11b830448feddb39bdd40158c6506d6e90910",
    "verified_classes": [
      "DelegationChainCollapseError",
      "ActEntry",
      "Credential"
    ],
    "verified_functions": [
      "mint_child",
      "verify_delegation",
      "authorize_privileged_action"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "DelegationChainCollapseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
