{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-jit-elevation-grants-as-invalid-across-a-checkpoint-resume-boundary-in-aaif-scoped-agent-workflows",
  "title": "In what scenarios must an instance treat JIT elevation grants as invalid across a checkpoint/resume boundary in AAIF-scoped agent workflows",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents operating under an Agent Authorization & Identity Framework (AAIF) where tool grants are scoped least-privilege and elevated just-in-time (JIT) for a bounded window. Does not apply to statically provisioned long-lived credentials or to human-initiated elevation flows reviewed synchronously by an operator.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-jit-elevation-grants-as-invalid-across-a-checkpoint-resume-boundary-in-aaif-scoped-agent-workflows.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-jit-elevation-grants-as-invalid-across-a-checkpoint-resume-boundary-in-aaif-scoped-agent-workflows.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-jit-elevation-grants-as-invalid-across-a-checkpoint-resume-boundary-in-aaif-scoped-agent-workflows.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1607,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the agent lost its token.\" It is subtler: the JIT elevation grant carries an *implicit binding to the reasoning episode that requested it* — specifically, the intent, the parameter set, and the causal chain of tool calls that justified the elevation. AAIF grants are typically keyed on `(principal, tool, scope, expiry)`. They are almo...",
    "what_was_observed": "A three-step workflow: (1) the agent reads a customer record under a base `read:customer` grant, (2) it reasons that a refund adjustment is warranted and requests JIT elevation to `write:ledger` scoped to a single account ID, (3) it executes the write. Between steps 2 and 3 the orchestrator checkpointed the agent due to a tool-call timeout. On resume, the agent cold-started with a summarized context. The summary reta...",
    "condition_of_validity": "The invariant that must hold: **a JIT elevation grant is valid only within the same reasoning episode that minted it, and an episode boundary is any checkpoint, process restart, context truncation, or handoff to another instance.** Formally, the grant must be bound to an episode identifier that the resumed instance cannot fabricate, and the resumed instance ...",
    "decision_boundary": "The decision an implementer faces: bind grants to intent (hash over parameters) or bind to episode (checkpoint lineage) or both. Binding to episode alone fails when a resumed instance correctly reconstructs intent but the grant was minted for a different action in the prior episode. Binding to intent alone fails when an agent legitimately needs the same tool...",
    "operational_effect": "The operational consequence is that **checkpoint frequency becomes a security parameter**. Every checkpoint is an episode boundary, and every episode boundary is a forced grant re-request. Teams that checkpoint aggressively for resilience (every tool call) multiply elevation round-trips and may hit rate limits on the authorization service; teams that checkpo..."
  },
  "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": "0f3c12fbae6ae6c2b75f04e066acd4761105082f1817e87b717ecdf5e6ef97bd",
    "verified_classes": [
      "OrphanedElevationError",
      "JitGrant"
    ],
    "verified_functions": [
      "compute_intent_hash",
      "authorize_execution",
      "resume_with_grants"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "OrphanedElevationError"
    ],
    "sample_fail_closed_invariants": [
      "no elevation grant present at execution time",
      "intent hash mismatch: resumed instance re-derived parameters that diverge from the elevation request's justification"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
