codex-usage-tracker 0.12.0
Summary
0.12.0 is the maintainability repair release. It keeps the public CLI/API behavior stable while reducing the internal module size and coupling behind the dashboard, diagnostics, parser/context, store/query, and usage-drain report paths.
Highlights
- Refactored CLI, dashboard server routing, SQLite store/query boundaries, context parsing, diagnostics, and usage-drain modeling into smaller modules with compatibility facades.
- Added Agent Maintainer ratchet configuration, strict local
tach check, maintainability boundary docs, and a maintainability scorecard. - Hardened Diagnostics dashboard behavior around projected weekly credits charts, command expansion, live row status, and desktop/mobile smoke coverage.
- Cleaned up warning-sensitive tests so the suite runs without SQLite/resource-handle
ResourceWarningnoise. - Validated the refactor against a frozen local JSONL rebuild comparison before release.
Validation
- GitHub CI passed on Python 3.10 through 3.14.
- Local release gate passed: Ruff, mypy, pytest, coverage, compileall, dashboard JS syntax, release checks, build, twine, dist checks, and installed-package smoke.
- TestPyPI publish and clean venv install verified for
codex-usage-tracking==0.12.0.