Skip to content

Fix command accuracy against real rtk-ai/rtk#2

Merged
Coding-Dev-Tools merged 1 commit into
mainfrom
claude/rtk-command-code-pr-review-hftsym
Jun 30, 2026
Merged

Fix command accuracy against real rtk-ai/rtk#2
Coding-Dev-Tools merged 1 commit into
mainfrom
claude/rtk-command-code-pr-review-hftsym

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

Summary

Verified the integration against RTK's actual command surface (rtk-ai/rtk README) and corrected references to commands/flags that don't exist in real RTK — so the agent isn't told to run commands that would fail — plus the auto-rewrite-hook framing for Command Code.

Corrections:

  • Remove rtk tree — RTK exposes rtk ls; there is no standalone tree command.
  • Remove rtk gain --failures — not a real rtk gain flag. Replaced with rtk discover (the real poor-fit / low-savings signal) and documented RTK's real tee fallback ([tee] mode = "failures"), which keeps full output when a command fails.
  • Remove rtk json --keys-only — unverified flag; use plain rtk json <file>.
  • Clarify the Command Code hook realityrtk init's supported-agent list does not include Command Code, so rtk init -g configures Claude Code/Copilot, not Command Code. The manual AGENTS.md path is the working default; a native PreToolUse hook needs custom wiring until Command Code is supported upstream. (Previously the README implied rtk init -g was the fastest Command Code setup.)
  • Soften "lossless" → "signal-preserving" — RTK filters output and recovers the full text on failure via tee; it doesn't guarantee lossless operation, so the wording now matches its real behavior.

All other documented commands (rtk err, rtk lint, rtk smart, rtk discover, rtk session, rtk proxy, rtk log, rtk env -f, rtk read -l aggressive, rtk kubectl pods/services/logs, the test/build wrappers, -u/--ultra-compact) were verified against RTK's README and are correct.

Type of change

  • Command mapping added/corrected (references/commands.md)
  • Installer change (install.sh / install.ps1)
  • Documentation (README.md / SKILL.md / AGENTS.md)
  • Other:

Checklist

  • Line endings are correct (LF everywhere except *.ps1)
  • SKILL.md still has valid frontmatter (name:, description:)
  • References stay in sync (full tiered table lives only in references/commands.md)
  • CI passes (installer lint + SKILL.md / AGENTS.md validation — verified locally)
  • Every rtk command/flag referenced is confirmed against the real rtk-ai/rtk command surface

🤖 Generated with Claude Code

https://claude.ai/code/session_01VvpBXNCbbg4eibmZQZAbb6


Generated by Claude Code

Verified the integration against RTK's actual command surface and corrected
references to commands/flags that don't exist in real RTK, plus the hook
framing for Command Code.

- Remove `rtk tree` (RTK has `rtk ls`, no standalone tree command).
- Remove `rtk gain --failures` (not a real gain flag); use `rtk discover` for
  the poor-fit / low-savings signal, and document RTK's real tee fallback
  ([tee] mode = "failures") for not losing output when a command fails.
- Remove the unverified `rtk json --keys-only` flag; use plain `rtk json`.
- Clarify that `rtk init` does not target Command Code yet, so the manual
  AGENTS.md path is the working default and a native PreToolUse hook needs
  custom wiring — rather than implying `rtk init -g` configures Command Code.
- Soften "lossless" to "signal-preserving" to match RTK's filter-plus-tee
  behavior (full output recovered on failure, not guaranteed lossless).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VvpBXNCbbg4eibmZQZAbb6
@Coding-Dev-Tools Coding-Dev-Tools merged commit 04de855 into main Jun 30, 2026
1 check passed
@Coding-Dev-Tools Coding-Dev-Tools deleted the claude/rtk-command-code-pr-review-hftsym branch June 30, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants