mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why Encrypted replies from subagents can provide evidence for a Guardian decision. Reviewer compaction can drop those replies when it filters descendant progress and completion messages. ## What changed When native multi-agent history is enabled and the reviewer uses the OpenAI provider, send encrypted replies from descendants to ancestors as standalone `guardian.subagent_reply` tool outputs in Guardian review and async scoring requests. Include the sender and recipient, preserve the encrypted payload, and keep native message IDs in stored history for deduplication. Retain qualifying replies across reviewer compaction within the existing per-message and shared token budgets. ## Testing Extend regression coverage for incremental reviews, compaction recovery with and without native agent review, and reply ID stability across retained WebSocket scoring requests. GitOrigin-RevId: bb46149426b1a60a6ed5cac6765283ec77682d23