This document outlines the maintenance procedures for the DevMem infrastructure after Stories 1.2-1.5 simplification.
- Check memory file integrity:
- coordination-hub.md exists and is readable
- domain-intelligence.md exists and is readable
- Monitor performance metrics:
- Memory access time (<25ms)
- Cache hit ratio (>95%)
- Context preservation (>97%)
- Review system health:
./scripts/system/simple_health_check.sh
- Verify all agents are available
- Check agent selection performance (<1s)
- Monitor coordination success rates (>90%)
- Review agent performance metrics
- Run full test suite:
pytest
- Review performance metrics:
./scripts/performance/performance_summary.sh
- Validate coordination patterns
- Check integration test results
- Backup current state:
./scripts/system/backup_system.sh
- Apply any pending updates
- Run health checks
- Verify functionality
- Update documentation if needed
- Review performance trends
- Identify optimization opportunities
- Implement performance improvements
- Update baselines if needed
- Verify documentation accuracy
- Update performance metrics
- Review troubleshooting guides
- Update maintenance procedures
- Check security patterns
- Review access controls
- Validate security testing
- Update security documentation
- Full system analysis
- Performance optimization
- Capacity planning
- Architecture review
- Check Anthropic standards compliance
- Validate Claude Code compatibility
- Review framework integration
- Update compliance documentation
- Create backup of current memory files
- Apply updates using single-file approach
- Validate updates:
- Check file integrity
- Run performance tests
- Verify functionality
- Update documentation
- Backup current agent files
- Apply updates
- Validate agent functionality:
- Selection accuracy
- Coordination patterns
- Performance metrics
- Update documentation
- Backup .claude/settings.json
- Apply configuration changes
- Validate changes:
- System functionality
- Performance impact
- Integration tests
- Update documentation
- Stop affected services
- Assess impact
- Load latest backup
- Verify restoration
- Document incident
- Run health check
- Identify bottlenecks
- Apply fixes
- Validate performance
- Update documentation
- Memory access: <25ms
- Cache hit ratio: >95%
- Context preservation: >97%
- Agent selection: <1s
- Coordination success: >90%
- System availability: >99.9%
- Test coverage: >80%
- Documentation accuracy: 100%
- Compliance rate: 100%
# Basic health check
./scripts/system/simple_health_check.sh
# Comprehensive check
./scripts/system/system_health.sh
# Performance validation
./scripts/performance/performance_summary.sh# Backup system
./scripts/system/backup_system.sh
# Restore from backup
./scripts/system/restore_system.sh
# Performance monitoring
./scripts/performance/monitor_performance.sh# Run all tests
pytest
# Run specific test categories
pytest tests/test_epic4_result_integration.py
pytest tests/test_s4_1_hierarchical_communication.py