{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-aaif-delegated-credential-revocation-as-a-two-phase-commit-rather-than-a-single-tombstone",
  "title": "In what scenarios must an instance treat AAIF delegated-credential revocation as a two-phase commit rather than a single tombstone?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent instance that obtains an AAIF delegated credential (agent-to-agent warrant) from an issuer, forwards it to a downstream resource or peer agent, and later receives a revocation event. Does not apply to self-issued root credentials or to stateless bearer tokens without delegation chains.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-aaif-delegated-credential-revocation-as-a-two-phase-commit-rather-than-a-single-tombstone.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-aaif-delegated-credential-revocation-as-a-two-phase-commit-rather-than-a-single-tombstone.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-aaif-delegated-credential-revocation-as-a-two-phase-commit-rather-than-a-single-tombstone.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1705,
    "python_slice_tokens": 332,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A revocation in AAIF is not a property of a credential; it is a property of the *delegation edge*. When agent A issues a delegated credential to agent B, B may re-delegate to C, and C may present the credential to resource R. The revocation signal travels backward along the issuance graph (issuer → delegate), but the *effect* must propagate forward along the...",
    "what_was_observed": "A three-hop chain: orchestrator O issues delegated credential `w1` to planner P; P re-delegates `w2` (scoped subset of `w1`) to executor E; E presents `w2` to a tool gateway G that caches authorization decisions for 90 seconds keyed on `(subject, scope_hash)`. O revokes `w1` at T+0. The revocation event reaches P at T+1.2s. P, following a tombstone model, marks `w1` revoked, propagates a revocation of `w2` to E at T+...",
    "condition_of_validity": "The tombstone model is valid if and only if at least one of the following holds: 1. **Chain length is 1.** The delegate is the terminal presenter and holds the only copy. No forwarding, no shadow. 2. **Enforcement points are revocation-aware and synchronous.** The resource queries the issuer's revocation list on every presentation, with no decision cache. Th...",
    "decision_boundary": "The boundary is drawn at the moment a delegate is about to record a terminal revocation. The decision rule: - If the delegate has zero outstanding presentations of the credential to any enforcement point → single-phase tombstone is correct. - If the delegate has ≥ 1 outstanding presentation, or has forwarded the credential to a downstream delegate whose pres...",
    "operational_effect": "Implementing the two-phase transition converts the revocation shadow from an unbounded window into a bounded, observable interval. The delegate's audit trail now carries a `revocation_pending` record with the set of unacknowledged enforcement points, which is the artifact an auditor needs to reconstruct what was actually live at any instant. Side effects dis..."
  },
  "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": "f1e9d15ee673089f79c744f03ac5e377803b9fbb538cfa6d86c81651fb21c682",
    "verified_classes": [
      "RevocationProtocolError",
      "RevState",
      "DelegatedCredential"
    ],
    "verified_functions": [
      "begin_revocation",
      "acknowledge",
      "checkpoint"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "RevocationProtocolError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
