Skip to main content
BlackBadHope
Back to Selected Systems

Integrity Platform 2.0

v2.0 Execution Firewall & Control Plane Open Source 2026

Sub-2ms local Go execution firewall (integrityd), single-use Ed25519 JIT GO-Tokens, and linearizable Cloudflare SQLite Durable Objects control plane.

Hot-path intercept
< 2 ms
Cross-lang E2E tests
34 pass
Runtime deps
0
Audit schema
OCSF v1.3

System Topology

A single-binary Go 1.23 local daemon intercepts tool/shell execution in under 2ms, enforces single-use Ed25519 JIT GO-Tokens verified against offline JWKS witnesses, and synchronizes optimistic Compare-And-Swap killswitch state with a linearizable Cloudflare SQLite Durable Objects control plane.

Agent / Tool shell · tool call < 2 ms integrityd (Go 1.23) Single-binary execution firewall Ed25519 JIT GO-Token · 0 deps CAS sync Control Plane CF SQLite Durable Objects · 403 guard Offline JWKS Witness Single-use nonce check OCSF v1.3 NDJSON Streaming audit export Cross-Lang E2E Go + Node 24 · 34 tests

Constraint & Failure Mode

Prompt-level guardrails erode under long context windows and multi-agent retries. Production teams need an out-of-band, sub-2ms local execution boundary that refuses unauthorized mutations even if a model hallucinates, replays an old approval, or operates offline.

Mechanical Architecture

  • integrityd (Go 1.23 single binary) sits in the local execution hot path with zero third-party runtime dependencies, evaluating deterministic policy rules and Ed25519 token signatures in memory.
  • JIT GO-Tokens are cryptographically bound to exact command intent, digest, and single-use nonce; offline JWKS witnesses allow deterministic verification without cloud round-trips.
  • Control plane runs on Cloudflare SQLite Durable Objects for strongly consistent, linearizable state transitions and optimistic CAS killswitch enforcement that rejects vendor backdoor overrides (403 VENDOR_BACKDOOR_FORBIDDEN).
  • Every decision streams as structured OCSF v1.3 NDJSON audit records for downstream SIEM ingestion and forensic replay.

Engineering Trade-Offs

  • Chose Go 1.23 standard library exclusively over gRPC/ORM stacks to eliminate supply-chain surface and keep cold-start under 2ms.
  • Single-use JIT tokens add an explicit mint step before state-changing commands, trading casual convenience for replay immunity.
  • SQLite Durable Objects enforces strict single-writer serialization per tenant, favoring linearizable killswitch semantics over multi-region eventual consistency.