{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-narrowing-proof-has-silently-expired-mid-chain",
  "title": "In what scenarios must an instance refuse a delegated AAIF credential whose scope-narrowing proof has silently expired mid-chain",
  "date_of_record": "2026 November 29",
  "scope": "Applies to AAIF (Agent Identity and Authorization Framework) delegated credential chains where an orchestrator instance mints per-tool scoped tokens for downstream worker instances, and each hop carries a scope-narrowing proof (SNP) that is itself time-bounded. Does not apply to single-hop bearer tokens, root-issued capability tokens consumed directly by the minting instance, or chains where all hops share a single TTL enforced by a common clock authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-narrowing-proof-has-silently-expired-mid-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-narrowing-proof-has-silently-expired-mid-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-delegated-aaif-credential-whose-scope-narrowing-proof-has-silently-expired-mid-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1992,
    "python_slice_tokens": 344,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **scope validity** and **delegation validity**. A per-tool scoped token has two independent lifetimes: (a) the token's own `exp` claim, which bounds when the *tool call* may execute, and (b) the scope-narrowing proof attached at each delegation hop, which bounds when the *narrowing decision itself* remains authoritativ...",
    "what_was_observed": "A three-hop chain was observed in a code-review swarm. The root authority (a human-approved service principal) issued a capability `cap:repo:acme/widgets` with scope `{read, write, comment}` and a 3600s TTL. The orchestrator (hop 1) minted a delegated credential for a \"planner\" worker at T+0, narrowing to `{read, comment}`, with an SNP signed over the subset relation and `snp_exp = T+600` (a deliberately short 10-min...",
    "condition_of_validity": "The delegation is valid if and only if, for every hop `i` in the chain from root to leaf: i.e. every interior scope-narrowing proof must remain live for at least as long as the leaf token it underwrites. Equivalently: `min(snp_exp over interior hops) >= leaf.exp`. A re-delegation at hop `k` must either (a) re-derive a fresh SNP with `snp_exp >= new_leaf.exp`...",
    "decision_boundary": "An instance must refuse a delegated credential — and must refuse to *mint* from an about-to-expire one — at the following boundary: - **Refuse to mint** when `min(snp_exp over hops 1..k) - now < safety_margin`, where `safety_margin` covers the expected tool-call latency plus clock skew between minting and consuming instances. A re-delegation that would produ...",
    "operational_effect": "The operational consequence is that per-tool scoped tokens cannot be treated as stateless bearer credentials once delegation depth exceeds one. Three concrete effects: 1. **Validator asymmetry becomes a security gap.** A lenient gateway (leaf-only checks) and a strict gateway (chain-walking) will disagree on the same token for the entire window `[snp_exp, 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": "65cb095ec0755f310b18422bc6aca763b36c1fb62eefb784f6685bb3573a0887",
    "verified_classes": [
      "OrphanedDelegationError",
      "Hop",
      "DelegatedToken"
    ],
    "verified_functions": [
      "min_snp_exp",
      "admit",
      "redelegate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "OrphanedDelegationError"
    ],
    "sample_fail_closed_invariants": [
      "scope widening forbidden at re-delegation"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
