# Project Constitution

> Universal policies that apply to ALL code in this project.
> This file is always inherited from root — modules cannot override it.

## Git Workflow

- **Commit Style**: {{#if commit_style}}{{commit_style}}{{else}}Conventional commits (feat:, fix:, chore:, docs:, refactor:, test:){{/if}}
- **Branch Strategy**: {{#if branch_strategy}}{{branch_strategy}}{{else}}Feature branches merged via pull request{{/if}}
- **Main Branch**: {{#if main_branch}}{{main_branch}}{{else}}main{{/if}} is always deployable

## Code Review

- All changes require pull request review
- {{#if approval_count}}{{approval_count}}{{else}}At least one{{/if}} approval required before merge
- No self-merging to main/master
- Security-sensitive changes require additional review

## CI/CD

{{#if ci_platform}}
- **Platform**: {{ci_platform}}
{{else}}
- All PRs must pass CI checks before merge
{{/if}}
- Automated tests run on every push
- Main branch deployments are automated

## Security Policies

- **No secrets in code** — use environment variables or secret management
- Dependencies must be from trusted sources
- Security vulnerabilities addressed within SLA
- No credentials, API keys, or tokens in source control

## Documentation

- Public APIs must be documented
- Breaking changes require migration notes
- README kept up to date with setup instructions

---
*Generated by specs.md - fabriqa.ai FIRE Flow*
