Implement status aggregation with notification batching
This commit is contained in:
24
CLAUDE.md
24
CLAUDE.md
@@ -168,17 +168,17 @@ thiserror = "1.0"
|
||||
|
||||
**REFERENCE**: See ARCHITECT.md for complete folder structure specification.
|
||||
|
||||
**Current Status**: Legacy code preserved in `backup/legacy-2025-10-16/` for reference only.
|
||||
**Current Status**: All configuration moved to NixOS declarative management. Zero hardcoded defaults remain.
|
||||
|
||||
**Implementation Progress**:
|
||||
- [x] Architecture documentation (ARCHITECT.md)
|
||||
- [x] Implementation strategy (CLAUDE.md updates)
|
||||
- [ ] Legacy code backup
|
||||
- [ ] New workspace setup
|
||||
- [ ] Shared types implementation
|
||||
- [ ] Agent implementation
|
||||
- [ ] Dashboard implementation
|
||||
- [ ] Integration testing
|
||||
- [x] Configuration migration to NixOS completed
|
||||
- [x] Hardcoded defaults removal (347 lines removed)
|
||||
- [x] NixOS module with comprehensive configuration generation
|
||||
- [x] Host-specific filesystem configurations
|
||||
- [x] Service include/exclude patterns in NixOS
|
||||
- [x] Live testing and validation on production systems
|
||||
|
||||
### New Individual Metrics Architecture
|
||||
|
||||
@@ -386,6 +386,16 @@ Agent → ["cpu_load_1min", "memory_usage_percent", ...] → Dashboard → Widge
|
||||
- [x] Removed unused struct fields and imports throughout codebase
|
||||
- [x] Fixed lifetime warnings and replaced subscription-based widgets with direct metric filtering
|
||||
- [x] Achieved zero build warnings in both agent and dashboard (down from 46 total warnings)
|
||||
- [x] **Complete NixOS configuration migration (2025-10-20)**
|
||||
- [x] Removed all hardcoded defaults from agent (347 lines eliminated)
|
||||
- [x] Created comprehensive NixOS module for declarative configuration management
|
||||
- [x] Added complete agent.toml generation with all settings (thresholds, intervals, cache, notifications)
|
||||
- [x] Implemented host-specific filesystem configurations for all CMTEC infrastructure
|
||||
- [x] Added service include/exclude patterns to NixOS configuration
|
||||
- [x] Made configuration file required for agent startup (fails fast if missing)
|
||||
- [x] Live tested and validated on production systems
|
||||
- [x] Eliminated configuration drift between defaults and deployed settings
|
||||
- [x] All cm-dashboard configuration now managed declaratively through NixOS
|
||||
|
||||
**Production Configuration:**
|
||||
- CPU load thresholds: Warning ≥ 9.0, Critical ≥ 10.0
|
||||
|
||||
Reference in New Issue
Block a user