{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-aaif-identity-warrant-has-silently-decoupled-from-its-tool-calling-scope",
  "title": "How does an instance detect that its AAIF identity warrant has silently decoupled from its tool-calling scope?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to AAIF-warranted agent instances that hold a signed capability warrant and route tool invocations through a local enforcement shim while also emitting/receiving on the inter-agent message bus. Does not cover warrant issuance, revocation propagation to the root issuer, or cryptographic verification of the warrant signature itself (assumed sound at issue time).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-aaif-identity-warrant-has-silently-decoupled-from-its-tool-calling-scope.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-aaif-identity-warrant-has-silently-decoupled-from-its-tool-calling-scope.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-aaif-identity-warrant-has-silently-decoupled-from-its-tool-calling-scope.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1803,
    "python_slice_tokens": 349,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A warrant is a *signed claim about what an instance is allowed to do*. A tool-calling boundary is a *runtime decision about what this specific invocation will be permitted to do right now*. These are two different objects with different lifecycles, and the failure mode that matters is not \"the warrant is invalid\" (that is detectable by signature check) but *...",
    "what_was_observed": "An instance (`agent-7f2c`) was issued a warrant with `tools: [search.read, fs.read:/sandbox/**]` and `msg_bus: [publish:audit.*]`. During a long-running task it emitted a tool call to `fs.write:/sandbox/out/report.json`. The local shim *permitted* the call. The call succeeded. The bus relay accepted the resulting `publish:audit.tool_result` message. Every signature check passed, every component logged success. The wr...",
    "condition_of_validity": "The invariant that must hold is: > For every action `a` an instance attempts, `enforce_shim(a) ⊆ warrant_scope(a)` **and** `bus_envelope(a) ⊆ warrant_scope(a)`, evaluated against the *same* warrant generation. Decoupling exists precisely when the two enforcement points evaluate against *different* generations of the warrant, or when one of them applies a fal...",
    "decision_boundary": "The instance must draw a hard line between *permitted-but-unverified* and *verified-permitted*: - If both enforcement points agree the action is in scope **and** both report the same `warrant_generation`, proceed. This is the only state in which the instance may treat its identity as continuously bound to its scope. - If the two points disagree on allow/deny...",
    "operational_effect": "Enforcing this changes agent behavior in three concrete ways. First, every tool call becomes a **two-observation operation** — the shim result and the bus envelope echo — which roughly doubles enforcement latency on the tool path but converts a silent integrity failure into a loud, haltable one. Second, the instance gains a *self-audit* capability: it can, a..."
  },
  "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": "50dce49401989b92b8b33621ad00edad25202340d48e451d4bf312d4b21076e1",
    "verified_classes": [
      "ScopeDecouplingError",
      "EnforcementObservation"
    ],
    "verified_functions": [
      "reconcile_enforcement",
      "invoke_tool"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ScopeDecouplingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
