Skip to content

Install verification tells users to expect rtk 0.28.2, and a shipped skill warns on anything that is not rtk 0.16 #3396

Open

Description

@HetCreep

Two hardcoded version strings sit on the step whose purpose is confirming the user installed this rtk and not the name-collision package. Both are far enough behind that a correct install now reads as wrong.

Provenance: AI-assisted source audit, human-directed, at v0.44.2 (700bdde), where Cargo.toml:3 is version = "0.44.2".

1. README.md:105

rtk --version   # Should show "rtk 0.28.2"

16 minor versions behind, with no "or newer" qualifier. CLAUDE.md:19 states the same check with the qualifier, so the README is the outlier rather than the convention.

This one matters more than a normal stale doc because of what the step is for: INSTALL.md and CLAUDE.md both warn that a differently-owned rtk exists on crates.io, and rtk --version is the check offered to tell them apart. A user who installed correctly, sees rtk 0.44.2, and compares it against the documented 0.28.2 gets the wrong signal from the anti-collision check itself.

2. .claude/skills/security-guardian/SKILL.md:290

if ! "$RTK_BIN" --version | grep -q "rtk 0.16"; then
  echo "Warning: RTK version mismatch"
fi

This is a substring match against a single old version, so it emits the warning on every current build. Since this file ships in the repository as a skill, the check is running for anyone who uses it.

Suggested directions (untested)

  • Replace both with a form that does not need updating per release: rtk --version shown without an expected value, or a >= comparison, or simply "should print rtk followed by a version — if it prints something else, you have the wrong package".
  • If an exact-version check is wanted somewhere, generating it from Cargo.toml at build time would stop it drifting.

Low severity, but the first item is on the one step where a wrong answer actively misleads.

Activity

  1. added
    bug
    good first issue
    on Aug 4, 2026
  2. pszymkowiak commented on Aug 4, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    🐛 Category bug
    🟢 Priority low
    🎯 Confidence 85%

    Summary

    Two hardcoded stale rtk version strings (README.md install-verification step and SKILL.md's substring version check) now mislead/misfire on every current build; replace with a version-agnostic or auto-generated check.

    This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.

    📁 Relevant files
    • README.md
    • .claude/skills/security-guardian/SKILL.md
    • CLAUDE.md

    Triaged automatically by wshm · This is an automated analysis, not a human review.

  3. HetCreep commented on Oct 14, 2026

    @HetCreep
    Author

    Re-checked on v1.0.0 (stable, 2026-10-13): the official release binary plus the v1.0.0 source. Provenance: AI-assisted check, human-directed. "ran" = executed against rtk 1.0.0 with a control; "read" = verified from source only.

    Fixed: README.md:88 now reads rtk --version # any current version; the pinned 0.28.2 is gone (ran rtk --version -> rtk 1.0.0). Thanks.

    Still live (ran + read):

    • .claude/skills/security-guardian/SKILL.md:290 still checks grep -q "rtk 0.16". Control: rtk --version | grep -q "rtk 0.16" exits 1, so the "RTK version mismatch" warning fires on every current build.
    • Not in the original report: the translated READMEs still carry old version strings (README_pt.md:109 expects "rtk 0.28.2"; README_es/fr/ja/ko/zh.md:108 expect "rtk 0.27.x").

    Leaving this open for the second half.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:docsarea:securitybuggood first issuepriority:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions