v0.1.2 β CLI error handling + installable package
v0.1.2 β 2026-09-06
What's in this release
- Bug fix: CLI no longer dumps full Python tracebacks for common errors (missing token, bad token, network errors). Prints a clean one-line error + hint instead.
- Installable as a package via
pip install -e .β no morecd src/needed to usepython -m bagbot.cli. - MyPy strict type checking added to CI.
- Ruff linting (bugbear + security + pyupgrade) added to CI.
- CI matrix expanded to Python 3.10, 3.11, and 3.12.
- Nightly mutation testing GitHub Action.
- 3 new tests for CLI error paths.
Test status
- 83 unit + integration tests passing
- Mutation score: policy 92.9%, daemon 94.1%
- mypy: clean
- ruff: clean
- shellcheck: clean
Bug fixes from mutation testing (v0.1.1)
- ALERT branch was unreachable (moved above
if current is Noneguard) - Dashboard
topupendpoint had invertedis not None/is Nonecheck KeyStatuswas missingused_fractionpropertycli probecould leak secrets to stdout (now redacted)
Built in 7 days for Orbio Build Week β see README for the full story.