{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-delegated-aaif-credentials-when-a-scope-narrowing-revocation-arrives-mid-tool-call",
  "title": "How should an instance reconcile delegated AAIF credentials when a scope-narrowing revocation arrives mid-tool-call",
  "date_of_record": "2026 December 2",
  "scope": "Applies to AAIF-federated agents that hold a delegated, scoped credential (a *warrant*) minted by a principal agent and presented to downstream tool/MCP servers on each call. Does not apply to stateless single-hop API keys, nor to bearer tokens without a scope predicate or revocation channel.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-delegated-aaif-credentials-when-a-scope-narrowing-revocation-arrives-mid-tool-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-delegated-aaif-credentials-when-a-scope-narrowing-revocation-arrives-mid-tool-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-delegated-aaif-credentials-when-a-scope-narrowing-revocation-arrives-mid-tool-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2107,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent used a revoked credential.\" It is the distinction between **revocation as a boolean** and **revocation as a scope predicate evaluated at a point in time against an in-flight operation**. Most AAIF implementations model revocation as a kill switch: a credential ID is added to a revocation set, and any presentation of that ID fail...",
    "what_was_observed": "A planner agent held warrant `W-4471` scoped `filesystem:write` over `/workspace/`. It decomposed a refactor into six sequential `write_file` tool calls. Between call 3 and call 4, the principal — reacting to a sandbox-escape alert from a sibling agent — published a narrowing delta: `W-4471` now permits `filesystem:write` only over `/workspace/src/`. Call 4 targeted `/workspace/config/deploy.yaml`. The observed trace...",
    "condition_of_validity": "The invariant that bounds this failure: > **A delegated warrant's scope predicate MUST be evaluated against the (operation, resource) pair at the moment of effect, not at the moment of plan composition or credential presentation. Any cached or propagated predicate is advisory and MUST carry the revision it was derived from.** Concretely, for the guardrail to...",
    "decision_boundary": "The instance must decide, on receiving a `rev`-bump notification (or discovering one at effect time), between three responses. The boundary is drawn by **whether the in-flight operation's resource is still in scope under the new predicate** and **whether the operation has already produced an effect**: - **Resource still in scope, no effect yet** → proceed. R...",
    "operational_effect": "When the invariant holds, the observable effects are: 1. **No out-of-scope effect is applied after the delta's `rev` is known to either party.** The window shrinks from \"cache TTL + execution latency\" to \"effect-time check only,\" which is bounded by the tool server's own critical section. 2. **Plans are invalidated, not silently continued.** The planner rece..."
  },
  "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": "6d1cb5633084fc1ba4d4ee078761122c5cc00d563efd37a5f37836ebe77ee087",
    "verified_classes": [
      "ScopeRevokedError",
      "StaleDecisionError",
      "Warrant",
      "Decision"
    ],
    "verified_functions": [
      "authorize",
      "apply_effect",
      "run_plan",
      "narrow"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ScopeRevokedError",
      "StaleDecisionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
