Repository navigation
feat: match Claude Code 2.1.302 beta lists; gzip mutation rows - #388
Merged
Merged
Conversation
Select beta lists by request class instead of body shape: main turns now use the captured main lists even without tools/companion fields; auxiliary quota probes and title/summary requests use their captured lists. This deliberately changes the old shape-distinction and binding-beta expectations, so those tests are rewritten and the contract change is documented in CHANGELOG. Remove obsolete effort/system, advisor and fallback-credit betas; retain request-dependent server fallback and other features. Advertise binding-controls and display-updates on main requests without changing binding fields, summarized thinking or effort-marker bodies. Regenerate the seven identity wire vectors with unchanged inputs, bodies and fixed values. Add five catalogue controls for gzip CCH reset, both rejection branches, process latch and Fable per-turn control; all five were CAUGHT through the pinned wrapper runner. Build, typechecks, lint/format, Core (1872), Pi (305) and vectors (11) passed on Bun 1.3.14. OpenCode ran 2230 tests with 3 unrelated failures: offline packed-host refusal, sidebar tokenCalls expected 0/received 1, and quota-admission timeout; no retry-to-green or deadline changes.
… 0.1.3 commons 3ce6295d publishes the corrected 2.1.302 beta lists byte-identical to the regenerated fixtures.
With request-class beta selection, Core gives a prewarm the same main list with or without its body, so rebuilding the prewarm headers without the body no longer changes what is sent: the mutant is equivalent and survives. The property it guarded is now held by Core's selection, which its own rows guard.
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.
Makes our
anthropic-betalists match Claude Code 2.1.302 exactly, for every model and request class in our interactive capture, and adds the missing gzip mutation rows.mid-conversation-system-2026-04-07(no longer registered in the binary),mid-conversation-output-config-2026-07-01(absent from the binary; Fable 5.1 effort changes now go underper-turn-control, as Claude Code does),advisor-toolandfallback-credit(sent only with the advisor feature or a fallback credit code, which we never use).thinking-binding-controls-2026-08-01andthinking-display-updates-2026-08-18. The body is unchanged: binding fields still need an explicit setting and replayed thinking, and thinking staysdisplay: "summarized"(Claude Code sends"updates", which streams no thinking text; a live check showed the beta changes nothing with"summarized").cchreset, the gzip rejection classification, the gzip process latch and the Fable 5.1 per-turn-control switch, each proved CAUGHT.The shared wire vectors move to cortexkit-anthropic-policy 0.1.3 (commons 3ce6295d), regenerated for these lists.
Summary by cubic
Makes our
anthropic-betalists match Claude Code 2.1.302 by request class, replacing the previous body-shape heuristics, and adds gzip mutation coverage.mid-conversation-system,mid-conversation-output-config,advisor-toolandfallback-creditbetas. Fable 5.1 effort changes now run underper-turn-control-2026-07-01, matching Claude Code.thinking-binding-controls-2026-08-01andthinking-display-updates-2026-08-18unconditionally, without changing binding fields or keeping summarized thinking.cortexkit-anthropic-policy0.1.3.Mutation Coverage
Written for commit f27445c. Summary will update on new commits.