Skip to content

feat: add rtk sort wrapper (low priority) #3491

Open

Description

@nitrocode

Summary

sort has no rtk subcommand (rtk --help doesn't list it), so sort -u and similar invocations fail the hook rewrite (unrecognized subcommand 'sort') and fall back to raw passthrough.

Evidence

Local rtk history: 6 logged parse failures, 0 successes. Low volume.

Honest scoping note

Filing this mainly so the gap is tracked, not because it's urgent: sort's own output is typically already short plain text (it just reorders lines), so the token-savings ceiling here is low compared to verbose tools like test runners or cloud CLIs. The concrete, if modest, win is eliminating the wasted parse-and-fallback round trip on every invocation, not meaningful output compaction.

Activity

  1. added
    enhancement
    good first issue
    on Aug 9, 2026
  2. pszymkowiak commented on Aug 9, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    ✨ Category feature
    🟢 Priority low
    🎯 Confidence 90%

    Summary

    Add an rtk subcommand wrapper for sort to avoid failed parse/fallback; author flags it as low-value/low-priority given sort's already-terse output.

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


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

  3. nightcityblade commented on Aug 9, 2026

    @nightcityblade

    Hi, I'd like to work on this. I'll submit a PR shortly.

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:clienhancementgood first issuepriority:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions