Welcome! π We're excited that you're interested in contributing to this project. Please follow these guidelines to ensure a smooth and consistent development experience.
git clone https://github.com/your-username/ctrlb-control-plane.gitgit checkout -b feat/<FEAT_NAME>Please use the following format for branch names:
[type]/short-description
feat/β New featurefix/β Bug fixrefactor/β Code refactoringsec/β Security-related worktest/β Testing improvementsdocs/β Documentation changeschore/β Maintenance or build-related changes
Examples:
feat/agent-label-endpointfix/null-agent-idsec/add-auth-validation
Use the following format:
[TYPE]: Short description of change
| Tag | Purpose |
|---|---|
[FEAT] |
New feature or functionality |
[FIX] |
Bug fix |
[REFACTOR] |
Code refactor (no behavior change) |
[SEC] |
Security-related changes |
[TEST] |
Test-related updates |
[DOCS] |
Documentation only |
[CHORE] |
Build, CI, or dependency-related changes |
[PERF] |
Performance improvements |
[STYLE] |
Code formatting, comments, no logic change |
[WIP] |
Work in progress (not ready to merge) |
Examples:
[FEAT]: Add endpoint to label agents
[FIX]: Prevent crash on nil agent ID
[SEC]: Add input sanitization to auth flow
Make sure everything passes before pushing.
go test ./...
golangci-lint rungit push origin feat/<FEAT_NAME>Then open a Pull Request with a clear explanation of the changes.
- All core logic should have unit tests.
- Avoid tight coupling between handlers and services to enable easier mocking.
We appreciate all kinds of contributions β bug reports, feature suggestions, code, documentation, or even refactoring!