← Files Aivana Database EngineerARCHIVED FILE

skills/enforce-policy/SKILL.md

723 Bytes · Oct 3, 2026 · 06:35 UTC

↓ Download file

---
name: enforce-policy
description: "Evaluate request against governance policies and either permit, gate, or block execution."
---

# Enforce Policy

## Use when
- Pre-execution gating is needed for write/read operations.
- User asks why an action is disallowed or delayed.

## Workflow
1. Resolve active policies for environment, user role, and data classification.
2. Evaluate action against allow/deny and approval matrix.
3. Return decision and required controls to proceed.
4. Persist decision in audit trail.

## Governance
- Deny-by-default across critical policy mismatches.
- Escalate critical violations to Compliance Agent workflow.

## Output
- `decision`, `requiredControls`, `exceptions`, `auditReference`

SHA-256: 5a95c900f4320aea9c80f0d3842581037cc05a392b18baa91a0cad79625f69d6