Startup Guide
Overview
This guide explains how to initialize and start using the BIG BRAIN Memory Bank 2.0 system. It covers the initialization process, memory loading procedures, task contextualization, and how to begin working with the system effectively. This guide assumes you have already completed the Installation Guide procedures.
First-Time Initialization
When starting the BIG BRAIN Memory Bank for the first time:
-
Navigate to your project directory:
cd /path/to/memory-bank
-
Run the initial setup procedure:
python scripts/first_time_setup.py
-
When prompted, provide the following information:
- Project name
- Brief project description
- Primary user roles
- Initial complexity level (1-4)
-
The system will generate the initial memory bank files and configure the rule system.
Standard Startup Procedure
For regular usage after initial setup:
-
Memory Bank Loading
Begin each session by loading the memory bank:
MEMORY BANK INITIALIZE
This command triggers the initialization workflow, which:
- Loads all core memory files
- Verifies file integrity
- Restores context from previous session
- Confirms rule system availability
-
Context Assessment
Review the current system status:
SHOW ACTIVE CONTEXT
This command displays:
- Current focus and priorities
- Recent changes
- Open issues and questions
- Overall progress status
- Next planned steps
-
Task Contextualization
Before starting any work, contextualize your task:
CONTEXTUALIZE [task description]
Example:
CONTEXTUALIZE Implement new verification process for memory integrity
The system will:
- Position the task within the overall project
- Identify relevant components
- Determine appropriate complexity level
- Prepare necessary resources
-
Readiness Confirmation
Confirm system readiness before proceeding:
CONFIRM READINESS
The system will verify that:
- All required information is available
- Current state is understood
- Task objectives are clear
- Implementation approach is defined
Workflow Selection
Choose the appropriate workflow based on your task:
-
Plan Mode
For design or planning tasks:
ENTER PLAN MODE
Plan mode optimizes for:
- Requirement analysis
- Design exploration
- Option evaluation
- Documentation creation
-
Act Mode
For implementation or execution tasks:
ENTER ACT MODE
Act mode optimizes for:
- Code implementation
- Feature building
- Testing and verification
- Bug fixing
-
Review Mode
For evaluation or assessment tasks:
ENTER REVIEW MODE
Review mode optimizes for:
- Quality assessment
- Verification against requirements
- Documentation review
- Improvement identification
-
Hybrid Mode
For mixed tasks requiring multiple approaches:
ENTER HYBRID MODE
Memory Bank Operations
During your session, you may need these common operations:
-
Update Memory Bank
When significant changes occur:
UPDATE MEMORY BANK
This triggers comprehensive memory updates, including:
- activeContext.md modifications
- progress.md updates
- systemPatterns.md additions
- techContext.md refinements
-
Check Memory Health
To verify system integrity:
MEMORY HEALTH CHECK
This performs diagnostics on:
- File existence and accessibility
- Content integrity
- Cross-reference validity
- Consistency across files
-
Show Active Rules
To understand active rule configuration:
SHOW ACTIVE RULES
This displays:
- Currently active rules by category
- Rule application status
- Recent rule activations
- Rule hierarchy
Session Termination
To properly end a working session:
-
Initiate Bedtime Protocol
BEDTIME PROTOCOL
This protocol:
- Performs session assessment
- Updates memory bank files
- Preserves current state
- Prepares continuity information
- Verifies information completeness
-
Verify Protocol Completion
Wait for confirmation:
✓ SUCCESS: Bedtime Protocol complete, session ended properly
-
Close Environment
You can now safely close your development environment.
Memory Reset Handling
After a memory reset occurs:
-
Restore Context
The system automatically restores context by reading all memory bank files when initialized.
-
Review Active Context
SHOW ACTIVE CONTEXT
This provides essential information about:
- Where you were in the project
- What was recently completed
- What should be done next
-
Resume Operations
Resume your previous workflow:
RESUME [workflow type]
Example:
RESUME ACT MODE
Troubleshooting
If you encounter issues during startup:
-
Initialization Failures
- Run
python scripts/repair_memory.py
to attempt automatic repair - Check for missing or corrupted memory files
- Verify rule system integrity
- Run
-
Context Loading Issues
- Use
MEMORY HEALTH CHECK
to identify problems - Check file permissions and access
- Examine logs for specific errors
- Use
-
Rule System Problems
- Run
DEBUG RULES
to identify rule conflicts or issues - Verify rule file integrity
- Check for rule application errors
- Run
-
Performance Concerns
- Optimize memory bank size with
OPTIMIZE MEMORY BANK
- Remove unnecessary detail from rarely accessed areas
- Consider archiving older information
- Optimize memory bank size with
Related Information
- Installation Guide - System installation procedures
- Commands Guide - Complete command reference
- Architecture Overview - System design and components
Version Information
- Last Updated: March 24, 2025
- Compatible with BIG BRAIN Memory Bank 2.0
- Changelog: Initial documentation for version 2.0