Thank you for contributing. This guide explains how to report bugs, request features, and submit code.
Be respectful. Assume that other contributors act in good faith.
- Search the existing issues first. Your bug may already be reported.
- Open a new issue with the bug report template.
- Include:
- The
bridgectlor server version (bridgectl version) - Your operating system and Go version
- The full error message and log output
- Steps to reproduce the bug
- What you expected to happen
- The
Open an issue with the feature request template. Describe the problem you want to solve. Do not describe the solution only.
- Go 1.26.2+
golangci-lintlefthook(installed viago run github.com/evilmartians/lefthook/v2@latest install)
- Fork the repository.
- Create a branch with a descriptive name.
- Make your changes.
- Run the checks:
make test make lint - Commit with a message in the Conventional Commits format. For example:
feat(cli): add tool export command fix(server): handle empty tool name on delete docs: correct stdio transport instructions - Push the branch and open a pull request.
- Keep the change small and focused.
- Add tests for new behavior.
- Update the CLI reference when you change a command or flag:
bridgectl doc
- Add a
CHANGELOG.mdentry under[Unreleased]. - Make sure that all tests pass and the linter reports no issues.
make setupStart the mock ERP and server:
make run-mock
make run-serverDocumentation lives in docs/. Follow these rules:
- Write short sentences. One instruction per sentence.
- Use
make sure thatfor the check/verify/confirm/validate family. - Put a condition before the command it guards.
- Do not use
shouldin instructions. Usemustfor requirements. - Verify every command against the implementation before you add it.