mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
- Implemented a validation script to check the installation of Claude optimized templates. - The script verifies the presence of required files, directory structure, and file content. - Added tests for command structure, version consistency, and installation timestamp. docs: Create comprehensive init command analysis report - Added an analysis report detailing the structure and functionality of the `claude-flow init` command. - Included sections on command flow, file structure, key functions, and SPARC integration. - Provided recommendations for optimization and next steps for further development. chore: Introduce init command file map for better organization - Created a JSON file mapping the structure and key components of the init command. - Included details on file locations, generated files, and key functions for easier reference. test: Develop extensive test suite for init command functionality - Established a comprehensive test suite covering unit, integration, and performance tests for the init command. - Included tests for batch initialization features, error handling, and environment configurations. - Ensured high test coverage and validation of all command functionalities. test: Add batch initialization tests for various scenarios - Implemented tests for batch initialization, including validation of options, project templates, and environment configurations. - Covered error handling and multi-environment initialization scenarios.
2.0 KiB
2.0 KiB
Memory Bank Configuration
Overview
The Claude-Flow memory system provides persistent storage and intelligent retrieval of information across agent sessions. It uses a hybrid approach combining SQL databases with semantic search capabilities.
Storage Backends
- Primary: JSON database (
./memory/claude-flow-data.json) - Sessions: File-based storage in
./memory/sessions/ - Cache: In-memory cache for frequently accessed data
Memory Organization
- Namespaces: Logical groupings of related information
- Sessions: Time-bound conversation contexts
- Indexing: Automatic content indexing for fast retrieval
- Replication: Optional distributed storage support
Commands
npx claude-flow memory query <search>: Search stored informationnpx claude-flow memory stats: Show memory usage statisticsnpx claude-flow memory export <file>: Export memory to filenpx claude-flow memory import <file>: Import memory from file
Configuration
Memory settings are configured in claude-flow.config.json:
{
"memory": {
"backend": "json",
"path": "./memory/claude-flow-data.json",
"cacheSize": 1000,
"indexing": true,
"namespaces": ["default", "agents", "tasks", "sessions"],
"retentionPolicy": {
"sessions": "30d",
"tasks": "90d",
"agents": "permanent"
}
}
}
Best Practices
- Use descriptive namespaces for different data types
- Regular memory exports for backup purposes
- Monitor memory usage with stats command
- Clean up old sessions periodically
Memory Types
- Episodic: Conversation and interaction history
- Semantic: Factual knowledge and relationships
- Procedural: Task patterns and workflows
- Meta: System configuration and preferences
Integration Notes
- Memory is automatically synchronized across agents
- Search supports both exact match and semantic similarity
- Memory contents are private to your local instance
- No data is sent to external services without explicit commands