Skip to content

fix(read): window tracking baseline#2699

Draft
wyf027 wants to merge 1 commit into
rtk-ai:developfrom
wyf027:fix/read-window-tracking-1045
Draft

fix(read): window tracking baseline#2699
wyf027 wants to merge 1 commit into
rtk-ai:developfrom
wyf027:fix/read-window-tracking-1045

Conversation

@wyf027

@wyf027 wyf027 commented Jun 28, 2026

Copy link
Copy Markdown

Summary

Test plan

  • cargo fmt --all --check
  • cargo test prepare_outputs -- --nocapture
  • cargo test apply_line_window -- --nocapture
  • git diff --check
  • cargo fmt --all && cargo clippy --all-targets && cargo test
  • Manual testing: rtk read --max-lines 2 <file> output inspected

@CLAassistant

CLAassistant commented Jun 28, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rtk read: truncation via --max-lines incorrectly counted as token savings, producing 250M+ saved tokens in one command

2 participants