In this article
Required conventions belong in maintained project guidance; local memories help recall context but should not become the only authority for changing repository facts.
A useful fact from yesterday can become a misleading assumption today. Codex’s local memories carry context between eligible chats, while the official documentation recommends keeping required team guidance in AGENTS.md or checked-in documentation. The distinction is especially useful when an agent works repeatedly in a fast-changing codebase.
Identify durable conventions
A team’s preferred package manager or the location of authoritative API schemas can be a durable convention. Put the maintained rule where collaborators can review its changes alongside the project. A memory that recalls the convention is useful, but a checked-in source explains which version the team currently supports. This also makes the same rule available to new developers and fresh agent sessions.
Treat temporary observations as dated evidence
A failing test, an occupied development port or an unfinished migration describes a particular moment. Before acting on such a memory, inspect the current files or process state. Suppose a previous task recorded that a fixture was missing. If the fixture has since been added, repeating the old workaround would move the project backward. The remembered observation is a lead for investigation, not a current measurement.
Understand the local memory boundary
The documentation distinguishes ChatGPT web memory from the local memory store used by local Codex clients. The IDE extension uses the connected host’s store. Therefore a recalled fact on one host does not prove that another environment has the same memory or settings. For a distributed development workflow, communicate necessary conventions through project artifacts rather than relying on an invisible shared recollection.
Use documented controls instead of editing generated state
Codex provides global and chat-level controls for whether memories can be used and whether eligible chats contribute to future memories. Generated memory files are inspectable, but the documentation treats them as generated state rather than the primary control surface. When troubleshooting an outdated recollection, review the source evidence and the documented controls before turning an internal summary file into another unofficial project configuration.
Promote a useful discovery deliberately
If repeated work reveals a stable constraint, such as a generator owning a particular file, confirm it from the build configuration and document it in the repository. Keep the explanation short and tied to the authoritative source. Later tasks can verify it when the generator changes. The promotion turns an incidental discovery into a maintainable convention with visible ownership and a clear update path.
Documentation and further study
Related engineering guides: Reproducible inference stacks: preserving a GPU pilot’s result; Choose a local AI stack: desktop chat, shared UI or coding agent.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.