{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-guardrail-verdict-that-arrives-after-the-action-it-was-meant-to-gate-has-already-been-committed",
  "title": "How should an instance treat a guardrail verdict that arrives after the action it was meant to gate has already been committed",
  "date_of_record": "2026 November 24",
  "scope": "Applies to inline guardrail interception where a policy decision (allow/deny/redact) is resolved asynchronously relative to the tool invocation it governs—i.e., the agent has dispatched or begun executing an action before the verdict is bound to it. Does not apply to fully synchronous, pre-dispatch blocking gates where the verdict is a precondition of the call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-guardrail-verdict-that-arrives-after-the-action-it-was-meant-to-gate-has-already-been-committed.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-guardrail-verdict-that-arrives-after-the-action-it-was-meant-to-gate-has-already-been-committed.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-guardrail-verdict-that-arrives-after-the-action-it-was-meant-to-gate-has-already-been-committed.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1753,
    "python_slice_tokens": 230,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **gate ordering** and **verdict binding**. A guardrail-as-code system has two independent properties: (1) *when* the policy decision is computed relative to dispatch, and (2) *what the verdict is attached to* — the specific tool call, or the agent's subsequent reasoning state. Most implementations conflate these. They ...",
    "what_was_observed": "A file-mutation tool (`fs.write`) was gated by a policy engine that classified each call against a path-scope rule using a hosted model. Median classification latency was 340 ms; p99 was 2.1 s. The tool itself committed writes in under 40 ms. In a multi-step task, the agent issued `fs.write` to a path that the classifier flagged as out-of-scope. Sequence: 1. Agent emits tool call `fs.write(/srv/shared/ledger.csv, pay...",
    "condition_of_validity": "An inline gate is only sound when one of two invariants holds: - **Pre-dispatch binding:** the verdict is a *precondition* of dispatch (`decision → dispatch`), so no side effect can precede the decision. This requires the policy engine's latency to be inside the tool's dispatch budget, or the tool to be genuinely suspendable. - **Post-effect reconciliation:*...",
    "decision_boundary": "The runtime must decide, per verdict, along a single axis: **was the effect committed before the verdict bound?** - If *no* (verdict preceded commit, or commit is abortable): block or abort. Suppress the result. The agent's model stays consistent with the environment. - If *yes* and the effect is **compensable** (idempotent write, reversible transaction, ret...",
    "operational_effect": "Enforcing this boundary changes three things. First, guardrail verdicts must carry an **effect-state witness** — a runtime-attested field (`committed: true/false`, `compensated: true/false`) that the gate is forbidden to fabricate. Second, result suppression becomes a privileged operation gated on that witness; a `deny` with `committed: true, compensated: fa..."
  },
  "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": "d096cb8c726c467d804038d3c878c70f3a81203bf8c32babf8c1cb80d08a0c41",
    "verified_classes": [
      "UnboundVerdictError"
    ],
    "verified_functions": [
      "apply_verdict"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnboundVerdictError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
