docs: Commit-Message-Convention mit Production-Impact-Footer

Definiert Conventional-Commits-Format für das Projekt:
- type(scope): Beschreibung
- Production-Impact: none|low|medium|high|critical

Production-Impact: none
This commit is contained in:
Miguel (Hermes Agent)
2026-08-01 21:03:13 +02:00
committed by Bernd (Hermes)
parent 5d59024522
commit 2ef44fec9c
+58
View File
@@ -0,0 +1,58 @@
# Contributing to Hermes Rocket.Chat Plugin
## Commit-Message-Convention
Alle Commits folgen dem Conventional-Commits-Format mit einem
**Production-Impact-Footer**.
### Format
```
<type>(<scope>): <kurze Beschreibung>
<ausführliche Beschreibung>
Production-Impact: <none|low|medium|high|critical>
```
### Types
- `feat`: Neue Funktionalität
- `fix`: Bugfix
- `docs`: Dokumentation
- `refactor`: Code-Umbau ohne Funktionsänderung
- `test`: Tests
- `chore`: Build/Tooling
### Scopes
- `adapter`: Gateway-Adapter (REST, DDP, WebSocket)
- `presence`: PresenceEngine, PulseController, DetectionTimer
- `archivar`: Archivar-Logik (Routing, Room-Map, History)
- `gateway`: Gateway-Integration
### Production-Impact-Footer
Jeder Commit MUSS einen `Production-Impact`-Footer haben:
| Level | Bedeutung |
|----------|-----------|
| `none` | Kein Einfluss auf Produktion (Doku, Tests, Chores) |
| `low` | Kosmetische Änderung, kein Verhaltenswechsel |
| `medium` | Verhaltensänderung mit geringem Risiko |
| `high` | Signifikante Verhaltensänderung (Circuit-Breaker, Rate-Limiting) |
| `critical` | Hotfix für Produktionsausfall |
### Beispiele
```
feat(adapter): http_timeout als konfigurierbarer Parameter
Production-Impact: none
```
```
fix(P1): users.setStatus 429 Circuit-Breaker — verhindert Gateway-Hang
Production-Impact: HIGH — verhindert Gateway-Hang durch 429-Endlosschleife
```