Contribution workflow
Work moves through small, issue-driven pull requests.
Ticket workflow
- Select an issue (start with the backlog priorities).
- Inspect the relevant code, documentation and ADRs.
- Plan the smallest change that meets the acceptance criteria. Record a new ADR if it changes an architectural decision.
- Implement with tests.
- Verify: format, clippy, tests,
cargo deny, docs build. - Measure if it touches a hot path or memory (see benchmarking).
- Document: update the canonical page; never describe planned behaviour as implemented.
- Open a focused pull request using the template that fits.
- Review and merge through the normal process. Only maintainers merge.
Branches and versions
mainis always releasable: CI green, documentation accurate.- Work happens on short-lived branches named
feat/…,fix/…,docs/…,perf/…orchore/…. - Do not push to
maindirectly, force-push shared branches or rewrite others' history. - Versions follow semver once releases start. Until 1.0, minor versions may break APIs; breaking changes are listed in the pull request and release notes. The extension API is versioned separately (
EXTENSION_API_VERSION).
Pull request expectations
Every pull request links its issue and states: summary, scope, tests run, performance and security impact, documentation updated, relevant ADRs and breaking changes. Templates live in .github/PULL_REQUEST_TEMPLATE/ (feature, bug fix, documentation/maintenance, performance, architecture). Small fixes may answer "n/a" quickly; nothing more is expected for trivial changes.
Reviewers check correctness first, then boundaries (does the code sit in the crate that owns it?), responsiveness, tests and docs.
Issue lifecycle
| State | Meaning |
|---|---|
| New | Filed with a template; needs triage. |
| Triaged | Priority (P0–P3) and component labels set; acceptance criteria clear. |
| Ready | Small enough for one pull request; dependencies done. |
| In progress | Someone is assigned; a draft PR is welcome. |
| In review | PR open and linked. |
| Done | Merged; documentation updated. Closed by the PR. |
Issue templates cover bug reports, feature proposals, performance regressions and architecture/RFC discussions.
Contribution rights
Read CONTRIBUTING.md and the draft CLA.md. The CLA is a draft pending legal review and owner approval; it is not enforced and no signatures are collected yet. The intended process: once approved, contributors sign through a CLA assistant (individual or corporate), the signature is recorded with the agreement version, and a required check verifies it on each pull request. Until then, maintainers should not merge external contributions intended for dual licensing.