| title | Development Workflow |
|---|---|
| parent | Contributing |
| nav_order | 3 |
This page defines the expected local workflow before opening a pull request.
-
Fork the repository to your own GitHub account
-
Clone your fork locally and add the upstream repository if needed
-
Enable repo hooks once per clone:
git config core.hooksPath .githooks && chmod +x .githooks/pre-commit -
Branch from the target base branch for the work, usually
mainfor release-bound changes ordevelopmentfor active development -
Keep each PR focused on one fix or feature area
- Confirm your idea is in project scope: SCOPE.md
- Prefer incremental changes over broad refactors
./bin/clang-format-fix
pio check --fail-on-defect low --fail-on-defect medium --fail-on-defect high
pio run -e simulator
pio run -e tinyCI enforces formatting, static analysis, and the full release build matrix.
Use clang-format 21+ locally to match CI.
If clang-format is missing or too old locally, see Getting Started.
Run plain pio run before larger PRs to match CI's firmware build variants (tiny, xlarge, and no_emoji).
- Use a semantic title (example:
fix: avoid crash when opening malformed epub) - Fill out
.github/PULL_REQUEST_TEMPLATE.md - Describe the problem, approach, and any tradeoffs
- Include reproduction and verification steps for bug fixes
- Be explicit and concise in responses
- Keep discussions technical and respectful
- Assume good intent and focus on code-level feedback
For community expectations, see GOVERNANCE.md.