CyberMind-FR
0a3b1dfc6e
feat(secubox-core): Add double-buffer status cache and fix LED blocking
- Remove mmc0 LED from heartbeat loop (was causing LED freeze)
- Implement background status_collector_loop() with staggered intervals
- Add 10 cache files at /tmp/secubox/*.json for instant status reads
- Add status_cached RPCD methods to 6 packages:
- luci.crowdsec-dashboard
- luci.mitmproxy
- luci.secubox-netifyd
- luci.client-guardian
- luci.mac-guardian
- luci.network-anomaly
Dashboards and APIs now read pre-computed JSON cache instead of
spawning subprocesses, eliminating blocking during concurrent requests.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>