Repository navigation
fix(server): Claude's limit notice no longer clears the usage limit - #36
Merged
Merged
Conversation
Claude streams "You've hit your session limit" as assistant text right after the limit, which cleared it at once, so the resume banner never showed. Only output after the reset now counts as a parked turn carrying on.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude streams its "You've hit your session limit" notice as assistant text right after the limit. #35 cleared the stored limit on any assistant text, so the resume banner never appeared. It now clears only on output after the reset, which is what a parked turn carrying on by itself looks like.
Found on sm-em:
thread.usage-limit-setwithresetsAt13:50Z, cleared 8 ms later byusage-limit-clear.Verified: a new ingestion test fails before the fix and passes after. ProviderRuntimeIngestion and policy tests (96) pass, and server typecheck and lint are clean.