{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-scope-narrowing-replay-in-aaif-delegated-credential-chains-when-a-sub-agent-re-presents-a-parent-warrant-after-token-expiry",
  "title": "Which invariants prevent scope-narrowing replay in AAIF delegated credential chains when a sub-agent re-presents a parent warrant after token expiry",
  "date_of_record": "2026 November 26",
  "scope": "Applies to AAIF delegated credential chains where a warrant W0 is attenuated into W1…Wn and presented at tool-call time as a scoped capability token. Does not cover root-issuer key compromise, nor single-hop bearer tokens without delegation depth.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-scope-narrowing-replay-in-aaif-delegated-credential-chains-when-a-sub-agent-re-presents-a-parent-warrant-after-token-expiry.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-scope-narrowing-replay-in-aaif-delegated-credential-chains-when-a-sub-agent-re-presents-a-parent-warrant-after-token-expiry.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-scope-narrowing-replay-in-aaif-delegated-credential-chains-when-a-sub-agent-re-presents-a-parent-warrant-after-token-expiry.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1385,
    "python_slice_tokens": 379,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired token accepted.\" It is that a *narrowed* descendant warrant (W2, scope ⊆ W1 ⊆ W0) is re-presented after its own `not_after` has lapsed but while the *parent* W1 is still valid, and the verifier—walking the chain to confirm attenuation monotonicity—mistakes the parent's liveness for the child's authority. Scope-narrowing chains car...",
    "what_was_observed": "A planner agent P holds W0 (scope: `fs:read:/data`, `tool:query`, `not_after=T+3600`). It delegates to a retrieval sub-agent R a warrant W1 (`fs:read:/data/reports`, `not_after=T+1800`). R further delegates to a summarizer S a warrant W2 (`fs:read:/data/reports/q3`, `not_after=T+600`). At `T+900`, S is resumed from a mid-task checkpoint (see cold-start amnesia) and re-presents W2 to the file tool. The tool's AAIF ver...",
    "condition_of_validity": "The invariant that must hold at every verification: The failure occurs precisely when the `∀` over `not_after` is weakened to `∃` — typically introduced as an optimization (\"if the root is live, the delegation is live\") that is sound for *bearer* tokens but unsound for *attenuating* chains, because attenuation is the mechanism by which a sub-agent's authorit...",
    "decision_boundary": "The verifier must reject when `now ≥ leaf.not_after` regardless of ancestor liveness. The boundary is sharp: there is no grace window, because the leaf's short `not_after` is often the *only* thing bounding a sub-agent's blast radius after its parent has moved on. Two corollaries: 1. **Re-delegation from a live parent does not resurrect a dead leaf.** If S n...",
    "operational_effect": "Systems that weaken the per-hop time check to an ancestor check exhibit a characteristic exploit surface: any sub-agent whose checkpoint outlives its leaf warrant (common when checkpoint TTL > leaf TTL, which is the default in most agent runtimes) can, on resume, exercise authority its parent intended to have already withdrawn. The blast radius is bounded by..."
  },
  "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": "286c971424af46f81cb5fac70904c8c00a762714c219460b8f644d3e6c28e176",
    "verified_classes": [
      "WarrantReplayError",
      "Warrant"
    ],
    "verified_functions": [
      "_scope_narrows",
      "verify_chain",
      "resume_from_checkpoint"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "WarrantReplayError"
    ],
    "sample_fail_closed_invariants": [
      "empty warrant chain",
      "parent also expired; must re-delegate from root"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
