Submitting Changes
How to get your code into Bitloops.
Branch and Build
# Create a branch from main
git checkout -b your-feature main
# Make your changes, then verify
cargo check
cargo test-all
cargo fmt
cargo clippy
Keep changes focused. One PR per concern — don't mix a bug fix with a refactor.
Submit a PR
- Push your branch to your fork
- Open a PR against
main - Fill in the PR template — describe what you changed and why
- CI will run automatically (builds across 6 platforms)
- A maintainer will review your code
PR Tips
- Update tests if you changed behavior
- Don't commit secrets — use environment variable interpolation in config
- Follow existing patterns — look at how similar code is structured in the repo
- Small PRs get reviewed faster — break large changes into smaller pieces if you can
Commit Messages
Be clear about what changed and why. We don't enforce a strict format, but good commit messages help everyone.
feat: add support for OpenCode agent hooks
Implements the adapter for OpenCode following the existing
agent adapter pattern in src/adapters/agents/.
Release Process
Releases are handled by maintainers. The flow is:
- PRs are merged to
mainwith CI passing - Version is bumped in
bitloops/Cargo.toml ./scripts/release.shcreates and pushes a release tag- GitHub Actions builds binaries for all 6 platforms (macOS ARM64/x86, Linux, Windows ARM64/x86)
- Binaries are published to GitHub Releases
- Homebrew tap is updated
You don't need to worry about releases — just get your PR merged and we'll handle the rest.
Got Questions?
- Open a GitHub Discussion
- Join Discord
- Ask in your PR — we're happy to help