Thanks for your interest in contributing! This guide will help you get started.
For new features or significant changes, please open an issue to discuss your idea before submitting a PR. This helps avoid wasted effort and ensures alignment with the project direction.
Bug fixes and small improvements can go straight to a PR.
- macOS (fleet is macOS-only)
- Go 1.26+
- tmux (
brew install tmux) - Claude Code (for end-to-end testing)
- Git
git clone https://github.com/brizzai/fleet.git
cd fleet
make build # Build to build/fleet
make test # Run tests with race detector
make lint # Run linter (requires golangci-lint)| Target | Description |
|---|---|
make build |
Build binary to build/fleet |
make test |
Run tests with -race |
make lint |
Run golangci-lint |
make coverage |
Run tests with coverage report |
make fmt |
Format code |
make vet |
Run go vet |
- Run
go fmtbefore committing - Follow existing patterns in the codebase
- All blocking I/O (tmux, git, gh) must run in the background worker goroutine, never in Bubble Tea
Update()
We use Conventional Commits. Version is auto-computed from commits when releasing.
feat: add new feature # minor bump
fix: resolve bug # patch bump
feat!: breaking change # major bump
chore: update dependencies # patch bump
docs: update README # patch bump
refactor: restructure code # patch bump
test: add tests # patch bump
Scopes are optional: fix(hooks): ..., feat(ui): ...
Add a fragment file in changelog/unreleased/ for user-facing changes. CI will remind you if you forget.
# changelog/unreleased/my-change.md
---
type: fixed
---
Description of the change for end usersValid types: added, improved, fixed, changed, removed, deprecated, security. See changelog/README.md for details.
If your change doesn't need a changelog entry (CI, typos, deps), comment /no-changelog on the PR. At release time, fragments are automatically merged into CHANGELOG.md and deleted.
Maintainers: comment /ship on any issue or PR to prepare a release. CI opens a release PR with the changelog rolled — merge it to release.
- Fork the repository
- Create a feature branch from
master - Make your changes
- Ensure
make build && make test && make lintpass - Submit a PR with a clear description
- Add tests for new features and bug fixes
- Run
make testto verify all tests pass - Run
make coverageto check coverage
See CLAUDE.md for a complete package overview and architecture details.