Skip to content

Memory and State

Memory is good for stable preferences and continuity. Facts that affect public output, production behavior, security, or API contracts belong in project files and version control.

StateBetter home
User preferenceMemory.
Project ruleAGENTS.md or project docs.
Public documentation requirementVersioned project instruction.
Audit evidenceLogs, artifacts, or commits.

Use memory for stable preferences and continuity. Put requirements, contracts, public content rules, production configuration, and security decisions into project files where people can review changes.

StateBetter home
Stable user preferenceMemory.
Project ruleAGENTS.md or project documentation.
Workflow contractVersioned configuration or code.
Audit evidenceLogs, artifacts, or commits.

If a bad assumption follows one session, inspect session state. If it follows every run, inspect memory and global context. Removing wrong memory is better than fighting it in every prompt.