rtk-ai/rtk

RTK rewrites confuse LLM resulting in loops

Open

#2.280 aberto em 5 de jun. de 2026

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (2.914 forks)batch import
area:clibughelp wantedpriority:high

Métricas do repositório

Stars
 (48.085 stars)
Métricas de merge de PR
 (Mesclagem média 8d 17h) (49 fundiu PRs em 30d)

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

Guia do colaborador