Policy enforcement¶
Not written yet. This page is scaffolded and has no content.
In this section¶
- Enforcement placement: why it lives in the kernel
- Hard gate, not post-hoc filter
- The six hooks: typed call-points
- Hook timing: when each one fires
- The policy evaluator interface
- Why the evaluator is pure: deterministic, no I/O, no mutation
- Evaluator placement: where it runs, what it consumes
- The hook context
- Score facts as evaluator input
- The policy decision record and its schema
- Frozen decisions: immutable once emitted
Effect enactment: nine deterministic mechanics
- allow
denyand how it propagates through try/catchredact: transforming a value before propagationrequire_approval: suspend and the approval queueroute_to: preserving the original bindings- downgrade_model at the LLM hook
require_evidence: citation lineage before user-visible output- rate_limit and token buckets
- retry under determinism and idempotency
- Mechanical enactment: effects without interpretation
Plan admission and exemptions
- Run-plan validation at start
- Signature chain and hash verification
- Rejecting an unverified plan before step one
- Signed exemptions as decision input
- Exemption boundaries: consume only, never issue
- Recording an applied exemption
Boundaries
- What the kernel must not do: infer orchestration, infer business meaning,
- What stays outside the kernel: authoring, merge resolution, exemption