Maintain files for business context, user context, architectural decisions, constraints and known failure modes; when a long coding session starts contradicting earlier decisions ('context rot'), point the agent at the files instead of re-explaining.
When it applies: building with AI coding agents on long sessions
Because an agent can 'teach to the test' if it sees unit tests, store end-to-end user-behaviour specs separately and only use them to judge whether the software actually works for a real user.
When it applies: AI-native development at level 3+ (agent writes most code)