v0.2.1 — doctor --explain + versioning policy
Polish patch for v0.2.0 — symmetry with lint --explain from v0.1.8, plus a documented versioning policy.
✨ New
-
beacon doctor --explain [check]— verbose docs for each of the 4 doctor checks: area, why it exists, what triggers it, an example finding, and when it's not flagged. Run with no check name to list all checks grouped by area.beacon doctor --explain # list all checks beacon doctor --explain stale-plans # explain a specific check beacon doctor --explain stalplans # typo → "Did you mean stale-plans?"
Mirrors
beacon lint --explainfrom v0.1.8 — same Levenshtein-based typo correction for unknown check names. Bothlintanddoctornow have the same self-documenting surface.
📖 Docs
- New "Versioning policy" section in README — explicit SemVer commitment, explains why versions can jump (e.g.,
0.1.8→0.2.0was a new top-level command, not a polish oflint). Future patches stay in0.2.x; the next minor (0.3.0) is reserved for the next feature surface.
🧹 Housekeeping
- Removed
docs/backlog/beacon-doctor-health-checks.todo.mdfrom the backlog — the feature shipped in v0.2.0, so the durable record is now ADR-007 + the implementation insrc/doctor/.
🧰 Internal
- New module
src/doctor/check-docs.tsparallel tosrc/linter/rule-docs.ts. 6 new unit tests. Test suite now at 226 passing across 38 files.
Install / upgrade
npm install -g beacon-docs@0.2.1
# or one-off:
npx beacon-docs@latest doctor --explainFull changelog: https://github.com/Juliocbm/beacon-docs/blob/main/CHANGELOG.md