Roosevelt Docs

Git Workflow

Commit conventions, branch strategie en push protocol

Git Workflow

Commit Message Format

<type>(<scope>): <description>

<body: explain WHY, not WHAT>

Task: T###

Types

TypeWanneer
featNieuwe functionaliteit
fixBug fix
refactorCode restructurering
docsDocumentatie wijzigingen
testTest toevoegingen
choreBuild, deps, config
perfPerformance verbeteringen
ciCI/CD wijzigingen
securitySecurity fix

Regels

  • Imperatieve mood, lowercase, geen punt aan het einde, max 72 chars
  • Body legt waarom uit (2-3 zinnen)
  • Task reference in footer (waarschuwing als ontbreekt)

Push Workflow

Elke git push naar remote MOET de Delivery Manager Push Assessment doorlopen:

  1. Run push assessment (secrets, grootte, scope, .gitignore)
  2. Presenteer GO / HOLD / RESTRUCTURE
  3. Alleen bij GO + user bevestiging: push

Branch Strategie

main              # Productie — beschermd
├── feature/...   # Nieuwe features
├── fix/...       # Bug fixes
└── chore/...     # Maintenance

Pre-commit Hooks

# Automatisch bij git commit:
gitleaks protect --staged    # Secret detectie
lint-staged                  # ESLint + Prettier

Configuratie: ~/Development/shared/.gitleaks.toml

On this page