codex.md file from stored memories, formatted for OpenAI Codex.
Parameters
Include working memory in the output. By default, only rule and long-term memories are included.
Behavior
- Fetches all
rulelayer memories - Fetches
long_termmemories as supplementary knowledge - Optionally includes
workingmemories ifincludeWorkingis true - Formats them into Codex’s
codex.mdformat
Returns
The generated file content as text, ready to be saved ascodex.md.