No description
Find a file
jedarden 0816a5cc52 feat(recorder): per-link CSI frame recording with 1-hour segment files
Implements the CSI recording buffer for time-travel debugging. Each link
writes to append-only 1-hour segment files under data/csi/{linkID}/
with configurable 48-hour retention and 1GB/link max size guard. The
recorder uses buffered channels (capacity 1000) per link so Write never
blocks the ingestion goroutine. Background cleanup sweeps hourly to
delete expired segment files.

New package: mothership/internal/recorder/
- segment.go: append-only segment file I/O with [length][timestamp][frame] records
- manager.go: Manager with Write/ReadFrom/AvailableRange/Close, per-link goroutines
- Full test coverage: 18 tests covering write/read, retention cleanup, max bytes,
  concurrent writes, buffer overflow drops, segment rotation, and edge cases

Wire-up: recorder.Manager created in main.go and injected into ingestion server.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 00:07:50 -04:00
.marathon init: spaxel project — docs, plan, and marathon infrastructure 2026-03-26 06:43:25 -04:00
dashboard feat(dashboard): presence panel with per-link motion indicators and deltaRMS time series 2026-03-27 23:49:08 -04:00
docs init: spaxel project — docs, plan, and marathon infrastructure 2026-03-26 06:43:25 -04:00
firmware feat(protocol): full bidirectional node protocol over WebSocket 2026-03-26 23:14:19 -04:00
mothership feat(recorder): per-link CSI frame recording with 1-hour segment files 2026-03-28 00:07:50 -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