perf(tui): coalesce repeated read-only calls#4585
Conversation
Key finalized read-only calls by resolved tool name and canonical arguments for each external user turn. Coalesce same-batch duplicates behind one execution, add replay-stable guidance at three occurrences, reuse prior-result receipts at five, and stop deterministically at eight while preserving one terminal result per tool-call ID. Write and other execution barriers prevent stale same-batch subscriptions. Ineligible calls retain the existing stuck-guard behavior. Signed-off-by: Hunter B <hmbown@gmail.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Claude finished @Hmbown's task in 5m 0s —— View job Review:
|
Keep raw ToolError followers model-visible while excluding them from physical working-set bookkeeping, matching the executed:false contract used by successful coalesced results. Signed-off-by: Hunter B <hmbown@gmail.com>
|
Claude finished @Hmbown's task in 2m 3s —— View job Review:
|
Drive duplicate missing-file reads through the real turn loop and assert the follower adds no working-set touch after subscribing to the leader's raw ToolError. Signed-off-by: Hunter B <hmbown@gmail.com>
|
Claude finished @Hmbown's task in 1m 50s —— View job Review:
|
Summary
Safety contract
executed: falseand do not mutate the working set or trigger post-edit diagnosticsVerification
No provider or model routing behavior changes.