- Create a feature branch from the current maintenance baseline.
- Install development dependencies:
python -m pip install -e .[dev]- Run the test suite before every commit:
python -m pytest- If you change packaging or GUI startup behavior, also run the build smoke test:
scripts\build.bat- Keep generated outputs out of version control:
build/,token_export/, caches, and local price overrides. - Treat
opencode_token_app/as the authoritative source package. - Keep tests in
tests/, and update them in the same commit as behavioral changes. - Update
README.mdfor user-facing behavior changes andCHANGELOG.mdfor release-facing changes.
- Use clear semantic commit messages such as
feat: ...,fix: ..., orchore: .... - Avoid placeholder commits and checkpoint commits.
- Prefer small, reviewable commits that can be reverted independently.