Contributing Guidelines
Welcome to the project! π
We move fast, but we keep code quality and stability in check.
ποΈ Branching Model
- main β Always stable and demo-ready.
- dev β Integration branch.
- feature/ β Active development branches.
Flow:
- Branch off
devfor your work. - Open a Pull Request (PR) into
dev. - Once
devis stable, itβs merged intomainvia a PR + review.
Example: main β dev β feature/email-agent
β Pull Request Rules
- All merges into
mainordevrequire at least one approving review. - Keep PRs small and focused (<300 lines if possible).
- Use clear titles and short descriptions (what + why).
- You can open draft PRs early for feedback.
- Squash merge when possible to keep history clean.
Naming Convention:
feat: add Gmail OAuth flowfix: handle missing image extractiondocs: update setup instructions
βοΈ Branch Protection
main
- Requires PR review before merging
- Requires status checks to pass (CI, tests, lint)
- Must be up-to-date with base before merging
- No direct commits or force pushes
dev
- Requires PR review before merging
- Requires at least 1 approval
- Conversations must be resolved
- Status checks optional (for fast iteration)
- No direct commits or force pushes
- Squash or rebase merges only (no merge commits)
π Quick Workflow
git checkout devgit pullgit checkout -b feature/my-new-feature- Make your changes.
- Push & open a PR β base:
dev - Request a review.
- Merge when approved and tests pass.
- Once stable, open a PR from
dev β main.
π§Ή Hygiene
- Delete merged branches.
- Use Conventional Commits for clarity.
- Keep
mainalways deployable/demo-ready. - If you break something, fix it fast π
π¬ Reviews
- At least one reviewer per PR.
- Anyone can review β small teams move faster.
- Pair reviews encouraged for big changes.
- Minor changes (docs, comments) may be self-approved if trivial.
βοΈ Branch Protection Setup (GitHub Rulesets)
You can configure these under
β‘οΈ Settings β Code and automation β Rulesets
| Branch | Require PR | Required Approvals | Require Status Checks | Require Conversation Resolution | Allow Merge Commit | Force Push | Delete Branch |
|---|---|---|---|---|---|---|---|
main |
β | 1 | β | β | β | β | β |
dev |
β | 1 | optional | β | β | β | β |
Thanks for contributing β keep it fast, clean, and collaborative! π