[codex] add memory extensions (#16276)

# External (non-OpenAI) Pull Request Requirements

Before opening this Pull Request, please read the dedicated
"Contributing" markdown file or your PR may be closed:
https://github.com/openai/codex/blob/main/docs/contributing.md

If your PR conforms to our contribution guidelines, replace this text
with a detailed and high quality description of your changes.

Include a link to a bug report or enhancement request.
This commit is contained in:
Kevin Liu authored and GitHub committed 2026-04-09 10:45:02 -07:00
1 parent 12f0e0b0eb
commit 76de99ff25
4 files changed
+128 -10

No files matched your search

@@ -33,7 +33,7 @@ Folder structure (under {{ memory_root }}/):
- Recap of the rollout, including lessons learned, reusable knowledge,
pointers/references, and pruned raw evidence snippets. Distilled version of
everything valuable from the raw rollout.
{{ memory_extensions_folder_structure }}
============================================================
GLOBAL SAFETY, HYGIENE, AND NO-FILLER RULES (STRICT)
============================================================
@@ -135,7 +135,7 @@ Under `{{ memory_root }}/`:
- read the existing summary so updates stay consistent
- `skills/*`
- read existing skills so updates are incremental and non-duplicative
{{ memory_extensions_primary_inputs }}
Mode selection:
- INIT phase: existing artifacts are missing/empty (especially `memory_summary.md`