{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-re-derive-a-delegated-scope-token-after-an-aaif-credential-rotation-mid-handoff",
  "title": "Under what conditions must an instance re-derive a delegated-scope token after an AAIF credential rotation mid-handoff",
  "date_of_record": "2026 November 26",
  "scope": "Applies to AAIF-issued verifiable agent credentials (VACs) and delegated-scope tokens (DSTs) carried across agent-to-agent handoffs where the issuing authority rotates its signing key or revokes the parent credential during an in-flight task. Does not cover static API-key auth, mTLS-only transport identity, or single-instance sessions with no delegation chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-derive-a-delegated-scope-token-after-an-aaif-credential-rotation-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-derive-a-delegated-scope-token-after-an-aaif-credential-rotation-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-derive-a-delegated-scope-token-after-an-aaif-credential-rotation-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2174,
    "python_slice_tokens": 402,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **credential validity at presentation time** and **warrant continuity across the delegation chain**. A DST is a signed assertion that agent B may act with a subset of agent A's scopes, where A itself holds a VAC signed by an authority. Most AAIF implementations verify the DST signature and check `exp`/`nbf` at the mome...",
    "what_was_observed": "A three-hop handoff: orchestrator O (holds VAC from authority A, scopes `{read:repo, exec:test}`) mints DST for worker W (scopes `{exec:test}`). W spawns auditor X and passes a further-narrowed DST (`{read:testlog}`). Mid-task, A rotates its signing key and publishes a new trust bundle; the old key remains in the bundle for a 300-second grace window, then is removed. The failure trace: 1. O mints DST_W at T+0, signed...",
    "condition_of_validity": "The invariant that must hold for a DST to remain a non-orphaned warrant: > For every presentation of DST_D by agent D at time `t`, there must exist a path from D's signing key to a currently-trusted authority root, and every edge in that path (parent VAC → DST_D) must have been valid at `t`, not merely at mint time. This is a **transitive freshness** require...",
    "decision_boundary": "The architectural decision is whether DSTs are **self-contained bearer tokens** (verify signature, trust `exp`) or **chain-anchored warrants** (verify full path to a live root at every presentation). The boundary condition that forces the choice: - If delegation depth ≤ 1 (authority → leaf agent), self-contained bearer tokens are safe because there is no int...",
    "operational_effect": "When the invariant is violated, the failure is not a clean rejection—it is **partial task completion under divergent authorization state**. In the trace, W's `exec:test` calls succeeded against the tool gateway (stale cache) and produced test artifacts, while X refused to audit them (fresh cache). The orchestrator O saw \"test executed, audit refused\" and, de..."
  },
  "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": "e544f1fc178a03e890a8402fcc0c83b6dfd306746deb3b7b158aa398afdf8c04",
    "verified_classes": [
      "OrphanedWarrantError",
      "StaleMintError",
      "TrustBundle",
      "DST",
      "AAIFClient"
    ],
    "verified_functions": [
      "has",
      "__init__",
      "_bundle_is_fresh",
      "refresh_bundle",
      "verify",
      "mint_child"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "OrphanedWarrantError",
      "StaleMintError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
