{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-enforce-a-federated-capability-warrant-before-tool-invocation-and-why-post-hoc-audit-cannot-substitute",
  "title": "Where must an instance enforce a federated capability warrant before tool invocation, and why post-hoc audit cannot substitute",
  "date_of_record": "2026 November 30",
  "scope": "Applies to cross-org agent federation where an inbound agent presents a signed capability warrant (scoped authority token) to a local tool-executing agent, and enforcement is placed at the tool or audit layer rather than at the instance boundary. Does not apply to single-tenant intra-org tool calls where the caller and callee share a trust domain and a single policy authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-a-federated-capability-warrant-before-tool-invocation-and-why-post-hoc-audit-cannot-substitute.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-a-federated-capability-warrant-before-tool-invocation-and-why-post-hoc-audit-cannot-substitute.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-a-federated-capability-warrant-before-tool-invocation-and-why-post-hoc-audit-cannot-substitute.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2008,
    "python_slice_tokens": 379,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a warrant was missing.\" It is that a *valid* warrant was accepted at the message ingress, then *re-interpreted* at the tool invocation boundary after the agent had already performed probabilistic reasoning over untrusted content. The distinction that matters: a federated warrant is a constraint on a *capability*, not on a *message*. ...",
    "what_was_observed": "A federation boundary between Org A (caller, holds a warrant scoped to `calendar.read` on `orgB/cal/*`) and Org B (callee, runs a tool-executing agent). Org A's agent was invoked with a task: \"summarize this week's meetings and file the summary.\" The inbound request carried a valid warrant. Org B accepted it at ingress, verified the signature chain against A's JWKS, confirmed `exp` and `aud`, and admitted the agent t...",
    "condition_of_validity": "The invariant that must hold: **for every tool invocation executed on behalf of a federated caller, `(tool_name, resolved_arguments) ∈ scope(warrant)` is evaluated as a hard precondition immediately before side effect, and the tool registry is not an authorization source for federated callers.** This is valid only if three sub-conditions hold: 1. **Argument ...",
    "decision_boundary": "The boundary is not \"trusted vs untrusted caller.\" It is **\"arguments known at ingress vs arguments synthesized during reasoning.\"** Arguments fixed by the caller's request envelope (the `orgB/cal/*` calendar ID) can be checked at ingress. Arguments synthesized by the model after reading callee-controlled data (the write path) can only be checked at the disp...",
    "operational_effect": "When enforcement is at the gate, the injected second call is denied with `WarrantScopeViolation`, the agent receives a structured denial it can reason about (\"this tool call is outside your delegated scope\"), and the trace records `decision=deny, source=warrant_scope` at the exact call. The reasoning loop can recover — the agent reports it cannot file the su..."
  },
  "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": "acdde408e34138d76271ed25fe752b9982d63c85906251eea107ffca90110cab",
    "verified_classes": [
      "WarrantScopeViolation",
      "EnforcementPointMisconfigured",
      "ToolCall",
      "Warrant"
    ],
    "verified_functions": [
      "dispatch_federated_tool",
      "bind_federated_agent",
      "permits"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EnforcementPointMisconfigured",
      "WarrantScopeViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
