mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
This commit brings v2.0.4 changes to main without problematic SQLite database files: ### 🗄️ SQLite Memory System - Enhanced SQLite Schema with 12 specialized tables - Persistent storage in .swarm/memory.db with WAL mode - Cross-session persistence for Claude Code sessions - Namespace support for organized memory management ### 🔧 MCP Server Integration - EnhancedMemory class extending SqliteMemoryStore - 14 Hook types for comprehensive operation tracking - Memory synchronization between CLI and MCP tools - Robust error handling and database integrity ### 📁 Project Organization - Archive legacy systems to archive/legacy-memory-system - Clean root structure for better maintainability - Updated documentation reflecting SQLite architecture ### 🔗 NPM Package Updates - Include memory JS/SQL files in distribution - MCP server files included in npm package - Version updated to 2.0.0-alpha.42 ### ⚙️ Configuration Updates - .gitignore excludes SQLite database files - .npmignore includes necessary memory components - CLI version consistency at 2.0.0-alpha.42 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Agent Memory Storage
Purpose
This directory stores agent-specific memory data, configurations, and persistent state information for individual Claude agents in the orchestration system.
Structure
Each agent gets its own subdirectory for isolated memory storage:
memory/agents/
├── agent_001/
│ ├── state.json # Agent state and configuration
│ ├── knowledge.md # Agent-specific knowledge base
│ ├── tasks.json # Completed and active tasks
│ └── calibration.json # Agent-specific calibrations
├── agent_002/
│ └── ...
└── shared/
├── common_knowledge.md # Shared knowledge across agents
└── global_config.json # Global agent configurations
Usage Guidelines
- Agent Isolation: Each agent should only read/write to its own directory
- Shared Resources: Use the
shared/directory for cross-agent information - State Persistence: Update state.json whenever agent status changes
- Knowledge Sharing: Document discoveries in knowledge.md files
- Cleanup: Remove directories for terminated agents periodically
Last Updated
2025-06-16T20:04:49.343Z