Skip to content

Add dedicated memory v2 consolidation and read prompts - #43813

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1d895fb4a23a973f1a45ba03be07a1f480c10227
Sep 8, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 8, 2026

Copy link
Copy Markdown

Add dedicated memory v2 consolidation and read prompts

What changed

  • Consolidate v2 rollout summaries into memory_summary.md without generating raw_memories.md or requiring MEMORY.md. Validate the summary's required sections and size below 10,000 UTF-8 bytes.
  • Add v2 read instructions for selective history retrieval, evidence-grounded preferences, citations, and explicit memory edits. Split injected instructions into fragments to preserve the complete summary within fragment byte limits.
  • Record memory citation usage in the store selected by memories.version.

Testing

Add coverage for v2 consolidation without a handbook, summary validation, version-isolated memory reads, and resetting both memory versions while preserving threads.

## What changed

- Consolidate v2 rollout summaries into `memory_summary.md` without generating `raw_memories.md` or requiring `MEMORY.md`. Validate the summary's required sections and size below 10,000 UTF-8 bytes.
- Add v2 read instructions for selective history retrieval, evidence-grounded preferences, citations, and explicit memory edits. Split injected instructions into fragments to preserve the complete summary within fragment byte limits.
- Record memory citation usage in the store selected by `memories.version`.

## Testing

Add coverage for v2 consolidation without a handbook, summary validation, version-isolated memory reads, and resetting both memory versions while preserving threads.

GitOrigin-RevId: 1d895fb4a23a973f1a45ba03be07a1f480c10227
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/1d895fb4a23a973f1a45ba03be07a1f480c10227 branch from 93cdd3b to 553df1c Compare September 8, 2026 12:59
@copyberry
copyberry Bot merged commit 553df1c into main Sep 8, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/1d895fb4a23a973f1a45ba03be07a1f480c10227 branch September 8, 2026 13:00
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 8, 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.