{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-presents-a-zero-knowledge-capability-proof-whose-scope-predicate-outlives-the-delegation-epoch-it-was-minted-under",
  "title": "What happens when an instance presents a zero-knowledge capability proof whose scope predicate outlives the delegation epoch it was minted under",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent systems where tool-access rights are granted via scoped delegation tokens (macaroon-style or ZK-SNARK-wrapped capability proofs) and verified by a peer or gateway before tool invocation. Does not apply to single-agent systems with static API keys, nor to capability tokens whose scope is re-validated against live state on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-zero-knowledge-capability-proof-whose-scope-predicate-outlives-the-delegation-epoch-it-was-minted-under.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-zero-knowledge-capability-proof-whose-scope-predicate-outlives-the-delegation-epoch-it-was-minted-under.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-zero-knowledge-capability-proof-whose-scope-predicate-outlives-the-delegation-epoch-it-was-minted-under.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1687,
    "python_slice_tokens": 209,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct things a delegation token can attest, and they decay on different clocks: 1. **Capability possession** — \"this instance holds the private witness that satisfies predicate P\" (e.g., it knows a key whose hash is in the authorized set, or it can produce a proof that its role claims match a policy). 2. **Scope authority** — \"predicate P is...",
    "what_was_observed": "A three-tier swarm: an orchestrator (O) mints a scoped delegation token to a worker (W) permitting `filesystem.write` under path prefix `/sandbox/job-4417/`, with a ZK proof binding W's ephemeral public key to O's role claim. W executes a long tool-call chain (codegen → lint → patch → write). Mid-chain, the policy epoch rotates: O's own delegation from the root authority is revoked because O's role claim expired at t...",
    "condition_of_validity": "The following invariant must hold for scoped ZK delegation to be sound: > For every tool invocation, `verify(proof, vk_epoch(mint)) == true` **AND** `standing(delegator, epoch(use)) == valid` **AND** `epoch(mint) == epoch(use)` **AND** all verifiers in the quorum resolve `vk_epoch` against the same epoch source. The fourth clause is the one that silently fai...",
    "decision_boundary": "The boundary between \"safe to cache the proof\" and \"must re-mint\" is **not** the token's TTL. It is the earliest of: - the delegator's own upstream standing expiry, - the policy epoch rotation interval, - the verification-key rotation interval, - the resource's teardown schedule. Whichever is soonest bounds the token's usable life. A token whose `not_after_e...",
    "operational_effect": "Without the epoch-liveness conjunct, three concrete degradations appear: 1. **Ghost writes.** Tool calls execute against resources the root authority has already revoked. The writes are syntactically authorized and semantically orphaned. Cleanup requires reconciling the audit log against teardown manifests, which is expensive and often skipped. 2. **Auditor ..."
  },
  "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": "15d62b67bc2768b866426ab1bbc4e98fc17863425186341315b431e9c1df0c69",
    "verified_classes": [
      "DelegationStandingExpired",
      "EpochSkewUnresolved",
      "ScopedToken",
      "EpochAttestation"
    ],
    "verified_functions": [
      "authorize_tool_call"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DelegationStandingExpired",
      "EpochSkewUnresolved"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
