Skip to content

Bound rollout input for memory extraction - #53940

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/55ccbc2477ecb059830d3a55be12bcbc21235303
Oct 14, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/55ccbc2477ecb059830d3a55be12bcbc21235303

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Bound rollout input for memory extraction

What changed

Read rollout evidence from newest to oldest for both memory versions, retaining up to 8 MiB of sanitized response items and inter-agent communications, then restore chronological order. Skip malformed records and records larger than 1 MiB, and require valid session metadata in the first record within that limit.

Testing

Add coverage for the retained byte budget, newest-record ordering, malformed and oversized records, and unsupported session metadata. Extend extraction request tests for both memory versions to verify that evidence after an oversized record reaches the model.

## What changed

Read rollout evidence from newest to oldest for both memory versions, retaining up to 8 MiB of sanitized response items and inter-agent communications, then restore chronological order. Skip malformed records and records larger than 1 MiB, and require valid session metadata in the first record within that limit.

## Testing

Add coverage for the retained byte budget, newest-record ordering, malformed and oversized records, and unsupported session metadata. Extend extraction request tests for both memory versions to verify that evidence after an oversized record reaches the model.

GitOrigin-RevId: 55ccbc2477ecb059830d3a55be12bcbc21235303
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/55ccbc2477ecb059830d3a55be12bcbc21235303 branch from db84485 to 5670b1c Compare October 14, 2026 10:19
@copyberry
copyberry Bot merged commit 5670b1c into main Oct 14, 2026
1 check passed
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-14T10:19:28.118434Z db84485 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/55ccbc2477ecb059830d3a55be12bcbc21235303 branch October 14, 2026 10:19
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 14, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 5670b1c1 Deployed Oct 14, 2026 by shakira1024 via Generate label suggestions #55385
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants