Files
codex/codex-rs/ext/guardian-v3
felixxia-oai 6dbb6330a4 Exclude user image attachments from Guardian review evidence (#63364)
## Why

Large user image attachments can exceed the housekeeper's tool-output
budget and prevent it from processing later evidence.

## What changed

Strip image attachments and paired local-image labels from user messages
before budgeting and serializing review evidence. Preserve captions and
their provenance, and skip messages that have only whitespace or no
content left after filtering.

## Testing

Add a regression test that checks that evidence capture keeps text
surrounding a large inline image, skips an image-only message, and
advances the cursor past both to include later text.

GitOrigin-RevId: afd9f2dac4d787555b37655c6194def6d12d3a46
2026-11-23 15:58:31 +00:00
..