No description
Find a file
jedarden 11ab29836e feat(recording): disk-backed circular buffer with 48h time-based retention
New package mothership/internal/recording implements a disk-backed circular
buffer for continuous CSI frame recording. Frames are persisted in the same
binary format used over WebSocket (raw frame bytes + 8-byte recv timestamp).

Key features:
- Time-based retention (default 48h) prunes expired records automatically
  on each Append and via an explicit Prune() method
- Configurable retention via SPAXEL_RECORDING_RETENTION env var (e.g. "24h")
- ScanRange(from, to time.Time, fn) for time-windowed read-back
- Space-bounded: fixed-size file with circular eviction prevents disk exhaustion
- Crash-safe: 32-byte header (magic + write/oldest/wrap positions) survives restarts
- 18 tests covering write, read-back, time-based pruning, wrap-around,
  crash recovery, ScanRange, env var configuration, and storage bounds

Foundation for Phase 8 time-travel replay.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 23:01:58 -04:00
.marathon init: spaxel project — docs, plan, and marathon infrastructure 2026-03-26 06:43:25 -04:00
dashboard feat(dashboard): per-link motion presence indicator with amplitude time series 2026-03-26 22:55:33 -04:00
docs init: spaxel project — docs, plan, and marathon infrastructure 2026-03-26 06:43:25 -04:00
firmware feat(dashboard): per-link motion presence indicator with amplitude time series 2026-03-26 22:55:33 -04:00
mothership feat(recording): disk-backed circular buffer with 48h time-based retention 2026-03-26 23:01:58 -04:00
.dockerignore feat(deploy): Docker packaging with multi-stage build and compose orchestration 2026-03-26 07:46:15 -04:00
.gitignore feat(deploy): Docker packaging with multi-stage build and compose orchestration 2026-03-26 07:46:15 -04:00
docker-compose.yml feat(deploy): Docker packaging with multi-stage build and compose orchestration 2026-03-26 07:46:15 -04:00
Dockerfile feat(deploy): Docker packaging with multi-stage build and compose orchestration 2026-03-26 07:46:15 -04:00
PROGRESS.md feat(mothership): signal processing package with phase/baseline/motion detection 2026-03-26 08:08:46 -04:00
VERSION feat(deploy): Docker packaging with multi-stage build and compose orchestration 2026-03-26 07:46:15 -04:00