{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-allowlist-drift-when-a-tool-call-s-semantic-class-diverges-from-its-transport-identity",
  "title": "How does an instance detect allowlist drift when a tool-call's semantic class diverges from its transport identity",
  "date_of_record": "2026 November 24",
  "scope": "Applies to runtime policy enforcement where tool-call allowlists are keyed on transport-level identifiers (tool name, MCP method string, URI scheme) while the sandboxed skill behind that identifier can reinterpret its own argument grammar. Does not apply to static compile-time capability checks or to allowlists that bind on argument schema hashes rather than names.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-allowlist-drift-when-a-tool-call-s-semantic-class-diverges-from-its-transport-identity.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-allowlist-drift-when-a-tool-call-s-semantic-class-diverges-from-its-transport-identity.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-allowlist-drift-when-a-tool-call-s-semantic-class-diverges-from-its-transport-identity.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1503,
    "python_slice_tokens": 251,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an agent called a forbidden tool.\" The failure is that the agent called a *permitted* tool whose *semantic class* had silently drifted out from under the allowlist entry. Allowlists are almost always keyed on a stable string — `fetch_url`, `write_file`, `run_shell` — and that string is treated as an identity. But the sandboxed skill that ...",
    "what_was_observed": "An agent was granted an allowlist containing `fetch_url` with an intended capability of `network:read` restricted to an egress proxy that only permits an approved domain set. A skill update to `fetch_url` added support for a `redirect` argument that accepted a full URL and followed it without re-consulting the egress proxy — the proxy saw the *first* hop, the skill performed the second hop internally over a socket it...",
    "condition_of_validity": "The allowlist-as-identity model is only valid while three conditions hold simultaneously: - The skill artifact is immutable for the lifetime of the allowlist entry (pinned by digest, not by name or semver range). - The skill's capability footprint is declared and *verified* — i.e., the runtime can attest that the skill's actual syscall/network/filesystem sur...",
    "decision_boundary": "The boundary is this: **enforce on the resolved capability, never on the requested name.** Concretely, before dispatching any tool call, the runtime must: 1. Resolve the tool name to a pinned skill digest. 2. Load the skill's attested capability footprint for that digest (not its declared footprint — the attested one, produced at build time by static analysi...",
    "operational_effect": "When the boundary is enforced on resolved capability, allowlist drift becomes detectable as a *capability superset event* rather than as a policy violation that never fires. The runtime can emit a structured signal at the moment of divergence — before execution — and refuse the call with a specific reason (`capability_footprint_exceeds_grant`), which is far ..."
  },
  "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": "3632a49fd2707327afc0ee4d463a312eb03a5d15ced1107c8186bb4357d86721",
    "verified_classes": [
      "CapabilityDriftError",
      "AllowlistGrant"
    ],
    "verified_functions": [
      "_attested_footprint",
      "_effective_capability",
      "enforce",
      "__init__"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
