Skip to content

Conversation

@jif-oai
Copy link
Collaborator

@jif-oai jif-oai commented Feb 11, 2026

No description provided.

@jif-oai
Copy link
Collaborator Author

jif-oai commented Feb 11, 2026

@codex review

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 42d3061168

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +157 to +158
if let RolloutItem::ResponseItem(item) = item
&& should_persist_response_item(item)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve compacted items in stage-1 rollout serialization

The new filter only retains RolloutItem::ResponseItem, which drops RolloutItem::Compacted entries from the stage-1 memory prompt. For long threads this regresses extraction quality: build_stage_one_input_message truncates rollout payloads, and compacted entries are the condensed representation of earlier context that survives near later turns, so excluding them can make stage-1 memory output miss pre-compaction facts. The previous implementation converted compacted items into assistant ResponseItem::Message values before serialization, so this is a functional behavior loss rather than a refactor-only change.

Useful? React with 👍 / 👎.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine, they don't have interesting content anyway

@jif-oai jif-oai merged commit 1170ffe into main Feb 11, 2026
32 checks passed
@jif-oai jif-oai deleted the jif/mem-clean-rollout-extraction branch February 11, 2026 18:25
@github-actions github-actions bot locked and limited conversation to collaborators Feb 11, 2026
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.

1 participant