DEPENDENCIES
Dependencies
HELM OSS v1.0 dependency justification. Prefer standard library. External deps are pinned.
Runtime Dependencies
| Module | Version | Justification |
|---|---|---|
github.com/jackc/pgx/v5 |
v5.x | PostgreSQL driver. Required for ACID determinism, Lamport clocks, and budget locking. Industry-standard Go Postgres driver. |
github.com/tetratelabs/wazero |
v1.x | WASM runtime. RFC-004 mandates deny-by-default sandboxed execution. wazero is the only pure-Go WASM runtime (no CGO). |
Standard Library Usage (TCB)
TCB packages restrict imports to:
crypto/*— Ed25519 signing, SHA-256 hashingencoding/json— JCS canonicalizationfmt,errors— Error formattingsort— Deterministic key orderingsync— Mutex for in-memory storestime— Lamport timestamps, budget enforcementcontext— Cancellation propagationbytes,strings— Buffer operationsmath— Numeric operations
Forbidden in TCB
These packages must NOT be imported by kernel TCB packages:
net/http— Only allowed inapi/handlers (non-TCB)os/exec— Prohibited everywheresyscall— Prohibited except explicit minimal usereflect— Prohibited in hot path (breaks determinism guarantees)- Vendor SDKs (OpenAI, Anthropic, etc.) — Prohibited in kernel
Version Pinning
All dependencies are pinned in go.mod via go.sum checksums.
No floating versions. No latest references.