-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestneeds reviewNeeds review before implementationNeeds review before implementation
Description
Context
The enforcement: "hard" + rules system is essentially a policy engine for AI coding assistants. In regulated environments (finance, healthcare, government), being able to declaratively enforce what Claude can and cannot do has real value beyond developer convenience.
What this could look like
- Audit logging: The logging system already exists. Document it as an audit trail for AI actions.
- Policy-as-code examples: Ship example SOPs for common compliance patterns:
- "Claude cannot modify files matching
**/secrets/**" - "Claude cannot run
rm -rfor destructive git commands" - "All Claude file writes must be logged"
- "Claude cannot modify files matching
- Enforcement documentation: Clearly document the difference between
hard(blocks) andsoft(warns) enforcement and when each is appropriate. - Reporting: A
dev-sop-engine auditcommand that summarizes what rules are active and what they protect.
Why it matters
Governance is a buying trigger for organizations. Individual devs adopt tools for convenience; teams and orgs adopt tools that help them manage risk. Framing the existing rule system as policy enforcement (which it already is) opens a different conversation with potential adopters.
Open questions
- Is this documentation/positioning work, or does it need new features?
- Should example policy SOPs live in this repo or a separate
sop-policiesrepo?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneeds reviewNeeds review before implementationNeeds review before implementation