Skip to content

Reuse parent compactions in Guardian review sessions - #37513

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/891805d3c3dca34ddda6e3bfc5097be4ff164267
Aug 7, 2026
Merged

Reuse parent compactions in Guardian review sessions#37513
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/891805d3c3dca34ddda6e3bfc5097be4ff164267

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 7, 2026

Copy link
Copy Markdown

Reuse parent compactions in Guardian review sessions

What changed

  • Add the under-development guardian_reuse_parent_compaction feature.
  • Restart Guardian review sessions after parent history rewrites and seed them with the latest encrypted compaction that has a response item ID.
  • Keep the existing reviewer when a rewritten history has no reusable compaction, preserving authorization and restriction context held by that session.

Testing

  • Cover reuse-key invalidation and compaction eligibility.
  • Verify review-session behavior across parent compaction and a subsequent summary-free history reset.

## What changed

- Add the under-development `guardian_reuse_parent_compaction` feature.
- Restart Guardian review sessions after parent history rewrites and seed them with the latest encrypted compaction that has a response item ID.
- Keep the existing reviewer when a rewritten history has no reusable compaction, preserving authorization and restriction context held by that session.

## Testing

- Cover reuse-key invalidation and compaction eligibility.
- Verify review-session behavior across parent compaction and a subsequent summary-free history reset.

GitOrigin-RevId: 891805d3c3dca34ddda6e3bfc5097be4ff164267
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/891805d3c3dca34ddda6e3bfc5097be4ff164267 branch from 135e3c7 to c2bcb9a Compare August 7, 2026 23:49
@copyberry
copyberry Bot merged commit c2bcb9a into main Aug 7, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/891805d3c3dca34ddda6e3bfc5097be4ff164267 branch August 7, 2026 23:50
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 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.

3 participants