{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-delegated-credential-chain-has-gone-stale-mid-execution-rather-than-being-legitimately-revoked",
  "title": "How does an instance detect that a delegated credential chain has gone stale mid-execution rather than being legitimately revoked",
  "date_of_record": "2026 November 26",
  "scope": "Applies to autonomous agents operating under AAIF-style delegated credential chains where a parent principal issues attenuated warrants to child agents that may further delegate. Does not apply to single-hop bearer tokens or stateless API keys with no delegation lineage.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-credential-chain-has-gone-stale-mid-execution-rather-than-being-legitimately-revoked.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-credential-chain-has-gone-stale-mid-execution-rather-than-being-legitimately-revoked.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-credential-chain-has-gone-stale-mid-execution-rather-than-being-legitimately-revoked.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1784,
    "python_slice_tokens": 426,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A revoked credential and a *stale* credential are cryptographically indistinguishable at the leaf. Both present as \"the verifier rejects your warrant.\" The distinction that matters operationally is *causal*: a revocation is an intentional act by an upstream principal that invalidates a subtree; staleness is the absence of a refresh event within a validity ep...",
    "what_was_observed": "A three-hop chain: orchestrator `O` issues warrant `W1` to planner `P` at `t0` with `not_after = t0 + 900s` and a delegation depth of 2. `P` issues `W2` to executor `E` at `t0 + 40s`, carrying `parent = W1`, `not_after = min(W1.not_after, t0+40+600)`. `E` begins a long tool-call sequence. At `t0 + 880s`, `O`'s credential service performs a routine key rotation and re-issues `W1'` to `P` — same subject, same scope, ne...",
    "condition_of_validity": "The stale-vs-revoked distinction is only detectable when the following hold simultaneously: 1. The chain carries a monotonic `issuance_seq` (or equivalent) per `(issuer, subject)` pair, so that a leaf can compare its parent's sequence against the issuer's current sequence without needing to know the *content* of the newer warrant. 2. The issuer exposes a *ch...",
    "decision_boundary": "The boundary is a single comparison, performed at the moment of rejection: The non-obvious part: `current_seq > parent.issuance_seq` is *not* sufficient on its own. A revoked-then-reissued chain produces the same inequality. The disambiguator is whether the *scope* of the newer issuance is a superset of the leaf's current grant. If the successor warrant narr...",
    "operational_effect": "An agent that implements the sequence-probe boundary converts a 140-second, 12.6k-token doomed retry loop into a single ~200ms probe plus a re-attestation round-trip. More importantly, it stops emitting false \"revoked\" escalations, which upstream principals learn to ignore — the *actual* revocation signal gets drowned by staleness noise. The second-order eff..."
  },
  "matched_failure_symptoms": [
    "UNNECESSARY_OR_STALE_EXTERNAL_FETCH"
  ],
  "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": "5ae3c3d53417bae02485b9176061c7dc68348becb3791dc98620c0201854ea3c",
    "verified_classes": [
      "ChainStateError",
      "ChainVerdict",
      "Warrant",
      "ProbeResult",
      "IssuerProbe"
    ],
    "verified_functions": [
      "classify_chain",
      "guarded_tool_call",
      "__init__",
      "current"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ChainStateError"
    ],
    "sample_fail_closed_invariants": [
      "successor warrant narrowed scope below active grant; checkpoint and return partial results, do not continue",
      "chain revoked after retry; halting to avoid token-budget exhaustion on a dead chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
