[BUG] Token Refund Request] Abnormal token consumption due to system error
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Problem: While using Claude Code, the system explicitly displayed a message stating that the coding process was "Complete." However, the process failed to terminate and continued to generate redundant output/code indefinitely in the background.
Impact: Due to this loop, a significant amount of tokens was consumed without my consent or active usage.
Request: Since this was a clear system malfunction (failure to stop after completion), I kindly request a review of my session logs and a refund/credit for the tokens consumed during this unintended period.
What Should Happen?
Once the system displays the "Coding is complete" (or equivalent) message, all active processes and token-consuming generations should terminate immediately.
The application should cease any further output to the terminal or console and return to an idle state, ensuring that no additional tokens are consumed beyond the point where the task was marked as finished. My expectation is that the session stops exactly when the completion status is reached.
Error Messages/Logs
No specific error code was displayed, but the system exhibited a "Terminal Loop/Infinite Generation" behavior.
Description of the logs/state:
The system log should show a "Coding is complete" status.
Immediately after that, the logs will show a continuous, unintended stream of output/generation that did not terminate on its own.
This resulted in an abnormal spike in token consumption despite the task being marked as finished.
Steps to Reproduce
Run Claude Code through the Antigravity terminal.
Enter a coding task or request that requires multiple steps or a long-form response.
Wait for the system to process the task until it displays a "Coding is complete" (or similar) message.
Observe that the process fails to stop and continues to generate redundant code or output indefinitely in the terminal.
Check the token balance to confirm that excessive tokens are being consumed despite the task being finished.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.1.86
Platform
Other
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗