報せNews
2026-09-10 報 release. 10 September 2026
kotoshu 0.11.1: baselines that work on real repositories
The baseline command now accepts directories and globs, ignores the personal dictionary, and skips the suggestion sweep, and check --baseline no longer generates suggestions for the occurrences it suppresses.
- Dogfooding action-kotoshu@v2 on the gem repository itself surfaced four defects in baseline init, all fixed: directories and globs expand exactly like check directory mode; a target matching no file is refused with the same File not found instead of silently vanishing; the personal dictionary is never consulted, so baselines freeze what every machine sees; and file reads scrub invalid bytes.
- The baseline generator also skips the suggestion sweep whose output it was discarding, which turned 49 CPU-minutes over the gem repository into 84 seconds. The gate side received the same treatment, so check --baseline only generates suggestions for occurrences that will surface. On this repository's own CI gate, 1,905 covered occurrences no longer generate suggestions, and the check phase dropped from 13 minutes to 14 seconds with identical output.
- The gem repository now runs its own spellcheck workflow — the sixth repo in the rollout and the first Ruby one, closing the loop that found these bugs.
see also gem on RubyGems CI baselines docs