rtk-ai/rtk

RTK rewrites confuse LLM resulting in loops

Open

#2 280 ouverte le 5 juin 2026

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Rust (2 914 forks)batch import
area:clibughelp wantedpriority:high

Métriques du dépôt

Stars
 (48 085 stars)
Métriques de merge PR
 (Merge moyen 8j 17h) (49 PRs mergées en 30 j)

Description

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

Guide contributeur