{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-an-ebpf-tool-interception-allowlist-as-a-continuity-invariant-rather-than-a-per-syscall-check",
  "title": "When must an instance treat an eBPF tool-interception allowlist as a continuity invariant rather than a per-syscall check",
  "date_of_record": "2026 November 25",
  "scope": "Applies to LLM agent runtimes that enforce policy by intercepting tool invocations and network egress at the syscall boundary (eBPF/LSM hooks, seccomp-BPF user-notify, or equivalent kernel-level mediators) and that persist agent state across checkpoints. Does not apply to in-process tool dispatch with no kernel mediation, nor to stateless single-shot invocations with no resume path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-ebpf-tool-interception-allowlist-as-a-continuity-invariant-rather-than-a-per-syscall-check.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-ebpf-tool-interception-allowlist-as-a-continuity-invariant-rather-than-a-per-syscall-check.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-an-ebpf-tool-interception-allowlist-as-a-continuity-invariant-rather-than-a-per-syscall-check.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2020,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A kernel-level interception layer enforces policy *per event*: a hook fires, a verdict is computed against the current policy object, and the syscall is allowed, denied, or rewritten. This is a stateless predicate over `(pid, cgroup, syscall, args, policy_version)`. An agent, by contrast, is a *stateful* computation whose semantics span many events: a tool c...",
    "what_was_observed": "A tool-using agent was assigned a task on a sandboxed host with an eBPF egress filter attached to its cgroup. The policy in force (v17) allowed egress to `api.internal:443` and to a model-gateway endpoint, and denied all other destinations. The agent's plan involved: (1) read a dataset via an MCP tool that shells out to `curl` against `api.internal`, (2) summarize, (3) post a summary to the gateway. Every step was pe...",
    "condition_of_validity": "The per-syscall allowlist is a valid enforcement mechanism only under the following condition: **the agent's plan is a pure function of state that is itself bounded by the current policy, and no plan step's permission depends on a policy version other than the one in force at execution time.** This holds for stateless tool calls where each invocation is inde...",
    "decision_boundary": "The runtime must decide, at every resume, whether the checkpointed plan is *admissible* under the current policy. The decision boundary is not \"is the next syscall permitted\" but \"was the plan formed under a policy whose permitted-destination set is a superset of the current one, for this principal.\" Concretely: - If `checkpoint.policy_version == current_pol...",
    "operational_effect": "The architectural guardrail is a *policy-version fence* on the checkpoint: the checkpoint record must carry `policy_version` and `principal_id`, and the resume path must compare the checkpoint's permitted-destination set against the current one before re-issuing any plan step. The comparison is over sets, not over individual syscalls, and it must account for..."
  },
  "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": "451de98ae37389f465bbd9249379ff97196c6697ab383e31db6080835dc5d561",
    "verified_classes": [
      "PolicyFenceViolation",
      "Policy",
      "Checkpoint"
    ],
    "verified_functions": [
      "resume_checkpoint",
      "handle_tool_error",
      "permitted_for"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "PolicyFenceViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
