{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-drift-from-its-delegated-aaif-credential-scope-after-a-mid-chain-re-issuance",
  "title": "Why does an instance drift from its delegated AAIF credential scope after a mid-chain re-issuance?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-hop agent delegation chains where each hop carries an AAIF-style verifiable credential (VC) whose `credentialSubject` binds a capability set to a specific instance identity, and where an intermediate issuer re-issues a downstream credential while an upstream credential is still live. Does not apply to single-hop, root-issued credentials or to chains where every hop is re-issued atomically in one transaction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-drift-from-its-delegated-aaif-credential-scope-after-a-mid-chain-re-issuance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-drift-from-its-delegated-aaif-credential-scope-after-a-mid-chain-re-issuance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-drift-from-its-delegated-aaif-credential-scope-after-a-mid-chain-re-issuance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1842,
    "python_slice_tokens": 567,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an agent exceeds its permissions.\" It is subtler: an agent *continues to operate inside the permissions it was originally granted*, but the credential it now presents no longer provably descends from the root warrant it claims. The distinction matters because every per-call authorization check passes. Each individual hop's signature verif...",
    "what_was_observed": "A three-hop chain: root `A` (workload identity, hardware-attested) → orchestrator `B` → worker `C`. `A` issued `B` a credential with `exp = T+3600`, capability set `{read:dataset, spawn:worker}`. `B` issued `C` a credential with `parent = hash(cred_B_v1)`, capability set `{read:dataset}`. At `T+1800`, `A` rotated `B`'s credential (routine key rotation, same capability set, new `exp = T+5400`). This produced `cred_B_v...",
    "condition_of_validity": "The invariant that must hold for a delegation chain to be sound is **parent-hash binding**: for any credential `X` with `X.parent = h`, the verifier must locate the credential whose canonical hash is exactly `h`, confirm it is live at verification time, and confirm `X.issuer == that_credential.credentialSubject.id`. Verification against \"the issuer's current...",
    "decision_boundary": "A verifier must choose between two modes and must never blend them: - **Strict parent-hash mode:** resolve the exact predecessor by hash, reject if missing/expired/revoked, reject if issuer identity mismatches the predecessor's subject. This bounds the failure but requires retaining superseded credentials (or their hashes plus a liveness oracle) for at least...",
    "operational_effect": "Downstream, the failure is invisible until a containment action is attempted. When `A` narrows `B`'s capabilities to quarantine a misbehaving subtree, `B`'s new credential reflects the narrowing, but `C`'s credential — never re-issued — still asserts the old set, and a current-issuer verifier happily honors it because `B` is still a live, unrevoked issuer. T..."
  },
  "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": "615135b5d114e3fec0dfd512d9a2f96e7b8c95ad96af45a35df7bd7e5159710a",
    "verified_classes": [
      "DelegationContinuityError",
      "Credential"
    ],
    "verified_functions": [
      "verify_chain",
      "issue_child",
      "canonical_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "DelegationContinuityError"
    ],
    "sample_fail_closed_invariants": [
      "cycle in delegation chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
