Skip to content

Shipped-binary count is wrong in two places; pin it with a test #186

Closed

Description

@DrunkOnJava

Problem

Three places disagree about how many command-line tools this crate ships:

  • Cargo.toml line ~109: # Seven shipped binaries. All depend on the rvt library crate.
  • README.md (intro paragraph): **Seventeen CLIs ship** (rvt-analyze, … gen-fixture)
  • Reality: 18 [[bin]] entries in Cargo.toml and 18 files in src/bin/ — rvt-capabilities (added in feat: experimental relation domains + honest capability doctor #178) is missing from the README list.

What to do

  1. Fix both prose sites (comment + README sentence/list).
  2. Add a small test that derives the [[bin]] count from Cargo.toml at test time (e.g. parse CARGO_MANIFEST_DIR/Cargo.toml with the toml crate already in the dependency tree, or count src/bin/*.rs) and asserts the README paragraph mentions the same number, so the two cannot drift again. tests/support_matrix.rs is a similar "docs must match source" test to copy the shape from.

Acceptance

  • tools/check-local.sh green.
  • The new test fails if a [[bin]] is added without updating the README count.

Scope notes

Docs + one test; no corpus files needed; runs entirely on the checked-in tree. First-time contributors: your CI run waits for a maintainer to approve it — that's GitHub's default. Maintainers can push fixups to your branch if you leave "Allow edits by maintainers" on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:docsgood first issuetype:docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions