{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-abort-delegated-tool-calls-when-a-scoped-credential-s-revocation-epoch-advances-mid-execution",
  "title": "Where must an instance abort delegated tool calls when a scoped credential's revocation epoch advances mid-execution",
  "date_of_record": "2026 December 3",
  "scope": "Applies to agent instances executing multi-step tool plans under a delegated, scope-limited credential (AAIF) where the issuer can advance a revocation epoch or shrink scope between the delegation and the tool call. Does not apply to single-call agents that acquire and spend a credential within a single synchronous turn with no intervening revocation window.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-abort-delegated-tool-calls-when-a-scoped-credential-s-revocation-epoch-advances-mid-execution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-abort-delegated-tool-calls-when-a-scoped-credential-s-revocation-epoch-advances-mid-execution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-abort-delegated-tool-calls-when-a-scoped-credential-s-revocation-epoch-advances-mid-execution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1860,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"an agent used a revoked credential.\" That is a coarse, detectable event. The non-obvious boundary is the **epoch gap inside a plan**: a delegated credential is valid at plan-admission time, the agent commits to an N-step tool sequence, and the issuer advances the revocation epoch (or narrows scope) *between* step *k* and step *k+1*. ...",
    "what_was_observed": "A three-step plan (read → transform → write) ran under a delegated credential `C` with scope `{read:ds1, write:ds1}` and epoch `e=41`, admitted at T0. At T0+8s, the human principal revoked write scope on `ds1` by advancing the issuer's epoch to `e=42` and publishing a scope-narrowing. The agent's local credential cache still held `C` at `e=41`. The trace: 1. Step 1 (read) executes; the tool-side authorizer checks `C`...",
    "condition_of_validity": "The guardrail holds only under a conjunction that must be checked *at each tool dispatch*, not at plan admission: - `issuer_epoch_now(C.issuer) >= C.epoch` — the agent must be able to read the issuer's *current* epoch, not a cached one, and must compare against the epoch embedded in the credential it is about to spend. - `scope_now(C.issuer, C.subject) ⊇ req...",
    "decision_boundary": "The boundary is between two policies: - **Token-lifetime policy** (wrong for delegated plans): authorize if `signature valid ∧ now < exp ∧ scope-match`. This admits every epoch-stale credential whose expiry has not yet passed — the entire revocation window. - **Epoch-freshness policy** (required): authorize only if the *current* issuer epoch is `>=` the cred...",
    "operational_effect": "Implementing epoch-freshness at dispatch converts an undetectable unauthorized write into a bounded, recoverable abort with three concrete effects: 1. **The plan halts at the correct step.** No partial writes under stale authority; the agent emits a `RevocationObserved` event carrying `{step, credential_epoch, current_epoch, scope_delta}`. 2. **Memory is cor..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "7875875a63c5928a0135a1c1a3a3e404e07896351acd1dbfae9ca5a88ceb97db",
    "verified_classes": [
      "RevocationEpochStale",
      "ScopeShrunk",
      "Credential",
      "IssuerState"
    ],
    "verified_functions": [
      "authorize_step",
      "run_plan"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "RevocationEpochStale",
      "ScopeShrunk"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
