📝 Add Git Flow Workflow guidelines to AGENTS.md

This commit is contained in:
Dan Jones 2025-11-05 16:21:14 -06:00
commit f0ee52b3ef

View file

@ -24,6 +24,18 @@
- **Style**: Write detailed commit messages that explain what changed and why
- **Examples**: `✨ Add JSON export functionality for log entries`, `🐛 Fix date parsing for RFC3339 timestamps`, `📝 Update README with configuration examples`
## Git Flow Workflow
- **Main branches**: `stable` (production-ready), `develop` (integration branch)
- **Development**: Always commit new features/fixes to `develop` branch or appropriate feature branches
- **Branch prefixes**:
- `feat/feature-name` - New features, merge to `develop` when complete
- `bug/bug-name` - Bug fixes (non-urgent), merge to `develop` when complete
- `hot/version` - Hotfixes for production issues, merge to **both** `stable` and `develop`
- `rel/version` - Release preparation branches
- **Version tags**: Prefix all version tags with `v` (e.g., `v1.0.2`, `v0.0.6`)
- **Never commit directly to**: `stable` branch (only merge from `rel/` or `hot/` branches)
- **Before starting work**: Ensure you're on `develop` branch or create an appropriate feature branch from it
## Project Structure
- `cmd/my-log/`: Main application entrypoint
- `internal/cmd/`: Cobra commands (root, drop, config)