No description
Find a file
jedarden 792064a2ae
Some checks are pending
CI Benchmark - Fusion Loop Timing / Fusion Loop Timing Benchmark (push) Waiting to run
feat(diskspace): implement runtime disk-space monitor with pause-on-low behavior
Implements plan §Disk Full Handling:
- Created internal/diskspace package with monitor goroutine (60s poll interval)
- At <100 MB free: stop CSI replay buffer writes, emit system alert event
- At <20 MB free: also pause crowd flow accumulation and prediction updates
- Detection and localization continue regardless of disk state
- Added /api/diskspace/stats endpoint for dashboard integration

Changes:
- internal/diskspace/monitor.go: Core monitor with state machine (normal/warning/critical)
- internal/diskspace/monitor_test.go: Unit tests for pause/resume behavior
- internal/recorder/manager.go: Added PauseWrites/ResumeWrites/IsPaused methods
- internal/recorder/manager_test.go: Tests for paused frame dropping
- internal/analytics/flow.go: Added PauseWrites/ResumeWrites/IsPaused methods
- internal/analytics/flow_test.go: Tests for paused trajectory/dwell accumulation
- internal/prediction/predictor.go: Added PauseUpdates/ResumeUpdates/IsPaused methods
- internal/prediction/predictor_test.go: Tests for paused prediction updates
- cmd/mothership/main.go: Integrated monitor initialization and API endpoint

All writes are no-ops while paused, with automatic resume when space recovers.

Closes: bf-4jb0a
2026-05-24 10:43:25 -04:00
.beads MQTT command/rebaseline and HA auto-discovery lifecycle management already implemented 2026-05-06 10:14:28 -04:00
.github/workflows test: add CI benchmark gate for fusion loop timing budget 2026-05-04 06:34:50 -04:00
.marathon chore(marathon): GLM-4.7 launcher; origin->Forgejo (mirrors to GitHub) 2026-05-24 09:37:25 -04:00
cmd/sim chore: remove remaining compiled binaries (sim, spaxel-sim, cmd/sim/spaxel-sim, mothership/spaxel-sim) 2026-05-22 14:54:56 -04:00
dashboard chore: remove committed code artifacts (binaries + node_modules) 2026-05-22 14:54:12 -04:00
docs docs(plan): add Installation & Onboarding Test Plan with simulated ESP32 devices 2026-05-22 14:59:01 -04:00
firmware feat(provisioning): carry ms_ip in payload for mDNS-less networks 2026-04-24 01:06:05 -04:00
mothership feat(diskspace): implement runtime disk-space monitor with pause-on-low behavior 2026-05-24 10:43:25 -04:00
test/acceptance test(acceptance): add AS-7 auth rejection integration test 2026-05-24 10:26:25 -04:00
tests/e2e feat: complete anomaly detection & security mode dashboard UI 2026-04-07 15:50:25 -04:00
.dockerignore feat(deploy): Docker packaging with multi-stage build and compose orchestration 2026-03-26 07:46:15 -04:00
.gitignore chore: remove mothership server binary + scratch binaries + stray .bak 2026-05-22 14:55:54 -04:00
.golangci.yml ci: add golangci-lint static analysis configuration 2026-05-05 02:48:35 -04:00
.needle-predispatch-sha MQTT command/rebaseline and HA auto-discovery lifecycle management already implemented 2026-05-06 10:14:28 -04:00
.needle.yaml feat: trigger CI build and verify deployment 2026-04-06 09:54:08 -04:00
API_IMPLEMENTATION_STATUS.md docs: verify REST API implementation completeness 2026-04-09 18:18:42 -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(docker): harden Dockerfile with distroless nonroot runtime 2026-05-24 10:22:01 -04:00
fix_ble_handlers.py feat: implement spatial quick actions with follow camera 2026-04-09 22:54:36 -04:00
go.work simulator: build and update spaxel-sim CLI tool 2026-05-06 00:26:51 -04:00
PROGRESS.md docs: mark Phase 8 and Phase 9 COMPLETE — all 9 phases of Spaxel implementation done 2026-04-15 19:18:53 -04:00
VERSION ci: auto-bump version to 0.1.346 2026-05-06 12:29:07 +00:00