Repository navigation
v1.1.0 - Pre-execution Governance Layer
π Pre-execution Governance Layer
This release introduces a comprehensive security framework for controlling LLM tool execution before it happens.
β¨ New Features
Governance Components:
- Intent Classifier β Categorizes tool calls into risk categories (file read/write, network, code execution, system)
- Plan Generator β Creates execution plans with risk assessment scores
- Policy Validator β Evaluates plans against configurable rules:
- Action policies (category-based allow/deny/require approval)
- Resource policies (path/URL pattern matching)
- Sequence policies (forbidden action combinations)
- Rate policies (session-based limits)
- Approval Gate β Human-in-the-loop approval for high-risk operations
- Execution Enforcer β Validates tool calls against approved plans
- Session Manager β Tracks multi-turn conversations with rate limiting
Configuration:
config/governance-policies.jsonβ Policy rulesconfig/intent-patterns.jsonβ Intent classification patterns
π Security Improvements
- TOCTOU race condition prevention via atomic SQL operations
- HMAC-signed plan tokens with constant-time comparison
- Atomic compare-and-swap for approval state transitions
- Session-based rate limiting
π Stats
- 214 new tests added (389 total)
- 9,900+ lines of new code
- 29 files changed
π Documentation
- Updated README with governance architecture
- Added SDD specification in
.spec/specs/governance-layer/
Full Changelog: v1.0.1...v1.1.0