SDK Status
Test suite state and release history for governance-sdk v0.11.2. Numbers below are as of 2026-04-16. Re-generate with cd packages/governance && npm test.
Tested Capability Surfaces
1,328 tests across 276 suitesPer-suite test counts drift between releases; we deliberately don't hard-code them on this page. Run npm test locally for the full breakdown.
Performance
Governance runs in-process on the same event loop as your agent. There is no network round-trip, no spawned subprocess, and no dynamic code evaluation. In practice, enforcement overhead is dominated by the cost of the rules you evaluate — typical tool executions (50–500ms for an LLM call or external API) are orders of magnitude larger.
The one benchmark we ship with committed source data is the regex injection detector — F1 = 0.48 (precision 0.685, recall 0.373) on the 6,931-sample LIB corpus. See packages/governance/benchmark/data/lua-injection-benchmark-v1-regex-baseline.json and re-run with benchmark/scripts/run-benchmark.ts.