Repository navigation
Conversation
Merge upstream master 6a641f3, including the architecture module-map and schedule-independent ranxianglei#2929 probe fixes. Preserve the existing PR head and exact contribution patch. Validation of this refreshed head runs in upstream CI; no local test rerun is claimed.
Owner
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.
Problem
The Anthropic image collector returns early for a whole message when any
tool_resultbelongs toread_original_image. Ordinary sibling tool results and top-level images are then ignored by both byte shedding and image-count convergence, even though their images are eligible for archiving.Change
Apply the existing original-image exemption only while visiting the matching
tool_result. Continue collecting other results and top-level images from that same message. Keep the original bytes, per-image receipt checks, protected-tail behavior and existing budget policy.Verification
301e1a5459a77d5578206927c8062a58381af642./v1/messagesforwarding. Both fail on the base and pass with the patch: a 60,000-byte ordinary image is archived to fit the existing 50,000-byte budget, while its 3,000-byte restored-original sibling remains intact.npm run typecheck,npm run build, andgit diff --check: passed.127.0.0.1:8199unreachable. The required real Codex four-phase acceptance is not claimed and remains a pre-merge gate.No kernel/config/schema changes. The shared collector is used by the proxy relay and loop resend paths; actual proxy and plugin forwarding are covered. This is distinct from #4102's PTC receipt matching and #6184/#6185's media/downscale fixes.
Fixes #7033