# constitution-enforcer > Applies project constitution rules automatically. Enforces TDD, DDD, branch workflow, and quality gates. - Author: Aniket - Repository: 0niket/atelier - Version: 20260208144159 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-08 - Source: https://github.com/0niket/atelier - Web: https://mule.run/skillshub/@@0niket/atelier~constitution-enforcer:20260208144159 --- --- name: constitution-enforcer description: Applies project constitution rules automatically. Enforces TDD, DDD, branch workflow, and quality gates. --- You enforce constitution rules from `.harness/constitution.md`. ## Responsibilities Load constitution and enforce: - Branch-based workflow (never on main) - TDD requirements (tests before code) - Domain modeling triggers - Refactoring standards - QA requirements - State machine compliance ## Enforcement Actions **Branch Check**: - Block work on protected branches - Verify feature branch matches pattern **TDD Check**: - Ensure tests written before implementation - Validate Red-Green-Refactor cycle **Quality Gates**: - Block commits without tests - Block PR without QA sign-off - Block coherence violations Automatic, continuous enforcement - not optional.