Skip to content

memories: focus write prompts on user preferences#14493

Merged
andi-oai merged 3 commits intomainfrom
codex/sync-memory-prompts-0312
Mar 12, 2026
Merged

memories: focus write prompts on user preferences#14493
andi-oai merged 3 commits intomainfrom
codex/sync-memory-prompts-0312

Conversation

@andi-oai
Copy link
Copy Markdown
Contributor

@andi-oai andi-oai commented Mar 12, 2026

Summary

  • update codex-rs/core/templates/memories/stage_one_system.md so phase 1 captures stronger user-preference signals, richer task summaries, and cwd provenance without branch-specific fields
  • update codex-rs/core/templates/memories/consolidation.md so phase 2 keeps separate sections for user preferences, reusable knowledge, and failure shields while staying cwd-aware but branchless
  • document the codex prompt-template maintenance rule in codex-rs/core/src/memories/README.md: the undated templates are canonical here and should be edited in place

Testing

  • cargo test -p codex-core memories --manifest-path codex-rs/Cargo.toml
@andi-oai andi-oai changed the title memories: sync write prompts from openai Mar 12, 2026
@andi-oai andi-oai changed the title memories: make write prompts branch-aware and preference-focused Mar 12, 2026
@andi-oai andi-oai changed the title memories: focus write prompts on preferences and retrieval Mar 12, 2026
@andi-oai andi-oai added the oai PRs contributed by OpenAI employees label Mar 12, 2026
@andi-oai andi-oai enabled auto-merge (squash) March 12, 2026 18:48
@andi-oai andi-oai merged commit 1181238 into main Mar 12, 2026
52 of 54 checks passed
@andi-oai andi-oai deleted the codex/sync-memory-prompts-0312 branch March 12, 2026 20:40
@github-actions github-actions bot locked and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

oai PRs contributed by OpenAI employees

2 participants