Add dedicated memory v2 consolidation and read prompts - #43813
Merged
copyberry[bot] merged 1 commit intoSep 8, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## 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
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/1d895fb4a23a973f1a45ba03be07a1f480c10227
branch
from
September 8, 2026 12:59
93cdd3b to
553df1c
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/1d895fb4a23a973f1a45ba03be07a1f480c10227
branch
September 8, 2026 13:00
mooyouljo81
temporarily deployed
to
issue-triage
September 8, 2026 13:03 — with
GitHub Actions
Inactive
mooyouljo81
temporarily deployed
to
issue-triage
September 8, 2026 13:03 — with
GitHub Actions
Inactive
mooyouljo81
temporarily deployed
to
issue-triage
September 8, 2026 13:03 — with
GitHub Actions
Inactive
mooyouljo81
temporarily deployed
to
issue-triage
September 8, 2026 13:04 — with
GitHub Actions
Inactive
stqiuzhou
temporarily deployed
to
issue-triage
September 8, 2026 13:10 — with
GitHub Actions
Inactive
stqiuzhou
temporarily deployed
to
issue-triage
September 8, 2026 13:10 — with
GitHub Actions
Inactive
stqiuzhou
temporarily deployed
to
issue-triage
September 8, 2026 13:10 — with
GitHub Actions
Inactive
asadibrahim2
temporarily deployed
to
issue-triage
September 8, 2026 13:15 — with
GitHub Actions
Inactive
asadibrahim2
temporarily deployed
to
issue-triage
September 8, 2026 13:15 — with
GitHub Actions
Inactive
asadibrahim2
temporarily deployed
to
issue-triage
September 8, 2026 13:15 — with
GitHub Actions
Inactive
leishanshan8257-hash
temporarily deployed
to
issue-triage
September 8, 2026 13:21 — with
GitHub Actions
Inactive
leishanshan8257-hash
temporarily deployed
to
issue-triage
September 8, 2026 13:21 — with
GitHub Actions
Inactive
leishanshan8257-hash
temporarily deployed
to
issue-triage
September 8, 2026 13:21 — with
GitHub Actions
Inactive
quistjon-68
temporarily deployed
to
issue-triage
September 8, 2026 13:39 — with
GitHub Actions
Inactive
quistjon-68
temporarily deployed
to
issue-triage
September 8, 2026 13:39 — with
GitHub Actions
Inactive
quistjon-68
temporarily deployed
to
issue-triage
September 8, 2026 13:39 — with
GitHub Actions
Inactive
quistjon-68
temporarily deployed
to
issue-triage
September 8, 2026 13:40 — with
GitHub Actions
Inactive
blackant20220920
temporarily deployed
to
issue-triage
September 8, 2026 13:43 — with
GitHub Actions
Inactive
blackant20220920
temporarily deployed
to
issue-triage
September 8, 2026 13:43 — with
GitHub Actions
Inactive
blackant20220920
temporarily deployed
to
issue-triage
September 8, 2026 13:43 — with
GitHub Actions
Inactive
suregoodru
temporarily deployed
to
issue-triage
September 8, 2026 14:05 — with
GitHub Actions
Inactive
suregoodru
temporarily deployed
to
issue-triage
September 8, 2026 14:05 — with
GitHub Actions
Inactive
suregoodru
temporarily deployed
to
issue-triage
September 8, 2026 14:05 — with
GitHub Actions
Inactive
suregoodru
temporarily deployed
to
issue-triage
September 8, 2026 14:06 — with
GitHub Actions
Inactive
Mullaney1013
temporarily deployed
to
issue-triage
September 8, 2026 14:12 — with
GitHub Actions
Inactive
Mullaney1013
temporarily deployed
to
issue-triage
September 8, 2026 14:12 — with
GitHub Actions
Inactive
Mullaney1013
temporarily deployed
to
issue-triage
September 8, 2026 14:12 — with
GitHub Actions
Inactive
carloswert
temporarily deployed
to
issue-triage
September 8, 2026 14:17 — with
GitHub Actions
Inactive
carloswert
temporarily deployed
to
issue-triage
September 8, 2026 14:17 — with
GitHub Actions
Inactive
carloswert
temporarily deployed
to
issue-triage
September 8, 2026 14:17 — with
GitHub Actions
Inactive
carloswert
temporarily deployed
to
issue-triage
September 8, 2026 14:18 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add dedicated memory v2 consolidation and read prompts
What changed
memory_summary.mdwithout generatingraw_memories.mdor requiringMEMORY.md. Validate the summary's required sections and size below 10,000 UTF-8 bytes.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.