Skip to content

fix(server): Claude's limit notice no longer clears the usage limit - #36

Merged
r4iju merged 1 commit into
mainfrom
fix/usage-limit-cleared-by-limit-message
Sep 24, 2026
Merged

r4iju merged 1 commit into
mainfrom
fix/usage-limit-cleared-by-limit-message

Conversation

@r4iju

@r4iju r4iju commented Sep 24, 2026

Copy link
Copy Markdown
Owner

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-set with resetsAt 13:50Z, cleared 8 ms later by usage-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.

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.
@r4iju
r4iju merged commit 55b03ab into main Sep 24, 2026
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S labels Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant