Skip to content

docs(checks): add tools-overloaded to README rule table; extend sarif tests#16

Merged
protosphinx merged 1 commit into
mainfrom
bot/docs-tools-overloaded-rule
May 10, 2026
Merged

docs(checks): add tools-overloaded to README rule table; extend sarif tests#16
protosphinx merged 1 commit into
mainfrom
bot/docs-tools-overloaded-rule

Conversation

@protosphinx
Copy link
Copy Markdown
Member

Why

The tools-overloaded rule was shipped in a previous commit but was never
added to the "What it checks" table in README.md. Anyone reading the docs
to understand what skillcheck catches would not know this rule exists. The
SARIF test suite also had a gap: it checked for three rules in the catalog
but not for tools-overloaded, so a regression that dropped the rule from
sarif.ts RULES would go undetected.

What

  • Adds the tools-overloaded row to the "What it checks" table in README.md
    so the documentation matches the implementation.
  • Extends test/sarif.test.ts with two new cases:
    • Asserts tools-overloaded appears in the full SARIF rule catalog on the
      empty-diagnostics path (where all rules must be present).
    • Round-trip test: a tools-overloaded diagnostic produces a warning
      level result whose ruleIndex points to the correct catalog entry.
  • Updates the test count badge from 70 to 77 (reflects the tests added in
    earlier bot runs plus the two new ones here).

Tests

  • npm run lint (tsc --noEmit): clean
  • npm run build: clean
  • npm test: 77 passing (9 test files, +2 new cases in sarif.test.ts)

Self-merge gate

  • all CI checks pass
  • LOC delta < 250 (added + removed)
  • no public-API surface change
  • no runtime-dependency additions
  • no workflow file changes
  • tests added or extended

Generated by Claude Code

… tests

The tools-overloaded rule has been implemented and tested in checks.test.ts
but was missing from the README What-it-checks table and from the sarif test
suite. This commit closes both gaps:

- Adds the tools-overloaded row to the What it checks table in README.md so
  the docs match the implementation.
- Extends test/sarif.test.ts: asserts tools-overloaded appears in the full
  SARIF rule catalog (empty-diagnostics path), and adds a round-trip test
  that verifies a tools-overloaded diagnostic emits at warning level with a
  correct ruleIndex.
- Updates the test count badge from 70 to 77 (reflects tests added in
  earlier bot runs plus the two new ones here).
@protosphinx protosphinx added the automated Opened by the daily bot label May 10, 2026 — with Claude
@protosphinx protosphinx merged commit d5fe6ba into main May 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Opened by the daily bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant