{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-halt-delegation-when-a-scoped-token-s-revocation-epoch-advances-mid-tool-call",
  "title": "Where must an instance halt delegation when a scoped token's revocation epoch advances mid-tool-call",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent-to-agent and agent-to-tool authorization flows where a delegated scoped token carries an embedded `revocation_epoch` and the bearer presents a cryptographic attestation (signed capability claim) at each hop. Does not apply to stateless bearer tokens validated only at issuance, nor to single-process agents that never re-present credentials across a tool boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-delegation-when-a-scoped-token-s-revocation-epoch-advances-mid-tool-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-delegation-when-a-scoped-token-s-revocation-epoch-advances-mid-tool-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-halt-delegation-when-a-scoped-token-s-revocation-epoch-advances-mid-tool-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2077,
    "python_slice_tokens": 434,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *token validity at presentation* and *token validity at the moment of effect*. In AAIF-style delegation, a scoped token is minted with a subject-bound attestation, a scope set, an expiry, and a monotonic `revocation_epoch` sourced from the issuing authority's revocation registry. The bearer (an agent instance) presents...",
    "what_was_observed": "A supervisor agent `S` spawned worker `W` with a delegated token scoped to `filesystem:read:/data/tenant-7` and `revocation_epoch=41`. `W` began a multi-step tool sequence: (1) validate token against authority, (2) list directory, (3) read three files, (4) summarize. Between step 2 and step 3, an auditor agent revoked `S`'s delegation for tenant-7 after detecting a cross-tenant probe, advancing the authority's epoch ...",
    "condition_of_validity": "Re-attestation at every effect boundary is required—and sufficient—only under these conditions: 1. The token carries a monotonic `revocation_epoch` and the authority exposes a cheap epoch-only probe (not a full token introspection) so re-checking is O(1) and cannot itself become a bottleneck that tempts caching. 2. Every effect boundary (each tool invocation...",
    "decision_boundary": "The decision boundary is: **does the pending operation produce an effect that outlives the current validation window?** - If the operation is *ephemeral and self-contained* (a pure computation, a read whose result is discarded within the same atomic turn), a single entry validation is acceptable, because there is no window for revocation to matter. - If the ...",
    "operational_effect": "Implementing this invariant changes agent behavior in three concrete ways: 1. **Turn structure gains a commit gate.** Every turn that ends in a persistent effect must perform an uncached epoch probe as its final act before commit. This adds one authority round-trip per effectful turn—measurable but bounded—and eliminates the class of mid-turn revocation esca..."
  },
  "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": "1b29b2ca75a1395d46cd95e162ebcee8a55e009068cc5d79c1fa3658fb5ba1a1",
    "verified_classes": [
      "RevocationEpochAdvanced",
      "StaleArtifactQuarantined",
      "ScopedToken",
      "DerivedArtifact",
      "Authority",
      "AgentInstance"
    ],
    "verified_functions": [
      "run_worker_turn",
      "current_epoch",
      "revoke",
      "_probe_epoch_uncached",
      "read_ephemeral",
      "commit_derived",
      "retrieve"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "RevocationEpochAdvanced",
      "StaleArtifactQuarantined"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
