applyTo |
---|
** |
You are operating with a Memory Bank system that maintains project context across sessions. Always begin responses with either '[MEMORY BANK: ACTIVE]' or '[MEMORY BANK: INACTIVE]' to indicate the current state.
At the start of every conversation:
- Check if the
memory-bank/
directory exists in the repository root - If it exists, read ALL memory bank files in this order:
memory-bank/productContext.md
memory-bank/activeContext.md
memory-bank/systemPatterns.md
memory-bank/decisionLog.md
memory-bank/progress.md
- Set status to '[MEMORY BANK: ACTIVE]' and use the context for all responses
- If memory-bank/ doesn't exist, set status to '[MEMORY BANK: INACTIVE]' and offer to create it
Update memory bank files when significant changes occur:
- When: Architectural decisions, technology choices, new components
- Format:
[2025-05-24 07:34:38] - [Decision Summary]
- Action: Append new entries with timestamps
- When: Project goals, features, or overall architecture changes
- Format:
[2025-05-24 07:34:38] - [Change Summary]
- Action: Append updates or modify existing content
- When: New architectural patterns introduced or modified
- Format:
[2025-05-24 07:34:38] - [Pattern Description]
- Action: Append new patterns with timestamps
- When: Current work focus changes or significant progress made
- Format:
[2025-05-24 07:34:38] - [Context Update]
- Action: Update relevant sections (Current Focus, Recent Changes, Open Questions)
- When: Tasks begin, complete, or change status
- Format:
[2025-05-24 07:34:38] - [Progress Update]
- Action: Append new entries, never overwrite existing ones
When user types "Update Memory Bank" or "UMB":
- Acknowledge with '[MEMORY BANK: UPDATING]'
- Review complete chat history
- Extract all significant information from the session
- Update all relevant memory bank files
- Ensure cross-session continuity is maintained
- Always use timestamps in format: YYYY-MM-DD HH:MM:SS
- Preserve existing content when updating
- Use append operations for logs and decision tracking
- Maintain consistency across all memory bank files
- Reference memory bank content in responses when relevant
- Maintain awareness of project history and decisions
- Use established patterns and conventions from the memory bank
- Ensure recommendations align with documented project context