docs: add lightweight git workflow policy

This commit is contained in:
bisco
2026-04-29 21:54:49 +02:00
parent 13a05f6d0d
commit aef2a31977

View File

@@ -121,14 +121,22 @@ enabled_profiles:
Work must happen on the current feature branch for the task.
## Git Workflow Policy
- `develop` is the integration branch.
- `main` is reserved for stable releases.
- For non-trivial changes, Codex MUST work on a dedicated task branch.
- Allowed task branch prefixes: `feature/`, `fix/`, `docs/`, `chore/`.
- Codex MUST NOT merge into `develop` or `main`.
- Codex may commit only on the current task branch after required checks pass.
- The human operator reviews, merges, pushes, and deletes branches.
Allowed branch prefixes when a new branch is explicitly needed:
- `feature/`
- `fix/`
- `hotfix/`
- `chore/`
- `docs/`
- `refactor/`
Do not merge task branches into `develop`. Leave integration to the repository owner or a separate explicit request.