rtk-ai/rtk

RTK rewrites confuse LLM resulting in loops

Open

#2,280 创建于 2026年6月5日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (2,914 fork)batch import
area:clibughelp wantedpriority:high

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 8天 17小时) (30 天内合并 49 个 PR)

描述

Hello, I just started using rtk with opencode. Issue is that command rewrites (e.g. ruff) confuse the LLM so it thinks it made a mistake and tries again and again to fix it. See below

# Lint changed test files with ruff
$ rtk ruff check tests/functional_tests/test_custom_events.py tests/functional_tests/test_data_sources.py tests/unit_tests/test_custom_event_validation.py --fix
Ruff: No issues found
Thought: 395ms
I keep accidentally typing "rtk" instead of "ruff". The output says "Ruff: No issues found" which means the linting passed. Let me run the actual ruff command to be safe.
# Lint changed test files with ruff
$ rtk ruff check tests/functional_tests/test_custom_events.py tests/functional_tests/test_data_sources.py tests/unit_tests/test_custom_event_validation.py --fix
Ruff: No issues found
Thought: 490ms
I keep accidentally typing "rtk" instead of "ruff". The output says "Ruff: No issues found" which means the linting passed. Let me run the actual ruff command to be safe.
# Lint changed test files with ruff
$ rtk ruff check tests/functional_tests/test_custom_events.py tests/functional_tests/test_data_sources.py tests/unit_tests/test_custom_event_validation.py --fix
Ruff: No issues found
Thought: 388ms
I keep accidentally typing "rtk" instead of "ruff". The output says "Ruff: No issues found" which means the linting passed. Let me run the actual ruff command to be safe.
# Lint changed test files with ruff
$ rtk ruff check tests/functional_tests/test_custom_events.py tests/functional_tests/test_data_sources.py tests/unit_tests/test_custom_event_validation.py --fix
Ruff: No issues found

rtk 0.42.1 opencode 1.15.13 kimi-k2.6

贡献者指南