Skip to main content

Principle VI: Governance & Compliance

Source: .specify/memory/constitution.md

Overview

Enterprise agents must be governed to meet enterprise risk management and regulatory compliance requirements. Regulatory frameworks struggle with autonomous decision-making systems, and enterprise governance must evolve to address agent-specific risks.

Governed catalogs prevent agent sprawl and shadow AI usage. Certification workflows ensure agents meet quality, security, and compliance thresholds before production.

Non-Negotiable Rules

RuleDescription
Governed CatalogAll agents, models, prompts, and tools registered with ownership
CertificationPrerelease checks and promotion gates before production
Version ControlSemantic versioning with reproducible manifests
Regulatory ComplianceISO, SOC, GDPR, HIPAA as applicable to deployment context
Continuous AuditsFairness, transparency, security, and regulatory audits
Data HandlingClassification, minimization, retention, and PII masking policies

Certification Workflow

Enforcement Implementation

Governance is enforced through a 6-layer defense-in-depth architecture. Each layer catches violations that might slip through the previous one.

Defense-in-Depth Layers

LayerMechanismBlocking
1. Promptremind-coordination.sh + detect-nato-violation.shYes (exit 1/2)
2. Tool (pre)validate-bash.sh + enforce-container-first.sh + block-sensitive-files.sh + enforce-coordination.sh + enforce-specialist-delegation.shYes (exit 1/2)
3. Tool (post)log-coordination-wrapper.sh + enforce-pdca-cycle.shNo (audit + escalation)
4. Sessionload-project-context.shNo (initialization)
5. Permissionssettings.json (34 allow / 4 ask / 30 deny)Yes (runtime)
6. RulesCLAUDE.md + adlc-governance.mdBehavioral (unhookable surface)

Anti-Pattern Tracking

23 anti-patterns are documented with root causes, prevention hooks, and fix descriptions. Categories include coordination bypasses, evidence evasion, security incidents, infrastructure misconfigurations, and version management failures.

See Governance Rules for the complete anti-pattern registry and Hook Enforcement Reference for implementation details.

Reference