A comprehensive memory management system designed specifically for Cursor IDE. This system enables Cursor to maintain structured, efficient business memory management across multiple projects while ensuring data integrity and preventing duplication.
Business Memory Rules provides Cursor IDE with intelligent memory management capabilities for business contexts. It establishes clear guidelines for organizing information, tracking progress, and ensuring data consistency across multiple projects and businesses.
This system enables Cursor to:
- Maintain Business Context: Keep track of multiple business projects simultaneously
- Ensure Data Integrity: Prevent information duplication and maintain single sources of truth
- Enable Efficient Memory: Organize information for quick retrieval and optimal context usage
- Support Business Operations: Provide structured memory for planning, analysis, and problem-solving
- Scale Across Projects: Handle multiple business contexts without confusion
- Hierarchical directory structure for businesses and projects
- Clear separation between factual data and planning information
- Systematic file organization with consistent naming conventions
- Automated progress logging with accurate date tracking
- Chronological organization of completed actions and decisions
- Integration of key metrics and reference linking
- Proactive memory maintenance and reorganization
- Automatic detection of optimization opportunities
- Intelligent content consolidation and duplicate removal
- Learns actionable rules, procedures, workflows, preferences from conversations
- Dynamically creates
.mdcrule files inmemory-bank/.cursor/rules/ - Agent autonomously names and organizes rule files by domain/process
- Each rule file must include Cursor metadata:
---
description: "[Brief description of learned rules]"
alwaysApply: false
---
- Confirms significant additions/changes with the user before creating/updating
- Rules automatically apply via Cursorβs rule system once saved
- Automatic context determination based on user interactions
- Seamless switching between different business/project contexts
- Clear indication of current active context
- Single source of truth enforcement
- Reference-based information linking instead of duplication
- Confirmation protocols for significant changes
- Cursor IDE (latest version recommended)
- Git (for submodule management)
- Terminal/command line access
You MUST disable Cursor's built-in memory system before installation to prevent conflicts:
- Open Cursor Settings
- Navigate to "Rules & Memories"
- Disable "Memories"
This is essential - the Business Memory Rules system needs exclusive control over memory management. Running both systems simultaneously will cause conflicts and duplicate memory management.
# Navigate to your Cursor workspace
cd /path/to/your/cursor/project
# Create Cursor rules directory
mkdir -p .cursor/rules
# Add Business Memory Rules as submodule
cd .cursor/rules
git submodule add https://github.com/leshchenko1979/business-memory-rules.git business-memory-rules
git submodule update --init --recursive
cd ../..- β Automatic Cursor Integration - Rules are applied automatically in Cursor
- β Memory Bank Created Automatically - Cursor creates and manages the memory bank structure
- β Seamless Workflow - Business memory management integrated into Cursor
- β Easy Updates - Simple git commands to keep rules current
- β Complete Documentation - All rules and guidelines included
- β Automatic Rule Loading - Cursor automatically loads rules from .cursor/rules/
- β
Dialog-Driven Rule Learning - Learns from conversations and writes
.mdcrules tomemory-bank/.cursor/rules/
After setup, your Cursor workspace will have this structure:
your-cursor-project/
βββ .cursor/
β βββ rules/
β βββ business-memory-rules/ # Git submodule with core rules
βββ memory-bank/ # Your business memory
β βββ .cursor/
β βββ rules/ # Dialog-driven learned rules (.mdc)
β βββ YourBusiness/
β βββ business.md # Business overview and goals
β βββ progress-log.md # Completed actions and decisions
β βββ project-artifacts/ # Factual documents and files
βββ [your project files]
| File | Purpose | Content Type |
|---|
| business.md | Business overview | Mission, goals, strategy, partnerships |
| progress-log.md | Activity tracking | Completed actions with dates |
| project-artifacts/ | Document storage | Factual documents, completed work |
Each piece of information is stored in exactly one location to prevent inconsistencies and duplication.
The system actively maintains its own structure, relevance, and searchability rather than just passively recording information.
Instead of copying information, use references to link between related pieces of information.
Automatically determine the appropriate business/project context based on user interactions and content analysis.
Always use the system date command for timestamps - never hallucinate or guess dates.
Once set up, the Business Memory Rules are automatically applied by Cursor:
- Automatic Context Tracking: Cursor maintains business/project context across your work
- Smart Memory Organization: Information is automatically organized in the memory bank
- Progress Logging: Completed actions are logged with accurate timestamps
- Seamless Integration: Memory management happens transparently in your workflow
- Explain processes or preferences in chat to teach the system
- Significant new rules are confirmed with you before saving
- Confirmed rules are saved as
.mdcfiles undermemory-bank/.cursor/rules/with metadata:
---
description: "[Brief description of learned rules]"
alwaysApply: false
---
- Saved rules are automatically applied by Cursor
Cursor automatically handles business memory management:
- Context Creation: Cursor creates business/project contexts as needed
- File Organization: Documents and information are automatically organized
- Progress Logging: Actions are logged automatically with accurate timestamps
- Memory Optimization: Cursor maintains optimal memory structure
Your business memory is organized as:
memory-bank/
βββ YourBusiness/
βββ business.md # Business overview, goals, strategy
βββ progress-log.md # Chronological activity log
βββ project-artifacts/ # Documents, files, resources
- Automatic Rule Application: Business memory rules are applied automatically
- Context Awareness: Cursor understands when you're working on different businesses
- Progress Tracking: Actions are logged automatically with accurate dates
- File Organization: Documents are stored in appropriate project locations
Help improve Cursor's business memory management capabilities:
- Fork the repository
- Create a feature branch (
git checkout -b feature/cursor-enhancement) - Commit your changes (
git commit -m 'Add Cursor enhancement') - Push to the branch (
git push origin feature/cursor-enhancement) - Open a Pull Request
- Focus on Cursor IDE integration improvements
- Test changes with real Cursor workflows
- Ensure compatibility with Cursor's rule system
- Update documentation for Cursor-specific features
Keep your Cursor business memory rules current with the latest features:
# Update the submodule to latest version
git submodule update --remote .cursor/rules/business-memory-rules
# Check what changed in the latest update
git log --oneline -5 .cursor/rules/business-memory-rules# Check if updates are available
git submodule status
# View current version
cd .cursor/rules/business-memory-rules && git describe --tags --abbrev=0 && cd ../..Built for AI agents, by AI agents. This system represents best practices for maintaining coherent, efficient memory management in complex business environments.