Skip to content

docs: stop promising the rtk prefix is safe on every command - #4964

Open
LetMeSleep8h wants to merge 1 commit into
rtk-ai:developfrom
LetMeSleep8h:docs/safe-prefix-claim
Open

LetMeSleep8h wants to merge 1 commit into
rtk-ai:developfrom
LetMeSleep8h:docs/safe-prefix-claim

Conversation

@LetMeSleep8h

Copy link
Copy Markdown

Closes #4958

What

Three places still carried the unscoped "always safe" promise that #4175 removed from the agent guidance:

  • docs/usage/FEATURES.md (fallback mechanism) — now scopes passthrough to external programs on PATH and points at leaving shell builtins (cd, export, source, …) and colliding names (rtk test, rtk log, rtk trust) unprefixed
  • docs/usage/FEATURES.md (coverage summary) — same scoping
  • .github/copilot-instructions.md — the repo's own guidance now says "Prefix external programs", with the two exceptions inline

All three now say what the hooks/rtk-awareness guidance says instead of promising the prefix is safe on any command.

Docs-only; wording mirrors the #4175 guidance.

Three spots still carried the unscoped promise that rtk-ai#4175 removed from the
agent guidance: rtk cd exits 127, and names colliding with rtk subcommands
(test, log, trust) never reach PATH. Scope the passthrough claims to external
programs and point at leaving builtins and colliding names unprefixed,
matching the hooks/rtk-awareness wording.

Closes rtk-ai#4958
@rtk-wshm-sync-bot rtk-wshm-sync-bot Bot added documentation Improvements or additions to documentation safety labels Nov 3, 2026
@rtk-wshm-sync-bot

Copy link
Copy Markdown

wshm · Automated triage by AI

📊 Automated PR Analysis

📝 Type docs
🟢 Risk low

Summary

This docs-only PR removes the unscoped claim that prefixing any command with rtk is always safe, aligning docs/usage/FEATURES.md and .github/copilot-instructions.md with the scoped guidance introduced in #4175. It clarifies that only external programs on PATH are covered by passthrough, while shell builtins and names colliding with rtk subcommands should remain unprefixed.

Review Checklist

  • Tests present
  • Breaking change
  • Docs updated

Linked issues: #4958


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

@KuSh KuSh added the needs-cla label Nov 8, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@pszymkowiak

Copy link
Copy Markdown
Collaborator

Hey @LetMeSleep8h, thanks for scoping the docs' promise about the rtk prefix. What's blocking merge is the CLA signature: the CLAassistant bot left the link in the PR. Once that's done, we can take it from there.

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

Labels

documentation Improvements or additions to documentation needs-cla safety

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants