Skip to content

Docs and this repo's Copilot instructions still say the rtk prefix is always safe #4958

Open

Description

@KuSh

#4175 scopes the agent guidance to external programs, because rtk cd /tmp && echo REACHED exits 127 ([rtk: No such file or directory (os error 2)]) and REACHED is never printed. Three places outside the generated payloads still make the promise that change removed:

  • docs/usage/FEATURES.md:55: "This makes rtk always safe to use -- no command is ever blocked."
  • docs/usage/FEATURES.md:1568: "…with automatic passthrough for unrecognized subcommands, so it is always safe to use as a prefix."
  • .github/copilot-instructions.md:7 (this repo's own Copilot guidance): "Always prefix commands with rtk when running shell commands"

The passthrough claim is true for programs on PATH that RTK has no command for. It is false for shell builtins (cd, export, source, eval, help: exit 127). It is also false for names RTK defines a command of its own for: rtk trust list exits 2 even though /usr/bin/trust (p11-kit) is on PATH, rtk log show --last 1m exits 127 where macOS log would run, and rtk test x = y runs x as a program.

What a fix has to do: these three lines say the same thing as the #4175 guidance, which is to prefix external programs and leave builtins unprefixed, and none of them promises the prefix is safe on any command.

Activity

  1. added
    documentation
    good first issue
    on Nov 3, 2026
  2. rtk-wshm-sync-bot commented on Nov 3, 2026

    @rtk-wshm-sync-bot

    wshm · Automated triage by AI

    🔍 Automated Triage

    📋 Category docs
    🟡 Priority medium
    🎯 Confidence 95%

    Summary

    Three docs/copilot-instructions lines still claim rtk prefix is always safe, contradicting #4175's scoped guidance for builtins/overlapping commands

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

    📁 Relevant files
    • docs/usage/FEATURES.md
    • .github/copilot-instructions.md

    Suggested Actions

    1. Update docs/usage/FEATURES.md:55 and :1568 to scope the 'always safe' claim per fix(init): scope guidance to external commands #4175
    2. Update .github/copilot-instructions.md:7 to say prefix external programs only, leave builtins unprefixed
    3. Cross-reference fix(init): scope guidance to external commands #4175 in the updated text so guidance stays consistent

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

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:docsdocumentationgood first issuepriority:medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions