{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-aaif-agent-credentials-from-surviving-a-mid-chain-revocation-during-a-live-tool-call",
  "title": "Which invariants prevent delegated AAIF agent credentials from surviving a mid-chain revocation during a live tool call",
  "date_of_record": "2026 November 26",
  "scope": "Applies to AAIF (Agent Authorization & Identity Framework) deployments where an orchestrator agent mints a delegated capability token to a sub-agent, which further attenuates it to a worker agent that invokes a stateful tool holding the credential across multiple round-trips. Does not cover single-hop credentials, stateless one-shot RPCs, or bearer tokens without a delegation chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-agent-credentials-from-surviving-a-mid-chain-revocation-during-a-live-tool-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-agent-credentials-from-surviving-a-mid-chain-revocation-during-a-live-tool-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-agent-credentials-from-surviving-a-mid-chain-revocation-during-a-live-tool-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2016,
    "python_slice_tokens": 264,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a difference between *revocation of a credential* and *invalidation of an in-flight authorized action*. AAIF revocation is a control-plane event: a signed revocation record is appended to the issuer's revocation log and propagated to verifiers via a pull-or-push channel. An in-flight tool call is a data-plane event: the worker agent already presente...",
    "what_was_observed": "An orchestrator `O` mints token `T_O` scoped to `write:repo` for sub-agent `S`, TTL 3600s. `S` attenuates to `T_S` (scope `write:repo`, path prefix `refs/heads/feature-*`) for worker `W`. `W` calls a git-push tool with `T_S`. The tool, on entry, resolves the chain `W ← S ← O`, verifies signatures, checks each token's `nbf`/`exp`, and queries the revocation endpoint for each `jti`. All clean. The push begins — a multi...",
    "condition_of_validity": "The guardrail is a **chain-liveness invariant checked at commit time, not at entry time**, with three conjuncts that must all hold atomically at the moment of side-effect commit: 1. **Ancestor liveness proof.** The worker must present, at commit, a *short-lived* proof (max age `δ`, e.g. 10s) that every ancestor `jti` in the chain is absent from the issuer's ...",
    "decision_boundary": "The boundary is *where in the call lifecycle the liveness check is anchored*. Two regimes: - **Entry-anchored (broken):** Check at call start, trust the result for the call's duration. Valid only when the call is single-phase and shorter than `δ`. For multi-phase stateful tools (git push, DB transaction with multiple statements, file upload + rename), entry-...",
    "operational_effect": "The practical consequence is that **delegation chains must carry a revocation-propagation contract, not just a scope contract.** The token's metadata needs `max_propagation_latency L` and `proof_freshness δ` as first-class claims, and verifiers must reject at commit any chain whose remaining TTL cannot cover `δ + L`. Without this, the chain is cryptographica..."
  },
  "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": "870cfd0591f6cb3bcfd9c1729d83f16d0dcea3d058778a8a1dbc6220bb958115",
    "verified_classes": [
      "RevokedChainCommitError",
      "ChainLivenessProof"
    ],
    "verified_functions": [
      "commit_delegated_action",
      "__init__",
      "is_fresh"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "RevokedChainCommitError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
