ME

Memory Bank Pattern

Structured documentation files for AI agent context persistence across sessions

Details

Language / Topic
_UUniversal
Category
Context Management

Rules

balanced
- Maintain project context files that the agent reads at the start of every session.
- Keep an `activeContext.md` with current work focus, recent decisions, and open questions.
- Store project-specific decisions, architecture choices, and common patterns in a persistent memory file — update it when decisions change.
- Include `projectbrief.md` (goals, scope) and `techContext.md` (stack, architecture, conventions).
- Update context files after significant decisions or architectural changes — they are living documents.
- Store context files in a known location (`.cursor/rules/`, `.agent/`, project root) for easy discovery.