Skip to content

Fix usage efficiency false positives - #205

Merged
yottadynamics merged 1 commit into
mainfrom
fix-usage-efficiency-waste-popup-width
Aug 11, 2026
Merged

yottadynamics merged 1 commit into
mainfrom
fix-usage-efficiency-waste-popup-width

Conversation

@yottadynamics

Copy link
Copy Markdown
Owner

Summary

Fixes /usage efficiency false positives by only flagging repeated tool calls as waste when the same call repeats without an intervening mutating tool. This keeps legitimate edit→test and edit→diagnostics verification loops out of the waste estimate while still surfacing true idle duplicate calls.

Also stabilizes popup width for scrollable /usage-style panels so the floating popup no longer resizes or recenters when scrolling past longer text.

Related issue

N/A

How was this tested?

  • go build ./cmd/yottacode — passes
  • go test ./internal/tui/... ./internal/agent/... — passes
  • go test ./... — passes
  • go vet ./... — clean
  • LSP changed-file diagnostics — clean

Checklist

  • go test ./... passes
  • go vet ./... is clean
  • Tests added or updated — a new capability ships with tests, a bug fix ships with a regression test
  • Docs updated in the same change if behavior or surface changed (not applicable: internal /usage UI behavior polish)
  • PR is focused on one logical change

@yottadynamics
yottadynamics merged commit 9dd699c into main Aug 11, 2026
7 checks passed
@yottadynamics
yottadynamics deleted the fix-usage-efficiency-waste-popup-width branch August 11, 2026 20:10
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.

1 participant