Generated file — do not edit here. Source:JIGGAI/ClawKitchen/docs/TEAM_MEMORY.mdCommit:91c806e4ff2380a3a4d2e465499c5ce91b15365fEdit: https://github.com/JIGGAI/ClawKitchen/blob/91c806e4ff2380a3a4d2e465499c5ce91b15365f/docs/TEAM_MEMORY.md
Overview
ClawKitchen provides comprehensive team memory management through a dedicated interface for organizing, editing, and maintaining shared team knowledge. This system ensures consistent team context across workflows and agent interactions.Memory System Architecture
Memory File Structure
Team memories are organized in the team workspace:File Types
- JSONL Files: Structured memory entries with timestamps and metadata
- Markdown Files: Human-readable documentation and procedures
- README Files: Team onboarding and overview information
Memory Tab Interface
Accessing Team Memory
- Navigate to your team workspace
- Click the “Memory” tab in the team editor
- View organized memory files and content
File Browser
The memory interface provides:- File List: All memory files with size and modification dates
- Search: Full-text search across all memory content
- Filters: Filter by file type, date range, or content category
- Sorting: Sort by name, date, size, or relevance
Memory Editor
Built-in editor for memory files:- Syntax Highlighting: Markdown and JSON syntax support
- Live Preview: Real-time preview for Markdown files
- Auto-Save: Automatic saving of changes
- Version History: Track changes with git integration
Types of Team Memory
Core Knowledge (core-knowledge.jsonl)
Fundamental team information and capabilities:Project Context (project-context.jsonl)
Current project status and objectives:Team Decisions (team-decisions.jsonl)
Important decisions and their rationale:Procedures (procedures.jsonl)
Team processes and workflows:Memory Injection in Workflows
Automatic Injection
LLM workflow nodes automatically receive team memory context:- Memory Files: All relevant
.jsonland.mdfiles - Contextual Filtering: Only relevant memories based on workflow type
- Token Management: Optimized memory selection to stay within token limits
Manual Context Control
Override automatic injection in workflow nodes:Memory Templates
Create reusable memory templates for common workflow types:Managing Memory Content
Adding Memory Entries
Through the Interface
- Open the Memory tab
- Select target memory file
- Click “Add Entry”
- Choose entry type and fill content
- Save to automatically timestamp and format
Programmatically
Memory entries can be added via workflow nodes:Editing Memory
- Direct Editing: Edit memory files directly in the interface
- Bulk Operations: Import/export memory content
- Merge Conflicts: Handle concurrent edits with git-based resolution
- Validation: Automatic validation of JSONL format and schema
Memory Cleanup
Regular maintenance features:- Duplicate Detection: Find and merge duplicate entries
- Archive Old Content: Move outdated entries to archive files
- Size Management: Monitor memory size and optimize for performance
- Relevance Scoring: Identify unused or outdated memory entries
Memory Search and Discovery
Full-Text Search
Comprehensive search across all memory content:- Keyword Search: Find entries by content keywords
- Metadata Search: Search by entry type, date, or author
- Fuzzy Matching: Find entries with similar content
- Regular Expressions: Advanced search patterns
Semantic Search
AI-powered semantic search capabilities:- Concept Search: Find entries related to concepts
- Question Answering: Ask questions about team knowledge
- Context Suggestions: Recommend relevant memories for current work
- Knowledge Gaps: Identify missing information in team memory
Memory Insights
Analytics and insights about team memory:- Usage Patterns: Which memories are referenced most often
- Knowledge Coverage: Gaps in team documentation
- Memory Growth: Tracking knowledge accumulation over time
- Team Contributions: Who contributes what types of knowledge
Memory Best Practices
Content Organization
Granular Entries
Keep memory entries focused and specific:- One Concept per Entry: Avoid combining multiple ideas
- Clear Categories: Use consistent entry types
- Descriptive Content: Make entries self-explanatory
- Regular Updates: Keep information current
Consistent Structure
Establish team conventions for memory format:Hierarchical Organization
Use categories and tags for organization:- Primary Categories: Major knowledge areas (technical, process, product)
- Subcategories: Specific domains (frontend, backend, design)
- Tags: Cross-cutting topics (security, performance, accessibility)
Maintenance Workflows
Regular Reviews
Implement memory maintenance routines:Version Control Integration
Leverage git for memory management:- Change Tracking: Monitor who changed what and when
- Branching: Experimental memory changes in feature branches
- Rollback: Revert problematic memory changes
- Collaboration: Review memory changes through pull requests
Quality Assurance
Ensure memory accuracy and completeness:- Peer Review: Have team members validate new memory entries
- Source Verification: Link entries to authoritative sources
- Regular Validation: Check that procedures still work as documented
- Feedback Loops: Update memory based on workflow outcomes
Integration with Team Workflows
Onboarding Automation
Use memory for team member onboarding:Knowledge Sharing
Automated knowledge distribution:Continuous Learning
Learn from workflow outcomes:Troubleshooting Memory Issues
Common Problems
Memory Not Loading in Workflows- Check file permissions and accessibility
- Verify memory file format (valid JSONL)
- Review memory injection configuration
- Test memory file syntax
- Rebuild search index via Memory tab
- Check search query syntax and filters
- Verify content is properly indexed
- Review file permissions
- Monitor memory file sizes
- Archive old or unused content
- Optimize memory selection for workflows
- Review memory injection token limits
- Implement memory validation workflows
- Regular audits to identify conflicts
- Version control to track change sources
- Clear ownership and update procedures
Memory Recovery
Disaster recovery procedures:- Git History: Recover from version control
- Backups: Restore from team workspace backups
- Export/Import: Transfer memory between environments
- Reconstruction: Rebuild critical memory from documentation
Advanced Memory Features
Memory Templates
Reusable memory structures for new teams:Memory Automation
Automated memory management:- Workflow Integration: Auto-update memory from workflow outcomes
- External Sync: Sync with external knowledge bases
- Smart Suggestions: AI-powered memory entry suggestions
- Maintenance Alerts: Notifications for outdated or missing memory
Memory Analytics
Insights into team knowledge:- Knowledge Graph: Visualize relationships between memory entries
- Usage Metrics: Track which memories are most valuable
- Growth Analysis: Monitor team knowledge accumulation
- Gap Analysis: Identify missing knowledge areas
