fix(server): explain Claude pauses and terminal failures - #268
Merged
Conversation
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> (cherry picked from commit 560afffdea82000d757c98ea79678aee75f8648c)
…dropping them (#8853) Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com> (cherry picked from commit a5bbad910f78cc14eef8baa94fe6f46676f78d5a)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com> (cherry picked from commit 940e8233c227a186044078e99e45e1933eb525e4)
rynfar
force-pushed
the
upstream/2026-09-04-lifecycle-reliability
branch
from
September 6, 2026 02:32
5c180f3 to
d5b9c15
Compare
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 can pause at a subscription limit or abandon a request without explaining the outcome. This updates the Claude Agent SDK to 0.3.260, marks terminal failures with a readable reason, and shows quota pauses and model-fallback notices in the thread.
Adopts upstream #9135, #8853, and #7165. The quota port preserves Pylon's raw telemetry, exact turn admission, session incarnation guards, and Prime recovery. Pause notices are deduplicated per turn and quota window; overage and idle sessions stay quiet. All clients use the existing warning event.
Validation: 96 Claude adapter tests and 81 runtime-ingestion tests pass; server typecheck, targeted formatting and lint pass. The four mobile diff-highlighter tests that included the previous CI failure pass locally; current CI still needs to finish. No live provider session or UI was launched.
The upstream ledger records this partial adoption without advancing the review cursor. OpenCode approval and server-restart recovery work remain separate.
Original SDK work: Claude Fable 5.1 through Pylon (Claude Code). Follow-up integration and verification: GPT-6 Astra through Codex.
The durable implementation and review record is consolidated in companion #279.