Repository navigation
What's new
- Public synchronous guarded-execution API:
BoundGuardedExecutionbinds an accepted admission to a trusted controller-owned ActionGateway and verifies signed Warrant authority, runtime epoch, expiry/revocation and operation capability before policy evaluation and again inside the guarded executor callback. - Final authority rechecks across adapters: LangChain tools and middleware, CrewAI, OpenAI Agents and synchronous MCP wrappers repeat their checks after gateway policy evaluation, closing the wrapped preflight expiry/revocation gap.
- Experimental signed external-decision profile: authenticates exact raw JSON bytes with a domain-separated Ed25519 signature, independently pinned issuer/audience/agent/execution identity, and a controller-owned persistent SQLite replay store. It returns an unsigned local Warrant; local signing and runtime enforcement remain separate steps.
- DProvenanceKit 0.10.0 interoperability: CI exercises attestation and real-kill evidence verification against the published 0.10.0 package.
Release validation
- Local suite: 574 passed, 9 skipped, 4 host-integration tests deselected. Local skips cover six CrewAI tests (framework not installed locally), two externally supplied DPK-attestation cases (export/trust variables not supplied), and the pre-fix-only reproducer that intentionally skips on the fixed tree.
- All eight CI jobs passed on the release candidate, including privileged Linux cgroup-v2 kill/evidence verification, AgentContainment eBPF hostile-agent proof, CrewAI regressions, the expanded LangChain authority job and the pre-fix TOCTOU demonstration.
- Fresh installed wheel outside the checkout: 28 OpenAI Agents/LangChain/MCP tests passed with no skips, public guarded/signed-import APIs and both CLI aliases verified, portable demo and authority-boundary proof passed using published AgentContainment 0.1.3.
- Wheel built from sdist; both distributions passed metadata checks. The publication workflow checks the exact tag/package-version match before building. DCO and security/review checks passed.
The full local run exposed two missing LangChain test-tool descriptions and an outdated rejection-message assertion. These test fixtures are corrected, their no-side-effect assertions remain intact, and the real-framework CI job now executes all relevant LangChain regression files.
Compatibility and security scope
The AgentContainment requirement remains >=0.1.3,<0.2; its production submodule stays pinned to 9738c772aff900eb0ce5f1f9d93760d2f9e5de4f. Draft PR #248 is excluded, including newer-runtime in-flight and experimental downstream/outbox/recovery references.
The signed external-decision profile remains experimental and opt-in. It is not OIDC/OAuth/JWT support, arbitrary identity-provider integration, distributed replay protection or protected anti-rollback storage. Operators provision trust keys and protect the persistent replay database independently of submitted decisions.
Guarded execution protects operations routed through the trusted gateway. It does not establish hostile-code isolation, cancel already accepted remote requests, reverse completed effects, or protect an alternate path using unrestricted credentials. Passing these tests establishes behavior in the tested environments, not a universal security guarantee or production certification.
Install
This release starts the PyPI Trusted Publishing workflow. After publication succeeds:
python -m pip install --upgrade warrantkit==0.2.0
warrantkit demoOptional adapters: warrantkit[langchain]==0.2.0, warrantkit[openai-agents]==0.2.0, warrantkit[crewai]==0.2.0, or warrantkit[mcp]==0.2.0.
Release commit: 1f727443cd0f35faab31076ae243ce59fc504273.