Skip to content

docs(hooks): agent lists in hooks/README.md miss Kilo Code, Kimi and Droid #4899

Open

Description

@KuSh

rtk init --agent accepts kilocode, kimi and droid (AgentTarget in src/lib.rs), and hooks/kilocode/ ships a hook directory, but hooks/README.md names none of them: not in the Scope sentence, not under "Directory Structure", not in the "Supported Agents" table. The Scope sentence also leaves out Gemini CLI, which the same file's table lists, and names Trae, which has no directory under hooks/ (its hook is rtk hook trae, built into the binary).

Same drift as #3457, which #4582 handles for the counters; the lists themselves were left as they were. Either the lists are completed, or the per-file lists point at one maintained list (the root README, or rtk init --help).

Activity

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

    @rtk-wshm-sync-bot

    wshm · Automated triage by AI

    🔍 Automated Triage

    📋 Category docs
    🟢 Priority low
    🎯 Confidence 90%

    Summary

    hooks/README.md's agent lists (Scope, Directory Structure, Supported Agents table) are inconsistent and omit Kilo Code, Kimi, Droid, Gemini CLI, while including Trae which has no hooks/ dir; consolidate to one maintained list.

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

    📁 Relevant files
    • hooks/README.md
    • src/lib.rs

    Suggested Actions

    1. Update hooks/README.md Scope sentence, Directory Structure, and Supported Agents table to match AgentTarget in src/lib.…
    2. Remove Trae from hooks/README.md lists since it has no hooks/ directory (uses built-in rtk hook trae)
    3. Consider pointing hooks/README.md at the root README or rtk init --help as single source of truth, per docs: remove hard-coded agent and command counters from READMEs #4582/docs(all): Remove hard coded counters (number of agents, commands) to avoid maintenance #3457 pa…
    4. Cross-check against docs: remove hard-coded agent and command counters from READMEs #4582 which fixed the counters for the same drift

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

  3. KuSh commented on Nov 8, 2026

    @KuSh
    CollaboratorAuthor

    There are 2 open pull requests for this issue: #4902, #5037 (oldest first).

    If you were about to start on it, reviewing or testing one of these helps more than another pull request: a note on which approach fits, or a test result on your setup, is welcome on the pull request itself.

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:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions