Repository navigation
v0.3.3
agent-lint v0.3.3 — Metadata & Architecture Polish
Patch release. Non-breaking. Reliability improvements.
Fixed
- Metadata accuracy —
licensecorrected toMITinpyproject.toml,__version__bumped to0.3.3 - Pricing freshness —
providers.yamlnow includeslast_updatedmetadata with validation script
Changed
- CLI modularized — Monolithic
cli.py(328 lines) split intocli/sub-package:lint.py,estimate.py,compare.py,status.py,stats.py. Backward-compatible shim preserves existing entry point. - Parser registry —
@parser_for(WorkflowFormat)decorator replaces hardcoded if/elif dispatch - TokenSource enum —
StrEnumwithDECLARED,ARCHETYPE,DEFAULTreplaces fragileLiteralstring union - Release artifact reuse — Release workflow downloads
distfrom PyPI publish run instead of rebuilding wheel/sdist - Docker validation — Smoke test step added to verify image on every push
Architecture
- Clean separation of CLI commands per domain
- Registry pattern enables future parser plugins without modifying core dispatch
- Enum-based token provenance eliminates string-typo class of bugs
Verification
| Target | Status |
|---|---|
| PyPI | agentlinter v0.3.3 published |
| Docker | ghcr.io/aretedriver/agent-lint:0.3.3 (linux/amd64 + linux/arm64) |
| Release | v0.3.3 with artifacts |