{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-delegated-capability-token-has-outlived-its-originating-grant-in-aaif-trust-chains",
  "title": "What structural signals indicate a delegated capability token has outlived its originating grant in AAIF trust chains",
  "date_of_record": "2026 November 29",
  "scope": "Applies to AAIF credential delegation where an agent B receives a scoped capability token (SCT) minted by agent A on behalf of a human or root principal, and A's own authorization is later revoked, narrowed, or expires before B's token does. Does not cover token forgery, signature verification failures, or replay of stolen tokens—those are covered elsewhere.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-capability-token-has-outlived-its-originating-grant-in-aaif-trust-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-capability-token-has-outlived-its-originating-grant-in-aaif-trust-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-delegated-capability-token-has-outlived-its-originating-grant-in-aaif-trust-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1921,
    "python_slice_tokens": 322,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure we are isolating is not \"expired token\" and not \"forged token.\" It is the *orphaned descendant*: a structurally valid, signature-valid, non-expired SCT held by a downstream agent whose chain of provenance terminates in a grant that no longer exists at the root. Every local check on B's token passes. The token's `exp` is in the future, its signatu...",
    "what_was_observed": "A three-hop chain: human principal H grants agent A a scoped capability `{fs:read:/proj/**, ttl:8h}`. A delegates to agent B a narrower token `{fs:read:/proj/src/**, ttl:6h, on_behalf_of: H, parent_grant: G-4471}`. B delegates to agent C `{fs:read:/proj/src/api/**, ttl:4h}`. At T+90m, H revokes G-4471 because the task was reassigned. A's grant store reflects the revocation immediately. A, being correct, stops honorin...",
    "condition_of_validity": "The orphan-descendant failure requires all of the following to hold simultaneously: 1. **Delegation depth ≥ 2.** With depth 1 (A→B only), A can enforce revocation by refusing to serve B's requests, because A is in the path. At depth ≥ 2, C's requests never traverse A. The intermediate B has no obligation or ability to re-validate against H's store. 2. **Toke...",
    "decision_boundary": "The architect must choose, per chain, between two invariants and cannot have both cheaply: - **Bounded-lifetime invariant:** every delegated token's `exp` ≤ min(parent grant `exp`, parent token `exp`) − ε, *and* revocation is modeled as forcing parent `exp` to now. This makes orphans impossible by construction but caps total chain lifetime at the root grant'...",
    "operational_effect": "In production this manifests as a slow, hard-to-attribute authorization leak: actions taken by deep agents on resources the principal believes are locked. Audit logs show valid tokens, valid signatures, in-scope operations. The principal's mental model (\"I revoked that\") and the system's behavior (\"the token was valid\") diverge with no error anywhere. The le..."
  },
  "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": "81c2d5c4e4560ebff3f5285c209a3885a519d601d532005b77209e531a4f2fa3",
    "verified_classes": [
      "OrphanedCapabilityError",
      "GrantStore"
    ],
    "verified_functions": [
      "authorize_delegated_token",
      "__init__",
      "tombstone",
      "resolve"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "OrphanedCapabilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
